I’ve set my Nagios exactly as explained in ubuntuforums.org/showthread.php?t=223498 and no prob at all.
I’ve set all cfg files in order to monitor PING for 1 servers.
But when I open Nagios only 5 services to the local host is showed. Where all the .cfg settings are gone? (see screenshot attached)
All the .cfg files are located in /etc/nagios and also (just in case) in /etc/nagios/etc
Here some reports:
**[email protected]:~# /etc/nagios/bin/nagios -v /etc/nagios/etc/nagios.cfg
Copyright © 1999-2007 Ethan Galstad (nagios.org)
Last Modified: 10-21-2007
Reading configuration data…
Running pre-flight check on configuration data…
Checked 5 services.
Checked 1 hosts.
Checking host groups…
Checked 1 host groups.
Checking service groups…
Checked 0 service groups.
Checked 1 contacts.
Checking contact groups…
Checked 1 contact groups.
Checking service escalations…
Checked 0 service escalations.
Checking service dependencies…
Checked 0 service dependencies.
Checking host escalations…
Checked 0 host escalations.
Checking host dependencies…
Checked 0 host dependencies.
Checked 22 commands.
Checking time periods…
Checked 4 time periods.
Checking extended host info definitions…
Checked 0 extended host info definitions.
Checking extended service info definitions…
Checked 0 extended service info definitions.
Checking for circular paths between hosts…
Checking for circular host and service dependencies…
Checking global event handlers…
Checking obsessive compulsive processor commands…
Checking misc settings…
Total Warnings: 0
Total Errors: 0
Things look okay - No serious problems were detected during the pre-flight check
My hosts.cfg file is
[email protected]:/etc/nagios/etc# cat hosts.cfg
alias DB Server
Also my servicegroups.cfg is:
Becasue there is nothing in “How to” about modifying the file /etc/nagios/etc/nagios.cfg, I didn’t changed it. But should I?
Thanks for your help in advance!!
BTW, I unstalled and installed Nagios 4 times and always the same prob.