nagios cmd file does not exist

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
nms
Posts: 222
Joined: Wed Sep 28, 2016 9:35 am

nagios cmd file does not exist

Post by nms »

After upgrading Nagios XI from 5.4.13 to 5.5.2, we are experiencing some issues. (as per error.txt attached)

One issue we're noticing is that 'Force Immediate check' on services is resulting in 'An error occurred processing your request'.

After consulting forums with similar issue, we also noticed that file nagios.cmd under /usr/local/nagios/var/rw is not listed.

Can you kindly shed some light on this issue?
You do not have the required permissions to view the files attached to this post.
Last edited by nms on Wed Aug 08, 2018 5:58 pm, edited 1 time in total.
nms
Posts: 222
Joined: Wed Sep 28, 2016 9:35 am

Re: nagios cmd file does not exist

Post by nms »

In addition

[root@am1nms-nagiosxi rw]# service nagios status
No lock file found in /var/run/nagios.lock
User avatar
cdienger
Support Tech
Posts: 5045
Joined: Tue Feb 07, 2017 11:26 am

Re: nagios cmd file does not exist

Post by cdienger »

It would appear the nagios process isn't starting due to a config issue. Run the following to verify the config and provide any errors it may generate:

/usr/local/nagios/bin/nagios -v /usr/local/nagios/etc/nagios.cfg
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
nms
Posts: 222
Joined: Wed Sep 28, 2016 9:35 am

Re: nagios cmd file does not exist

Post by nms »

As per attached, you can find the output from the given command.
You do not have the required permissions to view the files attached to this post.
User avatar
lmiltchev
Bugs find me
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: nagios cmd file does not exist

Post by lmiltchev »

Currently, you don't have any errors (just warnings) as most likely nagios reverted back to the last known good configuration.

Go to the CCM > Service Groups > OFC_KPI1, and remove the '202-S-OFC-OFC007-InteractiveSMSMT-last 6h-timefor99delivered_Total' service on the 'bru-ofc-queue01-p_v-ofc' host. Save, and apply configuration. If you see any errors, please post them on the forum. Thank you!
Be sure to check out our Knowledgebase for helpful articles and solutions!
Locked