[op5-users] Issues with check_mssql.pl, results from shell = OK, results from nagios = null ??

Frater, Greg J GJFRATER at bechtel.com
Mon Aug 3 21:37:07 CEST 2009


>I am trying to use the check plug-in:
>Check_mssql.pl
>If I run it from the shell, using ./check_mssql.pl using my parameters,
everything works OK and the DBs report Online.
>When I run this in Nagios, it reports "null" for all of my checks using
check_mssql.pl
>I checked my nagios.cfg and I have removed any illegal object names and
macros, as well disabled to use embedded Nagios Pearl; still I have this
issue.
>Can anyone help me or shed some light as to why it does not work?
>

Check your permissions, when you run it from the command line, you are
probably running it as a different user than Nagios will execute the
plugin as.  To test, use the 'su' command to run the plugin (from the
command line) as the Nagios user.  See what happens when you do that.

-greg


More information about the op5-users mailing list