We do have passive checks enabled.tmcdonald wrote:Do you have passive checks enabled? Anything on a remote machine sending in to NRDP/NSCA? Those would both potentially cause the nagios.cmd to be overwritten as a normal file.
Update: I am almost certain this is the cause - notice that the file size is 520 bytes when it should be 0 for a normal pipe file. Can you cat the contents of the nagios.cmd file?
It happened again today, so here is the contents of the nagios.cmd file:
Code: Select all
[1458238885] PROCESS_SERVICE_CHECK_RESULT;XXXXXXXXXXXXXXXXXXXXXXXXXX;SNMP Traps;0;This trap/inform is sent to the man
ager whenever 501 1065 0 up 10 1129239315 1129239456 2 2 / enterprises.9.10.25.1.4.3.1.5.230055 ():501 enterprises.9
.10.25.1.4.3.1.6.230055 ():1065 enterprises.9.10.25.1.4.3.1.7.230055 ():0 ifOperStatus.1065 (INTEGER):up enterprises.9.1
0.25.1.4.3.1.3.230055 (): enterprises.9.10.25.1.4.3.1.4.230055 (): enterprises.9.10.25.1.4.3.1.8.230055 ():10 enterpri
ses.9.10.25.1.4.3.1.10.230055 ():1129239315 enterprises.9.10.25.1.4.3.1.11.230055 ():1129239456 enterprises.9.10.25.1.4.
3.1.14.230055 ():2 enterprises.9.10.25.1.4.3.1.12.230055 ():2