Cannot send custom notification since Nagios XI 2014 upgrade

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
vincheesel
Posts: 30
Joined: Fri Jan 11, 2013 5:33 am

Cannot send custom notification since Nagios XI 2014 upgrade

Post by vincheesel »

Hi,
Since I upgraded to Nagios XI 2014, I cannot Send custom notifications

When I try, I get the following error,

It appears as though you do not have permission to submit the command you requested...
If you believe this is an error, check the HTTP server authentication requirements for accessing this CGI
and check the authorization options in your CGI configuration file.

I've checked my /usr/local/nagios/etc/cgi.cfg file and I have full access, any ideas?
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: Cannot send custom notification since Nagios XI 2014 upg

Post by scottwilkerson »

Could it be possible you have multiple instances of Nagios running?

Could you run the following

Code: Select all

service nagios stop
service ndo2db stop
killall -9 nagios
killall -9 ndo2db
service ndo2db start
service nagios start
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
vincheesel
Posts: 30
Joined: Fri Jan 11, 2013 5:33 am

Re: Cannot send custom notification since Nagios XI 2014 upg

Post by vincheesel »

Same error after performing the steps...
Doesn't look like multiple instances.

When I stopped the nagios service it stopped ndo2db.

Code: Select all

[root@server ~]# service nagios stop
Stopping nagios: .done.
[root@server ~]# service ndo2db stop
Stopping ndo2db: head: cannot open `/usr/local/nagios/var/ndo2db.lock for reading: No such file or directory
done.
[root@server ~]# killall -9 nagios
nagios: no process killed
[root@server ~]# killall -9 ndo2db
ndo2db: no process killed
[root@server ~]# service ndo2db start
Starting ndo2db: done.
[root@server ~]# service nagios start
Starting nagios: done.
[root@server ~]#
abrist
Red Shirt
Posts: 8334
Joined: Thu Nov 15, 2012 1:20 pm

Re: Cannot send custom notification since Nagios XI 2014 upg

Post by abrist »

Are you attempting to send them as a user, or nagiosadmin?
Do you force ssl?
Could restart httpd once just to reload the cgis?
Former Nagios employee
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
Locked