Bug or feature request: Multiple host_name in a service

chiel chiel at gmx.net
Sat Feb 24 17:11:53 CET 2007


Hello,

I want to have mutiple host_name lines in a service object. Just like "members" in a hostgroup object, so I will get a better overview and not al my hosts have to be on 1 line.
Something like this:

define service{
        use                                  local-service    
        host_name                       localhost
        host_name                       server1
        host_name                       server2
        host_name                       server3
        service_description             PING
        check_command              check_ping!100.0,20%!500.0,60%
        }

This is no problem when the hosts have multiple services atached to them, but you wil get an error when this is the only check for a host
"Warning: Host 'server2' has no services associated with it!" 

Maybe a bug?

Michiel



-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/developers/attachments/20070224/0527932b/attachment.html>
-------------- next part --------------
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
-------------- 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