<html><head><style type="text/css"><!-- DIV {margin:0px;} --></style></head><body><div style="font-family:times new roman,new york,times,serif;font-size:12pt">Hi guys,<br><br>I was wondering if there's a way to incorporate all hosts into one host name instead of creating individual defines?<br>I'm trying to add all of our servers into Nagios but there's huge amount of them. <br>Need faster way to add all of them into one script. <br>Here's what I'm trying to avoid: <br>define host{<br>        use                             generic-host<br>        host_name    &nb
 sp;           sunbl.001.csaa.net<br>       
 alias                          UNIX-SERVER1 <br>        address                     172.168.1.35<br>        }<br>define host{<br>
        use                             generic-host<br>
        host_name                sunbl.002.csaa.net<br>
        alias                          UNIX-SERVER2 <br>
        address                     172.168.1.36<br>
        }<br><br>....and so on to hundreds of define host....<br><br>Here's what I'm trying to "hopefully" accomplish" if possible:<br>define host{<br>
        use                            all-host<br>
        host_name               allunixhosts<br>
        alias                          ALL-UNIX <br>
        address                     ALLIP<br>
        }<br><br>..done all hosts...<br><br>And also have them in one "all host" services.cfg script. <br>define service{<br>        use                             all-service         <br>        host_name                 ALLHOSTSERVICE<br>        service_description             SSH<br>        check_com
 mand                   check_ssh<br>       
 }<br><br>define service{ <br>       use                             all-service<br>       host_name                 ALLHOSTSERVICE<br>       service_description   PING<br>       check_command        check_ping<br>       }<br><br><br><br>Please advise. <br><br>Thank you! <br>DB<br><br><br><br></div><br>

      </body></html>