Re: Schedule a forced immediate check not working
Posted: Thu Apr 09, 2015 6:25 pm
There is currently no errors when executing.tgriep wrote:Can you run the following in a shell when you Schedule an immediate check with the user account you are having problems with and post the output back here?Code: Select all
tail -f /usr/local/nagiosxi/var/cmdsubsys.log
I tried 2 services.
First one started almost immediately but took very long to finish the command
Second try, took ages even to start logging and took equally long to finish.
However there was hardly any logs. Please see logs below.
Code: Select all
[nagios@nagiosprodxi1 ~]$ tail -f /usr/local/nagiosxi/var/cmdsubsys.log
................
PROCESSED 0 COMMANDS
ATA=a:4:{s:9:"host_name";s:13:"BHQMBCESXI004";s:12:"service_name";s:13:"VMH CPU Usage";s:3:"cmd";i:54;s:10:"start_time";i:1428621622;}
COMMAND DATA: a:4:{s:9:"host_name";s:13:"BHQMBCESXI004";s:12:"service_name";s:13:"VMH CPU Usage";s:3:"cmd";i:54;s:10:"start_time";i:1428621622;}
CMDARR:
Array
(
[host_name] => BHQMBCESXI004
[service_name] => VMH CPU Usage
[cmd] => 54
[start_time] => 1428621622
)
CORE CMD: SCHEDULE_FORCED_SVC_CHECK;BHQMBCESXI004;VMH CPU Usage;1428621622
SUBMITTING A NAGIOSCORE COMMAND...
.................................tail: /usr/local/nagiosxi/var/cmdsubsys.log: file truncated
PROCESSED 1 COMMANDS
SSED 1 COMMANDS
tail: /usr/local/nagiosxi/var/cmdsubsys.log: file truncated
..........................................................tail: /usr/local/nagiosxi/var/cmdsubsys.log: file truncated
..
PROCESSED 0 COMMANDS