how to monitor automount file systems in Linux using snmp
-
ganeshsambandam
- Posts: 62
- Joined: Mon Sep 10, 2018 1:52 pm
how to monitor automount file systems in Linux using snmp
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
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.
-
ganeshsambandam
- Posts: 62
- Joined: Mon Sep 10, 2018 1:52 pm
Re: how to monitor automount file systems in Linux using snm
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
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..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.
-
ganeshsambandam
- Posts: 62
- Joined: Mon Sep 10, 2018 1:52 pm
Re: how to monitor automount file systems in Linux using snm
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
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.ganeshsambandam wrote:Will this be achieved using any other wizard other than snmp?
-
ganeshsambandam
- Posts: 62
- Joined: Mon Sep 10, 2018 1:52 pm
Re: how to monitor automount file systems in Linux using snm
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
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.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.
You can see the documentation on creating hosts/services in through the API here
https://assets.nagios.com/downloads/nag ... gement.pdf