$TOTALHOSTSUP$ and probably other macros give wrong values

Frank Steinborn steinex at nognu.de
Sun Jan 10 15:59:25 CET 2010


Hello,

I'm trying to use some macros from Nagios 3.2.0 for an IRC bot, like
$TOTALSERVICESCRITICAL$, $TOTALSERVICESWARNINGUNHANDLED$ etc. Most
*seem* to give the correct value, but $TOTALHOSTSUP$ is obviously
wrong.

I have 7 hosts in an UP state, only one of these hosts is in "do not
actively check"-mode. However, $TOTALHOSTSUP$ returns '2'. I'm not
sure why this happens, do I miss something?

This happens on FreeBSD 7.2-RELEASE. I would be glad if anyone could
clarify that.

Thanks,
Frank

------------------------------------------------------------------------------
This SF.Net email is sponsored by the Verizon Developer Community
Take advantage of Verizon's best-in-class app development support
A streamlined, 14 day to market process makes app distribution fast and easy
Join now and get one step closer to millions of Verizon customers
http://p.sf.net/sfu/verizon-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