hello, i'm not sure about it, but maybe you can try to configure your check command to put the error messages into a file. you could configure your check command to something like this:
/usr/local/nagios/libexec/check_email_delivery <parameters> 2>>/tmp/check_email_delivery.errors after the check happen through nagios, look for possible errors on file /tmp/check_email_delivery.errors. hth -- Ricardo José Maraschini OpServices Tecnologia da Informação Your IT under control http://www.monitoringconferencelatinamerica.com/ ----- "JS" <jakob+nag...@f-prot.com> escreveu: > Hmm, on the script? It's all owned by root currently, everything else > works fine, owned by root: > > root@nagios:~# cd /usr/local/nagios/libexec/ > root@nagios:/usr/local/nagios/libexec# ls -la check_email* > -rwxr-xr-x 1 root root 38883 2011-03-25 18:00 check_email_delivery > root@nagios:/usr/local/nagios/libexec# ls -la check_ping > -rwxr-xr-x 1 root root 85407 2009-09-23 13:39 check_ping > root@nagios:/usr/local/nagios/libexec# > > I'm trying to add the check_email_delivery script. > > --js > > On 29.3.2011 12:53, Andre Kruger wrote: > > Did you set the user and group permissions correctly? > > > > >>> JS <jakob+nag...@f-prot.com> 2011/03/29 14:29 >>> > > Hi. > > > > When I run a certain service check on my server via the shell it > works > > fine. > > > > However after adding it to Nagios, using exactly the same > parameters, > > it failes and the message "Service check did not exit properly" > appears > > in my Nagios interface. > > > > How can I debug this? I've enabled debug logging in nagios.cfg but > > the log file still tell me very little. > > ------------------------------------------------------------------------------ > Enable your software for Intel(R) Active Management Technology to meet > the > growing manageability and security demands of your customers. > Businesses > are taking advantage of Intel(R) vPro (TM) technology - will your > software > be a part of the solution? Download the Intel(R) Manageability Checker > > today! http://p.sf.net/sfu/intel-dev2devmar > _______________________________________________ > 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 ------------------------------------------------------------------------------ Enable your software for Intel(R) Active Management Technology to meet the growing manageability and security demands of your customers. Businesses are taking advantage of Intel(R) vPro (TM) technology - will your software be a part of the solution? Download the Intel(R) Manageability Checker today! http://p.sf.net/sfu/intel-dev2devmar _______________________________________________ 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