NagiosEnterprises / ncpa

Nagios Cross-Platform Agent
Other
177 stars 95 forks source link

Feature request - File and Folder checks #973

Open bramassendorp opened 1 year ago

bramassendorp commented 1 year ago

Might be useful to implement something like a file/folder check for age, count and availability.

ericloyd commented 1 year ago

You can use the existing _folderwatch.pl or _check_fileage or _check_openfiles.pl plugins called via NCPA.

bramassendorp commented 1 year ago

You can use the existing _folderwatch.pl or _check_fileage or _check_openfiles.pl plugins called via NCPA.

Does not work native on Windows. Guess it needs Perl installed?

ericloyd commented 1 year ago

Ah, yes, those are the Linux plugins that come shipped with Nagios. You didn't specify what OS and I didn't think about Windows. :-) But yes, if you have Perl installed, they will work.

https://github.com/NagiosEnterprises/ncpa/issues/516

bramassendorp commented 1 year ago

Ah, yes, those are the Linux plugins that come shipped with Nagios. You didn't specify what OS and I didn't think about Windows. :-) But yes, if you have Perl installed, they will work.

516

That, or have it in ncpa ;-) would prefer as much as possible in ncpa, because it's not easy to wide spread and maintain ncpa plugins over lots of servers.

ericloyd commented 1 year ago

Did you read the issue link I posted? It's a 3.0 milestone objective.

bramassendorp commented 1 year ago

Did you read the issue link I posted? It's a 3.0 milestone objective.

Yup, thnx :-)