From whiteca at gmail.com Sun May 1 11:30:15 2005 From: whiteca at gmail.com (Colin White) Date: Sun, 1 May 2005 10:30:15 +0100 Subject: Nagios 2.0 (nsca-2.4) upgrade difficulties on Solaris 9 In-Reply-To: <40822.192.168.128.102.1114894143.squirrel@ssl.monsoonwind.com> References: <8cf9337805043002316fa2f8ff@mail.gmail.com> <40822.192.168.128.102.1114894143.squirrel@ssl.monsoonwind.com> Message-ID: <8cf9337805050102303f286bea@mail.gmail.com> Robert, That seemed to work like a treat - thank you :-) Colin On 4/30/05, Robert Hajime Lanning wrote: > > > > [1] It seems that when I run nsca under inetd, I get "1 data packet(s) > > sent to host successfully." but nothing gets written to nagios.cmd - > > wierd indeed (perms are as my original post). I have also tried to run > > nsca from inetd as root but with the same result. Unfortunately nsca > > debug=1 doesn't work when running --inetd. My inetd.conf has an entry > > like this - > > ---- > > nsca stream tcp nowait nagios /usr/local/nagios/bin/nsca -c > > /usr/local/nagios/etc/nsca.cfg --inetd > > ---- > > Try this: > ---- > nsca stream tcp nowait nagios /usr/local/nagios/bin/nsca nsca -c > /usr/local/nagios/etc/nsca.cfg --inetd > ---- > > service socket_type protocol wait/nowait user bin arg0 arg1 arg2 ... > > arg0 is to be the name of the binary. (yes you are to repeat it.) > > -- > END OF LINE > -MCP > > > ------------------------------------------------------- > This SF.Net email is sponsored by: NEC IT Guy Games. > Get your fingers limbered up and give it your best shot. 4 great events, 4 > opportunities to win big! Highest score wins.NEC IT Guy Games. Play to > win an NEC 61 plasma display. Visit http://www.necitguy.com/?r=20 > _______________________________________________ > 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 > -- Colin A. White --- E : whiteca at gmail.com M : +44 (0)7973 198931 W : http://colin.trematon.com ------------------------------------------------------- This SF.Net email is sponsored by: NEC IT Guy Games. Get your fingers limbered up and give it your best shot. 4 great events, 4 opportunities to win big! Highest score wins.NEC IT Guy Games. Play to win an NEC 61 plasma display. Visit http://www.necitguy.com/?r _______________________________________________ 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 From frogmist at gmail.com Sun May 1 17:19:31 2005 From: frogmist at gmail.com (Sally) Date: Sun, 1 May 2005 23:19:31 +0800 Subject: Nagios running as normal but got cgi error? Message-ID: Hi, This is the 2nd time i'm installing Nagios 1.2 on Freebsd 5.3. I managed to get Nagios up and running the first time but i'm facing some perplexing problems getting it up the 2nd time. When i try to access the cgi, I got "Error: Could not read host and service status information!" I know that Nagios is running because 1. when i do a ps |grep nagios, i could see the process id. 2. when i tail -f nagios.log, i can see that the hosts and service checks are being conducted and no errors have been reported. This leads me to think that it is a cgi problem rather than the nagios problem. As mentioned above, i could see from the logs that nagios is running as normal. I've also tried using the config files on the 1st machine (which is confirmed to be working) on this 2nd machine but the results were still the same. I've even tried re-installing Nagios. What did i do wrong? how do i rectify the problem? Any help will be most appreciated. Thanks a lot! ------------------------------------------------------- This SF.Net email is sponsored by: NEC IT Guy Games. Get your fingers limbered up and give it your best shot. 4 great events, 4 opportunities to win big! Highest score wins.NEC IT Guy Games. Play to win an NEC 61 plasma display. Visit http://www.necitguy.com/?r _______________________________________________ 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 From gwaugh at scu.edu.au Mon May 2 03:42:13 2005 From: gwaugh at scu.edu.au (Guy Waugh) Date: Mon, 02 May 2005 11:42:13 +1000 Subject: check_cpu: "no output returned from plugin" In-Reply-To: References: Message-ID: <42758575.9080307@scu.edu.au> Hi folks, I've just installed the check_cpu plugin from Nemir Nemiria (thanks Nemir!), but nagios 1.2 is reporting 'no output returned from plugin'. Nagios is running on the host being monitored, and that host is a RHEL3 box. It works fine from the command line (as the nagios user), but due to the fact that it runs vmstat with 2 readings 5 seconds apart, the plugin takes a little over 5 seconds to run. Could this be why nagios thinks the plugin is returning no output? Is there a setting that tells nagios to wait a certain amount of time for a plugin to return output? Or perhaps my assumption is wrong... Thanks, Guy. ------------------------------------------------------- This SF.Net email is sponsored by: NEC IT Guy Games. Get your fingers limbered up and give it your best shot. 4 great events, 4 opportunities to win big! Highest score wins.NEC IT Guy Games. Play to win an NEC 61 plasma display. Visit http://www.necitguy.com/?r=20 _______________________________________________ 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 From jhmartin at toger.us Mon May 2 03:56:18 2005 From: jhmartin at toger.us (Jason Martin) Date: Sun, 1 May 2005 18:56:18 -0700 Subject: check_cpu: "no output returned from plugin" In-Reply-To: <42758575.9080307@scu.edu.au> References: <42758575.9080307@scu.edu.au> Message-ID: <20050502015618.GD3514@zippy.toger.us> On Mon, May 02, 2005 at 11:42:13AM +1000, Guy Waugh wrote: > It works fine from the command line (as the nagios user), but due to the > fact that it runs vmstat with 2 readings 5 seconds apart, the plugin > takes a little over 5 seconds to run. Could this be why nagios thinks > the plugin is returning no output? Is there a setting that tells nagios > to wait a certain amount of time for a plugin to return output? Or > perhaps my assumption is wrong... The default check timeout is 10 seconds, so that shouldn't be your problem. Anyway, if it times out then it will report a timeout. No Output From plugin means that the plugin had no output. That could indicate a plugin error, so perhaps the plugin is having a problem execeuting vmstat. -Jason Martin -- I'm spending a year dead for tax purposes. This message is PGP/MIME signed. -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 211 bytes Desc: not available URL: From frogmist at gmail.com Mon May 2 05:47:30 2005 From: frogmist at gmail.com (Sally) Date: Mon, 2 May 2005 11:47:30 +0800 Subject: CGI Error Message-ID: Hi Josh, I'm encountering the same problem... wat's the version of apache that you are using? mine's 2.0.54... din have any problems on 2.0.52, so wondering whether it's the apache that's causing the problem. Thanks! From: Josh Re: CGI Error 2005-04-29 08:27 Thanks for the reply, Guillaume. Yes, the user is authorized. After no luck I then disabled authentication and tried again. Still nothing. Yes, nagios is running... and again, starts up with no errors in nagios.log. While I"m awaiting any reponses I"ve been digging through the source to find the root of the problem. The cgi.cfg file is definitely being read. Changing the filename results in a different error that the config can"t be found. Taking a closer look at the error... "Make sure you"ve compiled the main program and the CGIs to use the same object data storage options (i.e. default text file or template-based file)." Is there an options somewhere to switch between the two? This was a new install and I only changed what needed to be changed (host/service defs, file locations, etc.). -Josh --- guillaume LOHEZ wrote: > Hi > > Maybe, it is an authentification problem with > Apache..... > Or a config problem in cgi.cfg > > What user do you use to login ???? > Is this user authorized to view the page you want to > display ???? > > Ok, there is no error for the dry run..... but > nagios is running or not ???? > > That"s my first clues... > > Regards > Guillaume > > > Josh a ?crit : > > >OK. I know this must be a common error but I can"t > >find a solution for my situation anywhere online, > >FAQs, or forums. > > > >Here"s the error I get when clicking on one of the > >CGIs on the left frame of the web interface: > > > >---- > >Whoops! > >Error: Could not read object configuration data! > > > >Here are some things you should check in order to > >resolve this error: > > > > > >Verify configuration options using the -v > command-line > >option to check for errors. > >Check the Nagios log file for messages relating to > >startup or status data errors. > >Make sure you"ve compiled the main program and the > >CGIs to use the same object data storage options > (i.e. > >default text file or template-based file). > >---- > > > >Here"s how I configured nagios-2.0b3: > > > >./configure \ > > --prefix=/usr/local/nagios-2.0b3 \ > > --with-lockfile=/var/lock/subsys/nagios \ > > --with-nagios-user=nagios \ > > --with-nagios-grp=nagios \ > > --with-perlcache \ > > --enable-embedded-perl \ > > --with-gd-inc=/usr/local/include \ > > --with-gd-lib=/usr/local/lib \ > > --with-template-objects \ > > --with-cgiurl="/cgi-bin/nagios" \ > > --with-htmurl="/nagios" > > > >I don"t get any errors when running: > >/usr/local/nagios-2.0b3/bin/nagios -v > >/usr/local/nagios-2.0b3/etc/nagios.cfg > > > > > >No errors in /var/log/nagios/nagios.log and no > errors > >in apache. Any ideas on what I can try? > > > >Thanks. > > > >-Josh > > > >__________________________________________________ > >Do You Yahoo!? > >Tired of spam? Yahoo! Mail has the best spam > protection around > >http://mail.yahoo.com > > > > > >------------------------------------------------------- > >SF.Net email is sponsored by: Tell us your software > development plans! > >Take this survey and enter to win a one-year sub to > SourceForge.net > >Plus IDC"s 2005 look-ahead and a copy of this > survey > >Click here to start! > http://www.idcswdc.com/cgi-bin/survey?id=105hix > >_______________________________________________ > >Nagios-users mailing list > >Nagios-users at li... > >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 > > > > > > > > > -- > Guillaume LOHEZ > Administrateur Systemes & Reseaux > Portable: +33 (0)6 72 23 20 16 > E-mail: guillaume.lohez at li... > ------------------------------------ > LINAGORA > 30 Rue Saint Augustin, PARIS 2eme > Telephone: +33 (0)1 58 18 68 28 > > > > > ------------------------------------------------------- > SF.Net email is sponsored by: Tell us your software > development plans! > Take this survey and enter to win a one-year sub to > SourceForge.net > Plus IDC"s 2005 look-ahead and a copy of this survey > Click here to start! > http://www.idcswdc.com/cgi-bin/survey?id5hix > _______________________________________________ > Nagios-users mailing list > Nagios-users at li... > 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 > __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com ------------------------------------------------------- This SF.Net email is sponsored by: NEC IT Guy Games. Get your fingers limbered up and give it your best shot. 4 great events, 4 opportunities to win big! Highest score wins.NEC IT Guy Games. Play to win an NEC 61 plasma display. Visit http://www.necitguy.com/?r _______________________________________________ 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 From nemir at hotmail.com Mon May 2 06:17:44 2005 From: nemir at hotmail.com (nemir nemiria) Date: Mon, 02 May 2005 04:17:44 +0000 Subject: check_cpu: "no output returned from plugin" In-Reply-To: <42758575.9080307@scu.edu.au> References: <42758575.9080307@scu.edu.au> Message-ID: Hey there Guy, >I've just installed the check_cpu plugin from Nemir Nemiria (thanks >Nemir!), but nagios 1.2 is reporting 'no output returned from plugin'. >Nagios is running on the host being monitored, and that host is a RHEL3 >box. Ack! I haven't tested under RHEL3 yet. You're in a bit of luck though, as I have just acquired one. I will have a bit of a hack around and let you know what I find. regards, Nemir ------------------------------------------------------- This SF.Net email is sponsored by: NEC IT Guy Games. Get your fingers limbered up and give it your best shot. 4 great events, 4 opportunities to win big! Highest score wins.NEC IT Guy Games. Play to win an NEC 61 plasma display. Visit http://www.necitguy.com/?r=20 _______________________________________________ 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 From askarali at beaconet.net Mon May 2 06:40:55 2005 From: askarali at beaconet.net (Askar Ali) Date: Mon, 02 May 2005 09:40:55 +0500 Subject: check_cpu: "no output returned from plugin" In-Reply-To: References: Message-ID: <4275AF57.2070805@beaconet.net> nemir nemiria wrote: > Hey there Guy, > > >> I've just installed the check_cpu plugin from Nemir Nemiria (thanks >> Nemir!), but nagios 1.2 is reporting 'no output returned from >> plugin'. Nagios is running on the host being monitored, and that host >> is a RHEL3 box. > > > Ack! I haven't tested under RHEL3 yet. You're in a bit of luck > though, as I have just acquired one. I will have a bit of a hack > around and let you know what I find. > > > regards, > > Nemir > > > > > ------------------------------------------------------- > This SF.Net email is sponsored by: NEC IT Guy Games. > Get your fingers limbered up and give it your best shot. 4 great > events, 4 > opportunities to win big! Highest score wins.NEC IT Guy Games. Play to > win an NEC 61 plasma display. Visit http://www.necitguy.com/?r=20 > _______________________________________________ > 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 > > would you pls gimme an example howto use check_cpu, I just tested it on slackware after reading this post, however I'm kinda confuse with the output return by the plugin. It reports "OK: CPU is 7% idle" even though system "top" show me that system cpu is 90% idle? Regards Askar ------------------------------------------------------- This SF.Net email is sponsored by: NEC IT Guy Games. Get your fingers limbered up and give it your best shot. 4 great events, 4 opportunities to win big! Highest score wins.NEC IT Guy Games. Play to win an NEC 61 plasma display. Visit http://www.necitguy.com/?r=20 _______________________________________________ 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 From askarali at beaconet.net Mon May 2 12:46:52 2005 From: askarali at beaconet.net (Askar Ali) Date: Mon, 02 May 2005 15:46:52 +0500 Subject: check_uptime problem with linux Message-ID: <4276051C.4070904@beaconet.net> hi list, if I run check_uptime against our bsd machine its give report back the uptime of the machine , however running against Linux servers gives "UNKNOWN: Unable to find system uptime on host" Any idea what I'm missing ? Regards Askar ------------------------------------------------------- This SF.Net email is sponsored by: NEC IT Guy Games. Get your fingers limbered up and give it your best shot. 4 great events, 4 opportunities to win big! Highest score wins.NEC IT Guy Games. Play to win an NEC 61 plasma display. Visit http://www.necitguy.com/?r=20 _______________________________________________ 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 From misch at multinet.de Mon May 2 12:52:56 2005 From: misch at multinet.de (Michael Schwartzkopff) Date: Mon, 2 May 2005 12:52:56 +0200 Subject: check_uptime problem with linux In-Reply-To: <4276051C.4070904@beaconet.net> References: <4276051C.4070904@beaconet.net> Message-ID: <200505021253.03854.misch@multinet.de> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi user, No SNMP agent ? bad SNMP agent on the target system? Try snmpwalk <-option> target .system Am Montag, 2. Mai 2005 12:46 schrieb Askar Ali: > hi list, > > if I run check_uptime against our bsd machine its give report > back the uptime of the machine , however running against Linux servers > gives > > "UNKNOWN: Unable to find system uptime on host" > > > Any idea what I'm missing ? > > > Regards > > Askar > > > ------------------------------------------------------- > This SF.Net email is sponsored by: NEC IT Guy Games. > Get your fingers limbered up and give it your best shot. 4 great events, 4 > opportunities to win big! Highest score wins.NEC IT Guy Games. Play to > win an NEC 61 plasma display. Visit http://www.necitguy.com/?r=20 > _______________________________________________ > 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 - -- Dr. Michael Schwartzkopff MultiNET Services GmbH Bretonischer Ring 7 85630 Grasbrunn Tel: (+49 89) 456 911 - 0 Fax: (+49 89) 456 911 - 21 mob: (+49 174) 343 28 75 PGP Fingerprint: F919 3919 FF12 ED5A 2801 DEA6 AA77 57A4 EDD8 979B Skype: misch42 -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (GNU/Linux) iD8DBQFCdgaPqndXpO3Yl5sRAoXaAKC3BUadcXQHyOWgxuv/OJYojj0vNgCfeYtY vaa4ereCoy0SCbw3fYukvLQ= =E0r+ -----END PGP SIGNATURE----- ------------------------------------------------------- This SF.Net email is sponsored by: NEC IT Guy Games. Get your fingers limbered up and give it your best shot. 4 great events, 4 opportunities to win big! Highest score wins.NEC IT Guy Games. Play to win an NEC 61 plasma display. Visit http://www.necitguy.com/?r _______________________________________________ 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 From askarali at beaconet.net Mon May 2 12:59:06 2005 From: askarali at beaconet.net (Askar Ali) Date: Mon, 02 May 2005 15:59:06 +0500 Subject: check_uptime problem with linux In-Reply-To: <200505021253.03854.misch@multinet.de> References: <4276051C.4070904@beaconet.net> <200505021253.03854.misch@multinet.de> Message-ID: <427607FA.9080208@beaconet.net> Michael Schwartzkopff wrote: >-----BEGIN PGP SIGNED MESSAGE----- >Hash: SHA1 > >Hi user, > >No SNMP agent ? >bad SNMP agent on the target system? > >Try snmpwalk <-option> target .system > > >Am Montag, 2. Mai 2005 12:46 schrieb Askar Ali: > > >>hi list, >> >> if I run check_uptime against our bsd machine its give report >>back the uptime of the machine , however running against Linux servers >>gives >> >>"UNKNOWN: Unable to find system uptime on host" >> >> >>Any idea what I'm missing ? >> >> >>Regards >> >>Askar >> >> >>------------------------------------------------------- >>This SF.Net email is sponsored by: NEC IT Guy Games. >>Get your fingers limbered up and give it your best shot. 4 great events, 4 >>opportunities to win big! Highest score wins.NEC IT Guy Games. Play to >>win an NEC 61 plasma display. Visit http://www.necitguy.com/?r=20 >>_______________________________________________ >>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 >> >> > >- -- >Dr. Michael Schwartzkopff >MultiNET Services GmbH >Bretonischer Ring 7 >85630 Grasbrunn > >Tel: (+49 89) 456 911 - 0 >Fax: (+49 89) 456 911 - 21 >mob: (+49 174) 343 28 75 > >PGP Fingerprint: F919 3919 FF12 ED5A 2801 DEA6 AA77 57A4 EDD8 979B >Skype: misch42 >-----BEGIN PGP SIGNATURE----- >Version: GnuPG v1.2.4 (GNU/Linux) > >iD8DBQFCdgaPqndXpO3Yl5sRAoXaAKC3BUadcXQHyOWgxuv/OJYojj0vNgCfeYtY >vaa4ereCoy0SCbw3fYukvLQ= >=E0r+ >-----END PGP SIGNATURE----- > > >------------------------------------------------------- >This SF.Net email is sponsored by: NEC IT Guy Games. >Get your fingers limbered up and give it your best shot. 4 great events, 4 >opportunities to win big! Highest score wins.NEC IT Guy Games. Play to >win an NEC 61 plasma display. Visit http://www.necitguy.com/?r >_______________________________________________ >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 > > > > Hello Micheal, Frankly there is no snmp agent on servers, however arne't NRPE + check_uptime combination possible, we are already monitoring lot of things with nrpe and also due to servers we also kinda run less services on servers. thanks and regards askar ------------------------------------------------------- This SF.Net email is sponsored by: NEC IT Guy Games. Get your fingers limbered up and give it your best shot. 4 great events, 4 opportunities to win big! Highest score wins.NEC IT Guy Games. Play to win an NEC 61 plasma display. Visit http://www.necitguy.com/?r=20 _______________________________________________ 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 From josh2780 at yahoo.com Mon May 2 16:11:16 2005 From: josh2780 at yahoo.com (Josh) Date: Mon, 2 May 2005 07:11:16 -0700 (PDT) Subject: CGI Error In-Reply-To: References: Message-ID: <20050502141117.17826.qmail@web50802.mail.yahoo.com> Hi Sally. I'm running Apache 1.3.33 with mod_perl 1.29. I've tried reinstalling nagios 2.0 with the defaults when running ./configure. Basic install, authentication shut off ... still get the same result on the CGIs. Any thoughts from anyone? --- Sally wrote: > Hi Josh, > I'm encountering the same problem... wat's the > version of apache that > you are using? mine's 2.0.54... din have any > problems on 2.0.52, so > wondering whether it's the apache that's causing the > problem. > > > Thanks! > > > > > From: Josh > Re: CGI Error > 2005-04-29 08:27 > Thanks for the reply, Guillaume. > > Yes, the user is authorized. After no luck I then > disabled authentication and tried again. Still > nothing. > > Yes, nagios is running... and again, starts up > with > no errors in nagios.log. > > While I"m awaiting any reponses I"ve been digging > through the source to find the root of the problem. > > The cgi.cfg file is definitely being read. > Changing > the filename results in a different error that the > config can"t be found. > > Taking a closer look at the error... "Make sure > you"ve > compiled the main program and the CGIs to use the > same > object data storage options (i.e. default text file > or > template-based file)." Is there an options > somewhere > to switch between the two? This was a new install > and > I only changed what needed to be changed > (host/service > defs, file locations, etc.). > > -Josh > > > --- guillaume LOHEZ > wrote: > > Hi > > > > Maybe, it is an authentification problem with > > Apache..... > > Or a config problem in cgi.cfg > > > > What user do you use to login ???? > > Is this user authorized to view the page you want > to > > display ???? > > > > Ok, there is no error for the dry run..... but > > nagios is running or not ???? > > > > That"s my first clues... > > > > Regards > > Guillaume > > > > > > Josh a ?crit : > > > > >OK. I know this must be a common error but I > can"t > > >find a solution for my situation anywhere > online, > > >FAQs, or forums. > > > > > >Here"s the error I get when clicking on one of > the > > >CGIs on the left frame of the web interface: > > > > > >---- > > >Whoops! > > >Error: Could not read object configuration data! > > > > > >Here are some things you should check in order > to > > >resolve this error: > > > > > > > > >Verify configuration options using the -v > > command-line > > >option to check for errors. > > >Check the Nagios log file for messages relating > to > > >startup or status data errors. > > >Make sure you"ve compiled the main program and > the > > >CGIs to use the same object data storage options > > (i.e. > > >default text file or template-based file). > > >---- > > > > > >Here"s how I configured nagios-2.0b3: > > > > > >./configure \ > > > --prefix=/usr/local/nagios-2.0b3 \ > > > --with-lockfile=/var/lock/subsys/nagios \ > > > --with-nagios-user=nagios \ > > > --with-nagios-grp=nagios \ > > > --with-perlcache \ > > > --enable-embedded-perl \ > > > --with-gd-inc=/usr/local/include \ > > > --with-gd-lib=/usr/local/lib \ > > > --with-template-objects \ > > > --with-cgiurl="/cgi-bin/nagios" \ > > > --with-htmurl="/nagios" > > > > > >I don"t get any errors when running: > > >/usr/local/nagios-2.0b3/bin/nagios -v > > >/usr/local/nagios-2.0b3/etc/nagios.cfg > > > > > > > > >No errors in /var/log/nagios/nagios.log and no > > errors > > >in apache. Any ideas on what I can try? > > > > > >Thanks. > > > > > >-Josh > > > > > > >__________________________________________________ > > >Do You Yahoo!? > > >Tired of spam? Yahoo! Mail has the best spam > > protection around > > >http://mail.yahoo.com > > > > > > > > > > >------------------------------------------------------- > > >SF.Net email is sponsored by: Tell us your > software > > development plans! > > >Take this survey and enter to win a one-year sub > to > > SourceForge.net > > >Plus IDC"s 2005 look-ahead and a copy of this > > survey > > >Click here to start! > > http://www.idcswdc.com/cgi-bin/survey?id=105hix > > >_______________________________________________ > > >Nagios-users mailing list > > >Nagios-users at li... > > > > >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 > > > > > > > > > > > > > > > -- > > Guillaume LOHEZ > > Administrateur Systemes & Reseaux > > Portable: +33 (0)6 72 23 20 16 > > E-mail: guillaume.lohez at li... > > ------------------------------------ > > LINAGORA > > 30 Rue Saint Augustin, PARIS 2eme > > Telephone: +33 (0)1 58 18 68 28 > > > > > > > > > > > > ------------------------------------------------------- > > SF.Net email is sponsored by: Tell us your > software > > development plans! > > Take this survey and enter to win a one-year sub > to > > SourceForge.net > > Plus IDC"s 2005 look-ahead and a copy of this > survey > > Click here to start! > > http://www.idcswdc.com/cgi-bin/survey?id5hix > > _______________________________________________ > > Nagios-users mailing list > === message truncated === __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com ------------------------------------------------------- This SF.Net email is sponsored by: NEC IT Guy Games. Get your fingers limbered up and give it your best shot. 4 great events, 4 opportunities to win big! Highest score wins.NEC IT Guy Games. Play to win an NEC 61 plasma display. Visit http://www.necitguy.com/?r=20 _______________________________________________ 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 From josh2780 at yahoo.com Mon May 2 16:36:51 2005 From: josh2780 at yahoo.com (Josh) Date: Mon, 2 May 2005 07:36:51 -0700 (PDT) Subject: CGI Error Message-ID: <20050502143651.71100.qmail@web50808.mail.yahoo.com> The only thing that is different between this new install and and install on a previously working Nagios is the OS version. I previously had Nagios 1.2 running on a RedHat 9 box. This new install (Nagios 2.0) is on a RedHat ES4 machine. Just to sum up... in case a light flicks on... Nagios starts without errors. ../bin/nagios -v nagios.cfg returns 0 errors. The CGIs can see the cgi.cfg file (A test: renaming cgi.cfg results in a different error that says it can't find the config file).. so no problems reading the configs. Still get the "Error: Could not read object configuration data!". In fact, I tried installing 1.2 on the ES4 machine and get the following error: "Error: Could not read host and service status information!". In this case, there were also no errors reported and nagios is running. I'll test Nagios 2.0 on an old RH9 box shortly. Has anyone else been successful on installing Either version of Nagios on an RedHat ES3 or ES4 machine? -Josh --- Josh wrote: > Hi Sally. I'm running Apache 1.3.33 with mod_perl > 1.29. > > I've tried reinstalling nagios 2.0 with the defaults > when running ./configure. Basic install, > authentication shut off ... still get the same > result > on the CGIs. > > Any thoughts from anyone? > > > --- Sally wrote: > > > Hi Josh, > > I'm encountering the same problem... wat's the > > version of apache that > > you are using? mine's 2.0.54... din have any > > problems on 2.0.52, so > > wondering whether it's the apache that's causing > the > > problem. > > > > > > Thanks! > > > > > > > > > > From: Josh > > Re: CGI Error > > 2005-04-29 08:27 > > Thanks for the reply, Guillaume. > > > > Yes, the user is authorized. After no luck I > then > > disabled authentication and tried again. Still > > nothing. > > > > Yes, nagios is running... and again, starts up > > with > > no errors in nagios.log. > > > > While I"m awaiting any reponses I"ve been digging > > through the source to find the root of the > problem. > > > > The cgi.cfg file is definitely being read. > > Changing > > the filename results in a different error that > the > > config can"t be found. > > > > Taking a closer look at the error... "Make sure > > you"ve > > compiled the main program and the CGIs to use the > > same > > object data storage options (i.e. default text > file > > or > > template-based file)." Is there an options > > somewhere > > to switch between the two? This was a new > install > > and > > I only changed what needed to be changed > > (host/service > > defs, file locations, etc.). > > > > -Josh > > > > > > --- guillaume LOHEZ > > wrote: > > > Hi > > > > > > Maybe, it is an authentification problem with > > > Apache..... > > > Or a config problem in cgi.cfg > > > > > > What user do you use to login ???? > > > Is this user authorized to view the page you > want > > to > > > display ???? > > > > > > Ok, there is no error for the dry run..... but > > > nagios is running or not ???? > > > > > > That"s my first clues... > > > > > > Regards > > > Guillaume > > > > > > > > > Josh a ?crit : > > > > > > >OK. I know this must be a common error but I > > can"t > > > >find a solution for my situation anywhere > > online, > > > >FAQs, or forums. > > > > > > > >Here"s the error I get when clicking on one of > > the > > > >CGIs on the left frame of the web interface: > > > > > > > >---- > > > >Whoops! > > > >Error: Could not read object configuration > data! > > > > > > > >Here are some things you should check in order > > to > > > >resolve this error: > > > > > > > > > > > >Verify configuration options using the -v > > > command-line > > > >option to check for errors. > > > >Check the Nagios log file for messages > relating > > to > > > >startup or status data errors. > > > >Make sure you"ve compiled the main program and > > the > > > >CGIs to use the same object data storage > options > > > (i.e. > > > >default text file or template-based file). > > > >---- > > > > > > > >Here"s how I configured nagios-2.0b3: > > > > > > > >./configure \ > > > > --prefix=/usr/local/nagios-2.0b3 \ > > > > --with-lockfile=/var/lock/subsys/nagios \ > > > > --with-nagios-user=nagios \ > > > > --with-nagios-grp=nagios \ > > > > --with-perlcache \ > > > > --enable-embedded-perl \ > > > > --with-gd-inc=/usr/local/include \ > > > > --with-gd-lib=/usr/local/lib \ > > > > --with-template-objects \ > > > > --with-cgiurl="/cgi-bin/nagios" \ > > > > --with-htmurl="/nagios" > > > > > > > >I don"t get any errors when running: > > > >/usr/local/nagios-2.0b3/bin/nagios -v > > > >/usr/local/nagios-2.0b3/etc/nagios.cfg > > > > > > > > > > > >No errors in /var/log/nagios/nagios.log and no > > > errors > > > >in apache. Any ideas on what I can try? > > > > > > > >Thanks. > > > > > > > >-Josh > > > > > > > > > > >__________________________________________________ > > > >Do You Yahoo!? > > > >Tired of spam? Yahoo! Mail has the best spam > > > protection around > > > >http://mail.yahoo.com > > > > > > > > > > > > > > > > >------------------------------------------------------- > > > >SF.Net email is sponsored by: Tell us your > > software > > > development plans! > > > >Take this survey and enter to win a one-year > sub > > to > > > SourceForge.net > > > >Plus IDC"s 2005 look-ahead and a copy of this > > > survey > > > >Click here to start! > > > http://www.idcswdc.com/cgi-bin/survey?id=105hix > > > > >_______________________________________________ > > > >Nagios-users mailing list > > > >Nagios-users at li... > > > > > > > > >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 > > > > > > > > > > > > > > > > === message truncated === __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com ------------------------------------------------------- This SF.Net email is sponsored by: NEC IT Guy Games. Get your fingers limbered up and give it your best shot. 4 great events, 4 opportunities to win big! Highest score wins.NEC IT Guy Games. Play to win an NEC 61 plasma display. Visit http://www.necitguy.com/?r=20 _______________________________________________ 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 From schnitzelmeister at gmail.com Mon May 2 16:35:20 2005 From: schnitzelmeister at gmail.com (schnitzel meister) Date: Mon, 2 May 2005 16:35:20 +0200 Subject: check_dig weirdness Message-ID: <58509b5005050207354478a32@mail.gmail.com> Hi. I have a problem with check_dig intermittently failing. If I run it from the command line, it also fails: # check_dig -H ip.of.dns.server -l www.google.com DNS OK - 0.066 seconds response time (www.google.com. 5 IN CNAME www.l.google.com.)|time=0.066127s;;;0.000000 DNS OK - 0.131 seconds response time (www.google.com. 4 IN CNAME www.l.google.com.)|time=0.130893s;;;0.000000 DNS OK - 0.095 seconds response time (www.google.com. 3 IN CNAME www.l.google.com.)|time=0.094743s;;;0.000000 DNS OK - 0.112 seconds response time (www.google.com. 1 IN CNAME www.l.google.com.)|time=0.112004s;;;0.000000 DNS UNKNOWN - 0.119 seconds response time (No ANSWER SECTION found)|time=0.119148s;;;0.000000 DNS UNKNOWN - 0.255 seconds response time (No ANSWER SECTION found)|time=0.255138s;;;0.000000 DNS UNKNOWN - 0.157 seconds response time (No ANSWER SECTION found)|time=0.156812s;;;0.000000 DNS UNKNOWN - 0.188 seconds response time (No ANSWER SECTION found)|time=0.187612s;;;0.000000 DNS UNKNOWN - 0.101 seconds response time (No ANSWER SECTION found)|time=0.100631s;;;0.000000 DNS OK - 0.121 seconds response time (www.google.com. 822 IN CNAME www.l.google.com.)|time=0.120624s;;;0.000000 DNS OK - 0.160 seconds response time (www.google.com. 821 IN CNAME www.l.google.com.)|time=0.159530s;;;0.000000 DNS OK - 0.152 seconds response time (www.google.com. 819 IN CNAME www.l.google.com.)|time=0.151672s;;;0.000000 The problem happens when the number before IN CNAME gets to zero - but why? Hope someone can solve this. ------------------------------------------------------- This SF.Net email is sponsored by: NEC IT Guy Games. Get your fingers limbered up and give it your best shot. 4 great events, 4 opportunities to win big! Highest score wins.NEC IT Guy Games. Play to win an NEC 61 plasma display. Visit http://www.necitguy.com/?r _______________________________________________ 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 From josh2780 at yahoo.com Mon May 2 17:02:24 2005 From: josh2780 at yahoo.com (Josh) Date: Mon, 2 May 2005 08:02:24 -0700 (PDT) Subject: CGI Error Message-ID: <20050502150224.12025.qmail@web50806.mail.yahoo.com> Nagios 2.0 runs fine on my RedHat 9 box running Apache 1.29. I'm going to go out on a limb here and suggest that there is potentially a bug with Nagios (either version) running on RedHat Enterprise Linux. It could possibly be Perl and/or Perl's libraries on the this release of RedHat? Is anyone running Nagios successfully on RedHat Enterprise Linux? --- Josh wrote: > The only thing that is different between this new > install and and install on a previously working > Nagios > is the OS version. > > I previously had Nagios 1.2 running on a RedHat 9 > box. > This new install (Nagios 2.0) is on a RedHat ES4 > machine. > > Just to sum up... in case a light flicks on... > Nagios > starts without errors. ../bin/nagios -v nagios.cfg > returns 0 errors. The CGIs can see the cgi.cfg file > (A > test: renaming cgi.cfg results in a different error > that says it can't find the config file).. so no > problems reading the configs. > > Still get the "Error: Could not read object > configuration data!". > > In fact, I tried installing 1.2 on the ES4 machine > and > get the following error: "Error: Could not read host > and service status information!". In this case, > there > were also no errors reported and nagios is running. > > I'll test Nagios 2.0 on an old RH9 box shortly. Has > anyone else been successful on installing Either > version of Nagios on an RedHat ES3 or ES4 machine? > > -Josh > > > --- Josh wrote: > > > Hi Sally. I'm running Apache 1.3.33 with mod_perl > > 1.29. > > > > I've tried reinstalling nagios 2.0 with the > defaults > > when running ./configure. Basic install, > > authentication shut off ... still get the same > > result > > on the CGIs. > > > > Any thoughts from anyone? > > > > > > --- Sally wrote: > > > > > Hi Josh, > > > I'm encountering the same problem... wat's the > > > version of apache that > > > you are using? mine's 2.0.54... din have any > > > problems on 2.0.52, so > > > wondering whether it's the apache that's causing > > the > > > problem. > > > > > > > > > Thanks! > > > > > > > > > > > > > > > From: Josh > > > Re: CGI Error > > > 2005-04-29 08:27 > > > Thanks for the reply, Guillaume. > > > > > > Yes, the user is authorized. After no luck I > > then > > > disabled authentication and tried again. Still > > > nothing. > > > > > > Yes, nagios is running... and again, starts up > > > with > > > no errors in nagios.log. > > > > > > While I"m awaiting any reponses I"ve been > digging > > > through the source to find the root of the > > problem. > > > > > > The cgi.cfg file is definitely being read. > > > Changing > > > the filename results in a different error that > > the > > > config can"t be found. > > > > > > Taking a closer look at the error... "Make sure > > > you"ve > > > compiled the main program and the CGIs to use > the > > > same > > > object data storage options (i.e. default text > > file > > > or > > > template-based file)." Is there an options > > > somewhere > > > to switch between the two? This was a new > > install > > > and > > > I only changed what needed to be changed > > > (host/service > > > defs, file locations, etc.). > > > > > > -Josh > > > > > > > > > --- guillaume LOHEZ > > > wrote: > > > > Hi > > > > > > > > Maybe, it is an authentification problem with > > > > Apache..... > > > > Or a config problem in cgi.cfg > > > > > > > > What user do you use to login ???? > > > > Is this user authorized to view the page you > > want > > > to > > > > display ???? > > > > > > > > Ok, there is no error for the dry run..... > but > > > > nagios is running or not ???? > > > > > > > > That"s my first clues... > > > > > > > > Regards > > > > Guillaume > > > > > > > > > > > > Josh a ?crit : > > > > > > > > >OK. I know this must be a common error but > I > > > can"t > > > > >find a solution for my situation anywhere > > > online, > > > > >FAQs, or forums. > > > > > > > > > >Here"s the error I get when clicking on one > of > > > the > > > > >CGIs on the left frame of the web interface: > > > > > > > > > >---- > > > > >Whoops! > > > > >Error: Could not read object configuration > > data! > > > > > > > > > >Here are some things you should check in > order > > > to > > > > >resolve this error: > > > > > > > > > > > > > > >Verify configuration options using the -v > > > > command-line > > > > >option to check for errors. > > > > >Check the Nagios log file for messages > > relating > > > to > > > > >startup or status data errors. > > > > >Make sure you"ve compiled the main program > and > > > the > > > > >CGIs to use the same object data storage > > options > > > > (i.e. > > > > >default text file or template-based file). > > > > >---- > > > > > > > > > >Here"s how I configured nagios-2.0b3: > > > > > > > > > >./configure \ > > > > > --prefix=/usr/local/nagios-2.0b3 \ > > > > > --with-lockfile=/var/lock/subsys/nagios \ > > > > > --with-nagios-user=nagios \ > > > > > --with-nagios-grp=nagios \ > > > > > --with-perlcache \ > > > > > --enable-embedded-perl \ > > > > > --with-gd-inc=/usr/local/include \ > > > > > --with-gd-lib=/usr/local/lib \ > > > > > --with-template-objects \ > > > > > --with-cgiurl="/cgi-bin/nagios" \ > > > > > --with-htmurl="/nagios" > > > > > > > > > >I don"t get any errors when running: > > > > >/usr/local/nagios-2.0b3/bin/nagios -v > > > > >/usr/local/nagios-2.0b3/etc/nagios.cfg > > > > > > > > > > > > > > >No errors in /var/log/nagios/nagios.log and > no > > > > errors > === message truncated === __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com ------------------------------------------------------- This SF.Net email is sponsored by: NEC IT Guy Games. Get your fingers limbered up and give it your best shot. 4 great events, 4 opportunities to win big! Highest score wins.NEC IT Guy Games. Play to win an NEC 61 plasma display. Visit http://www.necitguy.com/?r=20 _______________________________________________ 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 From bru1n at comcast.net Mon May 2 17:22:04 2005 From: bru1n at comcast.net (bru1n at comcast.net) Date: Mon, 02 May 2005 15:22:04 +0000 Subject: Perfdata confusion Message-ID: <050220051522.13784.4276459C000E078B000035D8220076219402CE9A9D0D@comcast.net> Quick question. I'm confused about this entry in my nagios.log: [1115046014] Warning: Host performance file processing command 'process-host-perfdata-file' was not found - host performance data file will not be processed! [1115046014] Warning: Service performance file processing command 'process-service-perfdata-file' was not found - service performance data file will not be processed! I read through the manuals for both 1.0 and 2.0, (I'm using 2, and 1.0 looks quite different)and I think I'm going in a circle. Looking at the examples, well there isn't one for this section of nagios.cfg. I see the perfdata nagios/var/*.out | *.dat are just text (logs), but it is not clear to me what the pupose is of them. nagios.cfg: process_performance_data=1 host_perfdata_command=process-host-perfdata service_perfdata_command=process-service-perfdata host_perfdata_file=/usr/local/nagios/var/host-perfdata.dat service_perfdata_file=/usr/local/nagios/var/service-perfdata.dat host_perfdata_file_template= _is there, I left it default_ service_perfdata_file_template= _yup, same_ host_perfdata_file_mode=a service_perfdata_file_mode=a host_perfdata_file_processing_interval=300 service_perfdata_file_processing_interval=300 host_perfdata_file_processing_command=process-host-perfdata-file service_perfdata_file_processing_command=process-service-perfdata-file The last 4 lines I have no real idea, and can't find a working example of what to do with them. Do I create a command define in miscommands.cfg like for the process? What should that command do; where is it reported? Thanks, -Marc ------------------------------------------------------- This SF.Net email is sponsored by: NEC IT Guy Games. Get your fingers limbered up and give it your best shot. 4 great events, 4 opportunities to win big! Highest score wins.NEC IT Guy Games. Play to win an NEC 61 plasma display. Visit http://www.necitguy.com/?r=20 _______________________________________________ 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 From boinger at tradingtechnologies.com Mon May 2 20:03:37 2005 From: boinger at tradingtechnologies.com (jeff vier) Date: Mon, 02 May 2005 13:03:37 -0500 Subject: CGI Error In-Reply-To: <20050502150224.12025.qmail@web50806.mail.yahoo.com> References: <20050502150224.12025.qmail@web50806.mail.yahoo.com> Message-ID: <1115057017.7018.8.camel@localhost> On Mon, 2005-05-02 at 08:02 -0700, Josh wrote: > Nagios 2.0 runs fine on my RedHat 9 box running Apache > 1.29. I'm going to go out on a limb here and suggest > that there is potentially a bug with Nagios (either > version) running on RedHat Enterprise Linux. It could > possibly be Perl and/or Perl's libraries on the this > release of RedHat? > > Is anyone running Nagios successfully on RedHat > Enterprise Linux? yes. Nagios v1.0, v1.1, v1.2, v2.0a, v2.0b1/2/3 have all run quite nicely on my RH systems. apache 1.2.x previously, apache 2.0.x now, btw. > --- Josh wrote: > > > The only thing that is different between this new > > install and and install on a previously working > > Nagios > > is the OS version. > > > > I previously had Nagios 1.2 running on a RedHat 9 > > box. > > This new install (Nagios 2.0) is on a RedHat ES4 > > machine. > > > > Just to sum up... in case a light flicks on... > > Nagios > > starts without errors. ../bin/nagios -v nagios.cfg > > returns 0 errors. The CGIs can see the cgi.cfg file > > (A > > test: renaming cgi.cfg results in a different error > > that says it can't find the config file).. so no > > problems reading the configs. > > > > Still get the "Error: Could not read object > > configuration data!". > > > > In fact, I tried installing 1.2 on the ES4 machine > > and > > get the following error: "Error: Could not read host > > and service status information!". In this case, > > there > > were also no errors reported and nagios is running. > > > > I'll test Nagios 2.0 on an old RH9 box shortly. Has > > anyone else been successful on installing Either > > version of Nagios on an RedHat ES3 or ES4 machine? > > > > -Josh > > > > > > --- Josh wrote: > > > > > Hi Sally. I'm running Apache 1.3.33 with mod_perl > > > 1.29. > > > > > > I've tried reinstalling nagios 2.0 with the > > defaults > > > when running ./configure. Basic install, > > > authentication shut off ... still get the same > > > result > > > on the CGIs. > > > > > > Any thoughts from anyone? > > > > > > > > > --- Sally wrote: > > > > > > > Hi Josh, > > > > I'm encountering the same problem... wat's the > > > > version of apache that > > > > you are using? mine's 2.0.54... din have any > > > > problems on 2.0.52, so > > > > wondering whether it's the apache that's causing > > > the > > > > problem. > > > > > > > > > > > > Thanks! > > > > > > > > > > > > > > > > > > > > From: Josh > > > > Re: CGI Error > > > > 2005-04-29 08:27 > > > > Thanks for the reply, Guillaume. > > > > > > > > Yes, the user is authorized. After no luck I > > > then > > > > disabled authentication and tried again. Still > > > > nothing. > > > > > > > > Yes, nagios is running... and again, starts up > > > > with > > > > no errors in nagios.log. > > > > > > > > While I"m awaiting any reponses I"ve been > > digging > > > > through the source to find the root of the > > > problem. > > > > > > > > The cgi.cfg file is definitely being read. > > > > Changing > > > > the filename results in a different error that > > > the > > > > config can"t be found. > > > > > > > > Taking a closer look at the error... "Make sure > > > > you"ve > > > > compiled the main program and the CGIs to use > > the > > > > same > > > > object data storage options (i.e. default text > > > file > > > > or > > > > template-based file)." Is there an options > > > > somewhere > > > > to switch between the two? This was a new > > > install > > > > and > > > > I only changed what needed to be changed > > > > (host/service > > > > defs, file locations, etc.). > > > > > > > > -Josh > > > > > > > > > > > > --- guillaume LOHEZ > > > > wrote: > > > > > Hi > > > > > > > > > > Maybe, it is an authentification problem with > > > > > Apache..... > > > > > Or a config problem in cgi.cfg > > > > > > > > > > What user do you use to login ???? > > > > > Is this user authorized to view the page you > > > want > > > > to > > > > > display ???? > > > > > > > > > > Ok, there is no error for the dry run..... > > but > > > > > nagios is running or not ???? > > > > > > > > > > That"s my first clues... > > > > > > > > > > Regards > > > > > Guillaume > > > > > > > > > > > > > > > Josh a crit : > > > > > > > > > > >OK. I know this must be a common error but > > I > > > > can"t > > > > > >find a solution for my situation anywhere > > > > online, > > > > > >FAQs, or forums. > > > > > > > > > > > >Here"s the error I get when clicking on one > > of > > > > the > > > > > >CGIs on the left frame of the web interface: > > > > > > > > > > > >---- > > > > > >Whoops! > > > > > >Error: Could not read object configuration > > > data! > > > > > > > > > > > >Here are some things you should check in > > order > > > > to > > > > > >resolve this error: > > > > > > > > > > > > > > > > > >Verify configuration options using the -v > > > > > command-line > > > > > >option to check for errors. > > > > > >Check the Nagios log file for messages > > > relating > > > > to > > > > > >startup or status data errors. > > > > > >Make sure you"ve compiled the main program > > and > > > > the > > > > > >CGIs to use the same object data storage > > > options > > > > > (i.e. > > > > > >default text file or template-based file). > > > > > >---- > > > > > > > > > > > >Here"s how I configured nagios-2.0b3: > > > > > > > > > > > >./configure \ > > > > > > --prefix=/usr/local/nagios-2.0b3 \ > > > > > > --with-lockfile=/var/lock/subsys/nagios \ > > > > > > --with-nagios-user=nagios \ > > > > > > --with-nagios-grp=nagios \ > > > > > > --with-perlcache \ > > > > > > --enable-embedded-perl \ > > > > > > --with-gd-inc=/usr/local/include \ > > > > > > --with-gd-lib=/usr/local/lib \ > > > > > > --with-template-objects \ > > > > > > --with-cgiurl="/cgi-bin/nagios" \ > > > > > > --with-htmurl="/nagios" > > > > > > > > > > > >I don"t get any errors when running: > > > > > >/usr/local/nagios-2.0b3/bin/nagios -v > > > > > >/usr/local/nagios-2.0b3/etc/nagios.cfg > > > > > > > > > > > > > > > > > >No errors in /var/log/nagios/nagios.log and > > no > > > > > errors > > > === message truncated === > > > __________________________________________________ > Do You Yahoo!? > Tired of spam? Yahoo! Mail has the best spam protection around > http://mail.yahoo.com > > > ------------------------------------------------------- > This SF.Net email is sponsored by: NEC IT Guy Games. > Get your fingers limbered up and give it your best shot. 4 great events, 4 > opportunities to win big! Highest score wins.NEC IT Guy Games. Play to > win an NEC 61 plasma display. Visit http://www.necitguy.com/?r=20 > _______________________________________________ > 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: NEC IT Guy Games. Get your fingers limbered up and give it your best shot. 4 great events, 4 opportunities to win big! Highest score wins.NEC IT Guy Games. Play to win an NEC 61 plasma display. Visit http://www.necitguy.com/?r=20 _______________________________________________ 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 From wob at swobspace.de Mon May 2 20:24:32 2005 From: wob at swobspace.de (Wolfgang Barth) Date: Mon, 2 May 2005 20:24:32 +0200 Subject: Nagios 2.0b3, problem with perfdata_file_mode=w Message-ID: <20050502182432.GA8576@swobspace.swobspace.de> Hi, I'am using service_perfdata_file_* (Nagios 2.0b3) with perf2rrd: service_perfdata_file_mode=w service_perfdata_file=/var/nagios/service-perfdata.named_pipe If perf2rrd stops reading from pipe, all nagios processes stop working. Same effect ist reproducible with cat /var/nagios/service-perfdata.named_pipe If I kill 'cat', all nagios processes stops. Is this the wanted behaviour or a bug? wob -- * http://www.swobspace.de ------------------------------------------------------- This SF.Net email is sponsored by: NEC IT Guy Games. Get your fingers limbered up and give it your best shot. 4 great events, 4 opportunities to win big! Highest score wins.NEC IT Guy Games. Play to win an NEC 61 plasma display. Visit http://www.necitguy.com/?r=20 _______________________________________________ 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 From marc at ena.com Mon May 2 20:26:50 2005 From: marc at ena.com (Marc Powell) Date: Mon, 2 May 2005 13:26:50 -0500 Subject: check_dig weirdness Message-ID: > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users- > admin at lists.sourceforge.net] On Behalf Of schnitzel meister > Sent: Monday, May 02, 2005 9:35 AM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] check_dig weirdness > > Hi. > I have a problem with check_dig intermittently failing. > > If I run it from the command line, it also fails: > # check_dig -H ip.of.dns.server -l www.google.com > DNS OK - 0.066 seconds response time (www.google.com. 5 IN CNAME > www.l.google.com.)|time=0.066127s;;;0.000000 > DNS OK - 0.131 seconds response time (www.google.com. 4 IN CNAME > www.l.google.com.)|time=0.130893s;;;0.000000 > DNS OK - 0.095 seconds response time (www.google.com. 3 IN CNAME > www.l.google.com.)|time=0.094743s;;;0.000000 > DNS OK - 0.112 seconds response time (www.google.com. 1 IN CNAME > www.l.google.com.)|time=0.112004s;;;0.000000 > DNS UNKNOWN - 0.119 seconds response time (No ANSWER SECTION > found)|time=0.119148s;;;0.000000 > DNS UNKNOWN - 0.255 seconds response time (No ANSWER SECTION > found)|time=0.255138s;;;0.000000 > DNS UNKNOWN - 0.157 seconds response time (No ANSWER SECTION > found)|time=0.156812s;;;0.000000 > DNS UNKNOWN - 0.188 seconds response time (No ANSWER SECTION > found)|time=0.187612s;;;0.000000 > DNS UNKNOWN - 0.101 seconds response time (No ANSWER SECTION > found)|time=0.100631s;;;0.000000 > DNS OK - 0.121 seconds response time (www.google.com. 822 IN CNAME > www.l.google.com.)|time=0.120624s;;;0.000000 > DNS OK - 0.160 seconds response time (www.google.com. 821 IN CNAME > www.l.google.com.)|time=0.159530s;;;0.000000 > DNS OK - 0.152 seconds response time (www.google.com. 819 IN CNAME > www.l.google.com.)|time=0.151672s;;;0.000000 > > The problem happens when the number before IN CNAME gets to zero - but > why? Check_dig just parses the output from the dig binary and as such is returning valid results, at least as far as the information it's receiving from your nameserver. You'll see the same information in the ANSWER SECTION of dig itself by issuing the following command -- bash-2.05a$ dig @your.nameserver www.google.com ; <<>> DiG 9.2.1 <<>> @nameserver www.google.com ;; global options: printcmd ;; Got answer: ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 4605 ;; flags: qr rd ra; QUERY: 1, ANSWER: 3, AUTHORITY: 4, ADDITIONAL: 4 ;; QUESTION SECTION: ;www.google.com. IN A ;; ANSWER SECTION: www.google.com. 589 IN CNAME www.l.google.com. www.l.google.com. 167 IN A 64.233.187.99 www.l.google.com. 167 IN A 64.233.187.104 ;; AUTHORITY SECTION: l.google.com. 35597 IN NS a.l.google.com. l.google.com. 35597 IN NS b.l.google.com. l.google.com. 35597 IN NS c.l.google.com. l.google.com. 35597 IN NS e.l.google.com. ;; ADDITIONAL SECTION: a.l.google.com. 63785 IN A 216.239.53.9 b.l.google.com. 63785 IN A 64.233.179.9 c.l.google.com. 63785 IN A 64.233.161.9 e.l.google.com. 63785 IN A 66.102.11.9 ;; Query time: 3 msec ;; SERVER: nameserver ;; WHEN: Mon May 2 13:20:37 2005 ;; MSG SIZE rcvd: 212 The number you are seeing decrement is the number of seconds remaining until your nameserver must refresh the results, as specified by Google. It would appear that your nameserver is being slow to refresh when the record expires or is having difficulty reaching Google's nameservers. In either case, it isn't returning answers because the information it had is stale and has been purged. I'd look at the nameserver and its log files to make sure that there wasn't some bigger issue. -- Marc ------------------------------------------------------- This SF.Net email is sponsored by: NEC IT Guy Games. Get your fingers limbered up and give it your best shot. 4 great events, 4 opportunities to win big! Highest score wins.NEC IT Guy Games. Play to win an NEC 61 plasma display. Visit http://www.necitguy.com/?r _______________________________________________ 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 From marc at ena.com Mon May 2 20:29:46 2005 From: marc at ena.com (Marc Powell) Date: Mon, 2 May 2005 13:29:46 -0500 Subject: CGI Error Message-ID: > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users- > admin at lists.sourceforge.net] On Behalf Of Josh > Sent: Monday, May 02, 2005 9:37 AM > To: Nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] Re: CGI Error > > The only thing that is different between this new > install and and install on a previously working Nagios > is the OS version. > > I previously had Nagios 1.2 running on a RedHat 9 box. > This new install (Nagios 2.0) is on a RedHat ES4 > machine. Now there's some useful information. Do you have SELinux enabled? Have you looked in /var/log/messages for SELinux access errors? -- Marc ------------------------------------------------------- This SF.Net email is sponsored by: NEC IT Guy Games. Get your fingers limbered up and give it your best shot. 4 great events, 4 opportunities to win big! Highest score wins.NEC IT Guy Games. Play to win an NEC 61 plasma display. Visit http://www.necitguy.com/?r _______________________________________________ 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 From marc at ena.com Mon May 2 20:35:38 2005 From: marc at ena.com (Marc Powell) Date: Mon, 2 May 2005 13:35:38 -0500 Subject: CGI Error Message-ID: > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users- > admin at lists.sourceforge.net] On Behalf Of Josh > Sent: Monday, May 02, 2005 10:02 AM > To: Nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] Re: CGI Error > > Nagios 2.0 runs fine on my RedHat 9 box running Apache > 1.29. I'm going to go out on a limb here and suggest > that there is potentially a bug with Nagios (either > version) running on RedHat Enterprise Linux. It could > possibly be Perl and/or Perl's libraries on the this > release of RedHat? It's highly doubtful that it's a bug with Nagios. > > Is anyone running Nagios successfully on RedHat > Enterprise Linux? There have been posts to the list from successful users under 3.4 and 4. Most of the problems with 4 have been related to SELinux which for some reason has taken people by surprise. -- Marc ------------------------------------------------------- This SF.Net email is sponsored by: NEC IT Guy Games. Get your fingers limbered up and give it your best shot. 4 great events, 4 opportunities to win big! Highest score wins.NEC IT Guy Games. Play to win an NEC 61 plasma display. Visit http://www.necitguy.com/?r _______________________________________________ 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 From josh2780 at yahoo.com Mon May 2 20:44:47 2005 From: josh2780 at yahoo.com (Josh) Date: Mon, 2 May 2005 11:44:47 -0700 (PDT) Subject: CGI Error In-Reply-To: 6667 Message-ID: <20050502184447.789.qmail@web50806.mail.yahoo.com> Marc, thanks for the info. Nagios is great... I didn't mean to offend anyone by suggesting there was a bug. I was more on the line of pointing figers at RedHat as I've run into an issue with the Perl package redhat installs on their ES Linux. Anyways, YES SELinux is enabled. I hate to ask (since you've stated there have been other posts regarding this issue) but what can I do? Are there work-arounds? Thanks. -Josh --- Marc Powell wrote: > > > > -----Original Message----- > > From: nagios-users-admin at lists.sourceforge.net > [mailto:nagios-users- > > admin at lists.sourceforge.net] On Behalf Of Josh > > Sent: Monday, May 02, 2005 10:02 AM > > To: Nagios-users at lists.sourceforge.net > > Subject: Re: [Nagios-users] Re: CGI Error > > > > Nagios 2.0 runs fine on my RedHat 9 box running > Apache > > 1.29. I'm going to go out on a limb here and > suggest > > that there is potentially a bug with Nagios > (either > > version) running on RedHat Enterprise Linux. It > could > > possibly be Perl and/or Perl's libraries on the > this > > release of RedHat? > > It's highly doubtful that it's a bug with Nagios. > > > > > Is anyone running Nagios successfully on RedHat > > Enterprise Linux? > > There have been posts to the list from successful > users under 3.4 and 4. > Most of the problems with 4 have been related to > SELinux which for some > reason has taken people by surprise. > > -- > Marc > > > ------------------------------------------------------- > This SF.Net email is sponsored by: NEC IT Guy Games. > Get your fingers limbered up and give it your best > shot. 4 great events, 4 > opportunities to win big! Highest score wins.NEC IT > Guy Games. Play to > win an NEC 61 plasma display. Visit > http://www.necitguy.com/?r > _______________________________________________ > 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 > __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com ------------------------------------------------------- This SF.Net email is sponsored by: NEC IT Guy Games. Get your fingers limbered up and give it your best shot. 4 great events, 4 opportunities to win big! Highest score wins.NEC IT Guy Games. Play to win an NEC 61 plasma display. Visit http://www.necitguy.com/?r=20 _______________________________________________ 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 From wob at swobspace.de Mon May 2 20:47:23 2005 From: wob at swobspace.de (Wolfgang Barth) Date: Mon, 2 May 2005 20:47:23 +0200 Subject: Perfdata confusion In-Reply-To: <050220051522.13784.4276459C000E078B000035D8220076219402CE9A9D0D@comcast.net> References: <050220051522.13784.4276459C000E078B000035D8220076219402CE9A9D0D@comcast.net> Message-ID: <20050502184723.GA8704@swobspace.swobspace.de> On Mon, May 02, 2005 at 03:22:04PM +0000, bru1n at comcast.net wrote: ... > I read through the manuals for both 1.0 and 2.0, (I'm using 2, and 1.0 looks quite different)and I think I'm going in a circle. Looking at the examples, well there isn't one for this section of nagios.cfg. I see the perfdata nagios/var/*.out | *.dat are just text (logs), but it is not clear to me what the pupose is of them. > > nagios.cfg: > process_performance_data=1 ... There are to mechanism for processing perfdata: 1) using Templates 2) direct call of an external program For writing perfdata in logfiles, use 1). 2) is good if you are using nagiosgraph or other programs, which inserts perfdata directly in a local database. Parameter for 1): - host/service_perfdata_file= - host/service_perfdata_file_template= - host/service_perfdata_file_mode=a|w -> a = append for plain files -> w = write for named pipes If you have a program which is parsing the logfile independent of nagios, that's all, let the program poll your logfile. If you want that nagios should start the external program: - *_perfdata_file_processing_command= - *_perfdata_file_processing_interval=