Page 2 of 2
Re: cloning of Nagios server
Posted: Mon Aug 24, 2015 4:41 pm
by hsmith
At this point, this is what I would do
assuming you still have the physical server to fall back on!
Try to upgrade your Nagios installation using the guide wrote by one of our employees
here.
This way we are kind of "starting over" but not really.
Re: cloning of Nagios server
Posted: Mon Aug 24, 2015 4:46 pm
by tomtom
ok, I ran the
/usr/local/nagios/bin/nagios -v /usr/local/nagios/etc/nagios.cfg
and there were a few more cfg files that had some config issues so I fixed those and ran it again with the following results:
Running pre-flight check on configuration data...
Checking objects...
Checked 158 services.
Checked 72 hosts.
Checked 14 host groups.
Checked 0 service groups.
Checked 3 contacts.
Checked 3 contact groups.
Checked 37 commands.
Checked 5 time periods.
Checked 0 host escalations.
Checked 0 service escalations.
Checking for circular paths...
Checked 72 hosts
Checked 0 service dependencies
Checked 3 host dependencies
Checked 5 timeperiods
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
I then rebooted, and tried to restart the nagios service again and that seemed to fix the issue. Thank you for your help with this and the fast responses!
Re: cloning of Nagios server
Posted: Mon Aug 24, 2015 4:48 pm
by hsmith
tomtom wrote:ok, I ran the
/usr/local/nagios/bin/nagios -v /usr/local/nagios/etc/nagios.cfg
and there were a few more cfg files that had some config issues so I fixed those and ran it again with the following results:
Running pre-flight check on configuration data...
Checking objects...
Checked 158 services.
Checked 72 hosts.
Checked 14 host groups.
Checked 0 service groups.
Checked 3 contacts.
Checked 3 contact groups.
Checked 37 commands.
Checked 5 time periods.
Checked 0 host escalations.
Checked 0 service escalations.
Checking for circular paths...
Checked 72 hosts
Checked 0 service dependencies
Checked 3 host dependencies
Checked 5 timeperiods
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
I then rebooted, and tried to restart the nagios service again and that seemed to fix the issue. Thank you for your help with this and the fast responses!
Interesting!
Am I all right to close this one? Ignore my instructions to upgrade above unless you have that upgrade itch.