Page 1 of 1

File Age Check on old Linux

Posted: Mon Mar 09, 2020 10:45 am
by selia04
Hello,

i hope i can get some advice from the community on how to check the age of a group of files on a linux machine.

Its possible to check it only with the snmp probe of Nagios?? at the moment this server is in Nagios using only snmp checks for cpu, ram, disk , etc

In case is not possible, what I need to install in addition?

Best Regards

Re: File Age Check on old Linux

Posted: Mon Mar 09, 2020 10:37 pm
by Box293
If you are locked in to using SNMP then you will want to look at using SNMP Extensions to run a plugin to do what you want.

https://support.nagios.com/kb/article/n ... 5-451.html
https://support.nagios.com/kb/article/n ... 3-467.html

Re: File Age Check on old Linux

Posted: Tue Mar 10, 2020 10:41 am
by selia04
Thanks for your videos, but they are very generic,

in short, is it possible then? how?

Re: File Age Check on old Linux

Posted: Tue Mar 10, 2020 4:48 pm
by Box293
Yes it is possible with SNMP Extensions:
http://net-snmp.sourceforge.net/wiki/in ... ll_scripts

The script/plugin will need to be located on the destination and you will need to configure the snmp config to allow it.