Search found 8 matches

by JoostICM
Tue Feb 13, 2018 9:16 am
Forum: Open Source Nagios Projects
Topic: Passive checks incorrectly/partially processed and PENDING
Replies: 12
Views: 4707

Re: Passive checks incorrectly/partially processed and PENDI

I partied too soon. New server installed. Passive checks again not working so compared the previous setup with the current one. During testing I found something. - if I write to the cmd file with an append operator (>>) it doesn't work - if I write to the cmd file with an overwrite operator (>) it w...
by JoostICM
Tue Feb 13, 2018 3:58 am
Forum: Open Source Nagios Projects
Topic: Passive checks incorrectly/partially processed and PENDING
Replies: 12
Views: 4707

Re: Passive checks incorrectly/partially processed and PENDI

I installed a new server with NAGIOS Core while following the quickstart guide. The first passive check I ran registered correctly although my submission method to the cmd file is identical to the older server, as is my service setup. I must have missed a dependency or a specific setting or somethin...
by JoostICM
Fri Feb 09, 2018 10:53 am
Forum: Open Source Nagios Projects
Topic: Passive checks incorrectly/partially processed and PENDING
Replies: 12
Views: 4707

Re: Passive checks incorrectly/partially processed and PENDI

Hi npolovenko, Thanks for your response. Here are the outputs of the suggested commands: user@nagios-server:~$ php -a Interactive mode enabled php > echo (new \DateTime())->format('Y-m-d H:i:s'); 2018-02-09 11:25:07 php > quit user@nagios-server:~$ date Fri Feb 9 11:25:11 CET 2018 user@nagios-server...
by JoostICM
Tue Feb 06, 2018 9:35 am
Forum: Open Source Nagios Projects
Topic: Passive checks incorrectly/partially processed and PENDING
Replies: 12
Views: 4707

Re: Passive checks incorrectly/partially processed and PENDI

update: tried the passive result script you provided. adapted script (running on ubuntu): #!/bin/sh # This is a sample shell script showing how you can submit the PROCESS_SERVICE_CHECK_RESULT command # to Nagios. Adjust variables to fit your environment as necessary. now=`date +%s` commandfile='/usr...
by JoostICM
Tue Feb 06, 2018 9:17 am
Forum: Open Source Nagios Projects
Topic: Passive checks incorrectly/partially processed and PENDING
Replies: 12
Views: 4707

Re: Passive checks incorrectly/partially processed and PENDI

Hello, My submission script, found somewhere online: #!/bin/sh # Write a command to the Nagios command file to cause # it to process a service check result echocmd="/bin/echo" CommandFile="/usr/local/nagios/var/rw/nagios.cmd" # get the current date/time in seconds since UNIX epoc...
by JoostICM
Mon Feb 05, 2018 5:52 am
Forum: Open Source Nagios Projects
Topic: Passive checks incorrectly/partially processed and PENDING
Replies: 12
Views: 4707

Re: Passive checks incorrectly/partially processed and PENDI

I've checked everything you pointed at. When I disabled parallel checking I saw more negatives come in (crits) but still no state change on Ok. The checks that are ok stay on PENDING. Also, after the stale timeout is passed all go to critical yet again. NAGIOS seems to not notice it has received mul...
by JoostICM
Mon Feb 05, 2018 3:54 am
Forum: Open Source Nagios Projects
Topic: Passive checks incorrectly/partially processed and PENDING
Replies: 12
Views: 4707

Re: Passive checks incorrectly/partially processed and PENDI

hello tgriep, Thanks for your reply! 1. I don't think stalking is the answer if I read the source you referred to. If the plugin always returns the same text output for a particular state, there is no reason to enable stalking for that state. As long as the status of the stream doesn't change log me...
by JoostICM
Fri Feb 02, 2018 11:42 am
Forum: Open Source Nagios Projects
Topic: Passive checks incorrectly/partially processed and PENDING
Replies: 12
Views: 4707

Passive checks incorrectly/partially processed and PENDING

Hello, I hope someone can help me with the following problem I am experiencing with passive checks on NAGIOS Core. We've started only recently to deploy passive checks so I am not at all experienced in implementing these. It might be I am making a stupid mistake, but we've looked for problems for a ...