[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Monitoring AutoFS in SNMP




--- On Tue, 3/23/10, Brian <kimhick@yahoo.com> wrote:

> From: Brian <kimhick@yahoo.com>
> Subject: Monitoring AutoFS in SNMP
> To: "Debian User" <debian-user@lists.debian.org>
> Date: Tuesday, March 23, 2010, 10:00 AM
> I am trying to find a MIB to monitor
> AutoFS but everything I find is tied to the current pid
> AutoFS is running under which of course changes each time it
> is restarted making it useless as a monitoring metric.
> 
> Has anyone setup SNMP to monitor AutoFS or a similar type
> of daemon on a Debain system?
> 
> Thanks,
> 
> Brian
> 

I ran across the solution to this and thought I would share it.  

By default Debian systems are not configured to have processes monitored by SNMP but it can be enabled by editing the /etc/snmp/snmpd.conf file.  To do so look for the Process checks section about a third of the way down in the file and to monitor autofs you would enter something like this:

proc automount

You can do something more sophisticated if you wish but it is not necessary.  There is plenty of documentation within the snmpd.conf file that you really don't have to go anywhere else for more information in most applications.  

Once again the Debian developers have made it so blatantly obvious that I completely missed it.  I am sure the package maintainer is shaking their fist at the sky yelling, "Just how simple do I have to make it!"

Debian is the best.

Thanks all,

Brian



      


Reply to: