Page 1 of 1

New VM new Install issues

Posted: Fri Sep 08, 2017 7:22 am
by jchilds
New VM Install of XI

Issues:

1) getting a database error:
SQL Error [ndoutils] : Table './nagios/nagios_servicestatus' is marked as crashed and should be repaired

2) set up a 2012 server to monitor, monitoring iis, shut service down no alert, set up ns client on server

3) on the VMplayer I have limited access to change the IP address. The host server is on a 10 subnet. XI in bridged mode gives no IP address, no DHCP options. in nat, I get a 192 address, can access via web on local machine, can not access within the LAN

Thanks for any help.

Re: New VM new Install issues

Posted: Fri Sep 08, 2017 10:44 am
by bolson
The VM network should be set to bridged mode. If it's not getting an IP address, that would suggest that it's not finding a DHCP server. Please explain what you mean by "I have limited access to change the IP address"

Re: New VM new Install issues

Posted: Tue Oct 03, 2017 11:07 am
by jchilds
Sorry for the slow reply, our VM environment has issues. Need to install the VDS, need a new server.
Just posted a post asking for hardware recommendations.
Our evaluation is on hold until I get a new server.

Re: New VM new Install issues

Posted: Tue Oct 03, 2017 12:11 pm
by npolovenko
@jchilds So you can access Nagios xi in a web browser on another computer on a local network? You just can't ssh to it?

Regarding your issue number 1. Did you do a hard shutdown on your Nagios XI VM recently? By that, I mean just clicking on "shut down" instead of turning it off with the command

Code: Select all

shutdown -h now
Can you attempt to run a database repair script and see if it fixes the issue?

Code: Select all

cd /usr/local/nagiosxi/scripts/
./repair_databases.sh
Than run

Code: Select all

service nagios restart
service httpd restart
Regarding your issue number two, did you get NSC client to work successfully before the problem happened? By that I mean did all standard service checks (from the Server 2012) provide any output in the XI before?