ssax wrote:Are you using SNMP Traps by chance? If so, can you please attach this file:
You will need to run these commands again:Code: Select all
/usr/local/bin/snmptraphandling.py
Here is your output (notice the missing p on the begging showing it's a pipe file):Code: Select all
service nagios stop killall -9 nagios rm -f /usr/local/nagios/var/rw/nagios.cmd service nagios start
Here is a proper output (notice the first p on the permissions indicating it is a pipe file):Code: Select all
[root@nagios02 ~]# ls -al /usr/local/nagios/var/rw/nagios.cmd -rw-rw-r-- 1 root nagcmd 178 Oct 3 15:44 /usr/local/nagios/var/rw/nagios.cmd
Code: Select all
[root@xid mysql]# ls -l /usr/local/nagios/var/rw/nagios.cmd prw-rw---- 1 nagios nagcmd 0 Oct 3 15:32 /usr/local/nagios/var/rw/nagios.cmd
Hello ssax,
Thank you for your input.
Yes we are using a few SNMP traps. I have attached the requested file.
I reran the following commands and believe I am receiving the proper output now
[root@nagios02 ~]# service nagios stop
Stopping nagios:. done.
[root@nagios02 ~]# killall -9 nagios
nagios: no process killed
[root@nagios02 ~]# rm -f /usr/local/nagios/var/rw/nagios.cmd
[root@nagios02 ~]# service nagios start
Starting nagios: done.
[root@nagios02 ~]# ls -al /usr/local/nagios/var/rw/nagios.cmd
prw-rw---- 1 nagios nagcmd 0 Oct 4 11:36 /usr/local/nagios/var/rw/nagios.cmd
[root@nagios02 ~]# ^C
[root@nagios02 ~]#
Schedule downtime through the UI is working now!!!
I don't know how the pipe tag would have been dropped but that appears to be the issue.