Search found 4 matches

by fatpoe
Mon Feb 03, 2014 3:38 pm
Forum: Open Source Nagios Projects
Topic: Nagios fails to update status change on one service only
Replies: 6
Views: 2113

Re: Nagios fails to update status change on one service only

oh dear god it was detecting itself since the process name is included in the script name....

Derp.

Ok I fixed it by changing the script filename.

heh thanks for the help. I knew it was something obvious. Note to self: get more sleep and setup fewer things at 2:30AM.
by fatpoe
Mon Feb 03, 2014 3:09 pm
Forum: Open Source Nagios Projects
Topic: Nagios fails to update status change on one service only
Replies: 6
Views: 2113

Re: Nagios fails to update status change on one service only

The echo matches was is expected. Either a 0 or a 1 when it's dead or running. That's why it's somewhat baffling. Script works. [root@f20_nagios libexec]# ./dsmcad_check.sh DSMCAD is running 1 [root@f20_nagios libexec]# ps -ef | grep dsm root 21658 1 0 14:06 ? 00:00:00 dsmcad root 21728 21339 0 14:0...
by fatpoe
Mon Feb 03, 2014 2:57 pm
Forum: Open Source Nagios Projects
Topic: Nagios fails to update status change on one service only
Replies: 6
Views: 2113

Re: Nagios fails to update status change on one service only

Your talking just the operating system CLI? If I kill the process or start it up and run the script it returns the proper output. The script appears to be working but nagios doesn't seem to change the status. I just killed the proc and checked the script. It returned the proper output but nagios doe...
by fatpoe
Sun Feb 02, 2014 3:29 am
Forum: Open Source Nagios Projects
Topic: Nagios fails to update status change on one service only
Replies: 6
Views: 2113

Nagios fails to update status change on one service only

Hey all. I've been using nagios for a little while for a home lab. I haven't had any issues until recently with a really baffling problem that I absolutely cannot figure out. For some reason when I try to use this script with a check, Nagios fails to see the change in service. Actually, the script a...