Fwd: Multiple host in hosts.cfg

spdesai at gnvfc.net spdesai at gnvfc.net
Thu Nov 9 11:38:47 CET 2006


Hello,

can i have multiple host(for exa: 192.168.10.0/24 or 192.168.10.1-
192.168.10.255) in address field in hosts.cfg file ?

my hosts.cfg file is as per below

define host{
        use                     generic-host            ; Name of host 
template to use

        host_name               LAN
        contact_groups          GNFC-Admin
        alias                   Workstation
        address                 192.168.10.63,192.168.10.71,192.168.10.92
        check_command           check-host-alive
        max_check_attempts      10
        notification_interval   120
        notification_period     24x7
        notification_options    d,u,r
        }

but it giving error like "1163068098] SERVICE ALERT: 
LAN;SMTP;UNKNOWN;HARD;1;check_smtp: Invalid hostname/address - 
192.168.10.63,192.168.10.71,192.168.10.92"

or is their any facility in nagios to auto-detect new inserted devices ?

thanks in advace
suhag desai



-------------------------------------------------
This mail sent through IMP: http://horde.org/imp/


-------------------------------------------------------------------------
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-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

----- End forwarded message -----




-------------------------------------------------
This mail sent through IMP: http://horde.org/imp/


-------------------------------------------------------------------------
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-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