Using SNMP as an alternative to NRPE

Thomas Sluyter nagios at kilala.nl
Mon Jul 17 19:37:37 CEST 2006


Very cool JöÎrg,

Thanks for the feedback -and- the demonstration!

I knew we weren't crazy for making the choices we did... It's just  
nice to see this thought confirmed :3

Thanks everyone...


On 17 Jul, 2006, at 17:55, Joerg Linge wrote:

> I use net-snmp to execute tho local plugins via snmp get method.
>
> In /etc/snmpd.conf every check is defined.
>
> ---
> exec 1.3.6.1.4.1.7411.10 check_swap /usr/local/nagios/libexec/ 
> check_swap -w
> 20% -c 10%
> ---
>
> If you run an snmpwalk on 1.3.6.1.4.1.7411.10 you will get the  
> result for
> check_swap.
>
> snmpwalk -v1 -On -c <comm> localhost .1.3.6.1.4.1.7411.10
> .1.3.6.1.4.1.7411.10.1.1 = INTEGER: 1
> .1.3.6.1.4.1.7411.10.2.1 = STRING: "check_swap"
> .1.3.6.1.4.1.7411.10.3.1 = STRING: "/usr/local/nagios/libexec/ 
> check_swap -w
> 20% -c 10%"
> .1.3.6.1.4.1.7411.10.100.1 = INTEGER: 0
> .1.3.6.1.4.1.7411.10.101.1 = STRING: "SWAP OK - 100% free (2055 MB  
> out of 2055
> MB) |swap=2055MB;411;205;0;2055"
> .1.3.6.1.4.1.7411.10.102.1 = INTEGER: 0
> .1.3.6.1.4.1.7411.10.103.1 = ""
>
> I use SNMP on all Linux Maschines an it works fine for me.
>
> Jörg



-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
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