enabling hosts/service ckeck in Nagios admin gui not working

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
User avatar
benhank
Posts: 1264
Joined: Tue Apr 12, 2011 12:29 pm

enabling hosts/service ckeck in Nagios admin gui not working

Post by benhank »

now this is odd. I distinctly remember resolving this issue here before but I can find it, ...
When I try to enable active host and service checks in the Ngaiosxi gui (ver 5.5.7) as I tail var log commandsubsys.log i get this:

Code: Select all

COMMAND DATA: a:1:{s:3:"cmd";i:35;}
CORE CMD: START_EXECUTING_SVC_CHECKS
COMMAND DATA: a:1:{s:3:"cmd";i:88;}
CORE CMD: START_EXECUTING_HOST_CHECKS
PHP Warning:  Invalid argument supplied for foreach() in /usr/local/nagiosxi/html/includes/components/nagiosim/nagiosim.inc.php on line 491

PROCESSED 2 COMMANDS
but nothing changes OR the checks enable for a few minutes then they are disabled again :
Capture.PNG
and I swear that the fix last time was to delete that nagiossim component.... But anyhoo I appreciate the help in advance!
You do not have the required permissions to view the files attached to this post.
Proudly running:
NagiosXI 5.4.12 2 node Prod Env 2500 hosts, 13,000 services
Nagiosxi 5.5.7(test env) 2500 hosts, 13,000 services
Nagios Logserver 2 node Prod Env 500 objects sending
Nagios Network Analyser
Nagios Fusion
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: enabling hosts/service ckeck in Nagios admin gui not wor

Post by scottwilkerson »

You certainly can and should delete the component

Code: Select all

rm -rf /usr/local/nagiosxi/html/includes/components/nagiosim
But this shouldn't actually impact the results you are seeing

Lets run the following:

Code: Select all

service nagios stop
killall -9 nagios
service ndo2db stop
rm -f /usr/local/nagios/var/rw/nagios.cmd /usr/local/nagios/var/ndo.*
service ndo2db start
service nagios start
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
User avatar
benhank
Posts: 1264
Joined: Tue Apr 12, 2011 12:29 pm

Re: enabling hosts/service ckeck in Nagios admin gui not wor

Post by benhank »

Hey Im sorry about this post. I knew in the back of my mind that this was the solution, I just could not find the post.
BUT!
Worked like a charm!
Im all set!
Proudly running:
NagiosXI 5.4.12 2 node Prod Env 2500 hosts, 13,000 services
Nagiosxi 5.5.7(test env) 2500 hosts, 13,000 services
Nagios Logserver 2 node Prod Env 500 objects sending
Nagios Network Analyser
Nagios Fusion
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: enabling hosts/service ckeck in Nagios admin gui not wor

Post by scottwilkerson »

benhank wrote:Hey Im sorry about this post. I knew in the back of my mind that this was the solution, I just could not find the post.
BUT!
Worked like a charm!
Im all set!
great! Glad it is resolved
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
Locked