Nagios & SNMP
Gius, Mark
mgius at createspace.com
Wed Aug 11 18:57:40 CEST 2010
I'm not aware of any good SNMP tutorials. Your best bet is probably the Wikipedia entry for SNMP (which focuses more on the protocol and less on using snmp to actually monitor stuff) or the net-snmp project's FAQ and documentation (http://net-snmp.sourceforge.net/docs/FAQ.html).
Your first step should be to determine if the tools from net-snmp are able to successfully scrape data from the target device. Once you're able to do that using the 'snmpwalk' or 'snmpget' set of commands, you'll be in good shape to have Nagios pull information from target devices. Trying to debug SNMP through Nagios is far harder than doing it via the commandline.
-Gius
> -----Original Message-----
> From: Luc MAIGNAN [mailto:luc.maignan at winxpert.com]
> Sent: Wednesday, August 11, 2010 8:24 AM
> To: nagios-users at lists.sourceforge.net
> Subject: Re: [Nagios-users] Nagios & SNMP
>
> Well, in fact no. I use nagios with several plugins but not yet snmp.
>
> I would like use SNMP plugin to monitor printers, network switchs, IP
> thermometer...
>
> I don't succeed to use the check_snmp so I'm looking for a howto.
>
>
> Le 11/08/10 16:51, Parish, Brent a écrit :
> > Hi
> >
> > When you say "work together", does that mean you already have SNMP
> > running and gathering data?
> >
> > If you mean just using Nagios to collect data via SNMP, there is a
> > built-in check (part of the plugins package), called check_snmp I
> think.
> > I used Perl to write all my own SNMP checks and that works very well.
> >
> > As long as the output of the agent/plugin conforms to the Nagios
> > requirements:
> > http://nagios.sourceforge.net/docs/3_0/pluginapi.html
> > You should be ok.
> >
> > Brent
> >
> >
> > -----Original Message-----
> > From: Luc MAIGNAN [mailto:luc.maignan at winxpert.com]
> > Sent: Wednesday, August 11, 2010 9:52 AM
> > To: nagios-users at lists.sourceforge.net
> > Subject: [Nagios-users] Nagios& SNMP
> >
> > Hi,
> >
> > I don't succeed to make Nagios with SNMP work together. So I'm
> looking
> > for an UP-TO-DATE howto. The documentation on the nagios official
> > website seems to be down.
> >
> > Can anybody tell me where I can find a such howto ?
> >
> > BR
> >
> > ---------------------------------------------------------------------
> ---
> > ------
> > This SF.net email is sponsored by
> >
> > Make an app they can't live without
> > Enter the BlackBerry Developer Challenge
> > http://p.sf.net/sfu/RIM-dev2dev
> > _______________________________________________
> > Nagios-users mailing list
> > Nagios-users at lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/nagios-users
> > ::: Please include Nagios version, plugin version (-v) and OS when
> > reporting any issue.
> > ::: Messages without supporting info will risk being sent to
> /dev/null
> >
> > ---------------------------------------------------------------------
> ---------
> > This SF.net email is sponsored by
> >
> > Make an app they can't live without
> > Enter the BlackBerry Developer Challenge
> > http://p.sf.net/sfu/RIM-dev2dev
> > _______________________________________________
> > Nagios-users mailing list
> > Nagios-users at lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/nagios-users
> > ::: Please include Nagios version, plugin version (-v) and OS when
> reporting any issue.
> > ::: Messages without supporting info will risk being sent to
> /dev/null
>
>
> -----------------------------------------------------------------------
> -------
> This SF.net email is sponsored by
>
> Make an app they can't live without
> Enter the BlackBerry Developer Challenge
> http://p.sf.net/sfu/RIM-dev2dev
> _______________________________________________
> Nagios-users mailing list
> Nagios-users at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/nagios-users
> ::: Please include Nagios version, plugin version (-v) and OS when
> reporting any issue.
> ::: Messages without supporting info will risk being sent to /dev/null
------------------------------------------------------------------------------
This SF.net email is sponsored by
Make an app they can't live without
Enter the BlackBerry Developer Challenge
http://p.sf.net/sfu/RIM-dev2dev
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue.
::: Messages without supporting info will risk being sent to /dev/null
More information about the Users
mailing list