Hi, I feel a little silly, but where I have define a Linux host?
I read in the documentation that for monitoring windows, could use "windows.cfg", but for Linux (http://nagios.sourceforge.net/docs/3_0/ ... linux.html) not says nothing. And this doc is very short...
Thanks!
Where define a host Linux?
Re: Where define a host Linux?
You can put it in any file you want as long as it's included in the /usr/local/nagios/etc/nagios.cfg file.
You could create a new file and add this line in your nagios.cfg (put it next to the other ones in there)
Make sure to:
You could create a new file and add this line in your nagios.cfg (put it next to the other ones in there)
Code: Select all
cfg_file=/usr/local/nagios/etc/objects/linux.cfgCode: Select all
chown nagios.nagios /usr/local/nagios/etc/objects/linux.cfg
chmod 774 /usr/local/nagios/etc/objects/linux.cfg
service nagios restart
Re: Where define a host Linux?
I'll be closing this thread now, but feel free to open another if you need anything in the future!
Former Nagios employee