Message passing between host/service check plugin.

Thomas Guyot-Sionnest Thomas at zango.com
Thu Oct 19 21:09:50 CEST 2006


There are other alternatives... Files in /var/lib, database, memcached.
Memcached is likely to be the fastest.

Thomas

> -----Original Message-----
> From: nagios-devel-bounces at lists.sourceforge.net 
> [mailto:nagios-devel-bounces at lists.sourceforge.net] On Behalf 
> Of Peter Krüpl
> Sent: October 19, 2006 14:30
> To: nagios-devel at lists.sourceforge.net
> Subject: [Nagios-devel] Message passing between host/service 
> check plugin.
> 
> Hi Group,
> 
>     Am i the only person in here needing a way to pass someting to a 
> check plugin,
>     from the last invocation ?
> 
>     I don't like using snmp OID values for my plugin 
> executions, som i 
> use the interfacename
>     to poll the status via SNMP. To do this i have to walk 
> the ifDescr 
> snmp table. Once i find the
>     interface index, i can poll status, IN/Out Octets etc...
> 
>     The next time the same service get's checked it would be nice to 
> pass the last dermined interface
>     index, and only test if the index still has the correct 
> IfDescr. To 
> do this i rely on temporary files today,
>     this is a mess.
> 
>     I could pass the index in the $SERVICEOUTPUT$ output, but 
> that could 
> potentialy clutter up the                 information, 
> displayed as the 
> check message, i could also use $SERVICEPERFDATA$,but that is used
>     for performance data, and get's passed to external performance 
> collector stuff.
> 
>     I would like to have the possibility for a 3rd field in the check 
> output, getting stored in a                                 
> $SERVICETEMPDATA$ which could be used for about anything toaking care 
> thath the string will
>     be limited in size.
> 
>     Kind Regards,
>     Peter
> 
>    
> 
> 
> --------------------------------------------------------------
> -----------
> 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-devel mailing list
> Nagios-devel at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/nagios-devel
> 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 3076 bytes
Desc: not available
URL: <https://www.monitoring-lists.org/archive/developers/attachments/20061019/32b08ee5/attachment.bin>
-------------- next part --------------
-------------------------------------------------------------------------
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
-------------- next part --------------
_______________________________________________
Nagios-devel mailing list
Nagios-devel at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-devel


More information about the Developers mailing list