nagios_command_check not working correctly

Enrique Llanos V. ellanosv at gmail.com
Thu Jun 8 00:51:23 CEST 2006


Im sending you the info requested, any help will be greatly appreaciated.

nagios -v: Nagios 1.4
uname: Linux Gestion-monitor 2.6.16-gentoo-r7
/etc/make.conf: USE="-X -opengl -ipv6 apache2 nagios snmp fontconfig xpm"

su nagios -
nagios at Gestion-monitor /etc/nagios $ /usr/nagios/libexec/check_nagios
/var/nagios/status.log  5 'nagios'
Nagios ok: located 2 processes, status log updated 3 seconds ago

nagios at Gestion-monitor /var/nagios $ ls -l status.log
-rw-rw-r--  1 nagios nagios 43091 Jun  7 17:49 status.log

Thanks in advance.

ELLV



On 6/7/06, Frank, Jason <JasonFrank at srcp.com> wrote:
>
> Well, since it's Gentoo, what are your build flags for Nagios.  Also,
> what does the plugin return when you call it from the command line as
> the user running nagios.  Finally, can you give us an ls -l of your
> status.log?
>
>
> -----Original Message-----
> From: nagios-users-bounces at lists.sourceforge.net
> [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Enrique
> Llanos V.
> Sent: Tuesday, June 06, 2006 12:37 PM
> To: nagios-users at lists.sourceforge.net
> Subject: [Nagios-users] nagios_command_check not working correctly
>
> Hello everybody,
>
> Dudes, 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 result, the permissions for that file are 640,
> I'm starting to think that maybe a bug in gentoo nagios 1.4[5].
>
> I would really really appreciate if you help solve this problem.
>
> Thank you very much in advance.
>
> [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
> [5] http://bugs.gentoo.org/show_bug.cgi?id=126924
> [*]nagios_check_command=/usr/nagios/libexec/check_nagios
> /var/nagios/status.log 5 '/usr/nagios/bin/nagios'
> nagios_check_command=/usr/nagios/libexec/./check_nagios
> /var/nagios/status.log 5 '/usr/nagios/bin/nagios'
> nagios_check_command=/usr/nagios/libexec/check_nagios
> /var/nagios/status.log 5 `which nagios`
>
>
> ELLV
>
>
> --
> BSc. Ing. Enrique Llanos V.
> -----------------------------------
> http://e666.invazores.org/blog/
> ----------------------------------------
> Investigacion y Desarrollo
> ----------------------------------------
> Somos LINUX, seamoslo SIEMPRE
>
>
> _______________________________________________
> 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
>
>
> <font size="1" face="arial">This message (including any attachments) may contain confidential or otherwise privileged information and is intended only for the individual(s) to which it is addressed. If you are not the named addressee you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately by e-mail if you have received this e-mail by mistake and delete this e-mail from your system. E-mail transmission cannot be guaranteed to be secured or error-free as information could be intercepted, corrupted, lost, destroyed, arrive late or incomplete, or contain viruses. The sender therefore does not accept liability for any errors or omissions in the contents of this message or that arise as a result of e-mail transmission. If verification is required please request a hard-copy version from the sender.
>
> SOURCECORP, Incorporated
> www.srcp.com
> </font>
>


-- 
BSc. Enrique Llanos V.
------------------------------
http://e666.invazores.org/blog/
----------------------------------------
Investigacion y Desarrollo
----------------------------------------
Somos LINUX, seamoslo SIEMPRE


_______________________________________________
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