Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 136144

Summary: check_nagios_command
Product: Gentoo Linux Reporter: Enrique Llanos V. <ellanosv>
Component: Current packagesAssignee: Gentoo Netmon project <netmon>
Status: RESOLVED NEEDINFO    
Severity: major CC: ramereth
Priority: Normal    
Version: 1.4   
Hardware: x86   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 172480    

Description Enrique Llanos V. 2006-06-08 21:55:23 UTC
i have configured a nagios server in a gentoo box, according to
the instruction given here[0] and here[1] and, almost everything is
working correctly[2] except the important fact that the command
declared in cgi.cfg for the parameter nagios_check_command[3] is
reporting that "Nagios check command did not return any output "[4].
I've tried several different ways[*] for the nagios_check_command but
i still get the same error result, the permissions for that file are 640.

This bug occurs in a:  2.6.16-gentoo-r7 #1 SMP i686 

[0] http://gentoo-wiki.com/HOWTO_Install_Nagios
[1] http://nagios.sourceforge.net/docs/1_0/installing.html
[2] http://e666.invazores.org/blog/pics/nagios-main.png
[3] nagios_check_command=/usr/nagios/libexec/check_nagios
/var/nagios/status.log 5 '/usr/nagios/bin/nagios -d
/etc/nagios/nagios.cfg'
[4] http://e666.invazores.org/blog/pics/nagios-unknown.png

[*]nagios_check_command=/usr/nagios/libexec/check_nagios
/var/nagios/status.log 5 'nagios'
nagios_check_command=/usr/nagios/libexec/check_nagios
/var/nagios/status.log 5 '/usr/nagios/bin/nagios -d /etc/nagios/nagios.cfg'
nagios_check_command=/usr/nagios/libexec/check_nagios
/var/nagios/status.log 5 `which nagios`
Comment 1 Stefan Cornelius (RETIRED) gentoo-dev 2006-07-01 07:27:20 UTC
i fail to see the security impact here, opening and reassigning to netmon
Comment 2 Tobias Scherbaum (RETIRED) gentoo-dev 2007-05-21 20:24:16 UTC
Which nagios version are you running? Does upgrading to the latest 2.9 fix your problem?