Never mind: found the problem. I had "max_check_attempts" still at 4. Set it to 1 and now it immediately reacts.
On Wed, Mar 19, 2008 at 03:36:11PM +0100, Folkert van Heusden wrote: > Hi, > > In my services.cfg I have: > define service { > use generic-service > host_name p630 > service_description manual call > contact_groups aix-admins > active_checks_enabled 0 > passive_checks_enabled 1 > check_command check_dummy > } > > Now in my php script I send the following string (tried both with and > without terminating \n) to the pipe /var/lib/nagios2/rw/nagios.cmd ; > [1205935241] PROCESS_SERVICE_CHECK_RESULT;p630;manual call;2;test > > The problem now is: no action is performed! The event does not show up > in the logfile (/var/log/nagios2/nagios.log) and also no e-mail is sent > (no sms is send either). > > Configfile: > mmc:/etc/nagios2# grep passive nagios.cfg | grep -v "^#" > log_passive_checks=1 > accept_passive_service_checks=1 > accept_passive_host_checks=1 > > > Folkert van Heusden > > -- > www.vanheusden.com/multitail - win een vlaai van multivlaai! zorg > ervoor dat multitail opgenomen wordt in Fedora Core, AIX, Solaris of > HP/UX en win een vlaai naar keuze > ---------------------------------------------------------------------- > Phone: +31-6-41278122, PGP-key: 1F28D8AE, www.vanheusden.com > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Microsoft > Defy all challenges. Microsoft(R) Visual Studio 2008. > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ > _______________________________________________ > Nagios-users mailing list > Nagios-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting > any issue. > ::: Messages without supporting info will risk being sent to /dev/null Folkert van Heusden -- MultiTail ist eine flexible Applikation um Logfiles und Kommando Eingaben zu überprüfen. Inkl. Filter, Farben, Zusammenführen, Ansichten etc. http://www.vanheusden.com/multitail/ ---------------------------------------------------------------------- Phone: +31-6-41278122, PGP-key: 1F28D8AE, www.vanheusden.com ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null