No output returned from plug-in

Williams, John John.Williams at bowebellhowell.com
Tue May 15 21:11:44 CEST 2007


I have tried issuing the command as nagios (su - nagios). Also the
environments are the same for nagios on the server that works and the
server that doesn't. 

I have checked the apache config files and the cgi files between both
servers and they are the same, with the exception of where the actual
(not virtual) server name is needed.

How would I check further for permissions within the web interface?

-----Original Message-----
From: Valdinger, Stephen (DOV, MSX)
[mailto:stephen.valdinger at doverchem.com] 
Sent: Tuesday, May 15, 2007 2:31 PM
To: Patrick Morris; Williams, John
Cc: nagios-users at lists.sourceforge.net
Subject: RE: [Nagios-users] No output returned from plug-in

Try su'ing your nagios user and run the command manually. If it works,
it's permissions within the web interface. 

 
Stephen Valdinger
MIS Helpdesk Coordinator
Dover Chemical Corporation
3676 Davis Rd NW
Dover, OH 44622
330-365-3622
stephen.valdinger at doverchem.com
 
 
  "Ever notice how fast Windows runs ?
- Neither did I."
 
 "If at first you don't succeed, work for Microsoft."

-----Original Message-----
From: Patrick Morris [mailto:patrick.morris at hp.com] 
Sent: Tuesday, May 15, 2007 2:29 PM
To: Williams, John
Cc: nagios-users at lists.sourceforge.net
Subject: Re: [Nagios-users] No output returned from plug-in

On Tue, 2007-05-15 at 09:56 -0400, Williams, John wrote:
> The plugin doesn't fail when run manually:
> 
> newton2:/usr/lib/nagios/plugins# sudo -u nagios ./check_nrpe -H DWDEV
-c
> disks_DWDEV
> All filesystems at less than 95% capacity.
> 
> It only fails to show output on the webpage.

There are probably differences between the environment you get under
sudo and the one you get when Nagios runs the check, or nrpe may be
timing out.


------------------------------------------------------------------------
-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Nagios-users mailing list
Nagios-users at 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


-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Nagios-users mailing list
Nagios-users at 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





More information about the Users mailing list