Message passing between host/service check plugin.

Eli Stair estair at ilm.com
Thu Oct 19 20:42:33 CEST 2006


I haven't messed with the ndo at all (which may be able to store arbitrary data for a host in a table?), but if you use cacti to do your snmp polling, you not only get nice trending data visually, but can use db acceses for the host if you want yo look up further data... Or just pull the values you want our of the rrd for that host:if

/eli


-----Original Message-----
From: nagios-devel-bounces at lists.sourceforge.net <nagios-devel-bounces at lists.sourceforge.net>
To: nagios-devel at lists.sourceforge.net <nagios-devel at lists.sourceforge.net>
Sent: Thu Oct 19 11:30:28 2006
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 --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/developers/attachments/20061019/ed511ca9/attachment.html>
-------------- 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