Search found 3 matches

by mendor
Thu Dec 12, 2013 7:15 pm
Forum: Open Source Nagios Projects
Topic: bug in TOTALHOSTSERVICES* macros
Replies: 6
Views: 2194

Re: bug in TOTALHOSTSERVICES* macros

check_test right now just prints its arguments, nothing more. The problem I'm solving is this: I have list of hosts, some of them are in load balancer, others - aren't. I'd like to issue CRITICAL alert if there is any host in load balancer(this part check_test will be testing) with 1 or more service...
by mendor
Thu Dec 12, 2013 12:01 am
Forum: Open Source Nagios Projects
Topic: bug in TOTALHOSTSERVICES* macros
Replies: 6
Views: 2194

Re: bug in TOTALHOSTSERVICES* macros

Of course: This one works for example: define service{ use generic-service host_name host2 service_description Test check_command check_nrpe!check_test!$HOSTLATENCY:host_group:,$ max_check_attempts 3 servicegroups SG } output: 0.015,0.012,0.012,0.007,0.008,0.011,0.007,0.005,0.009 This one doesn't wo...
by mendor
Tue Dec 10, 2013 9:35 pm
Forum: Open Source Nagios Projects
Topic: bug in TOTALHOSTSERVICES* macros
Replies: 6
Views: 2194

bug in TOTALHOSTSERVICES* macros

I'm trying to use TOTALHOSTSERVICES* macros. If I'm using one per command like ...!$TOTALHOSTSERVICESWARNING:host5$ everything works fine and I'm getting correct result, but if I'm using several per command like ...!$TOTALHOSTSERVICESWARNING:host6$,$TOTALHOSTSERVICES:host8$,$TOTALHOSTSERVICESUNKNOWN...