Broke my nagios.cmd file
Broke my nagios.cmd file
While messing with my snmp trap stuff, I seem to somehow have broken my nagios.cmd file. Traps are no longer being written to it and if doing something via the XI interface that doesn't seem to be writing to it either.
Last edited by BanditBBS on Mon Dec 17, 2012 2:25 pm, edited 1 time in total.
2 of XI5.6.14 Prod/DR/DEV - Nagios LogServer 2 Nodes
See my projects on the Exchange at BanditBBS - Also check out my Nagios stuff on my personal page at Bandit's Home and at github
See my projects on the Exchange at BanditBBS - Also check out my Nagios stuff on my personal page at Bandit's Home and at github
Re: Broke my nagios.cmd file
Permissions? Here's what mine looks like:
I'm using the VM appliance though...
Code: Select all
[root@ATL02PRDMGMT03 ~]# ll /usr/local/nagios/var/rw/
total 4
prw-rw---- 1 nagios nagcmd 0 Dec 17 13:54 nagios.cmdRe: Broke my nagios.cmd file
My permissions are the same. 
2 of XI5.6.14 Prod/DR/DEV - Nagios LogServer 2 Nodes
See my projects on the Exchange at BanditBBS - Also check out my Nagios stuff on my personal page at Bandit's Home and at github
See my projects on the Exchange at BanditBBS - Also check out my Nagios stuff on my personal page at Bandit's Home and at github
Re: Broke my nagios.cmd file
Type "history" into the command line and post what you did?
Post any errors from "tail /usr/local/nagios/var/nagios.log"
Reboot
Post any errors from "tail /usr/local/nagios/var/nagios.log"
Reboot
Re: Broke my nagios.cmd file
No errors in the log. The weird things is, when I issue a command within NagiosXI, it says "Command processed successfully" but it is not.CGraham wrote:Type "history" into the command line and post what you did?
Post any errors from "tail /usr/local/nagios/var/nagios.log"
Reboot
Also, I'd show my history, except all I'm doing is modifying snmptt.conf, restarting snmptt service and modifying a python script, that's it.
Restarting the box now, I'm at that point!
2 of XI5.6.14 Prod/DR/DEV - Nagios LogServer 2 Nodes
See my projects on the Exchange at BanditBBS - Also check out my Nagios stuff on my personal page at Bandit's Home and at github
See my projects on the Exchange at BanditBBS - Also check out my Nagios stuff on my personal page at Bandit's Home and at github
Re: Broke my nagios.cmd file
reboot fixed it....no clue what happened.
Hate not knowing what was wrong!
Hate not knowing what was wrong!
2 of XI5.6.14 Prod/DR/DEV - Nagios LogServer 2 Nodes
See my projects on the Exchange at BanditBBS - Also check out my Nagios stuff on my personal page at Bandit's Home and at github
See my projects on the Exchange at BanditBBS - Also check out my Nagios stuff on my personal page at Bandit's Home and at github
Re: Broke my nagios.cmd file
Balancing "get my prod system up now" against "troubleshoot root cause to prevent re-occurance" is sordid business. Glad it's working.