Hi Faria,

Yes, you can add any number of hosts, the config will be something like

# host-gateway_nagios2.cfg

define host {
        host_name   gateway
        alias       Default Gateway
        address     192.168.1.254
        use         generic-host
        }
define host {
        host_name   gateway1
        alias       Default Gateway1
        address     192.168.1.255
        use         generic-host
        }

Make sure that "host-gateway_nagios2.cfg" file is included in nagios.cfg file.

Thanks,
Vijay.



-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Rodrigo Tavares
Sent: Monday, August 20, 2007 6:02 PM
To: [email protected]
Subject: [Nagios-users] Can I add the hosts in nagios ?

Hello,

I installed the nagios in GNU/Linux Debian. When I
open the graphic interface, and click in 'Host detail'
to hosts come the screen. I would like add more hosts.
The config file is :

host-gateway_nagios2.cfg
define host {
        host_name   gateway
        alias       Default Gateway
        address     192.168.1.254
        use         generic-host
        }

Can I add the hosts in nagios ?

best regards,

Faria

 


      Flickr agora em português. Você clica, todo mundo vê.
http://www.flickr.com.br/

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
_______________________________________________
Nagios-users mailing list
[email protected]
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

This message contains information that may be privileged or confidential and is 
the property of the Capgemini Group. It is intended only for the person to whom 
it is addressed. If you are not the intended recipient,  you are not authorized 
to read, print, retain, copy, disseminate,  distribute, or use this message or 
any part thereof. If you receive this  message in error, please notify the 
sender immediately and delete all  copies of this message.


-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
_______________________________________________
Nagios-users mailing list
[email protected]
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

Reply via email to