(no subject)

Jason Payne jasonp at iland.com
Mon May 12 20:33:38 CEST 2003


The rabbit hole deepens.

gcc -DHAVE_CONFIG_H -I. -I. -I. -I. -I. -I. -I. -I. -I.. -I../lib   -I/usr/i
nclude    -g -O2 -c check_procs.c
check_procs.c: In function `main':
check_procs.c:106: `PS_COMMAND' undeclared (first use in this function)
check_procs.c:106: (Each undeclared identifier is reported only once
check_procs.c:106: for each function it appears in.)
check_procs.c:123: `PS_FORMAT' undeclared (first use in this function)
*** Error code 1

Stop in /root/nagios-plugins-1.3.0/plugins.
*** Error code 1

Stop in /root/nagios-plugins-1.3.0.

This is what I get after ./configure and make all.

Anyone seen this before?

Jason

-----Original Message-----
From: nagios-users-admin at lists.sourceforge.net
[mailto:nagios-users-admin at lists.sourceforge.net]On Behalf Of Jason
Payne
Sent: Monday, May 12, 2003 11:58 AM
To: nagios-users at lists.sourceforge.net
Subject: [Nagios-users] (no subject)


This is the command I have in my cgi.cfg

dilated# /home/nagios/libexec/check_nagios /home/nagios/var/status.log 5
'/home/nagios/bin/nagios -d /home/nagios/etc/nagios.cfg'
Could not locate a running Nagios process!

As you can see, it doesn't work, yet:

nagios    149  0.0  0.7  1952 1736  ??  Ss   11:43AM   0:02.51
/home/nagios/bin/nagios -d /home/nagios/etc/nagios.cfg

It is running.

And:

dilated
Total Processes
UNKNOWN 05-12-2003 11:50:43 1d 13h 24m 47s 9/9 Unable to read output

This is my checkcommand:

# 'check_procs' command definition
define command{
        command_name    check_procs
        command_line    $USER1$/check_procs -w $ARG1$ -c $ARG2$
        }

dilated# ./check_procs -w 200 -c 300
Unable to read output

This has been running for almost a year with no problems what so ever, and
this starts happening.

Anyone have any ideas?

FreeBSD 4.5-RELEASE #0: Wed Jul 10 22:51:05 CDT 2002

Thanks,
Jason Payne



-------------------------------------------------------
Enterprise Linux Forum Conference & Expo, June 4-6, 2003, Santa Clara
The only event dedicated to issues related to Linux enterprise solutions
www.enterpriselinuxforum.com

_______________________________________________
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



-------------------------------------------------------
Enterprise Linux Forum Conference & Expo, June 4-6, 2003, Santa Clara
The only event dedicated to issues related to Linux enterprise solutions
www.enterpriselinuxforum.com

_______________________________________________
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