File Age Check on old Linux

Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
Locked
selia04
Posts: 5
Joined: Mon Mar 02, 2020 10:40 am

File Age Check on old Linux

Post 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
User avatar
Box293
Too Basu
Posts: 5126
Joined: Sun Feb 07, 2010 10:55 pm
Location: Deniliquin, Australia
Contact:

Re: File Age Check on old Linux

Post 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
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
selia04
Posts: 5
Joined: Mon Mar 02, 2020 10:40 am

Re: File Age Check on old Linux

Post by selia04 »

Thanks for your videos, but they are very generic,

in short, is it possible then? how?
User avatar
Box293
Too Basu
Posts: 5126
Joined: Sun Feb 07, 2010 10:55 pm
Location: Deniliquin, Australia
Contact:

Re: File Age Check on old Linux

Post 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.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
Locked