SNMP monitoring

Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
Locked
philfly
Posts: 5
Joined: Wed Mar 06, 2013 2:46 pm

SNMP monitoring

Post by philfly »

I am a brand newbie to Nagios. I'd like to monitor my network using agentless snmp monitoring, but am unsure about where to find some specific and solid documentation about this topic. Can anyone help?? I will be using the check_snmp_int plugin, and I want to get started monitoring all the services possible.
abrist
Red Shirt
Posts: 8334
Joined: Thu Nov 15, 2012 1:20 pm

Re: SNMP monitoring

Post by abrist »

Below are a couple documents and an exchange link to some snmp addons. Start there and when you have more specific questions we are here to help.

http://nagios.manubulon.com/snmp_int.html
http://nagios.sourceforge.net/docs/3_0/ ... ptrap.html
http://assets.nagios.com/downloads/nagi ... g_SNMP.pdf
http://exchange.nagios.org/directory/Addons/SNMP
Former Nagios employee
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
philfly
Posts: 5
Joined: Wed Mar 06, 2013 2:46 pm

Re: SNMP monitoring

Post by philfly »

Beautiful, thank you so much!!
philfly
Posts: 5
Joined: Wed Mar 06, 2013 2:46 pm

Re: SNMP monitoring

Post by philfly »

My boss wants to use subagents to verify services outside the standard checks, but, I am not sure where to find these subagents?? Are these like the add-ons??
sreinhardt
-fno-stack-protector
Posts: 4366
Joined: Mon Nov 19, 2012 12:10 pm

Re: SNMP monitoring

Post by sreinhardt »

Are you referring to something like nsclient or nrdswin?
Nagios-Plugins maintainer exclusively, unless you have other C language bugs with open-source nagios projects, then I am happy to help! Please pm or use other communication to alert me to issues as I no longer track the forum.
philfly
Posts: 5
Joined: Wed Mar 06, 2013 2:46 pm

Re: SNMP monitoring

Post by philfly »

This is what he was referring to: http://net-snmp.sourceforge.net/wiki/in ... ll_scripts Sorry for the confusion
abrist
Red Shirt
Posts: 8334
Joined: Thu Nov 15, 2012 1:20 pm

Re: SNMP monitoring

Post by abrist »

Some plugins on the exchange use snmp but are wrapped in a script for better functionality/more logic. If you do not find a script that meets your specific needs, you are left with writing your own.
Former Nagios employee
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
wezelboy
Posts: 13
Joined: Tue Feb 26, 2013 1:34 pm

Re: SNMP monitoring

Post by wezelboy »

The link you provided is about how you can map OIDs (or MIBs) to executables. You can configure snmpd to respond to certain queries by running a program and returning the output. For example you could configure snmpd to run a df instead of querying the standard disk OIDs. It can be whatever you want, as long as the output is appropriate and you have configured snmpd properly.

Hope this helps,

-P
abrist
Red Shirt
Posts: 8334
Joined: Thu Nov 15, 2012 1:20 pm

Re: SNMP monitoring

Post by abrist »

Wezelboy's suggestion is spot on. Philfly, is that what you were looking for?
Former Nagios employee
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
philfly
Posts: 5
Joined: Wed Mar 06, 2013 2:46 pm

Re: SNMP monitoring

Post by philfly »

Thanks for the help you guys !! Since I am a beginner, I am still trying to grasp SNMP, nevermind the subagents... But, I am moving along slowly, sort of trying to decipher which literature will be most helpful !!! Again, thank you very much !!
Locked