Hello, OK, fine, I did not know the distribution package does not provide those files, I am used to compile nagios and they are shipped with.
M On 27/08/2012 11:13, Phil Dobbin wrote: > Mykeul wrote: > >> Hello, >> >> Did you even search for these files ? >> Let's see how you could find them : >> # dpkg -L nagios3 >> or >> # find / -name "*.cfg" |grep nagios >> or >> # updatedb; locate nagios.cfg >> or >> ... even more ways to find them. >> >> I dont use Ubuntu, however, my first try would be /etc/nagios3 or >> /etc/nagios3/objects ... maybe /etc/nagios/ >> >> Please use http://nagios.sourceforge.net/docs/nagioscore/3/en/toc.html >> for the next steps. > To be fair, he was looking for a hosts.cfg to define remote hosts as > indeed am I & there doesn't seem to be sample template.cfg in that > repect that I can find on either Fedora, OS X or Ubuntu. > > Having said that, I'm using a package manger to install all three so > maybe grabbing the source would help, they may reside there. > Alternatively, use a template from the web as I have done (even Learning > Nagios 3 by Wojciech Kocjan doesn't give a template for hosts.cfg or > remote.cfg). > > Cheers, > > Phil... > ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ Nagios-users mailing list Nagios-users@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