Date: Thu, 02 Feb 2006 16:51:38 -0500 From: Robert Fitzpatrick <lists@webtent.net> To: FreeBSD <freebsd-questions@freebsd.org> Subject: Running custom command via Nagios Message-ID: <1138917098.25158.53.camel@columbus>
next in thread | raw e-mail | index | archive | help
I have the Nagios port installed on my FreeBSD 5.4 server and trying to use a custom command. I can run from the command line with no problem, but when Nagios is configured to use the command, which is a sendmail script, I get this error in /var/log/messages: Feb 2 16:39:03 esmtp kernel: pid 40443 (nagios), uid 2004: exited on signal 10 I am trying a sendmail script to allow me to send messages via an off-the-box SMTP server while monitoring Amavisd-new. So if Amavis does go down, I'll still get the message. I even made a simple little shell script that writes to a file and that doesn't work either. How can I run this script in the same context as Nagios to test from the commandline? -- Robert
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1138917098.25158.53.camel>