SNMP file system monitoring question

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
andrewatmacys
Posts: 114
Joined: Tue Feb 06, 2018 9:25 am

Re: SNMP file system monitoring question

Post by andrewatmacys »

Hi,

The above mentioned solution is not exactly what I am looking for as I am wanting to do an SNMP walk through file systems. Is there a way to pass the results from $ARG1$ into $ARG2$ to perform an exclusion on the results of the first exclusion?
kyang

Re: SNMP file system monitoring question

Post by kyang »

There is no way to pass another exclusion in order for this to work. It's all based on the plugin itself.
Sorry if the check_usolved_disk.php did not work for you. It uses SNMP to check all partitions with PHP.

I have been playing around with the plugin options, but have not come across any success.

It doesn't allow multiple mounts in the -m $ARG$.
andrewatmacys
Posts: 114
Joined: Tue Feb 06, 2018 9:25 am

Re: SNMP file system monitoring question

Post by andrewatmacys »

I have found a solution, this plugin is apparently capable of multiple file exclusions.

Using -m "(/run/user/1000|/sys/fs/cgroup)" will exclude the files /run/user/1000 and /sys/fs/cgroup.

Thank you for your help!
kyang

Re: SNMP file system monitoring question

Post by kyang »

Good catch!

Yes I now see that it uses | to separate instead of a ,

Glad you got it working.

I'll be closing this thread!

If you have any more questions, feel free to create another thread.

Thanks for using the Nagios Support Forum!
Locked