Page 1 of 1

Cannot send custom notification since Nagios XI 2014 upgrade

Posted: Wed May 28, 2014 10:14 pm
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?

Re: Cannot send custom notification since Nagios XI 2014 upg

Posted: Thu May 29, 2014 1:35 pm
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

Re: Cannot send custom notification since Nagios XI 2014 upg

Posted: Thu May 29, 2014 7:21 pm
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 ~]#

Re: Cannot send custom notification since Nagios XI 2014 upg

Posted: Fri May 30, 2014 2:13 pm
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?