how to monitor automount file systems in Linux using snmp

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
ganeshsambandam
Posts: 62
Joined: Mon Sep 10, 2018 1:52 pm

how to monitor automount file systems in Linux using snmp

Post by ganeshsambandam »

how to monitor automount file systems in Linux servers using snmp wizard? It's for NFS automount file systems to be monitored whenever it's mounted in the Linux servers.
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: how to monitor automount file systems in Linux using snm

Post by scottwilkerson »

You can run the Linux SNMP wizard, and it will give you a list of mount points to monitor, simply double click on the mounts and finish the wizard.
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
ganeshsambandam
Posts: 62
Joined: Mon Sep 10, 2018 1:52 pm

Re: how to monitor automount file systems in Linux using snm

Post by ganeshsambandam »

I have done selecting the file systems which are mounted, but if the file system gets unmounted from the file system it gives me a warning alert saying Unknown Storage. so we want to know how to proactively monitor NFS based auto mounted file systems using snmp wizard whenever it gets mounted.
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: how to monitor automount file systems in Linux using snm

Post by scottwilkerson »

ganeshsambandam wrote:I have done selecting the file systems which are mounted, but if the file system gets unmounted from the file system it gives me a warning alert saying Unknown Storage. so we want to know how to proactively monitor NFS based auto mounted file systems using snmp wizard whenever it gets mounted.
There is no way for XI to know in advance what systems will be mounted or unmounted, and to know if it should or should not alert..
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
ganeshsambandam
Posts: 62
Joined: Mon Sep 10, 2018 1:52 pm

Re: how to monitor automount file systems in Linux using snm

Post by ganeshsambandam »

Will this be achieved using any other wizard other than snmp?
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: how to monitor automount file systems in Linux using snm

Post by scottwilkerson »

ganeshsambandam wrote:Will this be achieved using any other wizard other than snmp?
No, there is no way for any wizard or plugin to know in advance that you didn't want to be alerted if a certain mount is disconnected.
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
ganeshsambandam
Posts: 62
Joined: Mon Sep 10, 2018 1:52 pm

Re: how to monitor automount file systems in Linux using snm

Post by ganeshsambandam »

will get any future mounts to be monitored using any wizard or plugin ? because we would like to monitor auto mount file systems in certain servers.
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: how to monitor automount file systems in Linux using snm

Post by scottwilkerson »

ganeshsambandam wrote:will get any future mounts to be monitored using any wizard or plugin ? because we would like to monitor auto mount file systems in certain servers.
I'm not aware of any way to have new mounts automatically start monitoring. You would have to build a solution to detect this activity and create a service through the API.

You can see the documentation on creating hosts/services in through the API here
https://assets.nagios.com/downloads/nag ... gement.pdf
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
Locked