From mailinglists at backbonetechnology.com Tue Nov 1 00:51:25 2005 From: mailinglists at backbonetechnology.com (Dustin Krysak) Date: Mon, 31 Oct 2005 15:51:25 -0800 Subject: check_dns plugin error Message-ID: <1EBF734B-3474-4F27-B514-EE66CD946965@backbonetechnology.com> Hi there - I have been searching the list archives and have not found a definitive answer.... I have a nagios server, and I have a host and service defined to check our dns using the check_dns command. Now I need to pass it the --hostname option since this DNS server would need to check a domain it is authoritative for (recursive queries, etc). So in my service definition, I have check_command check_dns! --hostname=www.domain.com Did i get the formatting wrong? And as it stands now, the result is: "DNS CRITICAL - '/usr/bin/nslookup -sil' output parsing exited with no address " Can anyone point me in the right direction? Thanks! Dustin ------------------------------------------------------- This SF.Net email is sponsored by the JBoss Inc. Get Certified Today * Register for a JBoss Training Course Free Certification Exam for All Training Attendees Through End of 2005 Visit http://www.jboss.com/services/certification for more information _______________________________________________ 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 mailinglists at backbonetechnology.com Tue Nov 1 00:56:09 2005 From: mailinglists at backbonetechnology.com (Dustin Krysak) Date: Mon, 31 Oct 2005 15:56:09 -0800 Subject: Error: Service check command ot defined anywhere Message-ID: <1503306D-1884-48F0-BBC8-DBD8C01B57A0@backbonetechnology.com> Hi there.... I am just setting up my first nagios install, and for some reason certain plugins generate this error when i check my config file: Error: Service check command 'check_ssh' specified in service 'SSH' for host 'dell_expression' not defined anywhere! It has been happening on an a select few of the plugins, and other work flawlessly. ideas? Dustin ------------------------------------------------------- This SF.Net email is sponsored by the JBoss Inc. Get Certified Today * Register for a JBoss Training Course Free Certification Exam for All Training Attendees Through End of 2005 Visit http://www.jboss.com/services/certification for more information _______________________________________________ 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 erick at lmhealthcare.com Tue Nov 1 01:02:07 2005 From: erick at lmhealthcare.com (Erick Lindley) Date: Tue, 1 Nov 2005 01:02:07 +0100 (CET) Subject: notify-by-email $OUTPUT$ problem Message-ID: <20051101000207.96F524F415C@desire.netways.de> I am having difficulty getting anything to appear in my $OUTPUT$ variable within email notifications. All other parameters show up correct, but all I receive in the $OUTPUT$ variable is a dollar sign '$'. Here is my defined command for notify-by-email: define command { command_name notify-by-email command_line /usr/bin/printf "%b" "Test: $OUTPUT$" | /bin/mail -s '$SERVICESTATE$ alert for $HOSTALIAS$/$SERVICEDESC$' $CONTACTEMAIL$ } - Erick Lindley (elindley) ----------------------- The mailing list archive is found here: http://www.nagiosexchange.org/nagios-users.34.0.html ------------------------------------------------------- This SF.Net email is sponsored by the JBoss Inc. Get Certified Today * Register for a JBoss Training Course Free Certification Exam for All Training Attendees Through End of 2005 Visit http://www.jboss.com/services/certification for more information _______________________________________________ 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 mailinglists at backbonetechnology.com Tue Nov 1 01:50:21 2005 From: mailinglists at backbonetechnology.com (Dustin Krysak) Date: Mon, 31 Oct 2005 16:50:21 -0800 Subject: DNS WARNING - nslookup returned error status Message-ID: <6DC1B4B4-CD94-45BE-A5C0-553EEFFEB199@backbonetechnology.com> Good day... slowly plugging away here on a new nagios setup..... My current issues seem to all resolve around the "check_dns" plugin. I have it configured to monitor a DNS server or two, and Nagios seems to report my DNS servers as going up and down all the time..... And most times it is reported back as: DNS WARNING - nslookup returned error status In my dns service definition I have: define command{ command_name check_dns_bbt command_line $USER1$/check_dns -H domain.com -s $HOSTADDRESS$ } Am i missing something? Any other services I have been working on and defining all seem to work like a champ. Dustin ------------------------------------------------------- This SF.Net email is sponsored by the JBoss Inc. Get Certified Today * Register for a JBoss Training Course Free Certification Exam for All Training Attendees Through End of 2005 Visit http://www.jboss.com/services/certification for more information _______________________________________________ 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 mailinglists at backbonetechnology.com Tue Nov 1 01:25:25 2005 From: mailinglists at backbonetechnology.com (Dustin Krysak) Date: Mon, 31 Oct 2005 16:25:25 -0800 Subject: Error: Service check command ot defined anywhere In-Reply-To: <1503306D-1884-48F0-BBC8-DBD8C01B57A0@backbonetechnology.com> References: <1503306D-1884-48F0-BBC8-DBD8C01B57A0@backbonetechnology.com> Message-ID: <336F7D64-A343-4966-9E95-DEC326B930F8@backbonetechnology.com> I just got this figured out... please disregard! Thanks in advance! d On 31-Oct-05, at 3:56 PM, Dustin Krysak wrote: > Hi there.... > > I am just setting up my first nagios install, and for some reason > certain plugins generate this error when i check my config file: > > Error: Service check command 'check_ssh' specified in service 'SSH' > for host 'dell_expression' not defined anywhere! > > It has been happening on an a select few of the plugins, and other > work flawlessly. > > ideas? > > Dustin > > > ------------------------------------------------------- > This SF.Net email is sponsored by the JBoss Inc. > Get Certified Today * Register for a JBoss Training Course > Free Certification Exam for All Training Attendees Through End of 2005 > Visit http://www.jboss.com/services/certification for more information > _______________________________________________ > 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 the JBoss Inc. Get Certified Today * Register for a JBoss Training Course Free Certification Exam for All Training Attendees Through End of 2005 Visit http://www.jboss.com/services/certification for more information _______________________________________________ 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 erick at lmhealthcare.com Tue Nov 1 01:39:30 2005 From: erick at lmhealthcare.com (Erick Lindley) Date: Tue, 1 Nov 2005 01:39:30 +0100 (CET) Subject: notify-by-email $OUTPUT$ problem In-Reply-To: <20051101000207.96F524F415C@desire.netways.de> References: <20051101000207.96F524F415C@desire.netways.de> Message-ID: <20051101003930.23D0F4F415C@desire.netways.de> Of course as soon as I post the request for help, I find the solution. So for those that had the same problem, the variable $OUTPUT$ is apparently not supported in Nagios v2.0. The correct one to use with 2.0 is $SERVICEOUTPUT$. - Erick Lindley ----------------------- This thread is located in the archive at this URL: http://www.nagiosexchange.org/nagios-users.34.0.html?&tx_maillisttofaq_pi 1[showUid]=12261 ------------------------------------------------------- This SF.Net email is sponsored by the JBoss Inc. Get Certified Today * Register for a JBoss Training Course Free Certification Exam for All Training Attendees Through End of 2005 Visit http://www.jboss.com/services/certification for more information _______________________________________________ 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 Stanley.Hopcroft at Dest.gov.au Tue Nov 1 02:42:53 2005 From: Stanley.Hopcroft at Dest.gov.au (Stanley.Hopcroft at Dest.gov.au) Date: Tue, 1 Nov 2005 12:42:53 +1100 Subject: Nagios-users digest, Vol 1 #2880 - 20 msgs Message-ID: Dear Folks, This Nagios site (government business/network node admin) is obliged to report periodically on node availability. The Nagios availability reporting is good but is not flexible enough to satisfy our requirements which include 1 documents suitable for management - graphics but _no_ metrics (ie no hard SLA processing or need to report on 'aggregate availability'). This requirement is met here by transforming the availability data into an Excel workbook and adding hyperlinks to the Nag avail report and the trend graph for each host. 2 automatable 3 arbitrary selection of fields; adding new fields 4 arbitrary ordering of availability records To meet our requirements, I have developed a small and stupid class that sucks in the Nagios availability for a specified time period and then allows client code to mangle it, sort it etc by providing callbacks. Here is an example of client code extracting records for a node matching the regex ^Armi, reporting on two time periods and sorting (ascending) by the max of TOTAL_TIME_DOWN and TOTAL_TIME_UNREACHABLE. The output shown here is debug format (the field widths can be expanded) but output as CSV or an Excel workbook is also provided - that is the means of meeting requirement 1. [sh1517 at acisf011 examples]$ perl -Mblib ex4a ^Armi DEST_Foo_SLA_hours HOST_NAME %_TOTAL_TIME_UP TOTAL_TIME_DOWN TIME_DOWN_HHMMSS TOTAL_TIME_UNREA TIME_UNREACH_HHM AVAIL_URL Armidale_Optus_router_PE_ 95.656% 33170 9h 15m 0 http://nms/nagio Armidale_DEST_router 95.673% 0 33040 9h 10m http://nms/nagio 24x7 HOST_NAME %_TOTAL_TIME_UP TOTAL_TIME_DOWN TIME_DOWN_HHMMSS TOTAL_TIME_UNREA TIME_UNREACH_HHM AVAIL_URL Armidale_DEST_router 99.882% 290 5m 2120 35m http://nms/nagio Armidale_Optus_router_PE_ 99.897% 2110 35m 0 http://nms/nagio [sh1517 at acisf011 examples]$ Here is the code to produce this use Nagios::Report ; my $hostname_re = shift @ARGV ; $hostname_re or die < Extracts Nagios Availability report data for host(s) matching the regex argument. eg $0 ^Alb USAGE my $x = Nagios::Report->new(q) or die "Can't construct Nagios::Report object." ; sub by_down_time { my %f = @_ ; my $d = $f{TOTAL_TIME_DOWN} ; my $u = $f{TOTAL_TIME_UNREACHABLE} ; # $a, $b are package globals (in same package as sort call) # ==> if the callback refers to $a and $b in the default # package (main::), they will have null values in the # package where the sort takes place. package Nagios::Report ; my $x = $a->[$d] >= $a->[$u] ? $a->[$d] : $a->[$u] ; my $y = $b->[$d] >= $b->[$u] ? $b->[$d] : $b->[$u] ; $y <=> $x ; } $x->mkreport( [ qw(HOST_NAME PERCENT_TOTAL_TIME_UP TOTAL_TIME_DOWN TIME_DOWN_HHMMSS TOTAL_TIME_UNREACHABLE TIME_UNREACH_HHMMSS AVAIL_URL) ], sub { my %F = @_; $F{HOST_NAME} =~ /$hostname_re/ }, \&by_down_time, sub { $_ = shift @_; my %F = @_; my $d = $F{TOTAL_TIME_DOWN} ; my $u = $F{TOTAL_TIME_UNREACHABLE} ; push @$_, &t2hms($d), &t2hms($u) ; qw(TIME_DOWN_HHMMSS TIME_UNREACH_HHMMSS) } ) ; $x->debug_dump ; One constructs a report object and then calls mkreport() with callbacks to - specifies the names and order of the fields in the report (no list means get all the fields specified in the CSV version of the Nag availability report) - select availability data (sub { my %F = @_; $F{HOST_NAME} =~ /$hostname_re/ } - sort the records (the fairly unattractive &by_down_time sort subroutine) - munges the data (by adding two new fields, the hhmmss formatted downtimes). Finally, one calls either excel_dump, csv_dump or debug_dump to get some output. The code is Perl, support best effort. Is anyone interested in such ? Or, if there is a better mousetrap, I would be very grateful to hear about it. Yours sincerely. ------------------------------------------------------- This SF.Net email is sponsored by the JBoss Inc. Get Certified Today * Register for a JBoss Training Course Free Certification Exam for All Training Attendees Through End of 2005 Visit http://www.jboss.com/services/certification for more information _______________________________________________ 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 rouilj at cs.umb.edu Tue Nov 1 05:06:42 2005 From: rouilj at cs.umb.edu (John P. Rouillard) Date: Mon, 31 Oct 2005 23:06:42 -0500 Subject: Nagios-users digest, Vol 1 #2880 - 20 msgs In-Reply-To: Your message of "Tue, 01 Nov 2005 12:42:53 +1100." References: Message-ID: <200511010406.jA146g13024088@mx1.cs.umb.edu> In message , Stanley.Hopcroft at dest.gov.au writes: >This Nagios site (government business/network node admin) is obliged to >report periodically on node availability. > >The Nagios availability reporting is good but is not flexible enough to >satisfy our requirements which include >1 documents suitable for management - graphics but _no_ metrics (ie > no hard SLA processing or need to report on 'aggregate > availability'). This requirement is met here by transforming the > availability data into an Excel workbook and adding hyperlinks to the > Nag avail report and the trend graph for each host. > >2 automatable > >3 arbitrary selection of fields; adding new fields > >4 arbitrary ordering of availability records Your requirements are something I have wished for in the past. >To meet our requirements, I have developed a small and stupid class >that sucks in the Nagios availability for a specified time period and >then allows client code to mangle it, sort it etc by providing >callbacks. Very nice. >Is anyone interested in such ? Or, if there is a better mousetrap, I >would be very grateful to hear about it. I am not sure if its a better mousetrap, but have you looked at Nagios::ActivityLog at http://steveshipway.org/software/f_nagios.html. The best part is that the author is actually in your part of the world 8-0. -- rouilj John Rouillard =========================================================================== My employers don't acknowledge my existence much less my opinions. ------------------------------------------------------- This SF.Net email is sponsored by the JBoss Inc. Get Certified Today * Register for a JBoss Training Course Free Certification Exam for All Training Attendees Through End of 2005 Visit http://www.jboss.com/services/certification for more information _______________________________________________ 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 amontibello at gmail.com Tue Nov 1 07:51:29 2005 From: amontibello at gmail.com (Anthony Montibello) Date: Tue, 1 Nov 2005 01:51:29 -0500 Subject: pNSClient and security is It possible? In-Reply-To: <20051028082516.6033.qmail@community22.interfree.it> References: <20051028082516.6033.qmail@community22.interfree.it> Message-ID: NC_Net currently allows for this testing of the incoming IP address. NC_net can be used as a drop in replacement for NC_Client. NS_Client Does not allow for this, However you may be able to configure the port if your Host is running Windows Firewall. NC_Net is availible on http://www.nagiosexchange.org/ Good Luck Tony On 28 Oct 2005 08:25:16 -0000, lkk at interfree.it wrote: > > > I installed pNSClient on my monitored windows box... > and check_nt on my monitoring RedHat Linux box. > > All run very good and I'm very happy. > > But if I copy check_nt on another Red Hat Linux box all run very good, and > I'm not very happy. > > My question is: > > Can I have only a Nagios Server? > > For example: > > whit nrpe I can configure nrpe.cfg > > allowed_hosts= > > Can I this with NSClient? > > P.S. > This mailing list is great. > Thancks... > > > ------------------------------------------------------------------------- > Visita http://domini.interfree.it, il sito di Interfree dove trovare > soluzioni semplici e complete che soddisfano le tue esigenze in Internet, > ecco due esempi di offerte: > > - Registrazione Dominio: un dominio con 1 MB di spazio disco + 2 caselle > email a soli 18,59 euro > - MioDominio: un dominio con 20 MB di spazio disco + 5 caselle email > a soli 51,13 euro > > Vieni a trovarci! > > Lo Staff di Interfree > ------------------------------------------------------------------------- > > > > ------------------------------------------------------- > This SF.Net email is sponsored by the JBoss Inc. > Get Certified Today * Register for a JBoss Training Course > Free Certification Exam for All Training Attendees Through End of 2005 > Visit http://www.jboss.com/services/certification for more information > _______________________________________________ > 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 > -------------- next part -------------- An HTML attachment was scrubbed... URL: From bohara at gmail.com Tue Nov 1 12:23:13 2005 From: bohara at gmail.com (Ben O'Hara) Date: Tue, 1 Nov 2005 11:23:13 +0000 Subject: Fwd: NSCA MAX_PLUGINOUTPUT_LENGTH In-Reply-To: <2b36e660511010249t514a568ci8f8e11eb23ae2932@mail.gmail.com> References: <2b36e660511010249t514a568ci8f8e11eb23ae2932@mail.gmail.com> Message-ID: <2b36e660511010323s187a26fbscdd2742ec322f743@mail.gmail.com> Ok, So looking into this it appears that the limit is actually in nagios deinfined in includes/common.h as 348. Obivously with more data being presented in the output, including perdata this is rather small. Im having issues with getting perfdata for a "DISK" check that checks all filesystems so the output ends up being rather large. Anybody see any reason not to raise this to a higher value? 2048? and also change it for NRPE? Does this effect other people? Should it be made as a generic change to nagios? Regards Ben ---------- Forwarded message ---------- From: Ben O'Hara Date: Nov 1, 2005 10:49 AM Subject: NSCA MAX_PLUGINOUTPUT_LENGTH To: nagios at nagios.org Hi Ethan, We've been using Nagios + NSCA for a while now, great product! Cheers! However, ive started working on setting up Performance data graphing. As we use distributed monitoring we use nsca to send the results back to the master nagios box. This works great, however i noticed some checks performance data was being truncated, i tracked this down to nsca and the MAX_PLUGINOUTPUT_LENGTH variable in common/common.h which was set to 512, ive upped it to 1024 to take into account perdata aswell. I though this would of fixed the problem, however the output is still being truncated! Any ideas on this? Cheers Ben -- "There are 10 types of IT people. Those who understand binary and those who don't." -- "There are 10 types of IT people. Those who understand binary and those who don't." ------------------------------------------------------- This SF.Net email is sponsored by the JBoss Inc. Get Certified Today * Register for a JBoss Training Course Free Certification Exam for All Training Attendees Through End of 2005 Visit http://www.jboss.com/services/certification for more information _______________________________________________ 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 jason-sourceforge at microlnk.net Tue Nov 1 14:06:19 2005 From: jason-sourceforge at microlnk.net (Jason Byrns) Date: Tue, 01 Nov 2005 07:06:19 -0600 Subject: DNS WARNING - nslookup returned error status In-Reply-To: <6DC1B4B4-CD94-45BE-A5C0-553EEFFEB199@backbonetechnology.com> References: <6DC1B4B4-CD94-45BE-A5C0-553EEFFEB199@backbonetechnology.com> Message-ID: <4367684B.3050202@microlnk.net> > My current issues seem to all resolve around the "check_dns" plugin. I > have it configured to monitor a DNS server or two, and Nagios seems to > report my DNS servers as going up and down all the time..... And most > times it is reported back as: > > DNS WARNING - nslookup returned error status I saw this same warning on a new Nagios server. If you are like me, it was related to an apparent bug in the Redhat RHEL kernel. (I think it was the kernel, anyway) Regardless, the solution is to download and compile the check_dns plugin from source. If it detects it is on a system with the problem, it implements a workaround. My system works fine again after doing this. -- Jason Byrns Production Manager System Administrator http://www.MicroLnk.com/ 402-328-8600 ext. 653 ------------------------------------------------------- This SF.Net email is sponsored by the JBoss Inc. Get Certified Today * Register for a JBoss Training Course Free Certification Exam for All Training Attendees Through End of 2005 Visit http://www.jboss.com/services/certification for more information _______________________________________________ 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 tim.wolak at gmail.com Tue Nov 1 15:09:13 2005 From: tim.wolak at gmail.com (Tim Wolak) Date: Tue, 01 Nov 2005 08:09:13 -0600 Subject: NRPE unable to read output Message-ID: <43677709.3060204@gmail.com> Ok guys I'm at the end of my rope, on a previous installation this worked without a problem. NRPE is telling me it can't read the output from a remote host, however I can get valid input and get the NRPE version locally and remotely and run the command locally and remotely. When it runs from the NRPE daemon it can't read its output..... any ideas? Thanks, Tim ------------------------------------------------------- This SF.Net email is sponsored by the JBoss Inc. Get Certified Today * Register for a JBoss Training Course Free Certification Exam for All Training Attendees Through End of 2005 Visit http://www.jboss.com/services/certification for more information _______________________________________________ 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 Tue Nov 1 16:32:17 2005 From: boinger at tradingtechnologies.com (jeff vier) Date: Tue, 01 Nov 2005 09:32:17 -0600 Subject: How do I 'except' or 'negate' a regex host_name in a service definition? In-Reply-To: <200510312219.j9VMJJtQ006085@mx1.cs.umb.edu> References: <200510312219.j9VMJJtQ006085@mx1.cs.umb.edu> Message-ID: <1130859137.25677.65.camel@chi100400> On Mon, 2005-10-31 at 17:19 -0500, John P. Rouillard wrote: > In message <1130772078.25677.10.camel at chi101100.int.tt.local>, > jeff vier writes: > >On Fri, 2005-10-28 at 01:59 +0200, Andreas Ericsson wrote: > >> > I want to split off a group of similarly named hosts to a separate > >> > service from a more global check. > >> > Here's the "normal" (working) regex line: > >> > host_name ^chi-[a-z0-9]*-sim-[0-9]$ > >> > Now...how do I define "not those" in the associated global check? > Maybe something like: > > define hostgroup{ > name my_filter_group > alias mfg > members {^chi-[a-z0-9]*-sim-[0-9]$} > } > Then in the services definition use > > define service { > hostgroup_name !my_filter_group > host_name > ... > } Ah, thanks. I was too focused on doing it the "exciting" way, I failed to think of a more normal way. > Sadly you will end up seeing the hostgroup in the CGI, but. Not a problem...I can sell it as a feature :) -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 189 bytes Desc: This is a digitally signed message part URL: From todd_barbera at wgbh.org Tue Nov 1 16:20:14 2005 From: todd_barbera at wgbh.org (Todd Barbera) Date: Tue, 01 Nov 2005 10:20:14 -0500 Subject: NRPE unable to read output In-Reply-To: <43677709.3060204@gmail.com> References: <43677709.3060204@gmail.com> Message-ID: <001401c5def7$c23f3da0$620a010a@GRAPEAPE> Hi Tim, When I've run into this it's had to do with permission problems. I.e., root can run the plugin fine, but the nagios user can't. I've had to add a sticky bit to some of the custom plugins I've written in order to correct this. Todd -----Original Message----- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Tim Wolak Sent: Tuesday, November 01, 2005 9:09 AM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] NRPE unable to read output Ok guys I'm at the end of my rope, on a previous installation this worked without a problem. NRPE is telling me it can't read the output from a remote host, however I can get valid input and get the NRPE version locally and remotely and run the command locally and remotely. When it runs from the NRPE daemon it can't read its output..... any ideas? Thanks, Tim ------------------------------------------------------- This SF.Net email is sponsored by the JBoss Inc. Get Certified Today * Register for a JBoss Training Course Free Certification Exam for All Training Attendees Through End of 2005 Visit http://www.jboss.com/services/certification for more information _______________________________________________ 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 the JBoss Inc. Get Certified Today * Register for a JBoss Training Course Free Certification Exam for All Training Attendees Through End of 2005 Visit http://www.jboss.com/services/certification for more information _______________________________________________ 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 david.r.musser at gmail.com Tue Nov 1 17:14:33 2005 From: david.r.musser at gmail.com (David Musser) Date: Tue, 1 Nov 2005 11:14:33 -0500 Subject: Nagios as -d or background issue. Message-ID: I'm new to nagios. We have it setup on several servers, and all was working nicely until a power outtage the other day on a server nagios is monitoring with the plugins. So now I'm not sure if the new issue is relating to that or something else. Scenario. - Running nagios via the command line - everything is ok and works as expected. - Running nagios via a background process & and using the nohup to keep output gives status of unknown on several of the service checks for a solaris server. - Running nagios via the nagios -d command or the init.d/nagios script gives status of unknown on several of the service checks for a solaris server. Note we are checking using ssh, talking to the plugins. Running the check_by_ssh command by itself works, and returns the correct status. It's only when the service is run as a service or background process that we see the odd behavior. -D -- David R. Musser MCP & MCP +I TEL: 540 974 3559 Email: david.r.musser at gmail.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From msugano at uolinc.com Tue Nov 1 17:34:13 2005 From: msugano at uolinc.com (Marcel Mitsuto Fucatu Sugano) Date: Tue, 01 Nov 2005 14:34:13 -0200 Subject: Nagios as -d or background issue. In-Reply-To: References: Message-ID: <1130862854.5331.12.camel@localhost> On Tue, 2005-11-01 at 11:14 -0500, David Musser wrote: > I'm new to nagios. We have it setup on several servers, and all was > working nicely until a power outtage the other day on a server nagios > is monitoring with the plugins. > > So now I'm not sure if the new issue is relating to that or something > else. Check if you have more than one Nagios processess running at the same time. And... > > Scenario. > > - Running nagios via the command line - everything is ok and works as > expected. What Nagios version and what is the plugin release? > > - Running nagios via a background process & and using the nohup to > keep output gives status of unknown on several of the service checks > for a solaris server. What kind of output of those unknowns alerts? > > - Running nagios via the nagios -d command or the init.d/nagios script > gives status of unknown on several of the service checks for a solaris > server. Always remember to kill the nagios process before starting another one. > > Note we are checking using ssh, talking to the plugins. Running the > check_by_ssh command by itself works, and returns the correct status. > It's only when the service is run as a service or background process > that we see the odd behavior. You also should check if the user you run the check_by_ssh is root, and then you have everything running fine, and the user who always check things is nagios, or the same user who owns the nagios process. > > -D PS: Sending more than one email, didn't get you answered faster. It is a mailling list, not a helpdesk. > -- > David R. Musser > MCP & MCP +I > TEL: 540 974 3559 > Email: david.r.musser at gmail.com Hope it helps. -- Marcel Mitsuto Fucatu Sugano Universo Online S.A. -- http://www.uol.com.br ------------------------------------------------------- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php _______________________________________________ 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 david.r.musser at gmail.com Tue Nov 1 17:09:53 2005 From: david.r.musser at gmail.com (David Musser) Date: Tue, 1 Nov 2005 11:09:53 -0500 Subject: Running as a daemon or background process? Message-ID: I'm new to nagios. We have it setup on several servers, and all was working nicely until a power outtage the other day on a server nagios is monitoring with the plugins. So now I'm not sure if the new issue is relating to that or something else. Scenario. - Running nagios via the command line - everything is ok and works as expected. - Running nagios via a background process & and using the nohup to keep output gives status of unknown on several of the service checks for a solaris server. - Running nagios via the nagios -d command or the init.d/nagios script gives status of unknown on several of the service checks for a solaris server. Note we are checking using ssh, talking to the plugins. Running the check_by_ssh command by itself works, and returns the correct status. It's only when the service is run as a service or background process that we see the odd behavior. -D -- David R. Musser MCP & MCP +I TEL: 540 974 3559 Email: david.r.musser at gmail.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From jun at lifecapturemedia.com Tue Nov 1 18:09:53 2005 From: jun at lifecapturemedia.com (Jun Li) Date: Tue, 1 Nov 2005 12:09:53 -0500 Subject: check_by_ssh problem Message-ID: <200511011209.53761.jun@lifecapturemedia.com> when I use check_by_ssh, status is ok but no output for status info. I checked my output file and nothing there. Anyone can let me know what's wrong with it? Thank you in advance, Jun ------------------------------------------------------- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php _______________________________________________ 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 scott at nami.org Tue Nov 1 18:21:39 2005 From: scott at nami.org (Scott Johnson) Date: Tue, 1 Nov 2005 12:21:39 -0500 Subject: Newbie problem: Notifications are not being sent out Message-ID: <997C20C98A107B4EA6ABDA5D97277E2D8B4BC5@namimail.nami.org> It says "No notifications have been recorded in the current log file." -----Original Message----- From: Dennis Hopp [mailto:dhopp at GOCSC.com] Sent: Monday, October 31, 2005 4:48 PM To: Scott Johnson; nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] Newbie problem: Notifications are not being sent out nagios-users-admin at lists.sourceforge.net wrote: > I'm working on getting a nagios install up at my workplace and have > run into a problem I can't figure out: e-mail notices are not being > sent out. I'm using v2.0b4 on a Fedora Core 4 install. I have not > altered the sendmail config files in any way (I don't **THINK** I need > to). > > The install works and properly tests our various "live" > hosts. The website displays information correctly. There's just no > e-mail going out. > In the nagios web interface does it show that notifications are going out? On the left hand side you should see a "Notifications" link and it will show you all the notifications that have gone out. --Dennis ------------------------------------------------------- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php _______________________________________________ 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 scotjenkins at gmail.com Tue Nov 1 19:50:54 2005 From: scotjenkins at gmail.com (Scot Jenkins) Date: Tue, 1 Nov 2005 12:50:54 -0600 Subject: Error: Service check command ot defined anywhere In-Reply-To: <336F7D64-A343-4966-9E95-DEC326B930F8@backbonetechnology.com> References: <1503306D-1884-48F0-BBC8-DBD8C01B57A0@backbonetechnology.com> <336F7D64-A343-4966-9E95-DEC326B930F8@backbonetechnology.com> Message-ID: On 10/31/05, Dustin Krysak wrote: > I just got this figured out... please disregard! > > Thanks in advance! > d It's helpful for the archives if you post the solution to your problem. That way when other people have the same issue, they will find a solution, not just an "it's all fixed" follow-up. Scot ------------------------------------------------------- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php _______________________________________________ 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 mailinglists at backbonetechnology.com Tue Nov 1 20:18:40 2005 From: mailinglists at backbonetechnology.com (lists) Date: Tue, 1 Nov 2005 11:18:40 -0800 Subject: DNS WARNING - nslookup returned error status In-Reply-To: <20051101191434.M48277@backbonetechnology.com> References: <6DC1B4B4-CD94-45BE-A5C0-553EEFFEB199@backbonetechnology.com> <4367684B.3050202@microlnk.net> <20051101191434.M48277@backbonetechnology.com> Message-ID: <20051101191816.M86774@backbonetechnology.com> I just had a go at your suggestion, and it seems to not be the case for my install. I recompiled the plugins and installed them. In the "make check" portion - everything seems to be fine. I am wondering if it is my DNS configuration. I know my servers are in fact up, and one of them is a non-recursive resolver - however I just have it checking a domain it has authority for. And this issue is happening with all my DNS servers (some of which are recursive resolvers) - so I do not think it is that. Any other pointers? :::::::::::::::::::::: Dustin :::::::::::::::::::::: ---------- Original Message ----------- From: Jason Byrns To: Nagios List Sent: Tue, 01 Nov 2005 07:06:19 -0600 Subject: Re: [Nagios-users] DNS WARNING - nslookup returned error status > > My current issues seem to all resolve around the "check_dns" plugin. I > > have it configured to monitor a DNS server or two, and Nagios seems to > > report my DNS servers as going up and down all the time..... And most > > times it is reported back as: > > > > DNS WARNING - nslookup returned error status > > I saw this same warning on a new Nagios server. If you are like me, it > was related to an apparent bug in the Redhat RHEL kernel. (I think it > was the kernel, anyway) > > Regardless, the solution is to download and compile the check_dns plugin > from source. If it detects it is on a system with the problem, it > implements a workaround. My system works fine again after doing this. > > -- > Jason Byrns > Production Manager > System Administrator > http://www.MicroLnk.com/ > 402-328-8600 ext. 653 > > ------------------------------------------------------- > This SF.Net email is sponsored by the JBoss Inc. > Get Certified Today * Register for a JBoss Training Course > Free Certification Exam for All Training Attendees Through End of 2005 > Visit http://www.jboss.com/services/certification for more information > _______________________________________________ > 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 ------- End of Original Message ------- ------- End of Forwarded Message ------- :::::::::::::::::::::: Dustin Krysak Backbone Technology :::::::::::::::::::::: ------------------------------------------------------- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php _______________________________________________ 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 jason-sourceforge at microlnk.net Tue Nov 1 20:50:48 2005 From: jason-sourceforge at microlnk.net (Jason Byrns) Date: Tue, 01 Nov 2005 13:50:48 -0600 Subject: DNS WARNING - nslookup returned error status In-Reply-To: <20051101191434.M48277@backbonetechnology.com> References: <6DC1B4B4-CD94-45BE-A5C0-553EEFFEB199@backbonetechnology.com> <4367684B.3050202@microlnk.net> <20051101191434.M48277@backbonetechnology.com> Message-ID: <4367C718.8010102@microlnk.net> lists wrote: > I just had a go at your suggestion, and it seems to not be the case for my install. I > recompiled the plugins and installed them. In the "make check" portion - everything > seems to be fine. I am wondering if it is my DNS configuration. I know my servers are in > fact up, and one of them is a non-recursive resolver - however I just have it checking a > domain it has authority for. And this issue is happening with all my DNS servers (some > of which are recursive resolvers) - so I do not think it is that. > > Any other pointers? What are the exact specs of this server? (As in: Who makes the OS, and what version? What version of the kernel? What version of Nagios and the plugins?) What is the exact command syntax you use when checking DNS? Have you tried running it manually from the command line? If so, what were the results? Does the DNS check fail every time? My situation was intermittent failure -- sometimes the check worked, sometimes not. This was all specific to a bug in Redhat Enterprise Linux 4. (I use the free RHEL clone, CentOS) Generally, the more details you can provide, the better. Also, I recommend sending your replies back to the Nagios list, and not just to me directly. (I replied to the list to share the info with others.) >>I saw this same warning on a new Nagios server. If you are like me, it >>was related to an apparent bug in the Redhat RHEL kernel. (I think it >>was the kernel, anyway) >> >>Regardless, the solution is to download and compile the check_dns plugin >>from source. If it detects it is on a system with the problem, it >>implements a workaround. My system works fine again after doing this. -- Jason Byrns Production Manager System Administrator http://www.MicroLnk.com/ 402-328-8600 ext. 653 ------------------------------------------------------- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php _______________________________________________ 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 mailinglists at backbonetechnology.com Tue Nov 1 20:56:59 2005 From: mailinglists at backbonetechnology.com (lists) Date: Tue, 1 Nov 2005 11:56:59 -0800 Subject: Error: Service check command ot defined anywhere In-Reply-To: References: <1503306D-1884-48F0-BBC8-DBD8C01B57A0@backbonetechnology.com> <336F7D64-A343-4966-9E95-DEC326B930F8@backbonetechnology.com> Message-ID: <20051101192121.M55620@backbonetechnology.com> Very true... my bad.. .At anyrate - I had not added the proper settings to the checkcommand.cfg to correspond with the command. :::::::::::::::::::::: Dustin :::::::::::::::::::::: ---------- Original Message ----------- From: Scot Jenkins To: Dustin Krysak Cc: Nagios List Sent: Tue, 1 Nov 2005 12:50:54 -0600 Subject: Re: [Nagios-users] Error: Service check command ot defined anywhere > On 10/31/05, Dustin Krysak wrote: > > I just got this figured out... please disregard! > > > > Thanks in advance! > > d > > It's helpful for the archives if you post the solution to your > problem. That way when other people have the same issue, they will > find a solution, not just an "it's all fixed" follow-up. > > Scot ------- End of Original Message ------- ------------------------------------------------------- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php _______________________________________________ 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 ae at op5.se Tue Nov 1 21:35:15 2005 From: ae at op5.se (Andreas Ericsson) Date: Tue, 01 Nov 2005 21:35:15 +0100 Subject: NRPE unable to read output In-Reply-To: <001401c5def7$c23f3da0$620a010a@GRAPEAPE> References: <001401c5def7$c23f3da0$620a010a@GRAPEAPE> Message-ID: <4367D183.3070106@op5.se> Todd Barbera wrote: > Hi Tim, > > When I've run into this it's had to do with permission problems. I.e., root > can run the plugin fine, but the nagios user can't. I've had to add a sticky > bit to some of the custom plugins I've written in order to correct this. > I'll assume you mean the suid bit. The sticky bit is something else entirely. I can't imagine why people keep mixing them up. For the archive; The suid bit won't work on scripts, because the binary parsing the script will just act like a program reading a really magical configuration file. -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Tel: +46 8-230225 Fax: +46 8-230231 ------------------------------------------------------- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php _______________________________________________ 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 todd_barbera at wgbh.org Tue Nov 1 21:49:50 2005 From: todd_barbera at wgbh.org (Todd Barbera) Date: Tue, 01 Nov 2005 15:49:50 -0500 Subject: NRPE unable to read output In-Reply-To: <4367D183.3070106@op5.se> References: <4367D183.3070106@op5.se> Message-ID: <004701c5df25$cdb396d0$620a010a@GRAPEAPE> My bad. Yes, I meant the suid bit. When I have a shell script that calls root only executables, such as "raidctl" on Solaris, I need to set the suid bit in order to allow the nagios user to run the script. I'm not sure you say it won't work on scripts, it seems to work fine with mine. Perhaps we are referring to two different things. Todd -----Original Message----- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Andreas Ericsson Sent: Tuesday, November 01, 2005 3:35 PM To: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] NRPE unable to read output Todd Barbera wrote: > Hi Tim, > > When I've run into this it's had to do with permission problems. I.e., root > can run the plugin fine, but the nagios user can't. I've had to add a sticky > bit to some of the custom plugins I've written in order to correct this. > I'll assume you mean the suid bit. The sticky bit is something else entirely. I can't imagine why people keep mixing them up. For the archive; The suid bit won't work on scripts, because the binary parsing the script will just act like a program reading a really magical configuration file. -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Tel: +46 8-230225 Fax: +46 8-230231 ------------------------------------------------------- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php _______________________________________________ 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 ------------------------------------------------------- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php _______________________________________________ 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 ae at op5.se Tue Nov 1 22:01:59 2005 From: ae at op5.se (Andreas Ericsson) Date: Tue, 01 Nov 2005 22:01:59 +0100 Subject: NRPE unable to read output In-Reply-To: <004701c5df25$cdb396d0$620a010a@GRAPEAPE> References: <004701c5df25$cdb396d0$620a010a@GRAPEAPE> Message-ID: <4367D7C7.6050200@op5.se> Todd Barbera wrote: > My bad. Yes, I meant the suid bit. When I have a shell script that calls > root only executables, such as "raidctl" on Solaris, I need to set the suid > bit in order to allow the nagios user to run the script. I'm not sure you > say it won't work on scripts, it seems to work fine with mine. Perhaps we > are referring to two different things. > Can't speak for Solaris, but given how the invocation goes it really should be impossible without some kernel trickery or a suid /bin/sh (which is actually not necessarily as unsafe as it sounds). -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Tel: +46 8-230225 Fax: +46 8-230231 ------------------------------------------------------- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php _______________________________________________ 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 yota_moteuchi_1 at yahoo.it Tue Nov 1 21:16:47 2005 From: yota_moteuchi_1 at yahoo.it (yota) Date: Tue, 01 Nov 2005 21:16:47 +0100 Subject: about reports Message-ID: <4367CD2F.1060700@yahoo.it> Hi, I want to know if is possible export the availability reports from nagios to excel or other tool. Many Thanks Yota ___________________________________ Yahoo! Messenger: chiamate gratuite in tutto il mondo http://it.messenger.yahoo.com ------------------------------------------------------- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php _______________________________________________ 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 jun at lifecapturemedia.com Tue Nov 1 22:39:04 2005 From: jun at lifecapturemedia.com (Jun Li) Date: Tue, 1 Nov 2005 16:39:04 -0500 Subject: check_by_ssh didn't installed Message-ID: <200511011639.04546.jun@lifecapturemedia.com> when I install plugins, check_by_ssh didn't install to libexec. Anybody can let me know why and how to fix it? Thanks in advance, JUn ------------------------------------------------------- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php _______________________________________________ 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 chris at xecu.net Tue Nov 1 22:53:38 2005 From: chris at xecu.net (Christopher McGee) Date: Tue, 01 Nov 2005 16:53:38 -0500 Subject: Newbie problem: Notifications are not being sent out Message-ID: <4367E3E2.7040604@xecu.net> I am also seeing the issue where no notifications are being sent out with the message "No notifications have been recorded in the current log file" when I check the notifications link in the web interface. I am running Nagios 2.0b4 on FreeBSD 5.4. Chris ------------------------------------------------------- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php _______________________________________________ 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 eford at nexusenergy.com Tue Nov 1 22:59:16 2005 From: eford at nexusenergy.com (Edward Ford) Date: Tue, 1 Nov 2005 16:59:16 -0500 Subject: Newbie problem: Notifications are not being sent out In-Reply-To: <4367E3E2.7040604@xecu.net> References: <4367E3E2.7040604@xecu.net> Message-ID: <200511011659530.SM02084@ford> See if this link helps you out. It is one that I have used in the past. http://www.totkat.org/pages/nagios-conf.shtml Good Luck. Eddie -----Original Message----- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Christopher McGee Sent: Tuesday, November 01, 2005 4:54 PM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] RE: Newbie problem: Notifications are not being sent out I am also seeing the issue where no notifications are being sent out with the message "No notifications have been recorded in the current log file" when I check the notifications link in the web interface. I am running Nagios 2.0b4 on FreeBSD 5.4. Chris ------------------------------------------------------- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php _______________________________________________ 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 ------------------------------------------------------- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php _______________________________________________ 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 Tue Nov 1 23:51:15 2005 From: marc at ena.com (Marc Powell) Date: Tue, 1 Nov 2005 16:51:15 -0600 Subject: about reports Message-ID: > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users- > admin at lists.sourceforge.net] On Behalf Of yota > Sent: Tuesday, November 01, 2005 2:17 PM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] about reports > > Hi, > I want to know if is possible export the availability reports from > nagios to excel or other tool. Click on Availability under the Reporting section on the left hand menu. Select Host(s) or Service(s). On Step 2 of the wizard -- "Tip: If you want to have the option of getting the availability data in CSV format, select '** ALL [HOSTS|SERVICES] **' from the pull-down menu." -- Marc ------------------------------------------------------- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php _______________________________________________ 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 Jeremy.Pavleck at capella.edu Wed Nov 2 00:43:27 2005 From: Jeremy.Pavleck at capella.edu (Pavleck, Jeremy D.) Date: Tue, 1 Nov 2005 17:43:27 -0600 Subject: Include all servers under one service, but only alert on several? Message-ID: <0F1A5F3993566D4883C596CB56E59B9A05A46477@mspmail02.int.capella.lan> Afternoon, Been poking through the documentation and I don't really see an easy solution to this. I have several services that I monitor on all servers. I'd like to be able to only alert on several of those servers, whilst ignoring the rest. From all I've read, it doesn't seem like there's a simple way to do this - I'll have to create the same service for each group, then work on alerting based on that, correct? Jeremy D. Pavleck Network Engineer System Management ------------------------------------------------------- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php _______________________________________________ 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 scotjenkins at gmail.com Wed Nov 2 01:52:00 2005 From: scotjenkins at gmail.com (Scot Jenkins) Date: Tue, 1 Nov 2005 18:52:00 -0600 Subject: Selective email/paging notifications Message-ID: I'm running Nagios 1.2 on FreeBSD 4.11 and Nagios 1.3 on Debian stable. I've read over the documentation on notifications but didn't find an answer to my question. Given a specific service on a host, I'd like to only receive an email for warning and/or unknown status, yet receive email and pages for critical and recovery events. In my services.cfg, I've tried listing the service twice, once with: ... define service { host_name gw service_description CPU contact_groups emails notification_options w,u ... } define service { host_name gw service_description CPU contact_groups emails,pagers notification_options c,r ... } The Nagios preflight check (nagios -v nagios.cfg) errors with: Error: Service 'CPU' on host 'gw' has already been defined. In addition to this it would also be nice to be able to receive notifications during the day for a given service yet disable it at other times. For example, if the CPU is high during the day email and page me, but I don't want to be paged in the middle of the night. I know I could use different notification periods but how can I do that for the same service on a give host? Does anyone have suggestions/examples on how to implement either of these things? Thanks, Scot ------------------------------------------------------- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php _______________________________________________ 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 steven-danz at kc.rr.com Wed Nov 2 04:39:57 2005 From: steven-danz at kc.rr.com (Steven Danz) Date: Tue, 01 Nov 2005 21:39:57 -0600 Subject: Mail message check plugin? Message-ID: <4368350D.3000507@kc.rr.com> Hello Has anyone published a plugin that can check a given IMAP email account for unread messages, and then scan those messages for a given pattern, generating a critical status if the message is found? Something like a log watch for a mailbox.... Thanks! ------------------------------------------------------- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php _______________________________________________ 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 sghosh at sghosh.org Wed Nov 2 05:05:30 2005 From: sghosh at sghosh.org (Subhendu Ghosh) Date: Tue, 1 Nov 2005 23:05:30 -0500 (EST) Subject: Selective email/paging notifications In-Reply-To: References: Message-ID: On Tue, 1 Nov 2005, Scot Jenkins wrote: > I'm running Nagios 1.2 on FreeBSD 4.11 and Nagios 1.3 on Debian > stable. I've read over the documentation on notifications but didn't > find an answer to my question. > > Given a specific service on a host, I'd like to only receive an email > for warning and/or unknown status, yet receive email and pages for > critical and recovery events. > > In my services.cfg, I've tried listing the service twice, once with: > > ... > define service { > host_name gw > service_description CPU > contact_groups emails > notification_options w,u > ... > } > > define service { > host_name gw > service_description CPU > contact_groups emails,pagers > notification_options c,r > ... > } > > > The Nagios preflight check (nagios -v nagios.cfg) errors with: > > Error: Service 'CPU' on host 'gw' has already been defined. > > In addition to this it would also be nice to be able to receive > notifications during the day for a given service yet disable it at > other times. For example, if the CPU is high during the day email and > page me, but I don't want to be paged in the middle of the night. I > know I could use different notification periods but how can I do that > for the same service on a give host? > > Does anyone have suggestions/examples on how to implement either of > these things? > > Thanks, > Scot > Define a single service will notifications for all events. Define different contacts that receive different notifications/coverage. eg: contact_groups - admins members of admin: email-w, email-day, pager-day, pager, email email-day (only receives notifications during working-hours) pager-day (only receives notifications during working-hours) email-w: only receives w email: only receives c,r page: only receives c,r -- -sg ------------------------------------------------------- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php _______________________________________________ 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 oliverrojo at anticogroup.com Wed Nov 2 06:30:45 2005 From: oliverrojo at anticogroup.com (Oliver A. Rojo) Date: Wed, 02 Nov 2005 13:30:45 +0800 Subject: RAM monitoring Message-ID: <43684F05.4060001@anticogroup.com> how can i monitor RAM/memory ? ------------------------------------------------------- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php _______________________________________________ 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 Wed Nov 2 06:44:09 2005 From: jhmartin at toger.us (Jason Martin) Date: Wed, 2 Nov 2005 00:44:09 -0500 Subject: RAM monitoring In-Reply-To: <43684F05.4060001@anticogroup.com> References: <43684F05.4060001@anticogroup.com> Message-ID: <20051102054409.GE5791@mal.members.linode.com> On Wed, Nov 02, 2005 at 01:30:45PM +0800, Oliver A. Rojo wrote: > how can i monitor RAM/memory ? check_swap can do that for you. -Jason Martin -- Courage atrophies from lack of use. 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 jrhett at meer.net Wed Nov 2 07:30:45 2005 From: jrhett at meer.net (Joe Rhett) Date: Tue, 1 Nov 2005 22:30:45 -0800 Subject: Selective email/paging notifications In-Reply-To: References: Message-ID: <20051102063045.GC28404@meer.net> (jumping into someone else's question that I am interested in...) On Tue, Nov 01, 2005 at 11:05:30PM -0500, Subhendu Ghosh wrote: > Define a single service will notifications for all events. > Define different contacts that receive different notifications/coverage. > > eg: contact_groups - admins > > members of admin: email-w, email-day, pager-day, pager, email > > email-day (only receives notifications during working-hours) > pager-day (only receives notifications during working-hours) > email-w: only receives w > email: only receives c,r > page: only receives c,r So how do you solve the visibility in the nagios interface problem? (without allowing everyone to see everything) The problem is that a given person really only wants to have a single nagios login to see everything they own, but need to customize the alerts they receive. -- Joe Rhett senior geek meer.net ------------------------------------------------------- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php _______________________________________________ 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 jjk_saji at yahoo.com Wed Nov 2 09:30:23 2005 From: jjk_saji at yahoo.com (John Joseph) Date: Wed, 2 Nov 2005 08:30:23 +0000 (GMT) Subject: Want to monitor Oracle , without running scripts on the Oracle Server Message-ID: <20051102083023.45196.qmail@web34809.mail.mud.yahoo.com> Hi I am trying to monitor oracle server for the following Table space No of database logs Availability of tnslsnr I wanted to avoid any script running on the remote oracle machine Can I do it in Nagios , Guidance requested Thanks Joseph ___________________________________________________________ How much free photo storage do you get? Store your holiday snaps for FREE with Yahoo! Photos http://uk.photos.yahoo.com ------------------------------------------------------- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php _______________________________________________ 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 ae at op5.se Wed Nov 2 10:02:04 2005 From: ae at op5.se (Andreas Ericsson) Date: Wed, 02 Nov 2005 10:02:04 +0100 Subject: Include all servers under one service, but only alert on several? In-Reply-To: <0F1A5F3993566D4883C596CB56E59B9A05A46477@mspmail02.int.capella.lan> References: <0F1A5F3993566D4883C596CB56E59B9A05A46477@mspmail02.int.capella.lan> Message-ID: <4368808C.8090900@op5.se> Pavleck, Jeremy D. wrote: > Afternoon, > Been poking through the documentation and I don't really see an easy > solution to this. I have several services that I monitor on all servers. > I'd like to be able to only alert on several of those servers, whilst > ignoring the rest. From all I've read, it doesn't seem like there's a > simple way to do this - I'll have to create the same service for each > group, then work on alerting based on that, correct? > Use templates. -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Tel: +46 8-230225 Fax: +46 8-230231 ------------------------------------------------------- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php _______________________________________________ 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 ae at op5.se Wed Nov 2 10:04:19 2005 From: ae at op5.se (Andreas Ericsson) Date: Wed, 02 Nov 2005 10:04:19 +0100 Subject: Selective email/paging notifications In-Reply-To: <20051102063045.GC28404@meer.net> References: <20051102063045.GC28404@meer.net> Message-ID: <43688113.5060203@op5.se> Joe Rhett wrote: > (jumping into someone else's question that I am interested in...) > > On Tue, Nov 01, 2005 at 11:05:30PM -0500, Subhendu Ghosh wrote: > >>Define a single service will notifications for all events. >>Define different contacts that receive different notifications/coverage. >> >>eg: contact_groups - admins >> >>members of admin: email-w, email-day, pager-day, pager, email >> >>email-day (only receives notifications during working-hours) >>pager-day (only receives notifications during working-hours) >>email-w: only receives w >>email: only receives c,r >>page: only receives c,r > > > So how do you solve the visibility in the nagios interface problem? > (without allowing everyone to see everything) > > The problem is that a given person really only wants to have a single > nagios login to see everything they own, but need to customize the alerts > they receive. > Make a third contact with the login-name and set its notification-options to 'n'. Make it a member of all contactgroups where any of its notification aliases is a member. -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Tel: +46 8-230225 Fax: +46 8-230231 ------------------------------------------------------- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php _______________________________________________ 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 ae at op5.se Wed Nov 2 10:06:59 2005 From: ae at op5.se (Andreas Ericsson) Date: Wed, 02 Nov 2005 10:06:59 +0100 Subject: Want to monitor Oracle , without running scripts on the Oracle Server In-Reply-To: <20051102083023.45196.qmail@web34809.mail.mud.yahoo.com> References: <20051102083023.45196.qmail@web34809.mail.mud.yahoo.com> Message-ID: <436881B3.4030308@op5.se> John Joseph wrote: > Hi > I am trying to monitor oracle server for the > following > Table space > No of database logs > Availability of tnslsnr > I wanted to avoid any script running on > the remote oracle machine > Can I do it in Nagios Yes. > , Guidance requested Just write a plugin for it. nagiosplug.sourceforge.net has the developer guidelines which tells you everything you need to know, really. You might want to try www.nagiosexchange.org first though, since I imagine you aren't alone with this request. -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Tel: +46 8-230225 Fax: +46 8-230231 ------------------------------------------------------- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php _______________________________________________ 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 jjk_saji at yahoo.com Wed Nov 2 10:21:05 2005 From: jjk_saji at yahoo.com (John Joseph) Date: Wed, 2 Nov 2005 09:21:05 +0000 (GMT) Subject: Want to monitor Oracle , without running scripts on the Oracle Server In-Reply-To: <436881B3.4030308@op5.se> References: <436881B3.4030308@op5.se> Message-ID: <20051102092105.57024.qmail@web34809.mail.mud.yahoo.com> Hi Andreas Thanks for the mail I will try to start writing the plugins , my idea is to write SNMP plugins , so that I do not need to install any thing on the Oracle Server other than SNMP Is it possible to monitor Table Space No of Data Base logs Availablity of tnslsnr using SNMP , Thanks Joseph --- Andreas Ericsson wrote: > John Joseph wrote: > > Hi > > I am trying to monitor oracle server for the > > following > > Table space > > No of database logs > > Availability of tnslsnr > > I wanted to avoid any script running > on > > the remote oracle machine > > Can I do it in Nagios > > > Yes. > > > , Guidance requested > > > Just write a plugin for it. > nagiosplug.sourceforge.net has the developer > guidelines which tells you everything you need to > know, really. > > You might want to try www.nagiosexchange.org first > though, since I > imagine you aren't alone with this request. > > -- > Andreas Ericsson > andreas.ericsson at op5.se > OP5 AB www.op5.se > Tel: +46 8-230225 Fax: +46 8-230231 > > > ------------------------------------------------------- > SF.Net email is sponsored by: > Tame your development challenges with Apache's > Geronimo App Server. Download > it for free - -and be entered to win a 42" plasma tv > or your very own > Sony(tm)PSP. Click here to play: > http://sourceforge.net/geronimo.php > _______________________________________________ > 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 > ___________________________________________________________ How much free photo storage do you get? Store your holiday snaps for FREE with Yahoo! Photos http://uk.photos.yahoo.com ------------------------------------------------------- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php _______________________________________________ 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 ae at op5.se Wed Nov 2 10:41:24 2005 From: ae at op5.se (Andreas Ericsson) Date: Wed, 02 Nov 2005 10:41:24 +0100 Subject: Want to monitor Oracle , without running scripts on the Oracle Server In-Reply-To: <20051102092105.57024.qmail@web34809.mail.mud.yahoo.com> References: <20051102092105.57024.qmail@web34809.mail.mud.yahoo.com> Message-ID: <436889C4.3050309@op5.se> John Joseph wrote: > Hi Andreas > Thanks for the mail > I will try to start writing the plugins , my idea > is to write SNMP plugins , so that I do not need to > install any thing on the Oracle Server other than SNMP > > Is it possible to monitor > Table Space > No of Data Base logs > Availablity of tnslsnr using SNMP , That depends on the capability of the snmp-daemon and the oracle server. I've never worked that closely with oracle so I don't know. If you get it working I'd be interested in having a look though. -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Tel: +46 8-230225 Fax: +46 8-230231 ------------------------------------------------------- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php _______________________________________________ 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 bohara at gmail.com Wed Nov 2 10:46:49 2005 From: bohara at gmail.com (Ben O'Hara) Date: Wed, 2 Nov 2005 09:46:49 +0000 Subject: Want to monitor Oracle , without running scripts on the Oracle Server In-Reply-To: <436889C4.3050309@op5.se> References: <20051102092105.57024.qmail@web34809.mail.mud.yahoo.com> <436889C4.3050309@op5.se> Message-ID: <2b36e660511020146m85d8a72t33ed61190aed2ed@mail.gmail.com> On 11/2/05, Andreas Ericsson wrote: > John Joseph wrote: > > Hi Andreas > > Thanks for the mail > > I will try to start writing the plugins , my idea > > is to write SNMP plugins , so that I do not need to > > install any thing on the Oracle Server other than SNMP > > > > Is it possible to monitor > > Table Space > > No of Data Base logs > > Availablity of tnslsnr using SNMP , > > > That depends on the capability of the snmp-daemon and the oracle server. > I've never worked that closely with oracle so I don't know. If you get > it working I'd be interested in having a look though. > The contrib/check_oracle from nagios-plugins will monitor all of this without requiring anything to be installed on the oracle server. Monitoring host must have oracle installed and access to sqlplus but other than that it doesnt need to go on the oracle box. Ben ------------------------------------------------------- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php _______________________________________________ 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 todd_barbera at wgbh.org Wed Nov 2 13:30:51 2005 From: todd_barbera at wgbh.org (Todd Barbera) Date: Wed, 02 Nov 2005 07:30:51 -0500 Subject: Mail message check plugin? References: <4368350D.3000507@kc.rr.com> Message-ID: <005401c5dfa9$43483580$0d7810ac@wgbh.org> Hi Steven, Perhaps this perl module would provide what you want: http://search.cpan.org/~cwest/Email-Folder-IMAP-1.02/lib/Email/Folder/IMAP.pm Set up a filter to have the desired messages drop into a folder and check the folder for new messages. I haven't done this myself, but would probably use this method to write a script for it. Todd ----- Original Message ----- From: "Steven Danz" To: Sent: Tuesday, November 01, 2005 10:39 PM Subject: [Nagios-users] Mail message check plugin? > Hello > > Has anyone published a plugin that can check a given IMAP email account > for unread messages, and then scan those messages for a given pattern, > generating a critical status if the message is found? Something like a > log watch for a mailbox.... > > Thanks! > > > ------------------------------------------------------- > SF.Net email is sponsored by: > Tame your development challenges with Apache's Geronimo App Server. Download > it for free - -and be entered to win a 42" plasma tv or your very own > Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php > _______________________________________________ > 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 > ------------------------------------------------------- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php _______________________________________________ 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 david.r.musser at gmail.com Wed Nov 2 15:53:02 2005 From: david.r.musser at gmail.com (David Musser) Date: Wed, 2 Nov 2005 09:53:02 -0500 Subject: Nagios as -d or background issue. Message-ID: Marcel, Thank you for your response... also I appologize for the multi post. I got a reply back when I sent the message that said: --- junk to me Hey You got the wrong address but maybe you should check out http://www.GMAIL.COM.AU --- So I'm not sure what that was about, and I posted twice. -- >Check if you have more than one Nagios processess running at the same >time. And... --- Only one nagios process is running. I made sure to kill all the other processes. I also tested this from another server that I had during development and I get the same issue. >> What Nagios version and what is the plugin release? --- nagios-plugins-1.4.2 > > - Running nagios via a background process & and using the nohup to > keep output gives status of unknown on several of the service checks > for a solaris server. What kind of output of those unknowns alerts? --- Check Disk - /u01 UNKNOWN 11-02-2005 09:31:05 0d 0h 27m 16s 3/3 DISK OK - free space: /u01 7549 MB (89%): > > - Running nagios via the nagios -d command or the init.d/nagios script > gives status of unknown on several of the service checks for a solaris > server. Always remember to kill the nagios process before starting another one. --- I checked an no other services were running > > Note we are checking using ssh, talking to the plugins. Running the > check_by_ssh command by itself works, and returns the correct status. > It's only when the service is run as a service or background process > that we see the odd behavior. You also should check if the user you run the check_by_ssh is root, and then you have everything running fine, and the user who always check things is nagios, or the same user who owns the nagios process. --- Yes I checked and the user who is running the process is not root, and I am using the ssh option to pass in a key so that it does not have to have a password. The thing that I think is the most odd is that for some of the services a check disk for example. It works and gives a status of OK, but another check disk will return an unknown. Command I use and output as by the command line: ./check_by_ssh -t 15 -l staff -i /home/myuser/.ssh/id_rsa -H 192.168.36.10 -C '/software/nagios/libexec/check_disk -w 20% -c 10% /dev/dsk/c2t3d0s0' DISK OK - free space: /u01 7549 MB (89%);| /u01=952MB;6800;7650;0;8501 -- Again sorry for the multi emails. Is there any way to have nagios give more output to the logs during the checks. A verbose output option or something. > > -D PS: Sending more than one email, didn't get you answered faster. It is a mailling list, not a helpdesk. Message: 9 Subject: Re: [Nagios-users] Nagios as -d or background issue. From: Marcel Mitsuto Fucatu Sugano To: David Musser Cc: nagios-users at lists.sourceforge.net Organization: Universo Online S.A. -- http://www.uol.com.br Date: Tue, 01 Nov 2005 14:34:13 -0200 ------------------------------------------------------- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php _______________________________________________ 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 yonienjcn at gmail.com Wed Nov 2 17:15:30 2005 From: yonienjcn at gmail.com (Tao Yaoning) Date: Wed, 2 Nov 2005 11:15:30 -0500 Subject: Sendpage doesn't work with nagios Message-ID: <8ee7548c0511020815jd7baed7wdfe9aa30bebc78fb@mail.gmail.com> Hi, all I configured nagios 2.0b4 to monitor my network. It works very fine. So I try to configure sendpage to send me pager information. I installed sendpage on my nagios server, and I can use command to send pager by manually. /usr/bin/snpp -n -m "test information" testpager and receive the message "test information" I defined testpager information on sendpage.cf , so here I just use character alias "testpager" to instead my really pager number So, I configure nagios contact information and set pager as "testpager", notify command is notify-by-sendpage notifi-by-sendpage looks like /usr/bin/snpp -n -m "$SERVICEOUTPUT$\n$LONGDATE$" $CONTACTPAGER$ I think when nagios notify me with sendpage should use command like /usr/bin/snpp -n -m "whatever information" testpager But my nagios never send pager information out. I check the log files, I seems nagios never run the command? the permission of /usr/bin/snpp is 755 Anybody can give me some ideas? -------------- next part -------------- An HTML attachment was scrubbed... URL: From RLAdams at AdamsInfoServ.Com Wed Nov 2 17:44:59 2005 From: RLAdams at AdamsInfoServ.Com (Russell Adams) Date: Wed, 2 Nov 2005 10:44:59 -0600 Subject: Sendpage doesn't work with nagios In-Reply-To: <8ee7548c0511020815jd7baed7wdfe9aa30bebc78fb@mail.gmail.com> References: <8ee7548c0511020815jd7baed7wdfe9aa30bebc78fb@mail.gmail.com> Message-ID: <20051102164459.GA22270@keroberos> FYI, I have two nagios systems using sendpage for paging. Could it be environmental? Does the nagios user have access to /etc/snpp.conf? Russell On Wed, Nov 02, 2005 at 11:15:30AM -0500, Tao Yaoning wrote: > Hi, all > > I configured nagios 2.0b4 to monitor my network. It works very fine. So I > try to configure sendpage to send me pager information. > I installed sendpage on my nagios server, and I can use command to send > pager by manually. > /usr/bin/snpp -n -m "test information" testpager > and receive the message "test information" > > I defined testpager information on sendpage.cf , so here > I just use character alias "testpager" to instead my really pager number > > > So, I configure nagios contact information and set pager as "testpager", > notify command is notify-by-sendpage > notifi-by-sendpage looks like > /usr/bin/snpp -n -m "$SERVICEOUTPUT$\n$LONGDATE$" $CONTACTPAGER$ > > I think when nagios notify me with sendpage should use command like > /usr/bin/snpp -n -m "whatever information" testpager > > But my nagios never send pager information out. I check the log files, I > seems nagios never run the command? > the permission of /usr/bin/snpp is 755 > > Anybody can give me some ideas? ------------------------------------------------------------------ Russell Adams RLAdams at AdamsInfoServ.com PGP Key ID: 0x1160DCB3 http://www.adamsinfoserv.com/ Fingerprint: 1723 D8CA 4280 1EC9 557F 66E8 1154 E018 1160 DCB3 ------------------------------------------------------- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php _______________________________________________ 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 yonienjcn at gmail.com Wed Nov 2 17:44:55 2005 From: yonienjcn at gmail.com (Tao Yaoning) Date: Wed, 2 Nov 2005 11:44:55 -0500 Subject: Sendpage doesn't work with nagios In-Reply-To: <8ee7548c0511020815jd7baed7wdfe9aa30bebc78fb@mail.gmail.com> References: <8ee7548c0511020815jd7baed7wdfe9aa30bebc78fb@mail.gmail.com> Message-ID: <8ee7548c0511020844p2f2bc564o15439a67c6b93294@mail.gmail.com> I get an error information from log file **ePN failed to compile /usr/bin/snpp: "Global symbol "$cmd" requires explicit package name at (eval 31) line 156, Global symbol "$arg" requires explicit package name at (eval 31) line 163. Global symbol "$cmd" requires explicit package name at (eval 31) line 165. Global symbol "$arg" requires e" at / usr/bin/p1.pl line 153. On 11/2/05, Tao Yaoning wrote: > Hi, all > > I configured nagios 2.0b4 to monitor my network. It works very fine. So I > try to configure sendpage to send me pager information. > I installed sendpage on my nagios server, and I can use command to send > pager by manually. > /usr/bin/snpp -n -m "test information" testpager > and receive the message "test information" > > I defined testpager information on sendpage.cf , so > here > I just use character alias "testpager" to instead my really pager number > > > So, I configure nagios contact information and set pager as "testpager", > notify command is notify-by-sendpage > notifi-by-sendpage looks like > /usr/bin/snpp -n -m "$SERVICEOUTPUT$\n$LONGDATE$" $CONTACTPAGER$ > > I think when nagios notify me with sendpage should use command like > /usr/bin/snpp -n -m "whatever information" testpager > > But my nagios never send pager information out. I check the log files, I > seems nagios never run the command? > the permission of /usr/bin/snpp is 755 > > Anybody can give me some ideas? > > -- looking for Network Adminstrator Position ------------------------------------------------------- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php _______________________________________________ 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 ae at op5.se Wed Nov 2 17:51:59 2005 From: ae at op5.se (Andreas Ericsson) Date: Wed, 02 Nov 2005 17:51:59 +0100 Subject: Sendpage doesn't work with nagios In-Reply-To: <8ee7548c0511020844p2f2bc564o15439a67c6b93294@mail.gmail.com> References: <8ee7548c0511020815jd7baed7wdfe9aa30bebc78fb@mail.gmail.com> <8ee7548c0511020844p2f2bc564o15439a67c6b93294@mail.gmail.com> Message-ID: <4368EEAF.1070707@op5.se> Tao Yaoning wrote: > I get an error information from log file > > **ePN failed to compile /usr/bin/snpp: "Global symbol "$cmd" requires > explicit package name at (eval 31) line 156, Global symbol "$arg" > requires explicit package name at (eval 31) line 163. Global symbol > "$cmd" requires explicit package name at (eval 31) line 165. Global > symbol "$arg" requires e" at / usr/bin/p1.pl line 153. > This means that the snpp perl-script is sloppily written so the embedded perl interpreter can't parse it properly. You can mitigate this by either disabling built-in perl or changing the command definition to read /usr/bin/perl -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Tel: +46 8-230225 Fax: +46 8-230231 ------------------------------------------------------- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php _______________________________________________ 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 kmau at techpro.com Wed Nov 2 17:51:57 2005 From: kmau at techpro.com (Kevin Mau) Date: Wed, 2 Nov 2005 10:51:57 -0600 Subject: Citrix and Nagios Message-ID: <2E09A52C9852E24A9A084352AB68F2C5966137@w2k3-tp.techpro.local> I currently have the responsibility of monitoring a citrix and terminal server farm and implementing monitoring on everything. The biggest benefit's I think can be realized from using nc_net installed on the server. With this im able to monitor everything and do a lot of customized monitoring. Such as using performance counters to monitor total ica users and inactive ica users as one small example. This is a huge benefit because it quickly lets us know if our balancer goes out of wack and to many users are being loaded onto one server. Were also able to monitor disk i/o, cpu load, uptime, service states, memory usage, event logs (HUGE HUGE benefit) write our own custom wmi queries, processes running in memory. You can get as creative as you want in how you want to monitor anything, between nc_net and nrpe I have yet to find something im not able to monitor in some type of way. Service pack level, hot fix's applied, etc -----Original Message----- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Vicky P. Retzke Sent: Friday, October 28, 2005 3:04 PM To: Nagios-users at lists.sourceforge.net Subject: [Nagios-users] Citrix and Nagios We implemented Nagios 1.2 about a year ago and currently monitor about 130 hosts/500 services in our unix environment. My boss has been trying to convince the manager of the Windows team to begin using Nagios to monitor the servers within the Microsoft environment, but has, so far, been unsuccessful. The largest portion of the Windows servers are components within the Citrix architecture and, being unfamiliar with Citrix, I'm been unable to really demonstrate how Nagios could be valuable in monitoring the Citrix environment. I've read what I could find in the users list archives and compiled the check_ica_* plugins but can not get permission to even demonstrate any of the capabilities of Nagios on the Windows servers. What I'm hoping to find via this list is just a quick summary of how current users are using Nagios to monitor their Citrix implementation. Do you just use the existing plugins to monitor the master browser and published applications, do you monitor specific services on each component, do you do "end-to-end" monitoring (this is what our Windows manager is looking for and is currently looking at 3rd party products that profess to do that). Again, I'm not a Citrix/Windows user or admin, so I apologize if my question seems vague. Thank you for any information that might help in my lobbying efforts! Vicky Retzke Unix System Administrator Overnite, A UPS Company NOTE: THIS DOCUMENT MAY CONTAIN CONFIDENTIAL AND NONPUBLIC INFORMATION. IT IS INTENDED ONLY FOR THE USE OF THE INDIVIDUAL(S) OR ENTITY(IES) NAMED ABOVE, AND OTHERS SPECIFICALLY AUTHORIZED TO RECEIVE IT. If you are not the intended recipient of this document, you are notified that any review, dissemination, distribution or copying of this communication is prohibited. If you have received this communication in error, please notify me immediately by return email, delete the electronic message and destroy any printed copies. Thank you for your cooperation. ------------------------------------------------------- This SF.Net email is sponsored by the JBoss Inc. Get Certified Today * Register for a JBoss Training Course Free Certification Exam for All Training Attendees Through End of 2005 Visit http://www.jboss.com/services/certification for more information _______________________________________________ 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 ------------------------------------------------------- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php _______________________________________________ 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 RLAdams at AdamsInfoServ.Com Wed Nov 2 18:00:23 2005 From: RLAdams at AdamsInfoServ.Com (Russell Adams) Date: Wed, 2 Nov 2005 11:00:23 -0600 Subject: Sendpage doesn't work with nagios In-Reply-To: <8ee7548c0511020844p2f2bc564o15439a67c6b93294@mail.gmail.com> References: <8ee7548c0511020815jd7baed7wdfe9aa30bebc78fb@mail.gmail.com> <8ee7548c0511020844p2f2bc564o15439a67c6b93294@mail.gmail.com> Message-ID: <20051102170023.GB22270@keroberos> Try changing your command to: /bin/sh -c /usr/bin/snpp.pl ... On Wed, Nov 02, 2005 at 11:44:55AM -0500, Tao Yaoning wrote: > I get an error information from log file > > **ePN failed to compile /usr/bin/snpp: "Global symbol "$cmd" requires > explicit package name at (eval 31) line 156, Global symbol "$arg" > requires explicit package name at (eval 31) line 163. Global symbol > "$cmd" requires explicit package name at (eval 31) line 165. Global > symbol "$arg" requires e" at / usr/bin/p1.pl line 153. > > > On 11/2/05, Tao Yaoning wrote: > > Hi, all > > > > I configured nagios 2.0b4 to monitor my network. It works very fine. So I > > try to configure sendpage to send me pager information. > > I installed sendpage on my nagios server, and I can use command to send > > pager by manually. > > /usr/bin/snpp -n -m "test information" testpager > > and receive the message "test information" > > > > I defined testpager information on sendpage.cf , so > > here > > I just use character alias "testpager" to instead my really pager number > > > > > > So, I configure nagios contact information and set pager as "testpager", > > notify command is notify-by-sendpage > > notifi-by-sendpage looks like > > /usr/bin/snpp -n -m "$SERVICEOUTPUT$\n$LONGDATE$" $CONTACTPAGER$ > > > > I think when nagios notify me with sendpage should use command like > > /usr/bin/snpp -n -m "whatever information" testpager > > > > But my nagios never send pager information out. I check the log files, I > > seems nagios never run the command? > > the permission of /usr/bin/snpp is 755 > > > > Anybody can give me some ideas? > > > > > > > -- > looking for Network Adminstrator Position > > > ------------------------------------------------------- > SF.Net email is sponsored by: > Tame your development challenges with Apache's Geronimo App Server. Download > it for free - -and be entered to win a 42" plasma tv or your very own > Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php > _______________________________________________ > 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 > > ------------------------------------------------------------------ Russell Adams RLAdams at AdamsInfoServ.com PGP Key ID: 0x1160DCB3 http://www.adamsinfoserv.com/ Fingerprint: 1723 D8CA 4280 1EC9 557F 66E8 1154 E018 1160 DCB3 ------------------------------------------------------- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php _______________________________________________ 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 chris at xecu.net Wed Nov 2 19:08:24 2005 From: chris at xecu.net (Christopher McGee) Date: Wed, 02 Nov 2005 13:08:24 -0500 Subject: Newbie problem: Notifications are not being sent out In-Reply-To: <200511011659530.SM02084@ford> References: <200511011659530.SM02084@ford> Message-ID: <43690098.6060103@xecu.net> I appreciate the link. I have nagios setup and have actually setup 1.x before(a long time ago). I have program wide notifications enabled. I have a single contact group and they are setup to receive notification 24x7, and all the notification types. All of the hosts and services are setup via templates. They have notifications enabled in the master templates. In the web interface, everything says notifications are enabled, however, when a host or service is down, the notifications don't get sent. On the interface for notifications, it says no notifications have been recorded in the current log file. As far as I can tell it isn't even trying to send them for some reason. In the status page for a down service I see this: Last Service Notification: N/A Current Notification Number: 0 I hope someone has seen this. Chris Edward Ford wrote: >See if this link helps you out. It is one that I have used in the past. >http://www.totkat.org/pages/nagios-conf.shtml > >Good Luck. >Eddie > >-----Original Message----- >From: nagios-users-admin at lists.sourceforge.net >[mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Christopher >McGee >Sent: Tuesday, November 01, 2005 4:54 PM >To: nagios-users at lists.sourceforge.net >Subject: [Nagios-users] RE: Newbie problem: Notifications are not being sent >out > >I am also seeing the issue where no notifications are being sent out >with the message "No notifications have been recorded in the current log >file" when I check the notifications link in the web interface. I am >running Nagios 2.0b4 on FreeBSD 5.4. > >Chris > > >------------------------------------------------------- >SF.Net email is sponsored by: >Tame your development challenges with Apache's Geronimo App Server. Download >it for free - -and be entered to win a 42" plasma tv or your very own >Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php >_______________________________________________ >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 > > > > > >------------------------------------------------------- >SF.Net email is sponsored by: >Tame your development challenges with Apache's Geronimo App Server. Download >it for free - -and be entered to win a 42" plasma tv or your very own >Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php >_______________________________________________ >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 > > ------------------------------------------------------- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php _______________________________________________ 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 yonienjcn at gmail.com Wed Nov 2 18:28:44 2005 From: yonienjcn at gmail.com (Tao Yaoning) Date: Wed, 2 Nov 2005 12:28:44 -0500 Subject: Sendpage doesn't work with nagios In-Reply-To: <20051102170023.GB22270@keroberos> References: <8ee7548c0511020815jd7baed7wdfe9aa30bebc78fb@mail.gmail.com> <8ee7548c0511020844p2f2bc564o15439a67c6b93294@mail.gmail.com> <20051102170023.GB22270@keroberos> Message-ID: <8ee7548c0511020928l1e5087b3nbb6e6618e1c73eef@mail.gmail.com> It works now. I just edit snpp.pl and add use strict; use var qw($cmd $arg $proto $port $pin); On 11/2/05, Russell Adams wrote: > Try changing your command to: > > /bin/sh -c /usr/bin/snpp.pl ... > > On Wed, Nov 02, 2005 at 11:44:55AM -0500, Tao Yaoning wrote: > > I get an error information from log file > > > > **ePN failed to compile /usr/bin/snpp: "Global symbol "$cmd" requires > > explicit package name at (eval 31) line 156, Global symbol "$arg" > > requires explicit package name at (eval 31) line 163. Global symbol > > "$cmd" requires explicit package name at (eval 31) line 165. Global > > symbol "$arg" requires e" at / usr/bin/p1.pl line 153. > > > > > > On 11/2/05, Tao Yaoning wrote: > > > Hi, all > > > > > > I configured nagios 2.0b4 to monitor my network. It works very fine. So > I > > > try to configure sendpage to send me pager information. > > > I installed sendpage on my nagios server, and I can use command to send > > > pager by manually. > > > /usr/bin/snpp -n -m "test information" testpager > > > and receive the message "test information" > > > > > > I defined testpager information on sendpage.cf , so > > > here > > > I just use character alias "testpager" to instead my really pager > number > > > > > > > > > So, I configure nagios contact information and set pager as > "testpager", > > > notify command is notify-by-sendpage > > > notifi-by-sendpage looks like > > > /usr/bin/snpp -n -m "$SERVICEOUTPUT$\n$LONGDATE$" $CONTACTPAGER$ > > > > > > I think when nagios notify me with sendpage should use command like > > > /usr/bin/snpp -n -m "whatever information" testpager > > > > > > But my nagios never send pager information out. I check the log files, > I > > > seems nagios never run the command? > > > the permission of /usr/bin/snpp is 755 > > > > > > Anybody can give me some ideas? > > > > > > > > > > > > -- > > looking for Network Adminstrator Position > > > > > > ------------------------------------------------------- > > SF.Net email is sponsored by: > > Tame your development challenges with Apache's Geronimo App Server. > Download > > it for free - -and be entered to win a 42" plasma tv or your very own > > Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php > > _______________________________________________ > > 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 > > > > > ------------------------------------------------------------------ > Russell Adams RLAdams at AdamsInfoServ.com > > PGP Key ID: 0x1160DCB3 http://www.adamsinfoserv.com/ > > Fingerprint: 1723 D8CA 4280 1EC9 557F 66E8 1154 E018 1160 DCB3 > > > ------------------------------------------------------- > SF.Net email is sponsored by: > Tame your development challenges with Apache's Geronimo App Server. > Download > it for free - -and be entered to win a 42" plasma tv or your very own > Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php > _______________________________________________ > 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 > -- looking for Network Adminstrator Position ------------------------------------------------------- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php _______________________________________________ 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 dmourati at cm.math.uiuc.edu Wed Nov 2 19:32:04 2005 From: dmourati at cm.math.uiuc.edu (Demetri Mouratis) Date: Wed, 2 Nov 2005 12:32:04 -0600 (CST) Subject: Want to monitor Oracle , without running scripts on the Oracle Server In-Reply-To: <2b36e660511020146m85d8a72t33ed61190aed2ed@mail.gmail.com> References: <20051102092105.57024.qmail@web34809.mail.mud.yahoo.com> <436889C4.3050309@op5.se> <2b36e660511020146m85d8a72t33ed61190aed2ed@mail.gmail.com> Message-ID: On Wed, 2 Nov 2005, Ben O'Hara wrote: > On 11/2/05, Andreas Ericsson wrote: >> John Joseph wrote: >>> Hi Andreas >>> Thanks for the mail >>> I will try to start writing the plugins , my idea >>> is to write SNMP plugins , so that I do not need to >>> install any thing on the Oracle Server other than SNMP >>> >>> Is it possible to monitor >>> Table Space >>> No of Data Base logs >>> Availablity of tnslsnr using SNMP , >> >> >> That depends on the capability of the snmp-daemon and the oracle server. >> I've never worked that closely with oracle so I don't know. If you get >> it working I'd be interested in having a look though. >> > > The contrib/check_oracle from nagios-plugins will monitor all of this > without requiring anything to be installed on the oracle server. > > Monitoring host must have oracle installed and access to sqlplus but > other than that it doesnt need to go on the oracle box. > > Ben Exactly. As far as I am concerned, SNMP is a roundabout way to go if you have a remote plugin like check_oracle. --------------------------------------------------------------------- Demetri Mouratis dmourati at linfactory.com ------------------------------------------------------- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php _______________________________________________ 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 mailinglists at backbonetechnology.com Wed Nov 2 21:16:12 2005 From: mailinglists at backbonetechnology.com (Dustin Krysak) Date: Wed, 2 Nov 2005 12:16:12 -0800 Subject: localhost definition and services defintion Message-ID: <095113B5-F2D0-4158-9E81-37538A32AA1E@backbonetechnology.com> Ok - I am working on a a new nagios install and learning as I go along..... but I was wondering... where are the localhost services, groups and so on defined? I was looking in my CFG files (IE services, etc) and there is no reference to them. Obviously they are defined somewhere since they show in the web interface. Thanks! d ------------------------------------------------------- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php _______________________________________________ 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 ktynagios at richard-group.com Wed Nov 2 21:31:43 2005 From: ktynagios at richard-group.com (Kurt Yoder) Date: Wed, 2 Nov 2005 15:31:43 -0500 Subject: prevent scheduler from scheduling concurrent i/o-intensive checks? In-Reply-To: <20050706191050.835DD1210E@sc8-sf-spam2.sourceforge.net> References: <20050706191050.835DD1210E@sc8-sf-spam2.sourceforge.net> Message-ID: <7D532FDE-41C2-4ACF-BF2B-889D00C318D5@richard-group.com> Hello I have 10 i/o-intensive checks that run on a single host. Since they all compete for limited disk bandwidth, I would like to be able to tell the scheduler not to run them concurrently. I don't want to disable concurrent checks everywhere, because most of the other checks don't have this problem. So is there any configuration option I can set to do this? Thanks -- Kurt Yoder ------------------------------------------------------- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php _______________________________________________ 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 ladams at cloudmark.com Wed Nov 2 21:48:33 2005 From: ladams at cloudmark.com (Lori Adams) Date: Wed, 2 Nov 2005 12:48:33 -0800 Subject: HTML -Emails with Acknowledge -Link? Message-ID: You could write a wrapper script that generates nice HTML emails for each type of alert. Instead of piping to /bin/mail (or whatever mta you're using), you could pipe information to a script, and then that script could email the alert. I added the url for the service check to all of our emails which takes the user to the "extinfo.cfg" page. Info:\n\n$OUTPUT$\n\nURL:\nhttp://mynagios.com/cgi-bin/extinfo.cgi?type=2&host=$HOSTNAME$&service=$SERVICEDESC$" Works like a charm. -Lori ________________________________ From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Thomas.Zimmer at oppenheim.de Sent: Monday, October 31, 2005 5:26 AM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] HTML -Emails with Acknowledge -Link? Hi list! Does anybody have a script or command definition for sending nice HTML -Emails? I?d like nagios to send nicer formated Emails with Links for acknowledging service-probs. I see two main requs.: First, the email should have different content for the different types of emails (warning/critical/acknowledge/etc...). Second, I?d have to login into the web-frontend, if a new browser is started (Apache-Auth). Any solutions or ideas would be very welcome! Greetz, Thomas. Thomas Zimmer Produktservice & Betrieb Betrieb & Support Sal. Oppenheim jr. & Cie., Frankfurt a. Main Internet: http://www.oppenheim.de E-Mail: thomas.zimmer at oppenheim.de <> -------------- next part -------------- An HTML attachment was scrubbed... URL: From eford at nexusenergy.com Wed Nov 2 21:57:38 2005 From: eford at nexusenergy.com (Edward Ford) Date: Wed, 2 Nov 2005 15:57:38 -0500 Subject: Newbie problem: Notifications are not being sent out In-Reply-To: <43690098.6060103@xecu.net> References: <43690098.6060103@xecu.net> Message-ID: <200511021558663.SM03852@ford> Did you setup the SMTP within the FreeBSD? -----Original Message----- From: Christopher McGee [mailto:chris at xecu.net] Sent: Wednesday, November 02, 2005 1:08 PM To: Edward Ford Cc: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] RE: Newbie problem: Notifications are not being sent out I appreciate the link. I have nagios setup and have actually setup 1.x before(a long time ago). I have program wide notifications enabled. I have a single contact group and they are setup to receive notification 24x7, and all the notification types. All of the hosts and services are setup via templates. They have notifications enabled in the master templates. In the web interface, everything says notifications are enabled, however, when a host or service is down, the notifications don't get sent. On the interface for notifications, it says no notifications have been recorded in the current log file. As far as I can tell it isn't even trying to send them for some reason. In the status page for a down service I see this: Last Service Notification: N/A Current Notification Number: 0 I hope someone has seen this. Chris Edward Ford wrote: >See if this link helps you out. It is one that I have used in the past. >http://www.totkat.org/pages/nagios-conf.shtml > >Good Luck. >Eddie > >-----Original Message----- >From: nagios-users-admin at lists.sourceforge.net >[mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Christopher >McGee >Sent: Tuesday, November 01, 2005 4:54 PM >To: nagios-users at lists.sourceforge.net >Subject: [Nagios-users] RE: Newbie problem: Notifications are not being sent >out > >I am also seeing the issue where no notifications are being sent out >with the message "No notifications have been recorded in the current log >file" when I check the notifications link in the web interface. I am >running Nagios 2.0b4 on FreeBSD 5.4. > >Chris > > >------------------------------------------------------- >SF.Net email is sponsored by: >Tame your development challenges with Apache's Geronimo App Server. Download >it for free - -and be entered to win a 42" plasma tv or your very own >Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php >_______________________________________________ >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 > > > > > >------------------------------------------------------- >SF.Net email is sponsored by: >Tame your development challenges with Apache's Geronimo App Server. Download >it for free - -and be entered to win a 42" plasma tv or your very own >Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php >_______________________________________________ >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 > > ------------------------------------------------------- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php _______________________________________________ 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 jeffwilliams05 at gmail.com Wed Nov 2 21:54:32 2005 From: jeffwilliams05 at gmail.com (Jeff Williams) Date: Wed, 2 Nov 2005 14:54:32 -0600 Subject: Acknowledging a page by phone Message-ID: <17e351010511021254i4fd1b57ds90433d66dcf05115@mail.gmail.com> Is anyone acknowledging pages from their phone that can lend some assistance? Currently we are using spatch/bb and are migrating to Nagios. Spatch sends out a unique id number for each page, so we can send an email to the Nagios box with the id number in a message by itself. With the help of a script we have written that checks the mailbox every so often, we can take that id number and acknowledge the page. Nagios doesn't seem to have unique ids for notifications. Are there any plugins or scripts available that can offer this functionality? Hope this makes sense... Jeff Williams ------------------------------------------------------- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php _______________________________________________ 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 nagios at jehster.net Wed Nov 2 22:14:13 2005 From: nagios at jehster.net (Roy Kidder) Date: Wed, 2 Nov 2005 16:14:13 -0500 (EST) Subject: Acknowledging a page by phone Message-ID: <34802.206.131.211.142.1130966053.squirrel@home.rkidder.com> This may be too much effort for what you're looking to accomplish, but you can build an IVR to assist with this. You can get a Digium X100P clone card (single inbound phone line capability) for as little as $10 on ebay and couple it together with Asterisk. http://www.asterisk.org/ I haven't done this myself, but I did look at Asterisk at one point. Setting it up to handle inbound phone calls and capture DTMF digits is all done through a scripting language. Jeff Williams wrote: > Is anyone acknowledging pages from their phone that can lend some assistance? Currently we are using spatch/bb and are migrating to Nagios. Spatch sends out a unique id number for each page, so we can send an email to the Nagios box with the id number in a message by itself. With the help of a script we have written that checks the mailbox every so often, we can take that id number and acknowledge the page. Nagios doesn't seem to have unique ids for notifications. Are there any plugins or scripts available that can offer this > functionality? Hope this makes sense... > > Jeff Williams > > > ------------------------------------------------------- > SF.Net email is sponsored by: > Tame your development challenges with Apache's Geronimo App Server. Download > it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php _______________________________________________ > 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 > > ------------------------------------------------------- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php _______________________________________________ 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 chris at xecu.net Wed Nov 2 22:30:03 2005 From: chris at xecu.net (Christopher McGee) Date: Wed, 02 Nov 2005 16:30:03 -0500 Subject: Newbie problem: Notifications are not being sent out In-Reply-To: <200511021558663.SM03852@ford> References: <200511021558663.SM03852@ford> Message-ID: <43692FDB.4010804@xecu.net> Problem solved. I made a stupid configuration mistake and had the contacts setup to receive all types of notifications, including n, or none. Therefore, no messages went out. Found the problem quickly with DEBUG4 enabled. Chris Edward Ford wrote: >Did you setup the SMTP within the FreeBSD? > > > >-----Original Message----- >From: Christopher McGee [mailto:chris at xecu.net] >Sent: Wednesday, November 02, 2005 1:08 PM >To: Edward Ford >Cc: nagios-users at lists.sourceforge.net >Subject: Re: [Nagios-users] RE: Newbie problem: Notifications are not being >sent out > >I appreciate the link. I have nagios setup and have actually setup 1.x >before(a long time ago). I have program wide notifications enabled. I >have a single contact group and they are setup to receive notification >24x7, and all the notification types. All of the hosts and services >are setup via templates. They have notifications enabled in the master >templates. In the web interface, everything says notifications are >enabled, however, when a host or service is down, the notifications >don't get sent. On the interface for notifications, it says no >notifications have been recorded in the current log file. As far as I >can tell it isn't even trying to send them for some reason. In the >status page for a down service I see this: > >Last Service Notification: N/A >Current Notification Number: 0 > >I hope someone has seen this. > >Chris > >Edward Ford wrote: > > > >>See if this link helps you out. It is one that I have used in the past. >>http://www.totkat.org/pages/nagios-conf.shtml >> >>Good Luck. >>Eddie >> >>-----Original Message----- >>From: nagios-users-admin at lists.sourceforge.net >>[mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Christopher >>McGee >>Sent: Tuesday, November 01, 2005 4:54 PM >>To: nagios-users at lists.sourceforge.net >>Subject: [Nagios-users] RE: Newbie problem: Notifications are not being >> >> >sent > > >>out >> >>I am also seeing the issue where no notifications are being sent out >>with the message "No notifications have been recorded in the current log >>file" when I check the notifications link in the web interface. I am >>running Nagios 2.0b4 on FreeBSD 5.4. >> >>Chris >> >> >>------------------------------------------------------- >>SF.Net email is sponsored by: >>Tame your development challenges with Apache's Geronimo App Server. >> >> >Download > > >>it for free - -and be entered to win a 42" plasma tv or your very own >>Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php >>_______________________________________________ >>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 >> >> >> >> >> >>------------------------------------------------------- >>SF.Net email is sponsored by: >>Tame your development challenges with Apache's Geronimo App Server. >> >> >Download > > >>it for free - -and be entered to win a 42" plasma tv or your very own >>Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php >>_______________________________________________ >>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 >> >> >> >> > > > > > > >------------------------------------------------------- >SF.Net email is sponsored by: >Tame your development challenges with Apache's Geronimo App Server. Download >it for free - -and be entered to win a 42" plasma tv or your very own >Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php >_______________________________________________ >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 > > ------------------------------------------------------- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php _______________________________________________ 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 barbereau at gmail.com Wed Nov 2 22:36:05 2005 From: barbereau at gmail.com (=?ISO-8859-1?Q?S=E9bastien_Barbereau?=) Date: Wed, 2 Nov 2005 22:36:05 +0100 Subject: Want to monitor Oracle , without running scripts on the Oracle Server In-Reply-To: References: <20051102092105.57024.qmail@web34809.mail.mud.yahoo.com> <436889C4.3050309@op5.se> <2b36e660511020146m85d8a72t33ed61190aed2ed@mail.gmail.com> Message-ID: <4e0e33ee0511021336p10b9f6ecr7ff89c11e0e6bf18@mail.gmail.com> As noted by dmourati there already are some plugins available and they also work with the "new" oracle instant client : http://www.oracle.com/technology/tech/oci/instantclient/instantclient.html (getting this to work can be tricky) ... On 11/2/05, Demetri Mouratis wrote: > > On Wed, 2 Nov 2005, Ben O'Hara wrote: > > > On 11/2/05, Andreas Ericsson wrote: > >> John Joseph wrote: > >>> Hi Andreas > >>> Thanks for the mail > >>> I will try to start writing the plugins , my idea > >>> is to write SNMP plugins , so that I do not need to > >>> install any thing on the Oracle Server other than SNMP > >>> > >>> Is it possible to monitor > >>> Table Space > >>> No of Data Base logs > >>> Availablity of tnslsnr using SNMP , > >> > >> > >> That depends on the capability of the snmp-daemon and the oracle > server. > >> I've never worked that closely with oracle so I don't know. If you get > >> it working I'd be interested in having a look though. > >> > > > > The contrib/check_oracle from nagios-plugins will monitor all of this > > without requiring anything to be installed on the oracle server. > > > > Monitoring host must have oracle installed and access to sqlplus but > > other than that it doesnt need to go on the oracle box. > > > > Ben > Exactly. As far as I am concerned, SNMP is a roundabout way to go if you > have a remote plugin like check_oracle. > --------------------------------------------------------------------- > Demetri Mouratis dmourati at linfactory.com > > > ------------------------------------------------------- > SF.Net email is sponsored by: > Tame your development challenges with Apache's Geronimo App Server. > Download > it for free - -and be entered to win a 42" plasma tv or your very own > Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php > _______________________________________________ > 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 > -------------- next part -------------- An HTML attachment was scrubbed... URL: From ladams at cloudmark.com Wed Nov 2 22:49:40 2005 From: ladams at cloudmark.com (Lori Adams) Date: Wed, 2 Nov 2005 13:49:40 -0800 Subject: Include all servers under one service, but only alert on several? Message-ID: Yes, I think so. Use templates to help ease your pain though. It really shouldn't be too bad. Create a template for your service check. And then when you create the service check for each group, change the notification_options to the ones you want. -Lori > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users- > admin at lists.sourceforge.net] On Behalf Of Pavleck, Jeremy D. > Sent: Tuesday, November 01, 2005 3:43 PM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Include all servers under one service, but only > alert on several? > > Afternoon, > Been poking through the documentation and I don't really see an easy > solution to this. I have several services that I monitor on all servers. > I'd like to be able to only alert on several of those servers, whilst > ignoring the rest. From all I've read, it doesn't seem like there's a > simple way to do this - I'll have to create the same service for each > group, then work on alerting based on that, correct? > > > > Jeremy D. Pavleck > Network Engineer > System Management > > > > ------------------------------------------------------- > SF.Net email is sponsored by: > Tame your development challenges with Apache's Geronimo App Server. > Download > it for free - -and be entered to win a 42" plasma tv or your very own > Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php > _______________________________________________ > 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 ------------------------------------------------------- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php _______________________________________________ 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 Wed Nov 2 22:52:43 2005 From: marc at ena.com (Marc Powell) Date: Wed, 2 Nov 2005 15:52:43 -0600 Subject: localhost definition and services defintion Message-ID: > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users- > admin at lists.sourceforge.net] On Behalf Of Dustin Krysak > Sent: Wednesday, November 02, 2005 2:16 PM > To: Nagios List > Subject: [Nagios-users] localhost definition and services defintion > > Ok - I am working on a a new nagios install and learning as I go > along..... but I was wondering... where are the localhost services, > groups and so on defined? I was looking in my CFG files (IE services, > etc) and there is no reference to them. Obviously they are defined > somewhere since they show in the web interface. Look in nagios.cfg for cfg_file references. They'll be defined in one or more of those files. -- Marc ------------------------------------------------------- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php _______________________________________________ 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 andrew at profitability.net Wed Nov 2 22:55:10 2005 From: andrew at profitability.net (Andrew Cruse) Date: Wed, 2 Nov 2005 16:55:10 -0500 Subject: Acknowledging a page by phone In-Reply-To: <17e351010511021254i4fd1b57ds90433d66dcf05115@mail.gmail.com> References: <17e351010511021254i4fd1b57ds90433d66dcf05115@mail.gmail.com> Message-ID: nagios-users-admin at lists.sourceforge.net wrote: > Is anyone acknowledging pages from their phone that can lend > some assistance? Currently we are using spatch/bb and are > migrating to Nagios. Spatch sends out a unique id number for > each page, so we can send an email to the Nagios box with the > id number in a message by itself. With the help of a script > we have written that checks the mailbox every so often, we > can take that id number and acknowledge the page. Nagios > doesn't seem to have unique ids for notifications. Are there > any plugins or scripts available that can offer this > functionality? Hope this makes sense... Nothing built-in, but I don't think it would terribly difficult to write your own notification script that includes a unique id for each notification and maintains a small database to correlate between ID's and the host/service that the notification is being sent for. Andrew ------------------------------------------------------- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php _______________________________________________ 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 Wed Nov 2 22:56:17 2005 From: marc at ena.com (Marc Powell) Date: Wed, 2 Nov 2005 15:56:17 -0600 Subject: prevent scheduler from scheduling concurrent i/o-intensive checks? Message-ID: > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users- > admin at lists.sourceforge.net] On Behalf Of Kurt Yoder > Sent: Wednesday, November 02, 2005 2:32 PM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] prevent scheduler from scheduling concurrent i/o- > intensive checks? > > Hello > > I have 10 i/o-intensive checks that run on a single host. Since they > all compete for limited disk bandwidth, I would like to be able to > tell the scheduler not to run them concurrently. I don't want to > disable concurrent checks everywhere, because most of the other > checks don't have this problem. > > So is there any configuration option I can set to do this? No, you have extremely limited control over the check scheduling (basically all or nothing). What you can do, however, is create a wrapper script that either runs them sequentially as one check or treat them as passive checks, running them outside of nagios on your schedule and submit the results back to nagios when they're done. -- Marc ------------------------------------------------------- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php _______________________________________________ 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 RLAdams at AdamsInfoServ.Com Wed Nov 2 23:40:21 2005 From: RLAdams at AdamsInfoServ.Com (Russell Adams) Date: Wed, 2 Nov 2005 16:40:21 -0600 Subject: Acknowledging a page by phone In-Reply-To: <34802.206.131.211.142.1130966053.squirrel@home.rkidder.com> References: <34802.206.131.211.142.1130966053.squirrel@home.rkidder.com> Message-ID: <20051102224021.GA24184@keroberos> With a simple voice mail capable modem, and a copy of VOCP, you could implement that. VOCP has support for voice mail type menu systems that can run command lines. Perhaps you could create a shell script and take input from VOCP? I'd like to know what your final solution is. Russell On Wed, Nov 02, 2005 at 04:14:13PM -0500, Roy Kidder wrote: > This may be too much effort for what you're looking to accomplish, but you > can build an IVR to assist with this. You can get a Digium X100P clone > card (single inbound phone line capability) for as little as $10 on ebay > and couple it together with Asterisk. > > http://www.asterisk.org/ > > I haven't done this myself, but I did look at Asterisk at one point. > Setting it up to handle inbound phone calls and capture DTMF digits is all > done through a scripting language. > > > Jeff Williams wrote: > > Is anyone acknowledging pages from their phone that can lend some > assistance? Currently we are using spatch/bb and are migrating to > Nagios. Spatch sends out a unique id number for each page, so we can > send an email to the Nagios box with the id number in a message by > itself. With the help of a script we have written that checks the > mailbox every so often, we can take that id number and acknowledge the > page. Nagios doesn't seem to have unique ids for notifications. Are > there any plugins or scripts available that can offer this > > functionality? Hope this makes sense... > > > > Jeff Williams > > > > > > ------------------------------------------------------- > > SF.Net email is sponsored by: > > Tame your development challenges with Apache's Geronimo App Server. > Download > > it for free - -and be entered to win a 42" plasma tv or your very own > Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php > _______________________________________________ > > 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 > > > > > > > > > > > ------------------------------------------------------- > SF.Net email is sponsored by: > Tame your development challenges with Apache's Geronimo App Server. Download > it for free - -and be entered to win a 42" plasma tv or your very own > Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php > _______________________________________________ > 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 > > ------------------------------------------------------------------ Russell Adams RLAdams at AdamsInfoServ.com PGP Key ID: 0x1160DCB3 http://www.adamsinfoserv.com/ Fingerprint: 1723 D8CA 4280 1EC9 557F 66E8 1154 E018 1160 DCB3 -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 189 bytes Desc: not available URL: From jeffwilliams05 at gmail.com Thu Nov 3 00:32:17 2005 From: jeffwilliams05 at gmail.com (Jeff Williams) Date: Wed, 2 Nov 2005 17:32:17 -0600 Subject: Acknowledging a page by phone In-Reply-To: <20051102224021.GA24184@keroberos> References: <34802.206.131.211.142.1130966053.squirrel@home.rkidder.com> <20051102224021.GA24184@keroberos> Message-ID: <17e351010511021532g22dde82fg4ba7a8be365f1b16@mail.gmail.com> On 11/2/05, Russell Adams wrote: > With a simple voice mail capable modem, and a copy of VOCP, you could > implement that. > > VOCP has support for voice mail type menu systems that can run command > lines. > > Perhaps you could create a shell script and take input from VOCP? > > I'd like to know what your final solution is. > > Russell > > On Wed, Nov 02, 2005 at 04:14:13PM -0500, Roy Kidder wrote: > > This may be too much effort for what you're looking to accomplish, but you > > can build an IVR to assist with this. You can get a Digium X100P clone > > card (single inbound phone line capability) for as little as $10 on ebay > > and couple it together with Asterisk. > > > > http://www.asterisk.org/ > > > > I haven't done this myself, but I did look at Asterisk at one point. > > Setting it up to handle inbound phone calls and capture DTMF digits is all > > done through a scripting language. > > > > > > Jeff Williams wrote: > > > Is anyone acknowledging pages from their phone that can lend some > > assistance? Currently we are using spatch/bb and are migrating to > > Nagios. Spatch sends out a unique id number for each page, so we can > > send an email to the Nagios box with the id number in a message by > > itself. With the help of a script we have written that checks the > > mailbox every so often, we can take that id number and acknowledge the > > page. Nagios doesn't seem to have unique ids for notifications. Are > > there any plugins or scripts available that can offer this > > > functionality? Hope this makes sense... > > > > > > Jeff Williams > > > > > > > > > ------------------------------------------------------- > > > SF.Net email is sponsored by: > > > Tame your development challenges with Apache's Geronimo App Server. > > Download > > > it for free - -and be entered to win a 42" plasma tv or your very own > > Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php > > _______________________________________________ > > > 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 > > > > > > > > > > > > > > > > > > > > ------------------------------------------------------- > > SF.Net email is sponsored by: > > Tame your development challenges with Apache's Geronimo App Server. Download > > it for free - -and be entered to win a 42" plasma tv or your very own > > Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php > > _______________________________________________ > > 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 > > > > > ------------------------------------------------------------------ > Russell Adams RLAdams at AdamsInfoServ.com > > PGP Key ID: 0x1160DCB3 http://www.adamsinfoserv.com/ > > Fingerprint: 1723 D8CA 4280 1EC9 557F 66E8 1154 E018 1160 DCB3 > > > It's sounding to me like piping the notifications to a script that generates a unique id and puts necessary info in a database is the best idea. That would probably be the easiest and least expensive way to achieve what I want to do. Another script can poll the mailbox and parse the id and then write to the command file with the corresponding hostname and service. Thanks for the suggestions. Jeff ------------------------------------------------------- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php _______________________________________________ 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 mark.limburg at gmail.com Thu Nov 3 03:56:10 2005 From: mark.limburg at gmail.com (Mark Limburg) Date: Thu, 3 Nov 2005 13:26:10 +1030 Subject: Question about check_logs.pl Message-ID: Howdy, Here's my question. I have a central nagios system talking to a freshly installed NRPE enabled server. I'm planning on using check_logs.pl to monitor a file for WARN, CRIT and ERROR. All good, and makes sense. Now, my question is about rolling the file over. Midnight comes around, and the file is changed to BLAH.DATE.LOG and BLAH.LOG is reset. How does the plugin handle this, considering the way it does its checking of previous instances of alerts? For example, say line 1, 3 and 5 have this alert activated .. and when the logfile is rotated, does the check realise such and re-establish the next and new line 1, 3 and 5 as new alerts? Mark -------------- next part -------------- An HTML attachment was scrubbed... URL: From david.r.musser at gmail.com Thu Nov 3 06:10:56 2005 From: david.r.musser at gmail.com (David Musser) Date: Thu, 3 Nov 2005 00:10:56 -0500 Subject: Running as a daemon or background process? In-Reply-To: References: Message-ID: Not sure if this helps... but here is the info from the status.log file. [1130994558] SERVICE;LogServer;Check Disk - /export/home;UNKNOWN;3/3;HARD;1130994426;1130995326;ACTIVE;1;1;1;1130950327;0;UNKNOWN;68530;1800;0;0;0;0;1;0;1;1;0;0.00;0;1;1;1;DISK OK - free space: /export/home 4108 MB (48%): [1130994558] SERVICE;LogServer;Check Disk - /u01;UNKNOWN;3/3;HARD;1130994306;1130995206;ACTIVE;1;1;1;1130948407;0;UNKNOWN;63866;4500;0;0;0;0;1;0;0;1;0;0.00;0;1;1;1;DISK OK - free space: /u01 7549 MB (89%): On 11/1/05, David Musser wrote: > I'm new to nagios. We have it setup on several servers, and all was working > nicely until a power outtage the other day on a server nagios is monitoring > with the plugins. > > So now I'm not sure if the new issue is relating to that or something else. > > Scenario. > > - Running nagios via the command line - everything is ok and works as > expected. > > - Running nagios via a background process & and using the nohup to keep > output gives status of unknown on several of the service checks for a > solaris server. > > - Running nagios via the nagios -d command or the init.d/nagios script > gives status of unknown on several of the service checks for a solaris > server. > > Note we are checking using ssh, talking to the plugins. Running the > check_by_ssh command by itself works, and returns the correct status. It's > only when the service is run as a service or background process that we see > the odd behavior. > > -D > > -- > David R. Musser > MCP & MCP +I > TEL: 540 974 3559 > Email: david.r.musser at gmail.com -- David R. Musser MCP & MCP +I TEL: 540 974 3559 Email: david.r.musser at gmail.com ------------------------------------------------------- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php _______________________________________________ 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 barbereau at gmail.com Thu Nov 3 11:27:04 2005 From: barbereau at gmail.com (=?ISO-8859-1?Q?S=E9bastien_Barbereau?=) Date: Thu, 3 Nov 2005 11:27:04 +0100 Subject: Simple AJAX in Nagios Message-ID: <4e0e33ee0511030227n13d4cd88g268a392d9c0fef7@mail.gmail.com> Hi, This are some tries to add some AJAX technology to Nagios. Sample1 & Sample2: This 2 samples are very similar. They provide a way to refresh the status pages only when some HARD status change occurs. To achieve this I modified the status.cgi so that it loads a simple javascript (nagiosajax.js) at startup and set a hidden var in the page. The javascript polls every 5 seconds a PHP script wich returns the last HARD change time. this value is compared to the one stored into the page and reloads the frame if they are different. => Sample1 is built on top of a nagios1.3 with mysql support. Therefor we use some SQL query to get the laststatechange. => Sample2 is built on top of a nagios2.0b4. We use a global event handler to "log" the last HARD state change. Files can be found here: http://www.barbich.net/websvn/wsvn/nagios/nagios/divers/ajaxify_nagios_cgi/sample1/ http://www.barbich.net/websvn/wsvn/nagios/nagios/divers/ajaxify_nagios_cgi/sample2/ Please this are only simple tests, they need imporvment and may not work in your case. Also, before trying this out please make backups. Seb.B -------------- next part -------------- An HTML attachment was scrubbed... URL: From sivan.deray at net-aptitude.fr Thu Nov 3 14:52:13 2005 From: sivan.deray at net-aptitude.fr (Sivan DERAY) Date: Thu, 3 Nov 2005 14:52:13 +0100 Subject: Stalking option + notification Message-ID: <4E13BD0442DACA4D9606CAD98924F09A50811F@srv-nap-atlas-1.net-aptitude.fr> Hi, I use check_log on a remote host and get the result on Nagios with the help of check_nrpe. Now, the point is that i'm using stalking option so to log even if the state didn't change but the content of the message did. Currently, after a 1st critical state --> i'm notified the objective : being notified even if the state didn't change but the content of the message did any idea ? regards _____ De : S?bastien Barbereau [mailto:barbereau at gmail.com] Envoy? : jeudi 3 novembre 2005 11:27 ? : nagios-users at lists.sourceforge.net Objet : [Nagios-users] Simple AJAX in Nagios Hi, This are some tries to add some AJAX technology to Nagios. Sample1 & Sample2: This 2 samples are very similar. They provide a way to refresh the status pages only when some HARD status change occurs. To achieve this I modified the status.cgi so that it loads a simple javascript (nagiosajax.js) at startup and set a hidden var in the page. The javascript polls every 5 seconds a PHP script wich returns the last HARD change time. this value is compared to the one stored into the page and reloads the frame if they are different. => Sample1 is built on top of a nagios1.3 with mysql support. Therefor we use some SQL query to get the laststatechange. => Sample2 is built on top of a nagios2.0b4. We use a global event handler to "log" the last HARD state change. Files can be found here: http://www.barbich.net/websvn/wsvn/nagios/nagios/divers/ajaxify_nagios_cgi/sample1/ http://www.barbich.net/websvn/wsvn/nagios/nagios/divers/ajaxify_nagios_cgi/sample2/ Please this are only simple tests, they need imporvment and may not work in your case. Also, before trying this out please make backups. Seb.B -------------- next part -------------- An HTML attachment was scrubbed... URL: From m.borsani at it.net Thu Nov 3 15:12:20 2005 From: m.borsani at it.net (Marco Borsani) Date: Thu, 3 Nov 2005 15:12:20 +0100 Subject: Websensor EM01B Message-ID: <012b01c5e080$9b052ad0$0900d40a@intranet.it.net> Hi all ! Does anybody use the Websensor EM01B ? How does it work ? What plugin have I to use to receive informations from it ? Please help me soon, I need to answer to many questions regarding this argument. Many many thanks. Marco Borsani Unix & Monitoring System Administrator Technical Operation Tel. +39 010 4310115 Fax +39 010 4327454 E-mail: m.borsani at IT.net ITnet S.r.l. - Direzione e Coordinamento di WIND Telecomunicazioni S.p.A. Internet Service Provider Sede legale: Via C.G.Viola, 48 - 00148 Roma Dir. Centrale e Amministrativa: Via Pacinotti, 39 16151 Genova (Italy) http://www.it.net mailto:info at IT.net _______________________________________________________________ Altre sedi ITnet: MILANO tel.: +39 02 30114900 info-milano at IT.net ROMA tel.: +39 06 83116707 info-roma at IT.net _______________________________________________________________ ITnet is associated to CIX (Commercial IP eXchange) and RIPE ITnet is associated to AIIP (Associazione Italiana Internet Providers) ------------------------------------------------------- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php _______________________________________________ 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 Joseph.Petrucci at ddiworld.com Thu Nov 3 15:39:40 2005 From: Joseph.Petrucci at ddiworld.com (Petrucci, Joseph) Date: Thu, 3 Nov 2005 09:39:40 -0500 Subject: Websensor EM01B Message-ID: Yes I use it. Yes it works fine. I wrote my own plugin that does a wget of the web page and parses it. >-----Original Message----- >From: nagios-users-admin at lists.sourceforge.net >[mailto:nagios-users-admin at lists.sourceforge.net]On Behalf Of Marco >Borsani >Sent: Thursday, November 03, 2005 9:12 AM >To: NAGIOS >Cc: Nagios Developper >Subject: [Nagios-users] Websensor EM01B >Importance: High > > >Hi all ! > >Does anybody use the Websensor EM01B ? >How does it work ? >What plugin have I to use to receive informations from it ? > >Please help me soon, I need to answer to many questions regarding this >argument. > >Many many thanks. > >Marco Borsani >Unix & Monitoring System Administrator >Technical Operation >Tel. +39 010 4310115 >Fax +39 010 4327454 >E-mail: m.borsani at IT.net > >ITnet S.r.l. - Direzione e Coordinamento di WIND >Telecomunicazioni S.p.A. >Internet Service Provider >Sede legale: Via C.G.Viola, 48 - 00148 Roma >Dir. Centrale e Amministrativa: Via Pacinotti, 39 > 16151 Genova (Italy) > >http://www.it.net >mailto:info at IT.net >_______________________________________________________________ >Altre sedi ITnet: >MILANO tel.: +39 02 30114900 info-milano at IT.net >ROMA tel.: +39 06 83116707 info-roma at IT.net >_______________________________________________________________ >ITnet is associated to CIX (Commercial IP eXchange) and RIPE >ITnet is associated to AIIP (Associazione Italiana Internet Providers) > > > > >------------------------------------------------------- >SF.Net email is sponsored by: >Tame your development challenges with Apache's Geronimo App >Server. Download >it for free - -and be entered to win a 42" plasma tv or your very own >Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php >_______________________________________________ >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 > > ------------------------------------------------------- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php _______________________________________________ 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 lukasz.szmit at ucd.ie Thu Nov 3 15:42:02 2005 From: lukasz.szmit at ucd.ie (Lukasz Szmit) Date: Thu, 03 Nov 2005 14:42:02 +0000 Subject: Apache 1.3 + Nagios CGI = failure Message-ID: <1131028923.1956.0.camel@localhost.localdomain> Hi, I'm trying to setup a second nagios test box and have encountered a problem with the CGI scripts. I have read all the CGI related FAQs I was able to find, but with no success. I'm trying to run Nagios 2.0.4b on Apache 1.3.33 under Debian Sarge. Nagios was compiled with --prefix=/usr/nagios, the rest was left with default settings. The Nagios service starts and works fine. I can access the web interface. I have disabled authentication for the moment, so there are no .htaccess files in any of the Nagios directories and cgi.cfg contains "use_authentication=0". Still, I can't access the CGI scripts and Apache is logging the follwing: [Thu Nov 3 14:13:26 2005] [error] (13)Permission denied: exec of /usr/nagios/sbin/tac.cgi failed [Thu Nov 3 14:13:26 2005] [error] [client x.y.z.a] malformed header from script. Bad header=Launching... /usr/lib/apache-s: /usr/nagios/sbin/tac.cgi Any ideas what might be wrong? httpd.conf has the following: DocumentRoot /var/www SSLEnable SSLCertificateFile /etc/apache-ssl/apache.pem ErrorLog /var/log/apache-ssl/ext_error.log CustomLog /var/log/apache-ssl/ext_access.log combined ScriptAlias /nagios/cgi-bin /usr/nagios/sbin AddHandler cgi-script .cgi Options ExecCGI AllowOverride AuthConfig Order allow,deny Allow from 127.0.0.1 Alias /nagios /usr/nagios/share Options None AllowOverride AuthConfig Order allow,deny Allow from 127.0.0.1 Permissions for /usr/nagios are set to: drwxrwxr-x 7 nagios nagios 4096 2005-11-03 13:38 . drwxrwxr-x 2 nagios nagios 4096 2005-11-03 13:37 bin drwxrwxr-x 2 nagios nagios 4096 2005-11-03 14:16 etc drwxrwxr-x 2 nagios nagios 4096 2005-11-03 14:16 sbin drwxrwxr-x 8 nagios nagios 4096 2005-11-03 13:37 share drwxrwxr-x 4 nagios nagios 4096 2005-11-03 14:20 var regards, -- Lukasz Szmit | University College Dublin http://www.ucd.ie/computing/aboutus.html ------------------------------------------------------- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php _______________________________________________ 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 allan.comar at gmail.com Thu Nov 3 16:01:41 2005 From: allan.comar at gmail.com (Allan Spagnol Comar) Date: Thu, 3 Nov 2005 12:01:41 -0300 Subject: How can I check traffic on a ethernet board ? Message-ID: <1cc2dc830511030701v4eb82db8k63708cb527f50c3b@mail.gmail.com> Hi all, I have an debian gateway with 2 realtech ethernet boards, how can I check the traffic in this boards ? Thanks, Allan -- An application asked: "Requeires Windows 9x, NT4 or better", so I?ve installed Linux ------------------------------------------------------- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php _______________________________________________ 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 msugano at uolinc.com Thu Nov 3 16:07:34 2005 From: msugano at uolinc.com (Marcel Mitsuto Fucatu Sugano) Date: Thu, 03 Nov 2005 13:07:34 -0200 Subject: Apache 1.3 + Nagios CGI = failure In-Reply-To: <1131028923.1956.0.camel@localhost.localdomain> References: <1131028923.1956.0.camel@localhost.localdomain> Message-ID: <1131030454.16471.9.camel@localhost> On Thu, 2005-11-03 at 14:42 +0000, Lukasz Szmit wrote: > [Thu Nov 3 14:13:26 2005] [error] (13)Permission denied: exec > of /usr/nagios/sbin/tac.cgi failed > [Thu Nov 3 14:13:26 2005] [error] [client x.y.z.a] malformed header > from script. Bad > header=Launching... /usr/lib/apache-s: /usr/nagios/sbin/tac.cgi Let me guess, apache runs as user nobody and group nobody? You should make the owner or group of the apache process access the CGIs. It is all documented, on configuring web-interface. cheers -- Marcel Mitsuto Fucatu Sugano Universo Online S.A. -- http://www.uol.com.br ------------------------------------------------------- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php _______________________________________________ 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 Thomas.Zimmer at oppenheim.de Thu Nov 3 16:33:41 2005 From: Thomas.Zimmer at oppenheim.de (Thomas.Zimmer at oppenheim.de) Date: Thu, 3 Nov 2005 16:33:41 +0100 Subject: AW: How can I check traffic on a ethernet board ? Message-ID: <9A834A8DCEC68648B20701E1CDE10925F8484F@OKWPMXS01.de.sal-opp.net> You should enable SNMP and try MRTG. There?s a plugin to grab the MRTG data, And by using "extendend informations" you could add a picture-link to the service shown on the web interface. Greetz, Thomas Zimmer Produktservice & Betrieb Betrieb & Support Sal. Oppenheim jr. & Cie., Frankfurt a. Main Internet: http://www.oppenheim.de E-Mail: thomas.zimmer at oppenheim.de -----Urspr?ngliche Nachricht----- Von: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] Im Auftrag von Allan Spagnol Comar Gesendet: Donnerstag, 3. November 2005 16:02 An: nagios-users at lists.sourceforge.net Betreff: [Nagios-users] How can I check traffic on a ethernet board ? Hi all, I have an debian gateway with 2 realtech ethernet boards, how can I check the traffic in this boards ? Thanks, Allan -- An application asked: "Requeires Windows 9x, NT4 or better", so I?ve installed Linux ------------------------------------------------------- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php _______________________________________________ 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 -------------- next part -------------- A non-text attachment was scrubbed... Name: Zimmer, Thomas (Produktservices und Betrieb).vcf Type: application/octet-stream Size: 254 bytes Desc: not available URL: From lukasz.szmit at ucd.ie Thu Nov 3 16:44:48 2005 From: lukasz.szmit at ucd.ie (Lukasz Szmit) Date: Thu, 03 Nov 2005 15:44:48 +0000 Subject: Apache 1.3 + Nagios CGI = failure In-Reply-To: <1131030454.16471.9.camel@localhost> References: <1131028923.1956.0.camel@localhost.localdomain> <1131030454.16471.9.camel@localhost> Message-ID: <1131032689.1956.32.camel@localhost.localdomain> On Thu, 2005-11-03 at 13:07 -0200, Marcel Mitsuto Fucatu Sugano wrote: > On Thu, 2005-11-03 at 14:42 +0000, Lukasz Szmit wrote: > > [Thu Nov 3 14:13:26 2005] [error] (13)Permission denied: exec > > of /usr/nagios/sbin/tac.cgi failed > > [Thu Nov 3 14:13:26 2005] [error] [client x.y.z.a] malformed header > > from script. Bad > > header=Launching... /usr/lib/apache-s: /usr/nagios/sbin/tac.cgi > > Let me guess, apache runs as user nobody and group nobody? > You should make the owner or group of the apache process access the > CGIs. It is all documented, on configuring web-interface. No, it isn't. Debian default is www-data (both user and group). Changing the group on /usr/nagios (recursively) to www-data doesn't make a difference - I still get exactly the same error. For some strange reason if I copy e.g. tac.cgi to the server default /cgi-bin directory (Debian default for that is /usr/lib/cgi-bin), which is owned by user:group root and has permissions set to 755 - Apache is a happy camper and runs the script. I have even double-checked if /usr is by any chance mounted with noexec, which it isn't. regards, -- Lukasz Szmit | University College Dublin Computing Services | +353-1-716-2651 http://www.ucd.ie/computing/aboutus.html ------------------------------------------------------- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php _______________________________________________ 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 ladams at cloudmark.com Thu Nov 3 18:15:37 2005 From: ladams at cloudmark.com (Lori Adams) Date: Thu, 3 Nov 2005 09:15:37 -0800 Subject: check_dns plugin error Message-ID: You'll probably want to give us your configs for both the service check that calls check_dns and the checkcommand config. Does your check_dns checkcommand config have $ARG1$? ie: define checkcommand { command_name check_dns command_line /your/check_dns $ARG1$ } HTH. -Lori > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users- > admin at lists.sourceforge.net] On Behalf Of Dustin Krysak > Sent: Monday, October 31, 2005 3:51 PM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] check_dns plugin error > > Hi there - I have been searching the list archives and have not found > a definitive answer.... > > I have a nagios server, and I have a host and service defined to > check our dns using the check_dns command. Now I need to pass it the > --hostname option since this DNS server would need to check a domain > it is authoritative for (recursive queries, etc). > > So in my service definition, I have > > check_command check_dns! --hostname=www.domain.com > > Did i get the formatting wrong? > > And as it stands now, the result is: > > "DNS CRITICAL - '/usr/bin/nslookup -sil' output parsing exited with > no address " > > Can anyone point me in the right direction? > > Thanks! > > Dustin > > > > > > ------------------------------------------------------- > This SF.Net email is sponsored by the JBoss Inc. > Get Certified Today * Register for a JBoss Training Course > Free Certification Exam for All Training Attendees Through End of 2005 > Visit http://www.jboss.com/services/certification for more information > _______________________________________________ > 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 ------------------------------------------------------- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php _______________________________________________ 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 Nir.Sinay at followap.com Thu Nov 3 18:55:56 2005 From: Nir.Sinay at followap.com (Nir Sinay) Date: Thu, 3 Nov 2005 19:55:56 +0200 Subject: Nagios-users digest, Vol 1 #2884 - 5 msgs Message-ID: <8E5AB0A04458904BB9B079055261033C012CAE52@mail.followap.com> Hello all, We have several clients that by SLA are allowed to access our nagios system. However with the current nagios setup they are able to issue Service command i.e disable service checks etc... Is there anyway to prevent this users form activating the commands? Basically create a read only user? We are using nagios 1.x Thanks, nir --------------------------------------------------------- Nir Sinay Regional Customer Support Manager Followap Telecommunication Office: +441756608866 Mobile: +447920017683 Mail: mailto:nir.sinay at followap.com -----Original Message----- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of nagios-users-request at lists.sourceforge.net Sent: Thursday, November 03, 2005 4:21 AM To: nagios-users at lists.sourceforge.net Subject: Nagios-users digest, Vol 1 #2884 - 5 msgs Send Nagios-users mailing list submissions to nagios-users at lists.sourceforge.net To subscribe or unsubscribe via the World Wide Web, visit https://lists.sourceforge.net/lists/listinfo/nagios-users or, via email, send a message with subject or body 'help' to nagios-users-request at lists.sourceforge.net You can reach the person managing the list at nagios-users-admin at lists.sourceforge.net When replying, please edit your Subject line so it is more specific than "Re: Contents of Nagios-users digest..." Today's Topics: 1. RE: Acknowledging a page by phone (Andrew Cruse) 2. RE: prevent scheduler from scheduling concurrent i/o-intensive checks? (Marc Powell) 3. Re: Acknowledging a page by phone (Russell Adams) 4. Re: Acknowledging a page by phone (Jeff Williams) 5. Question about check_logs.pl (Mark Limburg) --__--__-- Message: 1 From: "Andrew Cruse" To: "'Jeff Williams'" , Subject: RE: [Nagios-users] Acknowledging a page by phone Date: Wed, 2 Nov 2005 16:55:10 -0500 nagios-users-admin at lists.sourceforge.net wrote: > Is anyone acknowledging pages from their phone that can lend > some assistance? Currently we are using spatch/bb and are > migrating to Nagios. Spatch sends out a unique id number for > each page, so we can send an email to the Nagios box with the > id number in a message by itself. With the help of a script > we have written that checks the mailbox every so often, we > can take that id number and acknowledge the page. Nagios > doesn't seem to have unique ids for notifications. Are there > any plugins or scripts available that can offer this > functionality? Hope this makes sense... Nothing built-in, but I don't think it would terribly difficult to write your own notification script that includes a unique id for each notification and maintains a small database to correlate between ID's and the host/service that the notification is being sent for. Andrew --__--__-- Message: 2 Subject: RE: [Nagios-users] prevent scheduler from scheduling concurrent i/o-intensive checks? Date: Wed, 2 Nov 2005 15:56:17 -0600 From: "Marc Powell" To: > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users- > admin at lists.sourceforge.net] On Behalf Of Kurt Yoder > Sent: Wednesday, November 02, 2005 2:32 PM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] prevent scheduler from scheduling concurrent i/o- > intensive checks? >=20 > Hello >=20 > I have 10 i/o-intensive checks that run on a single host. Since they > all compete for limited disk bandwidth, I would like to be able to > tell the scheduler not to run them concurrently. I don't want to > disable concurrent checks everywhere, because most of the other > checks don't have this problem. >=20 > So is there any configuration option I can set to do this? No, you have extremely limited control over the check scheduling (basically all or nothing). What you can do, however, is create a wrapper script that either runs them sequentially as one check or treat them as passive checks, running them outside of nagios on your schedule and submit the results back to nagios when they're done. -- Marc=20 --__--__-- Message: 3 Date: Wed, 2 Nov 2005 16:40:21 -0600 From: Russell Adams To: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Acknowledging a page by phone --ReaqsoxgOBHFXBhH Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable With a simple voice mail capable modem, and a copy of VOCP, you could implement that. VOCP has support for voice mail type menu systems that can run command lines. Perhaps you could create a shell script and take input from VOCP? I'd like to know what your final solution is. Russell On Wed, Nov 02, 2005 at 04:14:13PM -0500, Roy Kidder wrote: > This may be too much effort for what you're looking to accomplish, but you > can build an IVR to assist with this. You can get a Digium X100P clone > card (single inbound phone line capability) for as little as $10 on ebay > and couple it together with Asterisk. >=20 > http://www.asterisk.org/ >=20 > I haven't done this myself, but I did look at Asterisk at one point. > Setting it up to handle inbound phone calls and capture DTMF digits is all > done through a scripting language. >=20 >=20 > Jeff Williams wrote: > > Is anyone acknowledging pages from their phone that can lend some > assistance? Currently we are using spatch/bb and are migrating to > Nagios. Spatch sends out a unique id number for each page, so we can > send an email to the Nagios box with the id number in a message by > itself. With the help of a script we have written that checks the > mailbox every so often, we can take that id number and acknowledge the > page. Nagios doesn't seem to have unique ids for notifications. Are > there any plugins or scripts available that can offer this > > functionality? Hope this makes sense... > > > > Jeff Williams > > > > > > ------------------------------------------------------- > > SF.Net email is sponsored by: > > Tame your development challenges with Apache's Geronimo App Server. > Download > > it for free - -and be entered to win a 42" plasma tv or your very own > Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php > _______________________________________________ > > 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 > > > > >=20 >=20 >=20 >=20 >=20 >=20 > ------------------------------------------------------- > SF.Net email is sponsored by: > Tame your development challenges with Apache's Geronimo App Server. Downl= oad > it for free - -and be entered to win a 42" plasma tv or your very own > Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php > _______________________________________________ > 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 report= ing any issue. > ::: Messages without supporting info will risk being sent to /dev/null >=20 >=20 ------------------------------------------------------------------ Russell Adams RLAdams at AdamsInfoServ.com PGP Key ID: 0x1160DCB3 http://www.adamsinfoserv.com/ Fingerprint: 1723 D8CA 4280 1EC9 557F 66E8 1154 E018 1160 DCB3 --ReaqsoxgOBHFXBhH Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (GNU/Linux) iD8DBQFDaUBVEVTgGBFg3LMRAo2HAJ4zzhhhEBA4kFAGYea5MZQkXKkG0QCguSgA zAPyzzmreT6+nM2FcfRlEyA= =+K3C -----END PGP SIGNATURE----- --ReaqsoxgOBHFXBhH-- --__--__-- Message: 4 Date: Wed, 2 Nov 2005 17:32:17 -0600 From: Jeff Williams To: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Acknowledging a page by phone On 11/2/05, Russell Adams wrote: > With a simple voice mail capable modem, and a copy of VOCP, you could > implement that. > > VOCP has support for voice mail type menu systems that can run command > lines. > > Perhaps you could create a shell script and take input from VOCP? > > I'd like to know what your final solution is. > > Russell > > On Wed, Nov 02, 2005 at 04:14:13PM -0500, Roy Kidder wrote: > > This may be too much effort for what you're looking to accomplish, but = you > > can build an IVR to assist with this. You can get a Digium X100P clone > > card (single inbound phone line capability) for as little as $10 on eba= y > > and couple it together with Asterisk. > > > > http://www.asterisk.org/ > > > > I haven't done this myself, but I did look at Asterisk at one point. > > Setting it up to handle inbound phone calls and capture DTMF digits is = all > > done through a scripting language. > > > > > > Jeff Williams wrote: > > > Is anyone acknowledging pages from their phone that can lend some > > assistance? Currently we are using spatch/bb and are migrating to > > Nagios. Spatch sends out a unique id number for each page, so we can > > send an email to the Nagios box with the id number in a message by > > itself. With the help of a script we have written that checks the > > mailbox every so often, we can take that id number and acknowledge the > > page. Nagios doesn't seem to have unique ids for notifications. Are > > there any plugins or scripts available that can offer this > > > functionality? Hope this makes sense... > > > > > > Jeff Williams > > > > > > > > > ------------------------------------------------------- > > > SF.Net email is sponsored by: > > > Tame your development challenges with Apache's Geronimo App Server. > > Download > > > it for free - -and be entered to win a 42" plasma tv or your very own > > Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php > > _______________________________________________ > > > 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/nul= l > > > > > > > > > > > > > > > > > > > > ------------------------------------------------------- > > SF.Net email is sponsored by: > > Tame your development challenges with Apache's Geronimo App Server. Dow= nload > > it for free - -and be entered to win a 42" plasma tv or your very own > > Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php > > _______________________________________________ > > 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 repo= rting any issue. > > ::: Messages without supporting info will risk being sent to /dev/null > > > > > ------------------------------------------------------------------ > Russell Adams RLAdams at AdamsInfoServ.com > > PGP Key ID: 0x1160DCB3 http://www.adamsinfoserv.com/ > > Fingerprint: 1723 D8CA 4280 1EC9 557F 66E8 1154 E018 1160 DCB3 > > > It's sounding to me like piping the notifications to a script that generates a unique id and puts necessary info in a database is the best idea. That would probably be the easiest and least expensive way to achieve what I want to do. Another script can poll the mailbox and parse the id and then write to the command file with the corresponding hostname and service. Thanks for the suggestions. Jeff --__--__-- Message: 5 Date: Thu, 3 Nov 2005 13:26:10 +1030 From: Mark Limburg To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Question about check_logs.pl ------=_Part_4378_22143580.1130986570644 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Howdy, Here's my question. I have a central nagios system talking to a freshly installed NRPE enabled server. I'm planning on using check_logs.pl to monitor a file for WARN, CRIT and ERROR. All good, and makes sense. Now, my question is about rolling the file over. Midnight comes around, and the file is changed to BLAH.DATE.LOG and BLAH.LOG is reset. How does the plugin handle this, considering the way it does its checking of previous instances of alerts? For example, say line 1, 3 and 5 have this alert activated .. and when the logfile is rotated, does the check realise such and re-establish the next and new line 1, 3 and 5 as new alerts? Mark ------=_Part_4378_22143580.1130986570644 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Howdy,

Here's my question.  I have a central nagios system talk= ing to a freshly installed NRPE enabled server.  I'm planning on using= check_logs.pl to monitor a file for WARN, CRIT and ERROR.  All good, = and makes sense.

Now, my question is about rolling the file over.  Midnight com= es around, and the file is changed to BLAH.DATE.LOG and BLAH.LOG is reset.&= nbsp; How does the plugin handle this, considering the way it does its chec= king of previous instances of alerts?  For example, say line 1, 3 and = 5 have this alert activated .. and when the logfile is rotated, does the ch= eck realise such and re-establish the next and new line 1, 3 and 5 as new a= lerts?

Mark
------=_Part_4378_22143580.1130986570644-- --__--__-- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users End of Nagios-users Digest ------------------------------------------------------- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php _______________________________________________ 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 rossz at vamos-wentworth.org Thu Nov 3 19:37:36 2005 From: rossz at vamos-wentworth.org (Ross Wentworth) Date: Thu, 03 Nov 2005 10:37:36 -0800 Subject: host logos Message-ID: <436A58F0.40807@vamos-wentworth.org> I've taken over the management of a rather large nagios 1.2 monitoring system and can't seem to get it to display logos for the hosts. Everything shows the ? logo. I tried creating a hostextinfo.cfg file and referencing it with both 'xodtemplate_config_file' and 'xedtemplate_config_file'. Neither worked. Then I tried using 'hostextinfo[hostname]=' in cgi.cfg, but that failed, too. Is it possible the cgi programs are using some cached configuration data? This setup is not using sql. -- Rossz ------------------------------------------------------- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php _______________________________________________ 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 mailinglists at backbonetechnology.com Thu Nov 3 20:08:27 2005 From: mailinglists at backbonetechnology.com (lists) Date: Thu, 3 Nov 2005 11:08:27 -0800 Subject: check_dns plugin error In-Reply-To: References: Message-ID: <20051103190517.M42544@backbonetechnology.com> Here is the info from my chekcommand config: define command{ command_name check_dns_bbt command_line $USER1$/check_dns -H domaintoquery.com -s $HOSTADDRESS$ } And here is hte info from my services config: define service{ host_name ns2_backbone service_description DNS is_volatile 0 check_period 24x7 max_check_attempts 3 normal_check_interval 5 retry_check_interval 1 contact_groups backbone-admins notification_interval 120 notification_period 24x7 notification_options w,u,c,r check_command check_dns_bbt } Ideas? :::::::::::::::::::::: Dustin :::::::::::::::::::::: ---------- Original Message ----------- From: "Lori Adams" To: "Dustin Krysak" , Sent: Thu, 3 Nov 2005 09:15:37 -0800 Subject: RE: [Nagios-users] check_dns plugin error > You'll probably want to give us your configs for both the service check > that calls check_dns and the checkcommand config. > > Does your check_dns checkcommand config have $ARG1$? > ie: > define checkcommand { > command_name check_dns > command_line /your/check_dns $ARG1$ > } > > HTH. > > -Lori > > > -----Original Message----- > > From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users- > > admin at lists.sourceforge.net] On Behalf Of Dustin Krysak > > Sent: Monday, October 31, 2005 3:51 PM > > To: nagios-users at lists.sourceforge.net > > Subject: [Nagios-users] check_dns plugin error > > > > Hi there - I have been searching the list archives and have not found > > a definitive answer.... > > > > I have a nagios server, and I have a host and service defined to > > check our dns using the check_dns command. Now I need to pass it the > > --hostname option since this DNS server would need to check a domain > > it is authoritative for (recursive queries, etc). > > > > So in my service definition, I have > > > > check_command check_dns! --hostname=www.domain.com > > > > Did i get the formatting wrong? > > > > And as it stands now, the result is: > > > > "DNS CRITICAL - '/usr/bin/nslookup -sil' output parsing exited with > > no address " > > > > Can anyone point me in the right direction? > > > > Thanks! > > > > Dustin > > > > > > > > > > > > ------------------------------------------------------- > > This SF.Net email is sponsored by the JBoss Inc. > > Get Certified Today * Register for a JBoss Training Course > > Free Certification Exam for All Training Attendees Through End of 2005 > > Visit http://www.jboss.com/services/certification for more information > > _______________________________________________ > > 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 > > ------------------------------------------------------- > SF.Net email is sponsored by: > Tame your development challenges with Apache's Geronimo App Server. Download > it for free - -and be entered to win a 42" plasma tv or your very own > Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php > _______________________________________________ > 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 ------- End of Original Message ------- ------------------------------------------------------- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php _______________________________________________ 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 msugano at uolinc.com Thu Nov 3 20:49:21 2005 From: msugano at uolinc.com (Marcel Mitsuto Fucatu Sugano) Date: Thu, 03 Nov 2005 17:49:21 -0200 Subject: host logos In-Reply-To: <436A58F0.40807@vamos-wentworth.org> References: <436A58F0.40807@vamos-wentworth.org> Message-ID: <1131047361.16470.17.camel@localhost> On Thu, 2005-11-03 at 10:37 -0800, Ross Wentworth wrote: > I've taken over the management of a rather large nagios 1.2 monitoring > system and can't seem to get it to display logos for the hosts. > Everything shows the ? logo. It is explained on defining a host extended info. http://nagios.sourceforge.net/docs/2_0/xodtemplate.html#hostextinfo > > I tried creating a hostextinfo.cfg file and referencing it with both > 'xodtemplate_config_file' and 'xedtemplate_config_file'. Neither > worked. Then I tried using 'hostextinfo[hostname]=' in cgi.cfg, but > that failed, too. You need the Operating System's logo, and to define for each host, the logo for it. >From that link: "icon_image: This variable is used to define the name of a GIF, PNG, or JPG image that should be associated with this host. This image will be displayed in the status and extended information CGIs. The image will look best if it is 40x40 pixels in size. Images for hosts are assumed to be in the logos/ subdirectory in your HTML images directory (i.e. /usr/local/nagios/share/images/logos). icon_image_alt: This variable is used to define an optional string that is used in the ALT tag of the image specified by the argument. The ALT tag is used in the status, extended information and statusmap CGIs." It's always on the docs: www.nagios.org/docs HTH, -- Marcel Mitsuto Fucatu Sugano Universo Online S.A. -- http://www.uol.com.br ------------------------------------------------------- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php _______________________________________________ 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 ae at op5.se Thu Nov 3 21:42:18 2005 From: ae at op5.se (Andreas Ericsson) Date: Thu, 03 Nov 2005 21:42:18 +0100 Subject: Apache 1.3 + Nagios CGI = failure In-Reply-To: <1131032689.1956.32.camel@localhost.localdomain> References: <1131028923.1956.0.camel@localhost.localdomain> <1131030454.16471.9.camel@localhost> <1131032689.1956.32.camel@localhost.localdomain> Message-ID: <436A762A.6030905@op5.se> Lukasz Szmit wrote: > On Thu, 2005-11-03 at 13:07 -0200, Marcel Mitsuto Fucatu Sugano wrote: > >>On Thu, 2005-11-03 at 14:42 +0000, Lukasz Szmit wrote: >> >>>[Thu Nov 3 14:13:26 2005] [error] (13)Permission denied: exec >>>of /usr/nagios/sbin/tac.cgi failed >>>[Thu Nov 3 14:13:26 2005] [error] [client x.y.z.a] malformed header >>>from script. Bad >>>header=Launching... /usr/lib/apache-s: /usr/nagios/sbin/tac.cgi >> >>Let me guess, apache runs as user nobody and group nobody? >>You should make the owner or group of the apache process access the >>CGIs. It is all documented, on configuring web-interface. > > > No, it isn't. Debian default is www-data (both user and group). > Changing the group on /usr/nagios (recursively) to www-data doesn't make > a difference - I still get exactly the same error. > For some strange reason if I copy e.g. tac.cgi to the server > default /cgi-bin directory (Debian default for that > is /usr/lib/cgi-bin), which is owned by user:group root and has > permissions set to 755 - Apache is a happy camper and runs the script. > > I have even double-checked if /usr is by any chance mounted with noexec, > which it isn't. > It's SELinux related. Browse the archives. The correct solution has been given many times. -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Tel: +46 8-230225 Fax: +46 8-230231 ------------------------------------------------------- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php _______________________________________________ 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 todd_barbera at wgbh.org Thu Nov 3 23:23:46 2005 From: todd_barbera at wgbh.org (Todd Barbera) Date: Thu, 03 Nov 2005 17:23:46 -0500 Subject: Solaris 10 x86 - SSL Handshake Message-ID: <006001c5e0c5$41901d30$620a010a@GRAPEAPE> Okay, I know this has been covered over and over again, but I seem to have hit a new twist. I'm using Nagios 2.03b with check_nrpe 2.0 running on a sparc Solaris 9 server. I installed nrpe 2.0 on a Solaris 10 x86 server with the 1.4.1 plugins. When I hit nrpe with check_nrpe from my Nagios server, I see the following error: Error: Could not complete SSL handshake. 1 I've seen the 'could not complete..' error before, but never followed by a "1". I've read the FAQ's and searched the mail list archives, but I haven't seen this variation listed. It doesn't matter if I run nrpe as a daemon or as an inetd service, the error is consistent. I did compile with SSL support, as I have with all of my nrpe installs. On my x86 server, I'm using OpenSSL 0.9.7d. Any ideas as to what the "1" implies? Thanks. Todd Barbera Systems Administrator WGBH Educational Foundation 617 300-3443 WGBH Boston informs, inspires, and entertains millions through public broadcasting, the Web, and educational multimedia, and access services for people with disabilities. ------------------------------------------------------- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php _______________________________________________ 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 Ludwig.Pummer at Copart.Com Thu Nov 3 23:38:29 2005 From: Ludwig.Pummer at Copart.Com (Ludwig Pummer) Date: Thu, 3 Nov 2005 14:38:29 -0800 Subject: Solaris 10 x86 - SSL Handshake Message-ID: -----Original Message----- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Todd Barbera Okay, I know this has been covered over and over again, but I seem to have hit a new twist. I'm using Nagios 2.03b with check_nrpe 2.0 running on a sparc Solaris 9 server. I installed nrpe 2.0 on a Solaris 10 x86 server with the 1.4.1 plugins. When I hit nrpe with check_nrpe from my Nagios server, I see the following error: Error: Could not complete SSL handshake. 1 I've seen the 'could not complete..' error before, but never followed by a "1". I've read the FAQ's and searched the mail list archives, but I haven't seen this variation listed. It doesn't matter if I run nrpe as a daemon or as an inetd service, the error is consistent. I did compile with SSL support, as I have with all of my nrpe installs. On my x86 server, I'm using OpenSSL 0.9.7d. Any ideas as to what the "1" implies? Thanks. Todd Barbera ------------------------------------------------------- Try running connecting to nrpe with check_nrpe, both running on the Solaris 10 box. If you still get an SSL handshake error, you ran into the same issue I had: the OpenSSL included in Solaris 10 just doesn't work with NRPE. I compiled SSL from source and linked nrpe against it, and it worked fine. --Ludwig Pummer ------------------------------------------------------- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php _______________________________________________ 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 mark.limburg at gmail.com Thu Nov 3 23:48:05 2005 From: mark.limburg at gmail.com (Mark Limburg) Date: Fri, 4 Nov 2005 09:18:05 +1030 Subject: Solaris 10 x86 - SSL Handshake In-Reply-To: References: Message-ID: Aye, I've seen the same. I ended up compiling both without SSL and it worked, so I went back to looking at the libraries. Recompile, and linked, and it worked. -------------- next part -------------- An HTML attachment was scrubbed... URL: From todd_barbera at wgbh.org Thu Nov 3 23:50:12 2005 From: todd_barbera at wgbh.org (Todd Barbera) Date: Thu, 03 Nov 2005 17:50:12 -0500 Subject: Solaris 10 x86 - SSL Handshake In-Reply-To: References: Message-ID: <006801c5e0c8$f321d950$620a010a@GRAPEAPE> Hi Ludwig, This is a compiled version and not the Solaris 10 version. What version of OpenSSL did you use? Todd -----Original Message----- From: Ludwig Pummer [mailto:Ludwig.Pummer at Copart.Com] Sent: Thursday, November 03, 2005 5:38 PM To: Todd Barbera; nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] Solaris 10 x86 - SSL Handshake -----Original Message----- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Todd Barbera Okay, I know this has been covered over and over again, but I seem to have hit a new twist. I'm using Nagios 2.03b with check_nrpe 2.0 running on a sparc Solaris 9 server. I installed nrpe 2.0 on a Solaris 10 x86 server with the 1.4.1 plugins. When I hit nrpe with check_nrpe from my Nagios server, I see the following error: Error: Could not complete SSL handshake. 1 I've seen the 'could not complete..' error before, but never followed by a "1". I've read the FAQ's and searched the mail list archives, but I haven't seen this variation listed. It doesn't matter if I run nrpe as a daemon or as an inetd service, the error is consistent. I did compile with SSL support, as I have with all of my nrpe installs. On my x86 server, I'm using OpenSSL 0.9.7d. Any ideas as to what the "1" implies? Thanks. Todd Barbera ------------------------------------------------------- Try running connecting to nrpe with check_nrpe, both running on the Solaris 10 box. If you still get an SSL handshake error, you ran into the same issue I had: the OpenSSL included in Solaris 10 just doesn't work with NRPE. I compiled SSL from source and linked nrpe against it, and it worked fine. --Ludwig Pummer ------------------------------------------------------- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php _______________________________________________ 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 Ludwig.Pummer at Copart.Com Thu Nov 3 23:52:50 2005 From: Ludwig.Pummer at Copart.Com (Ludwig Pummer) Date: Thu, 3 Nov 2005 14:52:50 -0800 Subject: Solaris 10 x86 - SSL Handshake Message-ID: OpenSSL 0.9.8 05 Jul 2005. What happens when you connect to nrpe running on Solaris 10 from check_nrpe running on the same box? --Ludwig -----Original Message----- From: Todd Barbera [mailto:todd_barbera at wgbh.org] Sent: Thursday, November 03, 2005 2:50 PM To: Ludwig Pummer; nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] Solaris 10 x86 - SSL Handshake Hi Ludwig, This is a compiled version and not the Solaris 10 version. What version of OpenSSL did you use? Todd ------------------------------------------------------- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php _______________________________________________ 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 todd_barbera at wgbh.org Thu Nov 3 23:53:45 2005 From: todd_barbera at wgbh.org (Todd Barbera) Date: Thu, 03 Nov 2005 17:53:45 -0500 Subject: Solaris 10 x86 - SSL Handshake In-Reply-To: References: Message-ID: <006d01c5e0c9$71dc52c0$620a010a@GRAPEAPE> Hi Mark, Which libraries? OpenSSL? When I compiled, I used -with-ssl-lib=/usr/local/ssl/lib. I've tried compiling with OpenSSL 0.9.7d and 0.9.8. No luck on either. Could you elaborate a bit more? Thanks. Todd -----Original Message----- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Mark Limburg Sent: Thursday, November 03, 2005 5:48 PM To: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Solaris 10 x86 - SSL Handshake Aye, I've seen the same. I ended up compiling both without SSL and it worked, so I went back to looking at the libraries. Recompile, and linked, and it worked. -------------- next part -------------- An HTML attachment was scrubbed... URL: From mark.limburg at gmail.com Thu Nov 3 23:54:19 2005 From: mark.limburg at gmail.com (Mark Limburg) Date: Fri, 4 Nov 2005 09:24:19 +1030 Subject: Solaris 10 x86 - SSL Handshake In-Reply-To: <006801c5e0c8$f321d950$620a010a@GRAPEAPE> References: <006801c5e0c8$f321d950$620a010a@GRAPEAPE> Message-ID: I use sunfreeware.com sources where ever possible. -------------- next part -------------- An HTML attachment was scrubbed... URL: From todd_barbera at wgbh.org Fri Nov 4 00:00:04 2005 From: todd_barbera at wgbh.org (Todd Barbera) Date: Thu, 03 Nov 2005 18:00:04 -0500 Subject: Solaris 10 x86 - SSL Handshake In-Reply-To: References: Message-ID: <007601c5e0ca$54029c40$620a010a@GRAPEAPE> Error: Could not complete SSL handshake. 5 Todd -----Original Message----- From: Ludwig Pummer [mailto:Ludwig.Pummer at Copart.Com] Sent: Thursday, November 03, 2005 5:53 PM To: Todd Barbera; nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] Solaris 10 x86 - SSL Handshake OpenSSL 0.9.8 05 Jul 2005. What happens when you connect to nrpe running on Solaris 10 from check_nrpe running on the same box? --Ludwig -----Original Message----- From: Todd Barbera [mailto:todd_barbera at wgbh.org] Sent: Thursday, November 03, 2005 2:50 PM To: Ludwig Pummer; nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] Solaris 10 x86 - SSL Handshake Hi Ludwig, This is a compiled version and not the Solaris 10 version. What version of OpenSSL did you use? Todd ------------------------------------------------------- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php _______________________________________________ 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 Ludwig.Pummer at Copart.Com Thu Nov 3 23:59:56 2005 From: Ludwig.Pummer at Copart.Com (Ludwig Pummer) Date: Thu, 3 Nov 2005 14:59:56 -0800 Subject: Solaris 10 x86 - SSL Handshake Message-ID: Did you run ldd on the final nrpe/check_nrpe binaries to verify they were in fact linked to the right libraries? The configure script's usage of the --with-ssl-lib and --with-ssl-inc options are a little unusual. I used runtime link paths so my configure line was something like: LDFLAGS="-Wl,-R/usr/local/ssl/lib" ./configure --with-ssl-lib=/usr/local/ssl/lib --with-ssl-inc=/usr/local/ssl ________________________________ From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Todd Barbera Sent: Thursday, November 03, 2005 2:54 PM To: nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] Solaris 10 x86 - SSL Handshake Hi Mark, Which libraries? OpenSSL? When I compiled, I used -with-ssl-lib=/usr/local/ssl/lib. I've tried compiling with OpenSSL 0.9.7d and 0.9.8. No luck on either. Could you elaborate a bit more? Thanks. Todd -----Original Message----- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Mark Limburg Sent: Thursday, November 03, 2005 5:48 PM To: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Solaris 10 x86 - SSL Handshake Aye, I've seen the same. I ended up compiling both without SSL and it worked, so I went back to looking at the libraries. Recompile, and linked, and it worked. -------------- next part -------------- An HTML attachment was scrubbed... URL: From mark.limburg at gmail.com Fri Nov 4 00:07:05 2005 From: mark.limburg at gmail.com (Mark Limburg) Date: Fri, 4 Nov 2005 09:37:05 +1030 Subject: Solaris 10 x86 - SSL Handshake In-Reply-To: References: Message-ID: I'd follow what Ludwig said, as thats pretty much what I ended up doing. -------------- next part -------------- An HTML attachment was scrubbed... URL: From todd_barbera at wgbh.org Fri Nov 4 00:16:59 2005 From: todd_barbera at wgbh.org (Todd Barbera) Date: Thu, 03 Nov 2005 18:16:59 -0500 Subject: Solaris 10 x86 - SSL Handshake In-Reply-To: References: Message-ID: <007d01c5e0cc$b10d0d60$620a010a@GRAPEAPE> Interestingly enough, the libraries are from /usr/sfw/lib and not /usr/local/ssl/lib. I tried changing my crle patch to have /usr/local/ssl/lib ahead of /usr/sfw/lib and then recompiled but it still pulled in the /usr/sfw/lib libraries! I set the LDFLAGS, recompile, and it works! Thanks! Todd -----Original Message----- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Ludwig Pummer Sent: Thursday, November 03, 2005 6:00 PM To: Todd Barbera; nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] Solaris 10 x86 - SSL Handshake Did you run ldd on the final nrpe/check_nrpe binaries to verify they were in fact linked to the right libraries? The configure script's usage of the --with-ssl-lib and --with-ssl-inc options are a little unusual. I used runtime link paths so my configure line was something like: LDFLAGS="-Wl,-R/usr/local/ssl/lib" ./configure --with-ssl-lib=/usr/local/ssl/lib --with-ssl-inc=/usr/local/ssl _____ From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Todd Barbera Sent: Thursday, November 03, 2005 2:54 PM To: nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] Solaris 10 x86 - SSL Handshake Hi Mark, Which libraries? OpenSSL? When I compiled, I used -with-ssl-lib=/usr/local/ssl/lib. I've tried compiling with OpenSSL 0.9.7d and 0.9.8. No luck on either. Could you elaborate a bit more? Thanks. Todd -----Original Message----- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Mark Limburg Sent: Thursday, November 03, 2005 5:48 PM To: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Solaris 10 x86 - SSL Handshake Aye, I've seen the same. I ended up compiling both without SSL and it worked, so I went back to looking at the libraries. Recompile, and linked, and it worked. -------------- next part -------------- An HTML attachment was scrubbed... URL: From richard.gliebe at fhv.at Fri Nov 4 08:28:50 2005 From: richard.gliebe at fhv.at (Richard Gliebe) Date: Fri, 04 Nov 2005 08:28:50 +0100 Subject: Populate scheduled Downtimes Message-ID: <1131089330.966.15.camel@glr-nb.dh.uclv.net> Hi, we want to populate the scheduled downtimes on your on our official homepage. Is there an existing script available, which greps out the existing entried from the file "downtime.dat" ? Our idea is, to parse these informations via rss-channel in our official homepage. Thanks in advance Richard ------------------------------------------------------- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php _______________________________________________ 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 anxoasi at yahoo.es Fri Nov 4 09:05:54 2005 From: anxoasi at yahoo.es (Anxo) Date: Fri, 4 Nov 2005 09:05:54 +0100 (CET) Subject: Trying show in nagios traps Message-ID: <20051104080554.77663.qmail@web53111.mail.yahoo.com> Hi, i?m trying show in nagios traps received from a router to nagios computer. I have installed net-snmp and snmptt and i can receive traps in my snmptt.log. How can i show it in nagios??? thanks for all Anxo ______________________________________________ Renovamos el Correo Yahoo! Nuevos servicios, m?s seguridad http://correo.yahoo.es ------------------------------------------------------- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php _______________________________________________ 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 anxoasi at yahoo.es Fri Nov 4 09:19:41 2005 From: anxoasi at yahoo.es (Anxo) Date: Fri, 4 Nov 2005 09:19:41 +0100 (CET) Subject: draw perfdata Message-ID: <20051104081941.80101.qmail@web53111.mail.yahoo.com> Hi, i?m trying to draw host-perfdata and service-perfdata. In my nagios log i?ve got two files, host-perfdata and service-perfdata, but i must draw the information on them. Anybody know how can i draw this information without use rddtools or any database only with those two files. thanks Anxo ______________________________________________ Renovamos el Correo Yahoo! Nuevos servicios, m?s seguridad http://correo.yahoo.es ------------------------------------------------------- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php _______________________________________________ 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 patrick at dreamtech.gr Fri Nov 4 10:18:55 2005 From: patrick at dreamtech.gr (Patrick De Muynck) Date: Fri, 4 Nov 2005 11:18:55 +0200 Subject: Histogram report problem Message-ID: <09D6C51729AB36478F3C76FA6BE55FFB78602E@matrix.dreamtech.gr> Miika, I second to your conclusion that there is a problem with the Alert Histogram CGI. It seems that the Alert Histogram CGI is calculating its histogram based on the alarms from a time period which is NOT EXACTLY the same time period that you configure. Example: today (Nov 4), when I run an Alert Histogram for the month of October, I get to see the 6 alarms on the second and third day of the month. There were no alarms on October 2nd or 3rd however. Instead, the six alarms were generated on the 2nd and 3rd day of *November* ! So there must be something wrong with how the Alert Histogram CGI extracts the daily logs from the logfiles (i.e., I believe this does not correspond exactly to the configured timeperiod). Any further clues anybody? My version: SuSE 9.0 (Linux 2.4.21-99), Nagios 1.2, plugins 1.3.1. Thanks, Patrick De Muynck Dreamtech Athens - Greece -----Original Message----- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of MiikaT Sent: Thursday, October 06, 2005 3:10 PM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Histogram report problem I am trying to do a service based histogram using Reporting/alert histogram/report type service/service router-ping. I seem to get the same graph all the time, whenever I change the values. For example, I select period/last week, start/end Date October 1, 2005, statistics brakedown/hour of the day, event to graph/service critical events, state types to graph/hard states, assume state retention/yes, initial states logged/no, ignore repeated states no. When hitting the create report, I get a nice report for the chosen time period. If I change the start/end date to, let say October 3, 2005, and all other values are the same, I get the same report, only the selected time period changes on top of the histogram. Am I doing something wrong, or howcome the results are like this? This is with nagios 1.2 and nagios-plugins-1.4.0alpha1. -Miika ------------------------------------------------------- This SF.Net email is sponsored by: Power Architecture Resource Center: Free content, downloads, discussions, and more. http://solutions.newsforge.com/ibmarch.tmpl _______________________________________________ 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 ------------------------------------------------------- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php _______________________________________________ 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 oliverrojo at anticogroup.com Fri Nov 4 11:56:14 2005 From: oliverrojo at anticogroup.com (Oliver A. Rojo) Date: Fri, 04 Nov 2005 18:56:14 +0800 Subject: sms notification section Message-ID: <436B3E4E.8020802@anticogroup.com> is there any plugin or nagios script which will do SMS notification via an SMS provider where in i can just set the SMS settings of the provider. Currently Im using gnokii but im trying to host my servers in a remote environment. ------------------------------------------------------- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php _______________________________________________ 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 declan.mckay at eircom.net Fri Nov 4 12:02:27 2005 From: declan.mckay at eircom.net (Declan McKay) Date: Fri, 4 Nov 2005 11:02:27 -0000 Subject: 2.0b4 compile issue's on FreeBSD4.8. - 1.2 compiles fine on same box. Message-ID: <0e9a01c5e12f$3ecf4250$2f44fc0a@pc234> I am having difficulty compiling Nagios 2.0b4 on FreeBSD4.8 Example of what happens as follows:- The configure runs fine... ############################################################## sudo ./configure --with-gd-lib=/usr/local/lib --with-gd-inc=/usr/local/include . . *** Configuration summary for nagios 2.0b4 08-02-2005 ***: General Options: ------------------------- Nagios executable: nagios Nagios user/group: nagios,nagios Command user/group: nagios,nagios Embedded Perl: no Event Broker: yes Install ${prefix}: /usr/local/nagios Lock file: ${prefix}/var/nagios.lock Init directory: /usr/local/etc/rc.d Host OS: freebsd4.8 . . ############################################################### The Compile fails as follows:- ################################################################ sudo make all cd ./base && make gcc -g -O2 -I/usr/local/include -DHAVE_CONFIG_H -DNSCORE -c broker.c In file included from ../include/config.h:174, from broker.c:26: /usr/include/sys/wait.h:62: warning: `WIFEXITED' redefined ../include/config.h:102: warning: this is the location of the previous definition /usr/include/sys/wait.h:63: warning: `WEXITSTATUS' redefined ../include/config.h:99: warning: this is the location of the previous definition In file included from ../include/config.h:114, from broker.c:26: /usr/include/sys/resource.h:58: field `ru_utime' has incomplete type /usr/include/sys/resource.h:59: field `ru_stime' has incomplete type /usr/include/sys/resource.h:119: syntax error before `int32_t' /usr/include/sys/resource.h:124: syntax error before `rlim_t' /usr/include/sys/resource.h:130: syntax error before `fixpt_t' *** Error code 1 Stop in /home/staff/noc/mckay/ports/Nagios-2/nagios-2.0b4/base. *** Error code 1 #################################################################### Nagios 1.2 compiles no problem at all on the same box! Has anyone seen this before or can you provide any idea solutions to get 2.0b4 compiling on FreeBSD4.8. Many Thanks, Declan. -------------- next part -------------- An HTML attachment was scrubbed... URL: From ae at op5.se Fri Nov 4 12:14:56 2005 From: ae at op5.se (Andreas Ericsson) Date: Fri, 04 Nov 2005 12:14:56 +0100 Subject: 2.0b4 compile issue's on FreeBSD4.8. - 1.2 compiles fine on same box. In-Reply-To: <0e9a01c5e12f$3ecf4250$2f44fc0a@pc234> References: <0e9a01c5e12f$3ecf4250$2f44fc0a@pc234> Message-ID: <436B42B0.8090603@op5.se> Declan McKay wrote: > I am having difficulty compiling Nagios 2.0b4 on FreeBSD4.8 > Example of what happens as follows:- > > The configure runs fine... > ############################################################## > sudo ./configure --with-gd-lib=/usr/local/lib --with-gd-inc=/usr/local/include > . > . > *** Configuration summary for nagios 2.0b4 08-02-2005 ***: > > General Options: > ------------------------- > Nagios executable: nagios > Nagios user/group: nagios,nagios > Command user/group: nagios,nagios > Embedded Perl: no > Event Broker: yes > Install ${prefix}: /usr/local/nagios > Lock file: ${prefix}/var/nagios.lock > Init directory: /usr/local/etc/rc.d > Host OS: freebsd4.8 > . > . > ############################################################### > > > > The Compile fails as follows:- > ################################################################ > sudo make all > cd ./base && make > gcc -g -O2 -I/usr/local/include -DHAVE_CONFIG_H -DNSCORE -c broker.c > In file included from ../include/config.h:174, > from broker.c:26: > /usr/include/sys/wait.h:62: warning: `WIFEXITED' redefined > ../include/config.h:102: warning: this is the location of the previous definition > /usr/include/sys/wait.h:63: warning: `WEXITSTATUS' redefined > ../include/config.h:99: warning: this is the location of the previous definition Pull the latest CVS or move the lines #ifndef WIFEXITED (and what follows) to after #include in the header-file. > In file included from ../include/config.h:114, > from broker.c:26: > /usr/include/sys/resource.h:58: field `ru_utime' has incomplete type > /usr/include/sys/resource.h:59: field `ru_stime' has incomplete type > /usr/include/sys/resource.h:119: syntax error before `int32_t' > /usr/include/sys/resource.h:124: syntax error before `rlim_t' > /usr/include/sys/resource.h:130: syntax error before `fixpt_t' These are bugs in your systems header files. A system header file that uses types that aren't necessarily typedef'ed is by definition broken. -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Tel: +46 8-230225 Fax: +46 8-230231 ------------------------------------------------------- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php _______________________________________________ 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 anxoasi at yahoo.es Fri Nov 4 12:23:37 2005 From: anxoasi at yahoo.es (Anxo) Date: Fri, 4 Nov 2005 12:23:37 +0100 (CET) Subject: how monitoring traps received from another host In-Reply-To: <20051103231914.31CDA12B9B@sc8-sf-spam2.sourceforge.net> References: <20051103231914.31CDA12B9B@sc8-sf-spam2.sourceforge.net> Message-ID: <20051104112337.405.qmail@web53104.mail.yahoo.com> Well, i?m trying monitoring with nagios traps sended by another host on my network. I?ve got installed net-snmp and snmptt and i can receive traps that i can see in snmptt.log but i can?t see it in nagios. I create the example that there is in the snmptt documentation but i can?t see nothing in nagios. What can i do??? thanks Anxo --- nagios-users-request at lists.sourceforge.net escribi?: > Send Nagios-users mailing list submissions to > nagios-users at lists.sourceforge.net > > To subscribe or unsubscribe via the World Wide Web, > visit > > https://lists.sourceforge.net/lists/listinfo/nagios-users > or, via email, send a message with subject or body > 'help' to > nagios-users-request at lists.sourceforge.net > > You can reach the person managing the list at > nagios-users-admin at lists.sourceforge.net > > When replying, please edit your Subject line so it > is more specific > than "Re: Contents of Nagios-users digest..." > > > Today's Topics: > > 1. Re: Running as a daemon or background process? > (David Musser) > 2. Simple AJAX in Nagios > (=?ISO-8859-1?Q?S=E9bastien_Barbereau?=) > 3. Stalking option + notification (Sivan DERAY) > 4. Websensor EM01B (Marco Borsani) > 5. RE: Websensor EM01B (Petrucci, Joseph) > 6. Apache 1.3 + Nagios CGI = failure (Lukasz > Szmit) > 7. How can I check traffic on a ethernet board ? > (Allan Spagnol Comar) > 8. Re: Apache 1.3 + Nagios CGI = failure (Marcel > Mitsuto Fucatu Sugano) > 9. AW: [Nagios-users] How can I check traffic on > a ethernet board ? (Thomas.Zimmer at oppenheim.de) > 10. Re: Apache 1.3 + Nagios CGI = failure (Lukasz > Szmit) > 11. RE: check_dns plugin error (Lori Adams) > 12. RE: Nagios-users digest, Vol 1 #2884 - 5 msgs > (Nir Sinay) > 13. host logos (Ross Wentworth) > 14. RE: check_dns plugin error (lists) > 15. Re: host logos (Marcel Mitsuto Fucatu Sugano) > 16. Re: Apache 1.3 + Nagios CGI = failure (Andreas > Ericsson) > 17. Solaris 10 x86 - SSL Handshake (Todd Barbera) > 18. RE: Solaris 10 x86 - SSL Handshake (Ludwig > Pummer) > 19. Re: Solaris 10 x86 - SSL Handshake (Mark > Limburg) > 20. RE: Solaris 10 x86 - SSL Handshake (Todd > Barbera) > 21. RE: Solaris 10 x86 - SSL Handshake (Ludwig > Pummer) > 22. RE: Solaris 10 x86 - SSL Handshake (Todd > Barbera) > 23. Re: Solaris 10 x86 - SSL Handshake (Mark > Limburg) > 24. RE: Solaris 10 x86 - SSL Handshake (Todd > Barbera) > 25. RE: Solaris 10 x86 - SSL Handshake (Ludwig > Pummer) > 26. Re: Solaris 10 x86 - SSL Handshake (Mark > Limburg) > 27. RE: Solaris 10 x86 - SSL Handshake (Todd > Barbera) > > --__--__-- > > Message: 1 > Date: Thu, 3 Nov 2005 00:10:56 -0500 > From: David Musser > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Re: Running as a daemon or > background process? > > Not sure if this helps... but here is the info from > the status.log file. > > [1130994558] SERVICE;LogServer;Check Disk - > /export/home;UNKNOWN;3/3;HARD;1130994426;1130995326;ACTIVE;1;1;1;1130950327= > ;0;UNKNOWN;68530;1800;0;0;0;0;1;0;1;1;0;0.00;0;1;1;1;DISK > OK - free space: /export/home 4108 MB (48%): > [1130994558] SERVICE;LogServer;Check Disk - > /u01;UNKNOWN;3/3;HARD;1130994306;1130995206;ACTIVE;1;1;1;1130948407;0;UNKNO= > WN;63866;4500;0;0;0;0;1;0;0;1;0;0.00;0;1;1;1;DISK > OK - free space: /u01 7549 MB (89%): > > > > On 11/1/05, David Musser > wrote: > > I'm new to nagios. We have it setup on several > servers, and all was work= > ing > > nicely until a power outtage the other day on a > server nagios is monitori= > ng > > with the plugins. > > > > So now I'm not sure if the new issue is relating > to that or something el= > se. > > > > Scenario. > > > > - Running nagios via the command line - > everything is ok and works as > > expected. > > > > - Running nagios via a background process & and > using the nohup to keep > > output gives status of unknown on several of the > service checks for a > > solaris server. > > > > - Running nagios via the nagios -d command or the > init.d/nagios script > > gives status of unknown on several of the service > checks for a solaris > > server. > > > > Note we are checking using ssh, talking to the > plugins. Running the > > check_by_ssh command by itself works, and returns > the correct status. It= > 's > > only when the service is run as a service or > background process that we s= > ee > > the odd behavior. > > > > -D > > > > -- > > David R. Musser > > MCP & MCP +I > > TEL: 540 974 3559 > > Email: david.r.musser at gmail.com > > > -- > David R. Musser > MCP & MCP +I > TEL: 540 974 3559 > Email: david.r.musser at gmail.com > > > --__--__-- > > Message: 2 > Date: Thu, 3 Nov 2005 11:27:04 +0100 > From: =?ISO-8859-1?Q?S=E9bastien_Barbereau?= > > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Simple AJAX in Nagios > > ------=_Part_8155_6741339.1131013624814 > Content-Type: text/plain; charset=ISO-8859-1 > Content-Transfer-Encoding: quoted-printable > Content-Disposition: inline > > Hi, > > This are some tries to add some AJAX technology to > Nagios. > > Sample1 & Sample2: > This 2 samples are very similar. They provide a way > to refresh the status > pages only when some HARD status change occurs. > > To achieve this I modified the status.cgi so that it > loads a simple > javascript (nagiosajax.js) at startup and set a > hidden var in the page. The > javascript > polls every 5 seconds a PHP script wich returns the > last HARD change time. > this value is compared to the one stored into the > page and reloads the fram= > e > if > they are different. > > =3D> Sample1 is built on top of a nagios1.3 with > mysql support. Therefor we > use some SQL query to get the laststatechange. > =3D> Sample2 is built on top of a nagios2.0b4. We > use a global event handle= > r > to "log" the last HARD state change. > > Files can be found here: > > http://www.barbich.net/websvn/wsvn/nagios/nagios/divers/ajaxify_nagios_cgi/= > sample1/ > http://www.barbich.net/websvn/wsvn/nagios/nagios/divers/ajaxify_nagios_cgi/= > sample2/ > > === message truncated === ______________________________________________ Renovamos el Correo Yahoo! Nuevos servicios, m?s seguridad http://correo.yahoo.es ------------------------------------------------------- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php _______________________________________________ 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 aitayemi at vmobile-nigeria.com Fri Nov 4 13:57:21 2005 From: aitayemi at vmobile-nigeria.com (Ayotunde Itayemi) Date: Fri, 4 Nov 2005 13:57:21 +0100 Subject: Nagios-Plugin and NRPE issues Message-ID: <3F959C2FD7D90F4AB1364FC167DDB370346BD6@vnl-la01ex02.vmobile-nigeria.com> Good day all, I have 2 issues 1. I can't get NRPE to run under inetd's control on AIX 5.3 (it works fine as a stand-alone daemon) By the way, has anybody been able control NRPE with the SRC subsystem on AIX? I can add it but other commands such as checking the subsystem status does not work. I used the following line in my /etc/inetd.conf file but when I test it using check_nrpe I always get CHECK_NRPE: Response packet had invalid CRC32. nrpe stream tcp nowait nagios /nagios/sbin/nrpe -c /nagios/etc/nrpe.cfg 2. I haven't been able to get the Nagios-Plugins to compile successfully with SSL enabled. And also even though nrpe appears to compile with SSL, running ldd on the nrpe executable does Not list libssl.a as a required library My version of ssl is OpenSSL 0.9.7g 11 Apr 2005 I am back to OpenSSL 0.9.6l 04 Nov 2003 which I got from Bullfreeware now. I have tried all sorts of configure options (some examples are as follows) Most terminate with some error that the ssl library could not be found (even though the file Is in /usr/local/lib/libssl.a) ./configure --enable-ssl ./configure --enable-ssl --with-openssl=/usr/local/openssl --with-ssl-lib=/usr/local/lib Thanks all. Ayotunde Itayemi | Business Systems | IS-SYSTEMS | IS Group | 08022225919 | Vmobile Nigeria | http://itayemi.tripod.com/ ________________________________________________________________________ _______________________________________________________________________ "The only people to get even with are those who have helped you." "Men ought to throw caution to the winds, and catch it on the rebound..." -------------- next part -------------- An HTML attachment was scrubbed... URL: From ae at op5.se Fri Nov 4 14:07:21 2005 From: ae at op5.se (Andreas Ericsson) Date: Fri, 04 Nov 2005 14:07:21 +0100 Subject: 2.0b4 compile issue's on FreeBSD4.8. - 1.2 compiles fine on same box. In-Reply-To: <100901c5e13f$2030de70$2f44fc0a@pc234> References: <0e9a01c5e12f$3ecf4250$2f44fc0a@pc234> <436B42B0.8090603@op5.se> <100901c5e13f$2030de70$2f44fc0a@pc234> Message-ID: <436B5D09.9070908@op5.se> Respond publicly or the list (and the archives) won't benefit from the answers (and if you do it twice I won't answer). Declan McKay wrote: > Hi Andreas, > > Thankyou for your prompt reply. > > Exactly which file should I be updating to solve this compile problem? > Is there a particular CVS repository to pull the update from? http://nagios.sourceforge.net/ has all the cvs info you'll need. > You mention "Bugs in my system header files..." - I assume you mean my > local /usr/include/sys tree - How can this be fixed > I assume an update from your vendor (FreeBSD) should take care of it. They usually try hard to make sure things stay sane in their environment. > If you could drop a quite note that would me much appreciated. My > questions maybe quite simple but I am quite new to FreeBSD. > Yes, quite. ;) > Again, thanks for you help. > > Declan. > > ----- Original Message ----- From: "Andreas Ericsson" > To: > Sent: Friday, November 04, 2005 11:14 AM > Subject: Re: [Nagios-users] 2.0b4 compile issue's on FreeBSD4.8. - 1.2 > compiles fine on same box. > > >> Declan McKay wrote: >> >>> I am having difficulty compiling Nagios 2.0b4 on FreeBSD4.8 >>> Example of what happens as follows:- >>> >>> The configure runs fine... >>> ############################################################## >>> sudo ./configure --with-gd-lib=/usr/local/lib >>> --with-gd-inc=/usr/local/include >>> . >>> . >>> *** Configuration summary for nagios 2.0b4 08-02-2005 ***: >>> >>> General Options: >>> ------------------------- >>> Nagios executable: nagios >>> Nagios user/group: nagios,nagios >>> Command user/group: nagios,nagios >>> Embedded Perl: no >>> Event Broker: yes >>> Install ${prefix}: /usr/local/nagios >>> Lock file: ${prefix}/var/nagios.lock >>> Init directory: /usr/local/etc/rc.d >>> Host OS: freebsd4.8 >>> . >>> . >>> ############################################################### >>> >>> >>> >>> The Compile fails as follows:- >>> ################################################################ >>> sudo make all >>> cd ./base && make >>> gcc -g -O2 -I/usr/local/include -DHAVE_CONFIG_H -DNSCORE -c broker.c >>> In file included from ../include/config.h:174, >>> from broker.c:26: >>> /usr/include/sys/wait.h:62: warning: `WIFEXITED' redefined >>> ../include/config.h:102: warning: this is the location of the >>> previous definition >>> /usr/include/sys/wait.h:63: warning: `WEXITSTATUS' redefined >>> ../include/config.h:99: warning: this is the location of the previous >>> definition >> >> >> >> Pull the latest CVS or move the lines #ifndef WIFEXITED (and what >> follows) to after #include in the header-file. >> >>> In file included from ../include/config.h:114, >>> from broker.c:26: >>> /usr/include/sys/resource.h:58: field `ru_utime' has incomplete type >>> /usr/include/sys/resource.h:59: field `ru_stime' has incomplete type >>> /usr/include/sys/resource.h:119: syntax error before `int32_t' >>> /usr/include/sys/resource.h:124: syntax error before `rlim_t' >>> /usr/include/sys/resource.h:130: syntax error before `fixpt_t' >> >> >> >> These are bugs in your systems header files. A system header file that >> uses types that aren't necessarily typedef'ed is by definition broken. >> >> -- >> Andreas Ericsson andreas.ericsson at op5.se >> OP5 AB www.op5.se >> Tel: +46 8-230225 Fax: +46 8-230231 >> >> >> ------------------------------------------------------- >> SF.Net email is sponsored by: >> Tame your development challenges with Apache's Geronimo App Server. >> Download >> it for free - -and be entered to win a 42" plasma tv or your very own >> Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php >> _______________________________________________ >> 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 >> >> >> >> -- >> No virus found in this incoming message. >> Checked by AVG Free Edition. >> Version: 7.1.362 / Virus Database: 267.12.8/161 - Release Date: >> 03/11/2005 >> >> > > -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Tel: +46 8-230225 Fax: +46 8-230231 ------------------------------------------------------- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php _______________________________________________ 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 ae at op5.se Fri Nov 4 14:10:31 2005 From: ae at op5.se (Andreas Ericsson) Date: Fri, 04 Nov 2005 14:10:31 +0100 Subject: Nagios-Plugin and NRPE issues In-Reply-To: <3F959C2FD7D90F4AB1364FC167DDB370346BD6@vnl-la01ex02.vmobile-nigeria.com> References: <3F959C2FD7D90F4AB1364FC167DDB370346BD6@vnl-la01ex02.vmobile-nigeria.com> Message-ID: <436B5DC7.3070502@op5.se> Ayotunde Itayemi wrote: > Good day all, > > > > I have 2 issues > > > > 1. I can't get NRPE to run under inetd's control on AIX 5.3 (it works > fine as a stand-alone daemon) > By the way, has anybody been able control NRPE with the SRC subsystem on > AIX? I can add it > but other commands such as checking the subsystem status does not work. > Perhaps a privilege issue? Grep your daemon syslog file for "nrpe". > > > I used the following line in my /etc/inetd.conf file but when I test it > using check_nrpe I always get > > > > CHECK_NRPE: Response packet had invalid CRC32. > > > > > > nrpe stream tcp nowait nagios /nagios/sbin/nrpe -c > /nagios/etc/nrpe.cfg > > > > > > 2. I haven't been able to get the Nagios-Plugins to compile successfully > with SSL enabled. > > And also even though nrpe appears to compile with SSL, running ldd on > the nrpe executable does > > Not list libssl.a as a required library > > > > My version of ssl is OpenSSL 0.9.7g 11 Apr 2005 > > I am back to OpenSSL 0.9.6l 04 Nov 2003 which I got from Bullfreeware > now. > > > > I have tried all sorts of configure options (some examples are as > follows) > > Most terminate with some error that the ssl library could not be found > (even though the file > > Is in /usr/local/lib/libssl.a) > .a files are static archives. This means they won't get listed in the ldd output. If you do nm nrpe you should get quite a few symbols containing, somewhere among them, the string "ssl" (possibly uppercase though). -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Tel: +46 8-230225 Fax: +46 8-230231 ------------------------------------------------------- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php _______________________________________________ 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 gcassar at velti.com Fri Nov 4 14:29:10 2005 From: gcassar at velti.com (George Cassar) Date: Fri, 4 Nov 2005 15:29:10 +0200 Subject: Nagios SNMP MIB traps Message-ID: Dear all, At http://sourceforge.net/project/showfiles.php?group_id=29880&package_id=1 53315&release_id=329987 one can download the initial set of MIBs for Nagios to allow traps sent from Nagios to be recognized by other NMSes. Hoes anyone used "snmptrap" with the aforementioned MIBs? Your help would be very much appreciated. Thanks in advance, George Cassar Applications Support Engineer Velti S.A. 44 Kifissias Ave. 151 25 Marousi, Athens - Greece tel.: +30 210.68.98.900 fax: +30 210.68.24.766 web: http://www.velti.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From ntserafica at yahoo.com Fri Nov 4 14:43:08 2005 From: ntserafica at yahoo.com (Nelson Serafica) Date: Fri, 4 Nov 2005 05:43:08 -0800 (PST) Subject: how to notify via sms Message-ID: <20051104134309.45420.qmail@web60418.mail.yahoo.com> Just would like to ask to those nagios expert how can i use SMS? i been using nagios for 4 weeks now and just found out that it can notify me via sms. How can i do this? What is the apps i need? Nelson T. Serafica GNU/Linux User No. 394081 Upgrading just for the sake of having a newest version is probably silly. __________________________________ Start your day with Yahoo! - Make it your home page! http://www.yahoo.com/r/hs ------------------------------------------------------- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php _______________________________________________ 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 lukasz.szmit at ucd.ie Fri Nov 4 15:05:36 2005 From: lukasz.szmit at ucd.ie (lukasz szmit) Date: Fri, 04 Nov 2005 14:05:36 +0000 (GMT) Subject: Apache 1.3 + Nagios CGI = failure Message-ID: <64d93764e59a.64e59a64d937@ucd.ie> ----- Original Message ----- From: Andreas Ericsson Date: Thursday, November 3, 2005 8:42 pm Subject: Re: [Nagios-users] Apache 1.3 + Nagios CGI = failure > Lukasz Szmit wrote: > > On Thu, 2005-11-03 at 13:07 -0200, Marcel Mitsuto Fucatu Sugano > wrote:> > >>On Thu, 2005-11-03 at 14:42 +0000, Lukasz Szmit wrote: > >> > >>>[Thu Nov 3 14:13:26 2005] [error] (13)Permission denied: exec > >>>of /usr/nagios/sbin/tac.cgi failed > >>>[Thu Nov 3 14:13:26 2005] [error] [client x.y.z.a] malformed > header>>>from script. Bad > >>>header=Launching... /usr/lib/apache-s: /usr/nagios/sbin/tac.cgi > >> > >>Let me guess, apache runs as user nobody and group nobody? > >>You should make the owner or group of the apache process access the > >>CGIs. It is all documented, on configuring web-interface. > > > > > > No, it isn't. Debian default is www-data (both user and group). > > Changing the group on /usr/nagios (recursively) to www-data > doesn't make > > a difference - I still get exactly the same error. > > For some strange reason if I copy e.g. tac.cgi to the server > > default /cgi-bin directory (Debian default for that > > is /usr/lib/cgi-bin), which is owned by user:group root and has > > permissions set to 755 - Apache is a happy camper and runs the > script. > > > > I have even double-checked if /usr is by any chance mounted with > noexec,> which it isn't. > > > > It's SELinux related. Browse the archives. The correct solution has > been > given many times. Fine, but the problem is that my kernel is compiled without selinux support. regards, -- Lukasz Szmit | University College Dublin Computing Services | +353-1-716-2651 http://www.ucd.ie/computing/aboutus.html ------------------------------------------------------- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php _______________________________________________ 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 ian.marlier at studentuniverse.com Fri Nov 4 15:14:29 2005 From: ian.marlier at studentuniverse.com (Ian Marlier) Date: Fri, 04 Nov 2005 09:14:29 -0500 Subject: how to notify via sms In-Reply-To: <20051104134309.45420.qmail@web60418.mail.yahoo.com> References: <20051104134309.45420.qmail@web60418.mail.yahoo.com> Message-ID: > From: Nelson Serafica > Date: Fri, 4 Nov 2005 05:43:08 -0800 (PST) > To: > Subject: [Nagios-users] how to notify via sms > > Just would like to ask to those nagios expert how can > i use SMS? i been using nagios for 4 weeks now and > just found out that it can notify me via sms. How can > i do this? What is the apps i need? I'm quite certain there are other ways to do this, but most (all?) US cell providers have an e-mail domain to which you can send SMS messages as a standard plain-text e-mail. Not sure about non-US carriers, but I'd be surprised if it weren't pretty standard. In my case, SMS pages go to TwoWay.xxxxxxxxxx at messaging.nextel.com -- xxx etc being the phone number. They end up on my phone that way. For US providers, at least, you can also use TeleFlip -- they can send a notification to basically any US cell phone. ------------------------------------------------------- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php _______________________________________________ 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 holger at CIS.FU-Berlin.DE Fri Nov 4 15:11:21 2005 From: holger at CIS.FU-Berlin.DE (Holger Weiss) Date: Fri, 4 Nov 2005 15:11:21 +0100 Subject: how to notify via sms In-Reply-To: <20051104134309.45420.qmail@web60418.mail.yahoo.com> References: <20051104134309.45420.qmail@web60418.mail.yahoo.com> Message-ID: <20051104141121.GA17062408@CIS.FU-Berlin.DE> * Nelson Serafica [2005-11-04 05:43]: > Just would like to ask to those nagios expert how can > i use SMS? i been using nagios for 4 weeks now and > just found out that it can notify me via sms. How can > i do this? What is the apps i need? | There are two ways you can do this. | | If your paging company has an email-pager gateway, you can simply have | Nagios send an email message to your pager address. An example of this | type of address might look like: pageme at somepagingcompany.com. | | You should note that sending notifications through email might fail if | SMTP or DNS services are down or if your connection to the greater | Internet is down. An alternative to sending pager messages through an | email gateway would be to hook a modem up to your monitoring host and | have Nagios dial out through the modem and send the message using the | TAP (IXO) protocol. There are several programs that can do this for you | on *NIX systems. Two popular ones seem to be Sendpage and QuickPage. [ http://www.nagios.org/faqs/viewfaq.php?faq_id=113 ] See also: http://nagios.sourceforge.net/docs/2_0/notifications.html Here are some links to these and other packages: http://www.sendpage.org/ http://qpage.org/ http://rsug.itd.umich.edu/software/beepage/ http://smash.sourceforge.net/ http://www.smsclient.org/ http://www.sta.to/ftp/yaps/ http://www.hylafax.org/ We use Sendpage. Holger -- PGP fingerprint: F1F0 9071 8084 A426 DD59 9839 59D3 F3A1 B8B5 D3DE ------------------------------------------------------- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php _______________________________________________ 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 benny at bennyvision.com Fri Nov 4 15:22:10 2005 From: benny at bennyvision.com (C. Bensend) Date: Fri, 4 Nov 2005 08:22:10 -0600 (CST) Subject: how to notify via sms In-Reply-To: References: <20051104134309.45420.qmail@web60418.mail.yahoo.com> Message-ID: <55729.63.227.74.41.1131114130.squirrel@webmail.stinkweasel.net> > I'm quite certain there are other ways to do this, but most (all?) US cell > providers have an e-mail domain to which you can send SMS messages as a > standard plain-text e-mail. Not sure about non-US carriers, but I'd be > surprised if it weren't pretty standard. That's the easy way out, yes. But think about it for a second - do you want notifications for _network outages_ to be dependant on .. wait for it .. the _network_? :) It may work 95% of the time, but that remaining 5% is going to suck. Benny -- "Young lady, I yelled at you because that paperwork looked like it had been done by a drunk four-year-old." -- Dr. Bob Kelso, "Scrubs" ------------------------------------------------------- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php _______________________________________________ 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 ae at op5.se Fri Nov 4 15:35:00 2005 From: ae at op5.se (Andreas Ericsson) Date: Fri, 04 Nov 2005 15:35:00 +0100 Subject: I: Websensor EM01B In-Reply-To: <02ba01c5e145$63163540$0900d40a@intranet.it.net> References: <02ba01c5e145$63163540$0900d40a@intranet.it.net> Message-ID: <436B7194.90600@op5.se> Marco Borsani wrote: > Good afternoon Andreas! > Cheerio. Don't email me off-list again. I don't a pro bono support-center. > May you give me any ideas regarding: > 1) The websensor EM01B Yes, but I won't. The info is available online though. > 2) which are the plugins involved in that kind of monitoring? > Either an snmp-based one or a http-based one. Have fun. -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Tel: +46 8-230225 Fax: +46 8-230231 ------------------------------------------------------- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php _______________________________________________ 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 ae at op5.se Fri Nov 4 15:32:30 2005 From: ae at op5.se (Andreas Ericsson) Date: Fri, 04 Nov 2005 15:32:30 +0100 Subject: Apache 1.3 + Nagios CGI = failure In-Reply-To: <64d93764e59a.64e59a64d937@ucd.ie> References: <64d93764e59a.64e59a64d937@ucd.ie> Message-ID: <436B70FE.8030305@op5.se> lukasz szmit wrote: > ----- Original Message ----- > From: Andreas Ericsson > Date: Thursday, November 3, 2005 8:42 pm > Subject: Re: [Nagios-users] Apache 1.3 + Nagios CGI = failure > > >>Lukasz Szmit wrote: >> >>>On Thu, 2005-11-03 at 13:07 -0200, Marcel Mitsuto Fucatu Sugano >> >>wrote:> >> >>>>On Thu, 2005-11-03 at 14:42 +0000, Lukasz Szmit wrote: >>>> >>>> >>>>>[Thu Nov 3 14:13:26 2005] [error] (13)Permission denied: exec >>>>>of /usr/nagios/sbin/tac.cgi failed >>>>>[Thu Nov 3 14:13:26 2005] [error] [client x.y.z.a] malformed >> >>header>>>from script. Bad >> >>>>>header=Launching... /usr/lib/apache-s: /usr/nagios/sbin/tac.cgi >>>> >>>>Let me guess, apache runs as user nobody and group nobody? >>>>You should make the owner or group of the apache process access the >>>>CGIs. It is all documented, on configuring web-interface. >>> >>> >>>No, it isn't. Debian default is www-data (both user and group). >>>Changing the group on /usr/nagios (recursively) to www-data >> >>doesn't make >> >>>a difference - I still get exactly the same error. >>>For some strange reason if I copy e.g. tac.cgi to the server >>>default /cgi-bin directory (Debian default for that >>>is /usr/lib/cgi-bin), which is owned by user:group root and has >>>permissions set to 755 - Apache is a happy camper and runs the >> >>script. >> >>>I have even double-checked if /usr is by any chance mounted with >> >>noexec,> which it isn't. >> >>It's SELinux related. Browse the archives. The correct solution has >>been >>given many times. > > > Fine, but the problem is that my kernel is compiled without selinux support. > Oh. And here I was thinking you'd checked that the webuser has regular unix access to execute the cgi-files. Apparently you didn't, although the log shouts it out loud and clear. Hint; The permission denied can be from any of the directories above where the files are stored. The apache user needs +x on every directory along the way. > regards, -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Tel: +46 8-230225 Fax: +46 8-230231 ------------------------------------------------------- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php _______________________________________________ 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 ian.marlier at studentuniverse.com Fri Nov 4 15:52:46 2005 From: ian.marlier at studentuniverse.com (Ian Marlier) Date: Fri, 04 Nov 2005 09:52:46 -0500 Subject: how to notify via sms In-Reply-To: <55729.63.227.74.41.1131114130.squirrel@webmail.stinkweasel.net> References: <55729.63.227.74.41.1131114130.squirrel@webmail.stinkweasel.net> Message-ID: > From: "C. Bensend" > Date: Fri, 4 Nov 2005 08:22:10 -0600 (CST) > To: > Subject: Re: [Nagios-users] how to notify via sms > > >> I'm quite certain there are other ways to do this, but most (all?) US cell >> providers have an e-mail domain to which you can send SMS messages as a >> standard plain-text e-mail. Not sure about non-US carriers, but I'd be >> surprised if it weren't pretty standard. > > That's the easy way out, yes. But think about it for a second - do > you want notifications for _network outages_ to be dependant on .. > wait for it .. the _network_? :) > > It may work 95% of the time, but that remaining 5% is going to suck. > > Benny Within the building, a redundant nagios install with each using a seperate outbound network provider, seperate network hardware, seperate power backup, etc, makes this a moot point 99.999% of the time. I can have nagios installA ping the firewall on network pipeB via pipeA; while nagios installB pings the firewall on network pipeA via pipeB. Having two machines that talk to each other internally, but can both get out without any overlap in their paths, helps. Externally, well...at $4/month, it's a lot cheaper (and easier) to have a script running as a cron job on a generic web hosting company -- run every minute, page if the external interface of the firewall can't be pinged -- than it would be to get Verizon to run a single copper line into the building for the sake of Nagios. With migration to VOIP, this is going to be even more of an issue, since many companies just aren't going to have any copper available anywhere -- POTS lines are just going to fade from existence, making modems tough to use. Yeah, you can take a T-1 and make it act like copper for the sake of a modem -- but then you run into the same issue as e-mail alerts. (I'm choosing not to get into the fact that some companies feel that redundant high-speed connections to the internet are a justifiable cost, but that a single copper line isn't. I guess the Accounts Payable paperwork is less or something.) Yeah, it's not fancy, and yeah, it does make me reliant on an external provider. But it also lets me know if downstream network problems are making my site inaccessible, when the network itself appears (internally) to be working. And at $8/mo, 2 of them are even better :-) Don't mean to claim that this way is at all preferrable to the other alternatives; just that it is possible to provide that same security in other ways. - Ian ------------------------------------------------------- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php _______________________________________________ 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 lukasz.szmit at ucd.ie Fri Nov 4 16:13:51 2005 From: lukasz.szmit at ucd.ie (Lukasz Szmit) Date: Fri, 04 Nov 2005 15:13:51 +0000 Subject: Apache 1.3 + Nagios CGI = failure In-Reply-To: <436B70FE.8030305@op5.se> References: <64d93764e59a.64e59a64d937@ucd.ie> <436B70FE.8030305@op5.se> Message-ID: <1131117231.11131.11.camel@localhost.localdomain> On Fri, 2005-11-04 at 15:32 +0100, Andreas Ericsson wrote: > Oh. And here I was thinking you'd checked that the webuser has > regular > unix access to execute the cgi-files. Apparently you didn't, although > the log shouts it out loud and clear. > > Hint; The permission denied can be from any of the directories above > where the files are stored. The apache user needs +x on every > directory > along the way. Well, all relevant directories under /usr have a+x, and that is enough for Apache to get to /usr/nagios/sbin and execute the files. I may have found the source of my problem. The GRSecurity kernel patch option "Trusted Path Execution" seems to be blocking Apache from executing the CGIs. I'm just recompiling the kernel with TPE disabled and will check if that helps. I'll share with the group once I have some results. regards, -- Lukasz Szmit | University College Dublin Computing Services | +353-1-716-2651 http://www.ucd.ie/computing/aboutus.html ------------------------------------------------------- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php _______________________________________________ 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 noyler at khimetrics.com Fri Nov 4 16:12:38 2005 From: noyler at khimetrics.com (Nathan Oyler) Date: Fri, 4 Nov 2005 08:12:38 -0700 Subject: Trying show in nagios traps Message-ID: <59B15593F41BD24591D59436E7226EAD02C1C972@Khiphx2.khimetrics.com> Search the mailing list, or google. There is a SYSADMIN article that explains it very well and I am using that setup for snmp traps. > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users- > admin at lists.sourceforge.net] On Behalf Of Anxo > Sent: Friday, November 04, 2005 1:06 AM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Trying show in nagios traps > > Hi, i?m trying show in nagios traps received from a > router to nagios computer. I have installed net-snmp > and snmptt and i can receive traps in my snmptt.log. > How can i show it in nagios??? > > thanks for all > > Anxo > > > > ______________________________________________ > Renovamos el Correo Yahoo! > Nuevos servicios, m?s seguridad > http://correo.yahoo.es > > > ------------------------------------------------------- > SF.Net email is sponsored by: > Tame your development challenges with Apache's Geronimo App Server. > Download > it for free - -and be entered to win a 42" plasma tv or your very own > Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php > _______________________________________________ > 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 ------------------------------------------------------- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php _______________________________________________ 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 Fri Nov 4 17:03:00 2005 From: jhmartin at toger.us (Jason Martin) Date: Fri, 4 Nov 2005 11:03:00 -0500 Subject: draw perfdata In-Reply-To: <20051104081941.80101.qmail@web53111.mail.yahoo.com> References: <20051104081941.80101.qmail@web53111.mail.yahoo.com> Message-ID: <20051104160300.GA17887@mal.members.linode.com> On Fri, Nov 04, 2005 at 09:19:41AM +0100, Anxo wrote: > In my nagios log i?ve got two files, host-perfdata and > service-perfdata, but i must draw the information on > them. Anybody know how can i draw this information > without use rddtools or any database only with those > two files. I think you could write something fairly easily using GD that would read that data and draw it, or perhaps with gnuplot or 'R'. -Jason Martin -- You're not paranoid if everybody is really after you. 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 ian.marlier at studentuniverse.com Fri Nov 4 17:08:10 2005 From: ian.marlier at studentuniverse.com (Marlier, Ian) Date: Fri, 4 Nov 2005 11:08:10 -0500 Subject: Hosted nagios ( was RE: how to notify via sms) Message-ID: <802441990C18274E9289B19071ED635007058F@sumail03.studentuniverse.com> In writing up some stuff for the thread "how to notify via sms", I included a few notes about how I do external monitoring -- basically using shell scripts cronned to run every minute on a couple of generic web hosting companies. This is effective, but limited. I used to have a vendor doing external monitoring on approx. 15 different web addresses and externally-available services (SMTP and the like), but they charged big money and weren't very reliable. Also, the particular monitoring program that they used was a little flakey. I'm wondering whether there's anyone one there that does contract, distributed hosting of Nagios. That is, someone I can pay $x per year to monitor some services, and alert network staff in the event of a problem. Does anyone know if this exists, and if so have positive experiences to report? If there isn't, anyone have any experience writing up a business plan? ;-) ------------------------------------------------------- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php _______________________________________________ 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 ian.marlier at studentuniverse.com Fri Nov 4 17:10:19 2005 From: ian.marlier at studentuniverse.com (Marlier, Ian) Date: Fri, 4 Nov 2005 11:10:19 -0500 Subject: Hosted nagios ( was RE: how to notify via sms) Message-ID: <802441990C18274E9289B19071ED6350070590@sumail03.studentuniverse.com> In writing up some stuff for the thread "how to notify via sms", I included a few notes about how I do external monitoring -- basically using shell scripts cronned to run every minute on a couple of generic web hosting companies. This is effective, but limited. I used to have a vendor doing external monitoring on approx. 15 different web addresses and externally-available services (SMTP and the like), but they charged big money and weren't very reliable. Also, the particular monitoring program that they used was a little flakey. I'm wondering whether there's anyone one there that does -------------- next part -------------- An HTML attachment was scrubbed... URL: From marc at ena.com Fri Nov 4 17:27:59 2005 From: marc at ena.com (Marc Powell) Date: Fri, 4 Nov 2005 10:27:59 -0600 Subject: Trying show in nagios traps Message-ID: There's also a specific page in the documentation on how to do it with snmptrapd in the 'Integration with other Software' section. -- Marc > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users- > admin at lists.sourceforge.net] On Behalf Of Nathan Oyler > Sent: Friday, November 04, 2005 9:13 AM > To: Anxo; nagios-users at lists.sourceforge.net > Subject: RE: [Nagios-users] Trying show in nagios traps > > Search the mailing list, or google. There is a SYSADMIN article that > explains it very well and I am using that setup for snmp traps. > > > -----Original Message----- > > From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users- > > admin at lists.sourceforge.net] On Behalf Of Anxo > > Sent: Friday, November 04, 2005 1:06 AM > > To: nagios-users at lists.sourceforge.net > > Subject: [Nagios-users] Trying show in nagios traps > > > > Hi, i?m trying show in nagios traps received from a > > router to nagios computer. I have installed net-snmp > > and snmptt and i can receive traps in my snmptt.log. > > How can i show it in nagios??? > > ------------------------------------------------------- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php _______________________________________________ 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 djoseph at nabancard.com Fri Nov 4 17:43:20 2005 From: djoseph at nabancard.com (Dan Joseph) Date: Fri, 04 Nov 2005 11:43:20 -0500 Subject: check_pgsql options? Message-ID: <436B8FA8.8010108@nabancard.com> Hi All, I have a service definitely in my services.cfg setup to monitor out postgres database server. define service{ use generic-service ; Name of service template to use host_name nabsql01 service_description PGSQL is_volatile 0 check_period 24x7 max_check_attempts 3 normal_check_interval 5 retry_check_interval 1 contact_groups router-admins notification_interval 240 notification_period 24x7 notification_options c,r check_command check_pgsql } It fails authentication to the server, which makes sense to me. My question, how can I pass the username/password to it? from the command line I can check it just fine. -- -Dan Joseph System Administrator ------------------------------------------------------- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php _______________________________________________ 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 Fri Nov 4 17:40:40 2005 From: jhmartin at toger.us (Jason Martin) Date: Fri, 4 Nov 2005 11:40:40 -0500 Subject: Hosted nagios ( was RE: how to notify via sms) In-Reply-To: <802441990C18274E9289B19071ED635007058F@sumail03.studentuniverse.com> References: <802441990C18274E9289B19071ED635007058F@sumail03.studentuniverse.com> Message-ID: <20051104164040.GB17887@mal.members.linode.com> On Fri, Nov 04, 2005 at 11:08:10AM -0500, Marlier, Ian wrote: > I'm wondering whether there's anyone one there that does contract, > distributed hosting of Nagios. That is, someone I can pay $x per year > to monitor some services, and alert network staff in the event of a > problem. Does anyone know if this exists, and if so have positive > experiences to report? Are you asking for someone to run a Nagios instance for you and manage the config files, are do you want someplace you can host a Nagios instance yourself? If you just want someplace offsite to run a Nagios instance, try looking at http://www.linode.com. It is a Virtual Private Server provider, and even the smallest plan is plenty to run a webserver + Nagios instance. (I am a customer there). Smallest plan is $20/month. -Jason Martin -- You're not paranoid if everybody is really after you. 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 lukasz.szmit at ucd.ie Fri Nov 4 18:00:56 2005 From: lukasz.szmit at ucd.ie (Lukasz Szmit) Date: Fri, 04 Nov 2005 17:00:56 +0000 Subject: Apache 1.3 + Nagios CGI = failure In-Reply-To: <1131117231.11131.11.camel@localhost.localdomain> References: <64d93764e59a.64e59a64d937@ucd.ie> <436B70FE.8030305@op5.se> <1131117231.11131.11.camel@localhost.localdomain> Message-ID: <1131123657.11131.17.camel@localhost.localdomain> On Fri, 2005-11-04 at 15:13 +0000, Lukasz Szmit wrote: > On Fri, 2005-11-04 at 15:32 +0100, Andreas Ericsson wrote: > > Oh. And here I was thinking you'd checked that the webuser has > > regular > > unix access to execute the cgi-files. Apparently you didn't, although > > the log shouts it out loud and clear. > > > > Hint; The permission denied can be from any of the directories above > > where the files are stored. The apache user needs +x on every > > directory > > along the way. > > Well, all relevant directories under /usr have a+x, and that is enough > for Apache to get to /usr/nagios/sbin and execute the files. > > I may have found the source of my problem. > The GRSecurity kernel patch option "Trusted Path Execution" seems to be > blocking Apache from executing the CGIs. I'm just recompiling the kernel > with TPE disabled and will check if that helps. I'll share with the > group once I have some results. OK, GRSecurity was the root cause. While using that patch make sure that either of these is done: - make sure that CONFIG_GRKERNSEC_TPE is not set in kernel .config file - enable CONFIG_GRKERNSEC_TPE AND make sure you have a respective policy setup and enabled (see gradm documentation). regards, -- Lukasz Szmit | University College Dublin Computing Services | +353-1-716-2651 http://www.ucd.ie/computing/aboutus.html ------------------------------------------------------- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php _______________________________________________ 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 jboard at nvc.net Fri Nov 4 18:04:20 2005 From: jboard at nvc.net (Jason) Date: Fri, 4 Nov 2005 11:04:20 -0600 Subject: Disk Drive monitoring References: <802441990C18274E9289B19071ED6350070590@sumail03.studentuniverse.com> Message-ID: <004d01c5e161$cc58b4d0$af15a8c0@NEWGUY> Hosted nagios ( was RE: [Nagios-users] how to notify via sms)Hello, I'm new to nagios and would like to know if anyone has a good reference to set up nagios to monitor the disk usage on a server. Any guidance would be appreciated Thanks Jason B. Hosting Technician Portal Web Hosting Northern Valley Communications -------------- next part -------------- An HTML attachment was scrubbed... URL: From todd_barbera at wgbh.org Fri Nov 4 18:13:06 2005 From: todd_barbera at wgbh.org (Todd Barbera) Date: Fri, 04 Nov 2005 12:13:06 -0500 Subject: Disk Drive monitoring In-Reply-To: <004d01c5e161$cc58b4d0$af15a8c0@NEWGUY> References: <004d01c5e161$cc58b4d0$af15a8c0@NEWGUY> Message-ID: <002301c5e163$05a7c4a0$620a010a@GRAPEAPE> "check_disk" comes with the default plugins. I actually rolled my own since check_disk didn't really work for me. It wouldn't pickup non-ufs file systems and I didn't like the reporting back to nagios. It's attached if you want to use it. I like looking at the usage versus the percent of free space so mine works in the opposite of check_disk. As to what settings to provide it, it depends on how much growth you're file systems are likely to see and when you think you need to be concerned. Todd -----Original Message----- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Jason Sent: Friday, November 04, 2005 12:04 PM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Disk Drive monitoring Hello, I'm new to nagios and would like to know if anyone has a good reference to set up nagios to monitor the disk usage on a server. Any guidance would be appreciated Thanks Jason B. Hosting Technician Portal Web Hosting Northern Valley Communications -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: check_fs_space Type: application/octet-stream Size: 1495 bytes Desc: not available URL: From RMontemayor at huntoil.com Fri Nov 4 18:19:31 2005 From: RMontemayor at huntoil.com (Rudy Montemayor) Date: Fri, 4 Nov 2005 11:19:31 -0600 Subject: nrpe ver. 2 on AIX 5.2 Message-ID: Hi, I have Nagios and nrpe running on both HP and Sun systems; however I can not get the nrpe daemon on AIX to work at all. Here is a little info on what I'm using: AIX oslevel 5.2.0.0 NRPE Version: 2.0b5 On AIX system: netstat -a | grep 5666 tcp4 0 0 *.5666 *.* LISTEN When I try the check_nrpe from my HP system where I have Nagios running to the AIX system I get the following: CHECK_NRPE: Received 0 bytes from daemon. Check the remote server logs for error messages. I have nrpe ruuning as a standalone daemon on the AIX system: ps -ef | grep nrpe www 258078 1 0 10:39:44 - 0:00 /usr/local/nagios/nrpe-2.0/bin/nrpe.old -c /usr/local/nagios/nrpe-2.0/nrpe.cfg -d Any help to get this going would be appreciated. Thanks. Rudy Montemayor Sr. Unix System Admin Hunt Oil Company 214-978-8357 -------------- next part -------------- An HTML attachment was scrubbed... URL: From nagiosadmin at snef.fr Fri Nov 4 18:21:36 2005 From: nagiosadmin at snef.fr (Davy Gaussen) Date: Fri, 4 Nov 2005 18:21:36 +0100 Subject: Disk Drive monitoring References: <802441990C18274E9289B19071ED6350070590@sumail03.studentuniverse.com> <004d01c5e161$cc58b4d0$af15a8c0@NEWGUY> Message-ID: <03cb01c5e164$359ae510$c26710ac@sneftechnologies.fr> Hosted nagios ( was RE: [Nagios-users] how to notify via sms)Hi, for unix-like systems : check_disk : local system nrpe + check_disk for remote systems ex : check_disk -w 20 -c 10 -p /dev/hda1 or ex : check_disk -w 20 -c 10 for windows systems : NC_NET nagios agent on the windows server ex : check_nt -H winserver -v USEDDISKSPACE -l C -w 75 -c 90 -s password (on the monitoring host) take a look at : www.nagiosexchange.com for NC_NET ----- Original Message ----- From: Jason To: nagios-users at lists.sourceforge.net Sent: Friday, November 04, 2005 6:04 PM Subject: [Nagios-users] Disk Drive monitoring Hello, I'm new to nagios and would like to know if anyone has a good reference to set up nagios to monitor the disk usage on a server. Any guidance would be appreciated Thanks Jason B. Hosting Technician Portal Web Hosting Northern Valley Communications -------------- next part -------------- An HTML attachment was scrubbed... URL: From aitayemi at vmobile-nigeria.com Fri Nov 4 21:08:43 2005 From: aitayemi at vmobile-nigeria.com (Ayotunde Itayemi) Date: Fri, 4 Nov 2005 21:08:43 +0100 Subject: check_netapp nagios plugin howto Message-ID: <3F959C2FD7D90F4AB1364FC167DDB370346D3D@vnl-la01ex02.vmobile-nigeria.com> Good day All, I am having some problems with the check_netapp plugin. I am not so sure how to use it (it works fine from the command line but I Haven't got the entries in my config file right!) In a service section, I have: check_command check_netapp!check_netapp1 (where netapp1 is an instance in my nrpe.cfg file) in nrpe.cfg: command[check_netapp1]=/usr/local/nagios/libexec/check_netapp.pl 17.172.50.50 (where 17.172.50.50 is a sample netapp filer's IP address) in my checkmycommands.cfg file: define command{ command_name check_netapp command_line /usr/local/nagios/libexec/check_netapp.pl $ARG2$ } Please help me out with the config. Thanks. Ayotunde Itayemi | Business Systems | IS-SYSTEMS | IS Group | 08022225919 | Vmobile Nigeria | http://itayemi.tripod.com/ ________________________________________________________________________ _______________________________________________________________________ "The only people to get even with are those who have helped you." "Men ought to throw caution to the winds, and catch it on the rebound..." -------------- next part -------------- An HTML attachment was scrubbed... URL: From aitayemi at vmobile-nigeria.com Fri Nov 4 21:40:19 2005 From: aitayemi at vmobile-nigeria.com (Ayotunde Itayemi) Date: Fri, 4 Nov 2005 21:40:19 +0100 Subject: nrpe ver. 2 on AIX 5.2 Message-ID: <3F959C2FD7D90F4AB1364FC167DDB370346D40@vnl-la01ex02.vmobile-nigeria.com> Hi, Did you compile it yourself? I was getting the same message yesterday and for the life of me I can't remember how I solved it. But let me just take you through my compile Running as user/group nagios/nagios I installed under /nagios but you can modify to suit yourself installing NRPE and nagios plugin (without ssl) extract nrpe archive nrpe-2.0b4.tar.gz gunzip nrpe-2.0b4.tar.gz tar -xvf nrpe-2.0b4.tar cd nrpe-2.0b4 install NRPE by: ./configure --enable-command-args --disable-ssl make all mkdir -p /nagios/sbin cp src/nrpe src/check_nrpe /nagios/sbin mkdir -p /nagios/etc cp -p nrpe.cfg /nagios/etc/ edit nrpe.cfg as required Installing NAGIOS plugins ------------------------------------- Unarchive nagios-plugins-HEAD-200510261647.tar.gz gunzip nagios-plugins-HEAD-200510261647.tar.gz tar -xvf nagios-plugins-HEAD-200510261647.tar cd nagios-plugins-HEAD-200510261647 ./configure --without-ssl make copy all executables to your preferred directory e.g., /nagios/libexec cd plugins find ./ -type f -perm 644 -exec cp {} /nagios/libexec \; start nrpe with command similar to /nagios/sbin/nrpe -d -c /nagios/etc/nrpe.cfg You may have to edit nrpe.cfg especially if running it standalone allowed_hosts=127.0.0.1,ip-address-of-other-hosts-that-will-talk-to-nrpe Sample commands that you may put in your nrpe.cfg to test with command[check_disk1]=/nagios/libexec/check_disk -w 20 -c 10 -p /dev/hd4 command[check_disk2]=/nagios/libexec/check_disk -w 20 -c 10 -p /dev/hd2 command[check_disk3]=/nagios/libexec/check_disk -w 20 -c 10 -p /dev/hd9var command[check_disk4]=/nagios/libexec/check_disk -w 20 -c 10 -p /dev/hd3 command[check_disk5]=/nagios/libexec/check_disk -w 20 -c 10 -p /dev/hd1 command[check_disk6]=/nagios/libexec/check_disk -w 20 -c 10 -p /dev/hd10opt command[check_users]=/nagios/libexec/check_users -w 5 -c 10 command[check_load]=/nagios/libexec/check_load -w 15,10,5 -c 30,25,20 command[check_zombie_procs]=/nagios/libexec/check_procs -w 5 -c 10 -s Z command[check_total_procs]=/nagios/libexec/check_procs -w 150 -c 200 (remember to restart nrpe if you edit its config file) Test from the command line after starting nrpe (you should get replies): /nagios/libexec/check_disk -w 20 -c 10 -p /dev/hd4 /nagios/libexec/check_load -w 15,10,5 -c 30,25,20 Let me know if there are any issues. Wrote all these in a hurry :-) ________________________________ From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Rudy Montemayor Sent: 04 November 2005 18:20 To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] nrpe ver. 2 on AIX 5.2 Hi, I have Nagios and nrpe running on both HP and Sun systems; however I can not get the nrpe daemon on AIX to work at all. Here is a little info on what I'm using: AIX oslevel 5.2.0.0 NRPE Version: 2.0b5 On AIX system: netstat -a | grep 5666 tcp4 0 0 *.5666 *.* LISTEN When I try the check_nrpe from my HP system where I have Nagios running to the AIX system I get the following: CHECK_NRPE: Received 0 bytes from daemon. Check the remote server logs for error messages. I have nrpe ruuning as a standalone daemon on the AIX system: ps -ef | grep nrpe www 258078 1 0 10:39:44 - 0:00 /usr/local/nagios/nrpe-2.0/bin/nrpe.old -c /usr/local/nagios/nrpe-2.0/nrpe.cfg -d Any help to get this going would be appreciated. Thanks. Rudy Montemayor Sr. Unix System Admin Hunt Oil Company 214-978-8357 -------------- next part -------------- An HTML attachment was scrubbed... URL: From RMontemayor at huntoil.com Fri Nov 4 21:46:50 2005 From: RMontemayor at huntoil.com (Rudy Montemayor) Date: Fri, 4 Nov 2005 14:46:50 -0600 Subject: nrpe ver. 2 on AIX 5.2 Message-ID: Ayotunde, Thanks for your response. No, unfortunately I do not have cc or gcc on my AIX systems and I download the current nrpe version from the internet hoping that it would work. Rudy ________________________________ From: Ayotunde Itayemi [mailto:aitayemi at vmobile-nigeria.com] Sent: Friday, November 04, 2005 2:40 PM To: Rudy Montemayor; nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] nrpe ver. 2 on AIX 5.2 Hi, Did you compile it yourself? I was getting the same message yesterday and for the life of me I can't remember how I solved it. But let me just take you through my compile Running as user/group nagios/nagios I installed under /nagios but you can modify to suit yourself installing NRPE and nagios plugin (without ssl) extract nrpe archive nrpe-2.0b4.tar.gz gunzip nrpe-2.0b4.tar.gz tar -xvf nrpe-2.0b4.tar cd nrpe-2.0b4 install NRPE by: ./configure --enable-command-args --disable-ssl make all mkdir -p /nagios/sbin cp src/nrpe src/check_nrpe /nagios/sbin mkdir -p /nagios/etc cp -p nrpe.cfg /nagios/etc/ edit nrpe.cfg as required Installing NAGIOS plugins ------------------------------------- Unarchive nagios-plugins-HEAD-200510261647.tar.gz gunzip nagios-plugins-HEAD-200510261647.tar.gz tar -xvf nagios-plugins-HEAD-200510261647.tar cd nagios-plugins-HEAD-200510261647 ./configure --without-ssl make copy all executables to your preferred directory e.g., /nagios/libexec cd plugins find ./ -type f -perm 644 -exec cp {} /nagios/libexec \; start nrpe with command similar to /nagios/sbin/nrpe -d -c /nagios/etc/nrpe.cfg You may have to edit nrpe.cfg especially if running it standalone allowed_hosts=127.0.0.1,ip-address-of-other-hosts-that-will-talk-to-nrpe Sample commands that you may put in your nrpe.cfg to test with command[check_disk1]=/nagios/libexec/check_disk -w 20 -c 10 -p /dev/hd4 command[check_disk2]=/nagios/libexec/check_disk -w 20 -c 10 -p /dev/hd2 command[check_disk3]=/nagios/libexec/check_disk -w 20 -c 10 -p /dev/hd9var command[check_disk4]=/nagios/libexec/check_disk -w 20 -c 10 -p /dev/hd3 command[check_disk5]=/nagios/libexec/check_disk -w 20 -c 10 -p /dev/hd1 command[check_disk6]=/nagios/libexec/check_disk -w 20 -c 10 -p /dev/hd10opt command[check_users]=/nagios/libexec/check_users -w 5 -c 10 command[check_load]=/nagios/libexec/check_load -w 15,10,5 -c 30,25,20 command[check_zombie_procs]=/nagios/libexec/check_procs -w 5 -c 10 -s Z command[check_total_procs]=/nagios/libexec/check_procs -w 150 -c 200 (remember to restart nrpe if you edit its config file) Test from the command line after starting nrpe (you should get replies): /nagios/libexec/check_disk -w 20 -c 10 -p /dev/hd4 /nagios/libexec/check_load -w 15,10,5 -c 30,25,20 Let me know if there are any issues. Wrote all these in a hurry :-) ________________________________ From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Rudy Montemayor Sent: 04 November 2005 18:20 To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] nrpe ver. 2 on AIX 5.2 Hi, I have Nagios and nrpe running on both HP and Sun systems; however I can not get the nrpe daemon on AIX to work at all. Here is a little info on what I'm using: AIX oslevel 5.2.0.0 NRPE Version: 2.0b5 On AIX system: netstat -a | grep 5666 tcp4 0 0 *.5666 *.* LISTEN When I try the check_nrpe from my HP system where I have Nagios running to the AIX system I get the following: CHECK_NRPE: Received 0 bytes from daemon. Check the remote server logs for error messages. I have nrpe ruuning as a standalone daemon on the AIX system: ps -ef | grep nrpe www 258078 1 0 10:39:44 - 0:00 /usr/local/nagios/nrpe-2.0/bin/nrpe.old -c /usr/local/nagios/nrpe-2.0/nrpe.cfg -d Any help to get this going would be appreciated. Thanks. Rudy Montemayor Sr. Unix System Admin Hunt Oil Company 214-978-8357 -------------- next part -------------- An HTML attachment was scrubbed... URL: From dbenigni at lutron.com Fri Nov 4 23:09:50 2005 From: dbenigni at lutron.com (David Benigni) Date: Fri, 04 Nov 2005 17:09:50 -0500 Subject: Nagios 1.2 and Fedora Core 4 Message-ID: I'm stuck! I've run Nagios on may linux OS's before and FC4 is really being a pain. Nagios compiles and runs, but the cgi's are broken with the following Apache log: Premature end of script headers: status.cgi, referer: http://x.x.x.x/nagios/side.html I've read the info about suexec, permissions and uid. None of those have made forward progress with this problem. Does any one have any ideas? TIA, Dave ------------------------------------------------------- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php _______________________________________________ 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 al at its-lehmann.de Fri Nov 4 23:25:34 2005 From: al at its-lehmann.de (Arno Lehmann) Date: Fri, 04 Nov 2005 23:25:34 +0100 Subject: Nagios 1.2 and Fedora Core 4 In-Reply-To: References: Message-ID: <436BDFDE.7060000@its-lehmann.de> Hello, On 04.11.2005 23:09, David Benigni wrote: > I'm stuck! I've run Nagios on may linux OS's before and FC4 is really > being a pain. Nagios compiles and runs, but the cgi's are broken with > the following Apache log: > > Premature end of script headers: status.cgi, referer: > http://x.x.x.x/nagios/side.html > > I've read the info about suexec, permissions and uid. None of those > have made forward progress with this problem. > > Does any one have any ideas? SELinux? Look through the list archives, or disable it if you can't manage it. Arno > TIA, > Dave > > > ------------------------------------------------------- > SF.Net email is sponsored by: > Tame your development challenges with Apache's Geronimo App Server. Download > it for free - -and be entered to win a 42" plasma tv or your very own > Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php > _______________________________________________ > 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 > -- IT-Service Lehmann al at its-lehmann.de Arno Lehmann http://www.its-lehmann.de ------------------------------------------------------- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php _______________________________________________ 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 dbenigni at lutron.com Fri Nov 4 23:57:48 2005 From: dbenigni at lutron.com (David Benigni) Date: Fri, 04 Nov 2005 17:57:48 -0500 Subject: Nagios 1.2 and Fedora Core 4 Message-ID: Arno, >>>> Arno Lehmann 11/4/2005 5:25:34 PM >>> >Hello, > >On 04.11.2005 23:09, David Benigni wrote: > >> I'm stuck! I've run Nagios on may linux OS's before and FC4 is really >> being a pain. Nagios compiles and runs, but the cgi's are broken with >> the following Apache log: >> >> Premature end of script headers: status.cgi, referer: >> http://x.x.x.x/nagios/side.html >> >> I've read the info about suexec, permissions and uid. None of those >> have made forward progress with this problem. >> >> Does any one have any ideas? > >SELinux? > >Look through the list archives, or disable it if you can't manage it. > >Arno Forgot to mention that, SELinux is disabled. Thanks, Dave ------------------------------------------------------- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php _______________________________________________ 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 drussell at mpifix.com Sat Nov 5 00:36:14 2005 From: drussell at mpifix.com (Danny Russell) Date: Fri, 4 Nov 2005 16:36:14 -0700 Subject: Nagios 2.0b4 - Log files Message-ID: <028B223BB24E5443A9784BBE1CC5EBE0685A50@Lisa.mpifix.com> Hello, I am in the process of testing 2.0b4 and some of my tools that I have built on my production system use the older log format from 1.2. I found a bunch of PHP functions and classes that read the log files and such for 1.2. I have not been able to find any of them for 2.0b4. What are some of the good ones? Also, some people talk about having their log files stored/dumped into a mySQL data base. Is this do able in 2.0x? I would love this feature. The one thing I did read was that people were using syslog or syslog-ng and pipes.... Thanks! -------------- next part -------------- An HTML attachment was scrubbed... URL: From sup_ququ at yahoo.com.cn Sat Nov 5 04:06:24 2005 From: sup_ququ at yahoo.com.cn (u q) Date: Sat, 5 Nov 2005 11:06:24 +0800 (CST) Subject: No notifications sent out, but need direct recipients? Message-ID: <20051105030625.97585.qmail@web15702.mail.cnb.yahoo.com> Nagios(v2.0b4) seems to work ok, but no notifications were sent out. The message "You must specify direct recipients with -s,-c, or -b" displayed when status changed. service_notification_commands,host_notification_commands all specified notify-by-epager, it's as following: # 'notify-by-epager' command definition define command{ command_name notify-by-epager command_line /usr/bin/printf "%b" "Service: $SERVICEDESC$\nHost: $HOSTNAME$\nAddress: $HOSTADDRESS$\nState: $SERVICESTATE$\nInfo: $SERVICEOUTPUT$\nDate: $LONGDATETIME$" -b | /bin/mail -s "$NOTIFICATIONTYPE$: $HOSTALIAS$/$SERVICEDESC$ is $SERVICESTATE$" $CONTACTPAGER$ } where to specify direct recipients? Thanks in advance. Regards Case ___________________________________________________________ ????G??????????????????? http://cn.mail.yahoo.com ------------------------------------------------------- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php _______________________________________________ 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 Sat Nov 5 16:02:04 2005 From: marc at ena.com (Marc Powell) Date: Sat, 5 Nov 2005 09:02:04 -0600 Subject: No notifications sent out, but need direct recipients? Message-ID: > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users- > admin at lists.sourceforge.net] On Behalf Of u q > Sent: Friday, November 04, 2005 9:06 PM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] No notifications sent out, but need direct > recipients? > > Nagios(v2.0b4) seems to work ok, but no notifications > were sent out. The message "You must specify direct > recipients with -s,-c, or -b" displayed when status > changed. > > service_notification_commands,host_notification_commands > all specified notify-by-epager, it's as following: > # 'notify-by-epager' command definition > define command{ > command_name notify-by-epager > command_line /usr/bin/printf "%b" "Service: > $SERVICEDESC$\nHost: $HOSTNAME$\nAddress: > $HOSTADDRESS$\nState: $SERVICESTATE$\nInfo: > $SERVICEOUTPUT$\nDate: $LONGDATETIME$" -b | > /bin/mail -s "$NOTIFICATIONTYPE$: > $HOSTALIAS$/$SERVICEDESC$ is $SERVICESTATE$" > $CONTACTPAGER$ > } > > > where to specify direct recipients? It seems odd that error message shows as status information on the web page. Is that correct? What is your host or service definition and the command definition? Presuming that this is really a notification error -- Your notify-by-epager command uses /bin/mail to send the message. You can see it above near the end of the command. -s is the subject of the message ("$NOTIFICATIONTYPE$: $HOSTALIAS$/$SERVICEDESC$ is $SERVICESTATE$") followed immediately by the contact e-mail address ($CONTACTPAGER$). It would appear that you have a different/newer version of /bin/mail that requires an argument identifier before the $CONTATPAGER$. Use 'man mail' to determine the correct flag and syntax to use and modify the command above appropriately. Snippet from standard 'mail' man page -- "NAME mail - send and receive mail SYNOPSIS mail [-iInv] [-s subject] [-c cc-addr] [-b bcc-addr] to-addr..." If you can't figure it out, please let us know the OS you are using and version of /bin/mail. An alternative explanation may be that when the macros are populated with real info your $HOSTALIAS$ or $SERVICEDESC$ contain a '"' character causing the quotes passed to /bin/mail to be wrong. -- Marc ------------------------------------------------------- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php _______________________________________________ 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 ae at op5.se Sat Nov 5 16:11:39 2005 From: ae at op5.se (Andreas Ericsson) Date: Sat, 05 Nov 2005 16:11:39 +0100 Subject: nrpe ver. 2 on AIX 5.2 In-Reply-To: References: Message-ID: <436CCBAB.4010700@op5.se> Rudy Montemayor wrote: > Hi, > > > > I have Nagios and nrpe running on both HP and Sun systems; however I can > not get the nrpe daemon on AIX to work at all. Here is a little info on > what I'm using: > > > > AIX oslevel 5.2.0.0 > > NRPE Version: 2.0b5 > > > > On AIX system: > > netstat -a | grep 5666 > > tcp4 0 0 *.5666 *.* > LISTEN > > > > When I try the check_nrpe from my HP system where I have Nagios running > to the AIX system I get the following: > > CHECK_NRPE: Received 0 bytes from daemon. Check the remote server logs > for error messages. > This piece of cut'n paste text should have been followed by "Here's the 'grep nrpe syslog-file' output" but, strangely enough, it isn't. > > > I have nrpe ruuning as a standalone daemon on the AIX system: > > ps -ef | grep nrpe > > www 258078 1 0 10:39:44 - 0:00 > /usr/local/nagios/nrpe-2.0/bin/nrpe.old -c > /usr/local/nagios/nrpe-2.0/nrpe.cfg -d > > > > Any help to get this going would be appreciated. The message from check_nrpe is fairly obvious. Don't ask questions to a free support forum without at least trying for half a minute of to fix the problem yourself. This particular one requires the brain-capacity of a five-year old, so I'll just let you try until you figure it out. It'll do you good as an exercise. -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Tel: +46 8-230225 Fax: +46 8-230231 ------------------------------------------------------- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php _______________________________________________ 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 ae at op5.se Sat Nov 5 16:25:36 2005 From: ae at op5.se (Andreas Ericsson) Date: Sat, 05 Nov 2005 16:25:36 +0100 Subject: Nagios 1.2 and Fedora Core 4 In-Reply-To: References: Message-ID: <436CCEF0.5040203@op5.se> David Benigni wrote: > I'm stuck! I've run Nagios on may linux OS's before and FC4 is really > being a pain. Nagios compiles and runs, but the cgi's are broken with > the following Apache log: > > Premature end of script headers: status.cgi, referer: > http://x.x.x.x/nagios/side.html > This happens when the cgi's, for one reason or another, *start* executing but then crash before they have time to write the header part of the output (cgi-programs are expected to create their own http header). This can happen for any number of reasons with the most common being (in top-down order): 1. Insufficient permissions to read the cgi.cfg file or some other vital file. On Nagios 1.x, this would also happen if it fails to read the nagios.cfg file. 2. Nagios is compiled manually from source and some library or other has been upgraded to a version that isn't backwards-compatible and that the cgi's depend on. This is by far the most likely source of the problem if it's isolated to any of the graph-drawing cgi's. 3. The webserver is an old one, compiled to treat all .cgi-files as perl-scripts and the particular mod_perl interpreter crashes when it tries to parse the binary cgi's (afaik, this happened alot with perl < 5.6). 4. Something never mentioned before on this list is going on. > I've read the info about suexec, permissions and uid. None of those > have made forward progress with this problem. > Which is why you get a nice helpful response, so it wasn't totally wasted anyways. I'm dead serious about this. > Does any one have any ideas? > su - httpd /usr/local/sbin/tac.cgi Set the necessary environment variables and run the cgi in strace (man strace for details). If it SIGSEGV's, make sure to do ulimit -c unlimited and run it again with the exact same arguments as you used when it segfaulted earlier. This should produce a core-dump which you can then use with gdb, like so; gdb /usr/local/sbin/tac.cgi core (gdb) bt If you get a lot of hex and nothing humanly readable in the gdb output, re-compile the cgi's and install them without stripping them. You can determine if a binary is stripped by using the 'file' command. If 'file' output ends with "not stripped" that means there are debugging symbols left in the binary which will be used for symbol name resolution (i.e. turns computer-addresses to humanly readable function names). -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Tel: +46 8-230225 Fax: +46 8-230231 ------------------------------------------------------- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php _______________________________________________ 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 ae at op5.se Sat Nov 5 16:28:01 2005 From: ae at op5.se (Andreas Ericsson) Date: Sat, 05 Nov 2005 16:28:01 +0100 Subject: No notifications sent out, but need direct recipients? In-Reply-To: <20051105030625.97585.qmail@web15702.mail.cnb.yahoo.com> References: <20051105030625.97585.qmail@web15702.mail.cnb.yahoo.com> Message-ID: <436CCF81.10008@op5.se> u q wrote: > Nagios(v2.0b4) seems to work ok, but no notifications > were sent out. The message "You must specify direct > recipients with -s,-c, or -b" displayed when status > changed. > > service_notification_commands,host_notification_commands > all specified notify-by-epager, it's as following: > # 'notify-by-epager' command definition > define command{ > command_name notify-by-epager > command_line /usr/bin/printf "%b" "Service: > $SERVICEDESC$\nHost: $HOSTNAME$\nAddress: > $HOSTADDRESS$\nState: $SERVICESTATE$\nInfo: > $SERVICEOUTPUT$\nDate: $LONGDATETIME$" -b | > /bin/mail -s "$NOTIFICATIONTYPE$: > $HOSTALIAS$/$SERVICEDESC$ is $SERVICESTATE$" > $CONTACTPAGER$ > } > I hope you're aware of the fact that you're using the $CONTACTPAGER$ macro with /bin/mail. That macro refers to the pager variable in contact definitions. -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Tel: +46 8-230225 Fax: +46 8-230231 ------------------------------------------------------- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php _______________________________________________ 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 dido at imperium.ph Sat Nov 5 17:16:31 2005 From: dido at imperium.ph (Rafael 'Dido' Sevilla) Date: Sun, 06 Nov 2005 00:16:31 +0800 Subject: sms notification section In-Reply-To: <436B3E4E.8020802@anticogroup.com> References: <436B3E4E.8020802@anticogroup.com> Message-ID: <436CDADF.1000100@imperium.ph> Oliver A. Rojo wrote: > is there any plugin or nagios script which will do SMS notification via > an SMS provider where in i can just set the SMS settings of the > provider. Currently Im using gnokii but im trying to host my servers in > a remote environment. > A simple way would be to use Kannel's [1] SMS push. You could set up a 'pager command' to do a Kannel SMS Push via a simple HTTP GET request using curl to the Kannel server, and if Kannel is properly configured, you'll receive a message. Kannel has full support for all the common (and some not quite so common) SMSC protocols, including CIMD2, SMPP, EMI/UCP, and it can also be used with GSM modems (where you can use handsets such as the Nokia 7110 and later models that have a GSM modem integrated, as well as actual GSM modems). [1] http:/www.kannel.org/ -- By their own reckless arrogance they perished: childish fools, They ate the Oxen of the Sun, and lost their hope of Home. http://stormwyrm.blogspot.com/ ------------------------------------------------------- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php _______________________________________________ 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 nlehouil at telusplanet.net Sun Nov 6 00:08:18 2005 From: nlehouil at telusplanet.net (nlehouil at telusplanet.net) Date: Sat, 5 Nov 2005 15:08:18 -0800 Subject: passing authentication information Message-ID: <1131232098.436d3b6227e79@webmail.telusplanet.net> Hi all, hopefully someone out there can help me out. I have setup apache so that it requires authenication using .htaccess(which points towards a kerberos system - Active Directory) and that works just fine. I have created a link on the side to send the user to another php program and I would like to pass the current authentication information to the php program. How do I retrieve the current logged in user information and put it into that link on the side? Any help is greatly appreciated..... Thanks... Neil ------------------------------------------------------- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php _______________________________________________ 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 nlehouil at telusplanet.net Sun Nov 6 00:23:16 2005 From: nlehouil at telusplanet.net (Neil Lehouillier) Date: Sat, 5 Nov 2005 16:23:16 -0700 Subject: passing authentication information Message-ID: <000a01c5e25f$e6424380$3d2da8c0@comp1> Hi all, hopefully someone out there can help me out. I have setup apache so that it requires authenication using .htaccess(which points towards a kerberos system - Active Directory) and that works just fine. I have created a link on the side to send the user to another php program and I would like to pass the current authentication information to the php program. How do I retrieve the current logged in user information and put it into that link on the side? Any help is greatly appreciated..... Thanks... Neil -------------- next part -------------- An HTML attachment was scrubbed... URL: From nlehouil at telusplanet.net Sun Nov 6 07:34:05 2005 From: nlehouil at telusplanet.net (nlehouil at telusplanet.net) Date: Sat, 5 Nov 2005 22:34:05 -0800 Subject: Retrieve logged in user Message-ID: <1131258845.436da3dd60820@webmail.telusplanet.net> Hi all, does anyone know how to retrieve the current logged in user in nagios? I can see it displayed in the little status window at the top but is there any variable I can query to get that information? I am currently using .htaccess for the authentication piece. If you can't do it from nagios is there any variable I query from apache to get the info I need? Thanks in advance..... Neil ------------------------------------------------------- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php _______________________________________________ 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 jjk_saji at yahoo.com Sun Nov 6 08:13:56 2005 From: jjk_saji at yahoo.com (John Joseph) Date: Sun, 6 Nov 2005 07:13:56 +0000 (GMT) Subject: Want to monitor Oracle , without running scripts on the Oracle Server In-Reply-To: <2b36e660511020146m85d8a72t33ed61190aed2ed@mail.gmail.com> References: <2b36e660511020146m85d8a72t33ed61190aed2ed@mail.gmail.com> Message-ID: <20051106071356.58488.qmail@web34806.mail.mud.yahoo.com> --- Ben O'Hara wrote: > The contrib/check_oracle from nagios-plugins will > monitor all of this > without requiring anything to be installed on the > oracle server. > > Monitoring host must have oracle installed and > access to sqlplus but > other than that it doesnt need to go on the oracle > box. > > Ben Hi Ben Thanks for the mail , I am using a very low configuration PC for nagios , and I prefer not to install anything else other than OS + nagios I should try to work on the SNMP way , as Andreas suggested Thanks joseph ___________________________________________________________ To help you stay safe and secure online, we've developed the all new Yahoo! Security Centre. http://uk.security.yahoo.com ------------------------------------------------------- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php _______________________________________________ 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 ntserafica at yahoo.com Sun Nov 6 09:24:57 2005 From: ntserafica at yahoo.com (Nelson Serafica) Date: Sun, 6 Nov 2005 00:24:57 -0800 (PST) Subject: host status was not updated Message-ID: <20051106082458.52957.qmail@web60421.mail.yahoo.com> Last night, one of my server (server A) was down and when it was already up, it was still red (HOST STATUS DOWN) even though the service ssh is now ok in that server. When i checked the status.log, it shows that : HOST;SERVERA;DOWN;1131262985;1131206895;0;950927;0;0;1131206895;1;1;1;1;1;0;0.00;0;1;1;CRITICAL - Plugin timed out after 10 seconds SERVICE;SERVERA;SSH;OK;1/5;HARD;1131262981;1131263161;ACTIVE;1;1;1;1131207025;0;OK;950928;0;0;129;0; 0;1;0;0;1;0;0.00;0;1;1;1 ;SSH OK - OpenSSH_3.9p1 (protocol 1.99) In my webinterface, service status (ssh) is ok but host status (serverA) is down. I received an email saying it was down last night but after 1 hour, it goes back to normal but since then host status never change only the service status (ssh) is ok. i checked /var/spool/mail/nagios and it is 0 bytes. i also tried to do pre-flight check and it found no error Checking global event handlers... Checking obsessive compulsive service processor command... Checking misc settings... Total Warnings: 0 Total Errors: 0 Things look okay - No serious problems were detected during the pre-flight check I hope someone can help me with this problem. Nelson T. Serafica GNU/Linux User No. 394081 Upgrading just for the sake of having a newest version is probably silly. __________________________________ Yahoo! Mail - PC Magazine Editors' Choice 2005 http://mail.yahoo.com ------------------------------------------------------- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php _______________________________________________ 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 Sun Nov 6 16:57:43 2005 From: marc at ena.com (Marc Powell) Date: Sun, 6 Nov 2005 09:57:43 -0600 Subject: Retrieve logged in user Message-ID: > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users- > admin at lists.sourceforge.net] On Behalf Of nlehouil at telusplanet.net > Sent: Sunday, November 06, 2005 12:34 AM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Retrieve logged in user > > Hi all, > > does anyone know how to retrieve the current logged in user in nagios? I > can > see it displayed in the little status window at the top but is there any > variable I can query to get that information? It's the Apache REMOTE_USER environment variable. The authentication is handled entirely between the browser and the web server. Nagios just looks to see if that variable is set. Netiquette: posting the same question more than once to a forum within a 24 hour period is considered rude. -- Marc ------------------------------------------------------- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php _______________________________________________ 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 Sun Nov 6 17:00:48 2005 From: marc at ena.com (Marc Powell) Date: Sun, 6 Nov 2005 10:00:48 -0600 Subject: host status was not updated Message-ID: > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users- > admin at lists.sourceforge.net] On Behalf Of Nelson Serafica > Sent: Sunday, November 06, 2005 2:25 AM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] host status was not updated > > Last night, one of my server (server A) was down and > when it was already up, it was still red (HOST STATUS > DOWN) even though the service ssh is now ok in that > server. When i checked the status.log, it shows that : > > HOST;SERVERA;DOWN;1131262985;1131206895;0;950927;0;0;1131206895;1;1;1;1; 1; > 0;0.00;0;1;1;CRITICAL > - Plugin timed out after 10 seconds Your host check is not executing properly, hence the 'Plugin timed out after 10 seconds'. Try running your host check exactly as it's defined and as the nagios user. As it is currently, Nagios will interpret the timeout as a CRITICAL failure. -- Marc ------------------------------------------------------- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php _______________________________________________ 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 mbrennan at off-hours.com Sun Nov 6 21:38:31 2005 From: mbrennan at off-hours.com (Matthew Brennan) Date: Sun, 06 Nov 2005 15:38:31 -0500 Subject: HTTP Auth -> Nagios problem Message-ID: <6.2.3.4.0.20051106153539.01d740d8@thayer.org> I have setup Nagios on other boxes without error, but I just put it on a new box and am experiencing a problem. I have enable HTTP authentication via .htaccess, I auth to HTTP fine but Nagios shows me as 'logged in a ?' - I set a default user in the cgi.cfg to override temporarily, but i can't figure out whats wrong. It is kind of important I get this working as not all users are supposed to be allow to see / manipulate all hosts. If anyone has any information that may help me it would be appreciated. (Nagios v2.0b4 - Apache v2.0.53) Thank you. ------------------------------------------------------- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php _______________________________________________ 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 tim at infostream.com.au Sun Nov 6 23:15:47 2005 From: tim at infostream.com.au (Tim O'Hare) Date: Mon, 07 Nov 2005 09:15:47 +1100 Subject: check_pgsql options? In-Reply-To: <436B8FA8.8010108@nabancard.com> References: <436B8FA8.8010108@nabancard.com> Message-ID: <436E8093.2030307@infostream.com.au> Hi Dan, If you run ./check_pgsql --help you can see there are options for host, username, password, etc. Then in checkcommands.cfg there is: command_line $USER1$/check_pgsql -H $HOSTADDRESS$ -d $ARG1$ -l $ARG2$ -w 30 -c 20 And finally in your services.cfg there is: check_command check_pgsql!database_name!login_name In this case there is an empty password being used. regards, Tim Dan Joseph wrote: > Hi All, > > I have a service definitely in my services.cfg setup to monitor out > postgres database server. > > define service{ > use generic-service ; Name > of service template to use > > host_name nabsql01 > service_description PGSQL > is_volatile 0 > check_period 24x7 > max_check_attempts 3 > normal_check_interval 5 > retry_check_interval 1 > contact_groups router-admins > notification_interval 240 > notification_period 24x7 > notification_options c,r > check_command check_pgsql > } > > It fails authentication to the server, which makes sense to me. My > question, how can I pass the username/password to it? from the command > line I can check it just fine. > ------------------------------------------------------- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php _______________________________________________ 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 Sun Nov 6 23:20:44 2005 From: jhmartin at toger.us (Jason Martin) Date: Sun, 6 Nov 2005 17:20:44 -0500 Subject: HTTP Auth -> Nagios problem In-Reply-To: <6.2.3.4.0.20051106153539.01d740d8@thayer.org> References: <6.2.3.4.0.20051106153539.01d740d8@thayer.org> Message-ID: <20051106222044.GA15885@mal.members.linode.com> On Sun, Nov 06, 2005 at 03:38:31PM -0500, Matthew Brennan wrote: > authentication via .htaccess, I auth to HTTP fine but Nagios shows me > as 'logged in a ?' - I set a default user in the cgi.cfg to override > temporarily, but i can't figure out whats wrong. It is kind of Is apache asking for the authentaction information? Is your apache configured to honor .htaccess files, and allow them to override authorization configuration? -Jason Martin -- They told me I was gullible ... and I believed them! 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 mbrennan at off-hours.com Sun Nov 6 23:24:47 2005 From: mbrennan at off-hours.com (Matthew Brennan) Date: Sun, 06 Nov 2005 17:24:47 -0500 Subject: HTTP Auth -> Nagios problem In-Reply-To: <20051106222044.GA15885@mal.members.linode.com> References: <6.2.3.4.0.20051106153539.01d740d8@thayer.org> <20051106222044.GA15885@mal.members.linode.com> Message-ID: <6.2.3.4.0.20051106172307.01d52658@mail.off-hours.com> Jason, Yes. As I said I auth to HTTP fine. Apache asks for the login info and validates it against the password file. For some reason Nagios just doesn't pick up the username that was used to login. (note that invalid credentials in the login window do produce an error, therefore login is configured correctly) Thanks At 17:20 11/6/2005, you wrote: >On Sun, Nov 06, 2005 at 03:38:31PM -0500, Matthew Brennan wrote: > > authentication via .htaccess, I auth to HTTP fine but Nagios shows me > > as 'logged in a ?' - I set a default user in the cgi.cfg to override > > temporarily, but i can't figure out whats wrong. It is kind of >Is apache asking for the authentaction information? Is your >apache configured to honor .htaccess files, and allow them to >override authorization configuration? > >-Jason Martin >-- >They told me I was gullible ... and I believed them! >This message is PGP/MIME signed. > ------------------------------------------------------- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php _______________________________________________ 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 mbrennan at off-hours.com Sun Nov 6 23:36:29 2005 From: mbrennan at off-hours.com (Matthew Brennan) Date: Sun, 06 Nov 2005 17:36:29 -0500 Subject: HTTP Auth -> Nagios problem In-Reply-To: <302ce8b50511061430i3863c80fi937984b84a99d536@mail.gmail.co m> References: <6.2.3.4.0.20051106153539.01d740d8@thayer.org> <20051106222044.GA15885@mal.members.linode.com> <6.2.3.4.0.20051106172307.01d52658@mail.off-hours.com> <302ce8b50511061430i3863c80fi937984b84a99d536@mail.gmail.com> <302ce8b50511061430i3863c80fi937984b84a99d536@mail.gmail.co m> Message-ID: <6.2.3.4.0.20051106173533.01d21660@mail.off-hours.com> As far as I can tell there are no other auth mods running. The box is running Slackware 10.1.0. -Matt At 17:30 11/6/2005, you wrote: >On 11/6/05, Matthew Brennan wrote: > > Jason, > > Yes. As I said I auth to HTTP fine. Apache asks for the > > login info and validates it against the password file. For some > > reason Nagios just doesn't pick up the username that was used to > > login. (note that invalid credentials in the login window do produce > > an error, therefore login is configured correctly) > > > > Thanks > >Are there any other auth plugins that may be conflicting? As I recall >RHEL/Centos had a problem that showed symptoms similar to this where >mod_auth_mysql was causing issues with htaccess flat file >authentication. > >-- >Jim Perrin >System Administrator - UIT >Ft Gordon & US Army Signal Center ------------------------------------------------------- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php _______________________________________________ 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 ae at op5.se Mon Nov 7 01:18:15 2005 From: ae at op5.se (Andreas Ericsson) Date: Mon, 07 Nov 2005 01:18:15 +0100 Subject: passing authentication information In-Reply-To: <000a01c5e25f$e6424380$3d2da8c0@comp1> References: <000a01c5e25f$e6424380$3d2da8c0@comp1> Message-ID: <436E9D47.30308@op5.se> Neil Lehouillier wrote: > Hi all, > > hopefully someone out there can help me out. > > I have setup apache so that it requires authenication using .htaccess(which points towards a kerberos system - Active Directory) and that works just fine. I have created a link on the side to send the user to another php program and I would like to pass the current authentication information to the php program. > > How do I retrieve the current logged in user information and put it into that link on the side? > Get a book on PHP. You want the $SERVER (or some such) array of variables. -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Tel: +46 8-230225 Fax: +46 8-230231 ------------------------------------------------------- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php _______________________________________________ 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 David.Andrew at development.tas.gov.au Mon Nov 7 06:01:32 2005 From: David.Andrew at development.tas.gov.au (David.Andrew at development.tas.gov.au) Date: Mon, 7 Nov 2005 16:01:32 +1100 Subject: David Andrew is out of the office. Message-ID: I will be out of the office starting 07/11/2005 and will not return until 22/11/2005. Please direct all inquiries to helpdesk at development.tas.gov.au or call (03) 6233 5825 ------------------------------------------------------- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php _______________________________________________ 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 VINAY_SHARMA at advanex.co.jp Mon Nov 7 08:45:43 2005 From: VINAY_SHARMA at advanex.co.jp (VINAY_SHARMA at advanex.co.jp) Date: Mon, 7 Nov 2005 16:45:43 +0900 Subject: About Nagios Grapher Message-ID: Dear All, Where i can get plugin and configuration file for nagios Grapher?? Thanks & regards ************************************** Vinay Sharma Information Systems and Solutions-Associates Advanex Inc (www.advanex.co.jp) Fon : 813-3822-5863 Fax : 813-5815-7881 Email : vinay_sharma at advanex.co.jp ------------------------------------------------------- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php _______________________________________________ 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 grover1711 at gmail.com Mon Nov 7 11:31:01 2005 From: grover1711 at gmail.com (ankush grover) Date: Mon, 7 Nov 2005 16:01:01 +0530 Subject: error while running nagios v2.0b on FC3 Message-ID: <5f638b360511070231t4d41d38coacaa466ded0b32bc@mail.gmail.com> hey friends, I am not able to run nagios on FC3.Here is the error when I try to start nagios nagios -v nagios.cfg Nagios 2.0b4 Copyright (c) 1999-2005 Ethan Galstad (http://www.nagios.org) Last Modified: 08-02-2005 License: GPL Reading configuration data... Error: Unexpected token or statement in file '/etc/nagios/command- plugins.cfg' o n line 33. ***> One or more problems was encountered while processing the config files... Check your configuration file(s) to ensure that they contain valid directives and data defintions. If you are upgrading from a previous version of Nagios, you should be aware that some variables/definitions may have been removed or modified in this version. Make sure to read the HTML documentation regarding the config files, as well as the 'Whats New' section to find out what has changed. The command-plugins.cfg file is attached with this mail. Please help me. Thanks & Regards Ankush Grover -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: command-plugins.cfg Type: application/octet-stream Size: 15770 bytes Desc: not available URL: From ae at op5.se Mon Nov 7 11:36:06 2005 From: ae at op5.se (Andreas Ericsson) Date: Mon, 07 Nov 2005 11:36:06 +0100 Subject: error while running nagios v2.0b on FC3 In-Reply-To: <5f638b360511070231t4d41d38coacaa466ded0b32bc@mail.gmail.com> References: <5f638b360511070231t4d41d38coacaa466ded0b32bc@mail.gmail.com> Message-ID: <436F2E16.9080006@op5.se> ankush grover wrote: > hey friends, > > I am not able to run nagios on FC3.Here is the error when I try to start > nagios > > nagios -v nagios.cfg > > Nagios 2.0b4 > Copyright (c) 1999-2005 Ethan Galstad (http://www.nagios.org) > Last Modified: 08-02-2005 > License: GPL > > Reading configuration data... > > Error: Unexpected token or statement in file '/etc/nagios/command- > plugins.cfg' o n line 33. > > ***> One or more problems was encountered while processing the config > files... > > Check your configuration file(s) to ensure that they contain valid > directives and data defintions. If you are upgrading from a previous > version of Nagios, you should be aware that some variables/definitions > may have been removed or modified in this version. Make sure to read > the HTML documentation regarding the config files, as well as the > 'Whats New' section to find out what has changed. > > > The command-plugins.cfg file is attached with this mail. > > Please help me. > RTFM, or please pay me. > Thanks & Regards > You're welcome. -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Tel: +46 8-230225 Fax: +46 8-230231 ------------------------------------------------------- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php _______________________________________________ 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 Nir.Sinay at followap.com Mon Nov 7 11:47:40 2005 From: Nir.Sinay at followap.com (Nir Sinay) Date: Mon, 7 Nov 2005 12:47:40 +0200 Subject: "Read Only" Web user Message-ID: <8E5AB0A04458904BB9B079055261033C01330748@mail.followap.com> Hello all, We have several clients that by SLA are allowed to access our Nagios system. However with the current nagios setup they are able to issue Service command i.e disable service checks etc... Is there anyway to prevent this users form activating the commands? Basically create a read only user? We are using nagios 1.x Thanks, nir -----Original Message----- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of nagios-users-request at lists.sourceforge.net Sent: Monday, November 07, 2005 4:15 AM To: nagios-users at lists.sourceforge.net Subject: Nagios-users digest, Vol 1 #2890 - 11 msgs Send Nagios-users mailing list submissions to nagios-users at lists.sourceforge.net To subscribe or unsubscribe via the World Wide Web, visit https://lists.sourceforge.net/lists/listinfo/nagios-users or, via email, send a message with subject or body 'help' to nagios-users-request at lists.sourceforge.net You can reach the person managing the list at nagios-users-admin at lists.sourceforge.net When replying, please edit your Subject line so it is more specific than "Re: Contents of Nagios-users digest..." ------------------------------------------------------- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php _______________________________________________ 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 Fernando.Azevedo at cabovisao.pt Mon Nov 7 12:57:31 2005 From: Fernando.Azevedo at cabovisao.pt (Fernando Azevedo) Date: Mon, 7 Nov 2005 11:57:31 -0000 Subject: Plugin output Message-ID: Dear all, Please help me out with writing my first nagios perl script/plug-in: My script is working fine when ran stand-alone, but when I integrate it with nagios it always reports CRITICAL situations. I guess my mistake is in the way I output the data, but can't find any docs that help me solve the situation. The Output I currently export is: STRING : value : OK Or STRING : value : value >= threshold : WARNING | CRITICAL I exit the script with 'exit $ERRORS{"OK | WARNING | CRITICAL | UNKNOWN"}; One strange thing that happens is that when I see the script output in the nagios detail service problems it appears like: STRING : value : value >=NOTHING: CRITICAL I can send the code and screen captures if required! Can anyone help me on this? Thanks in advance, Fernando Azevedo Esta mensagem de E-mail podera conter informacao restrita ou confidencial. Caso a receba por engano agradecemos que nos informe e proceda a eliminacao da mesma, sem copia ou revelacao do seu conteudo ou de ficheiros contidos na mesma a terceiros. This message may contain privileged or confidential information. If you have received it by mistake please let us know and delete the message without copying or disclosing it to any other person. ------------------------------------------------------- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php _______________________________________________ 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 alex at afarrer.co.uk Mon Nov 7 13:29:11 2005 From: alex at afarrer.co.uk (alex at afarrer.co.uk) Date: Mon, 07 Nov 2005 12:29:11 +0000 Subject: Check commands - connection refused Message-ID: Nagios: 1.2 Plugins: 1.4.2 Fedora Core 4 I have a number of check_http commands which when I run them from the command line (as user: nagios) give an HTTP OK result. When nagios runs them i get a Connection Refused message. is is configured in checkcommands.cfg: check_http -H $HOSTADDRESS$ -p $ARG1$ -u "/action=query&text=test&maxresults=1" -s "SUCCESS" or as an example test from the command line: check_http -H 10.1.1.1 -p 9002 -u "/action=query&text=test&maxresults=1" -s "SUCCESS" The hosts themselves that are being checked are accross a VPN on a different network. Will this affect Nagios' ability to check them (there are no timeouts)? The same check on similar hosts on the local network all work fine. Many thanks Alex ------------------------------------------------------- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php _______________________________________________ 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 msugano at uolinc.com Mon Nov 7 13:38:54 2005 From: msugano at uolinc.com (Marcel Mitsuto Fucatu Sugano) Date: Mon, 07 Nov 2005 10:38:54 -0200 Subject: Nagios 2.0b4 - Log files In-Reply-To: <028B223BB24E5443A9784BBE1CC5EBE0685A50@Lisa.mpifix.com> References: <028B223BB24E5443A9784BBE1CC5EBE0685A50@Lisa.mpifix.com> Message-ID: <1131367134.15033.9.camel@localhost> On Fri, 2005-11-04 at 16:36 -0700, Danny Russell wrote: > Also, some people talk about having their log files stored/dumped into > a mySQL data base. Is this do able in 2.0x? I would love this > feature. Have you looked about nagios-db at nagiosexchange.org? Nagios 2 has dropped sql support. It is only achieved by the nagios-db plugin. I think the project leader is planning something new for nagios3 like a new frontend to upcome the CGIs scalation issue. HTH, -- Marcel Mitsuto Fucatu Sugano Universo Online S.A. -- http://www.uol.com.br -------------- next part -------------- An HTML attachment was scrubbed... URL: From Thomas.Zimmer at oppenheim.de Mon Nov 7 14:01:38 2005 From: Thomas.Zimmer at oppenheim.de (Thomas.Zimmer at oppenheim.de) Date: Mon, 7 Nov 2005 14:01:38 +0100 Subject: AW: About Nagios Grapher Message-ID: <9A834A8DCEC68648B20701E1CDE10925F8486A@OKWPMXS01.de.sal-opp.net> See http://www.nagiosexchange.org/Charts.42.0.html?&tx_netnagext_pi1[p_view]=195 On www.nagiosexchange.org : http://www.nagiosexchange.org/Charts.42.0.html?&tx_netnagext_pi1[p_view]=195 Greetz, Thomas Zimmer Produktservice & Betrieb Betrieb & Support Sal. Oppenheim jr. & Cie., Frankfurt a. Main Internet: http://www.oppenheim.de E-Mail: thomas.zimmer at oppenheim.de -----Urspr?ngliche Nachricht----- Von: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] Im Auftrag von VINAY_SHARMA at advanex.co.jp Gesendet: Montag, 7. November 2005 08:46 An: nagios-users at lists.sourceforge.net Betreff: [Nagios-users] About Nagios Grapher Dear All, Where i can get plugin and configuration file for nagios Grapher?? Thanks & regards ************************************** Vinay Sharma Information Systems and Solutions-Associates Advanex Inc (www.advanex.co.jp) Fon : 813-3822-5863 Fax : 813-5815-7881 Email : vinay_sharma at advanex.co.jp ------------------------------------------------------- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php _______________________________________________ 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 -------------- next part -------------- A non-text attachment was scrubbed... Name: Zimmer, Thomas (Produktservices und Betrieb).vcf Type: application/octet-stream Size: 254 bytes Desc: not available URL: From dbenigni at lutron.com Mon Nov 7 14:31:15 2005 From: dbenigni at lutron.com (David Benigni) Date: Mon, 07 Nov 2005 08:31:15 -0500 Subject: Nagios 1.2 and Fedora Core 4 Message-ID: >et the necessary environment variables and run the cgi in strace (man >trace for details). If it SIGSEGV's, make sure to do >ulimit -c unlimited Andreas thanks for the help. strace did the trick. It was a silly over looked mistake. I copied the configs from my old Nagios box. On the new box I didn't have authenication turned on yet. In cgi.cfg I didn't have a user name defined for default_user_name yet. That made it upset. I'm all fixed up now. Thanks again! Dave ------------------------------------------------------- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php _______________________________________________ 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 james.mohr at elaxy.com Mon Nov 7 16:13:13 2005 From: james.mohr at elaxy.com (Mohr James) Date: Mon, 7 Nov 2005 16:13:13 +0100 Subject: Recording every service status check Message-ID: Hi All! I am missing a bit of KnowHow here. I need to have a record of every single service check. Looking at the files in var/archives, the entries for any given service does not appear that entries are made at regular intervals. Well, at least I cannot see any pattern. I have been looking at the NEB, particularly the Mysql Insert plugin, but I would hate to re-invent the wheel. Would the NEB be the way or is there an option within the service definition that I am overlooking? Regards, Jim Mohr ------------------------------------------------------- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php _______________________________________________ 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 ae at op5.se Mon Nov 7 16:27:11 2005 From: ae at op5.se (Andreas Ericsson) Date: Mon, 07 Nov 2005 16:27:11 +0100 Subject: Recording every service status check In-Reply-To: References: Message-ID: <436F724F.2050208@op5.se> Mohr James wrote: > Hi All! > > I am missing a bit of KnowHow here. I need to have a record of every > single service check. Looking at the files in var/archives, the entries > for any given service does not appear that entries are made at regular > intervals. Well, at least I cannot see any pattern. > Records are only updated when the status changes unless you've enabled stalking or debugging. > I have been looking at the NEB, particularly the Mysql Insert plugin, > but I would hate to re-invent the wheel. Would the NEB be the way or is > there an option within the service definition that I am overlooking? > I think stalking option would do what you want, but it would also add a lot of overhead. You might be better off doing it with a neb. -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Tel: +46 8-230225 Fax: +46 8-230231 ------------------------------------------------------- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php _______________________________________________ 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 nagios at jehster.net Mon Nov 7 16:30:37 2005 From: nagios at jehster.net (Roy Kidder) Date: Mon, 7 Nov 2005 10:30:37 -0500 (EST) Subject: event handler macros Message-ID: <33197.206.131.211.142.1131377437.squirrel@home.rkidder.com> I'm writing a perl script that will be called as an event handler for a down/hard host. The idea behind the script is to generate some simple debugging output and email it to the contact group for the down host. The problem is that the contact group macro ($CONTACTEMAIL$) isn't available to event handlers. Does anyone have a suggestion on how I might determine the contact email for a host in such a case? Thanks in advance, Roy ------------------------------------------------------- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php _______________________________________________ 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 ae at op5.se Mon Nov 7 16:40:47 2005 From: ae at op5.se (Andreas Ericsson) Date: Mon, 07 Nov 2005 16:40:47 +0100 Subject: event handler macros In-Reply-To: <33197.206.131.211.142.1131377437.squirrel@home.rkidder.com> References: <33197.206.131.211.142.1131377437.squirrel@home.rkidder.com> Message-ID: <436F757F.4030200@op5.se> Roy Kidder wrote: > I'm writing a perl script that will be called as an event handler for a > down/hard host. The idea behind the script is to generate some simple > debugging output and email it to the contact group for the down host. > You're aware that this is what the contact object and such are for, right? > The problem is that the contact group macro ($CONTACTEMAIL$) isn't > available to event handlers. > > Does anyone have a suggestion on how I might determine the contact email > for a host in such a case? > You can do it in a number of obscure and ridiculous ways, all of which involve external files or weird name-standards. The easiest is probably to set your script as notification command for a contact. This will nicely bypass all the troubles (and be sane at the same time). -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Tel: +46 8-230225 Fax: +46 8-230231 ------------------------------------------------------- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php _______________________________________________ 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 msugano at uolinc.com Mon Nov 7 16:43:32 2005 From: msugano at uolinc.com (Marcel Mitsuto Fucatu Sugano) Date: Mon, 07 Nov 2005 13:43:32 -0200 Subject: error while running nagios v2.0b on FC3 In-Reply-To: <5f638b360511070231t4d41d38coacaa466ded0b32bc@mail.gmail.com> References: <5f638b360511070231t4d41d38coacaa466ded0b32bc@mail.gmail.com> Message-ID: <1131378213.15132.25.camel@localhost> On Mon, 2005-11-07 at 16:01 +0530, ankush grover wrote: > Error: Unexpected token or statement in file > '/etc/nagios/command-plugins.cfg' o n line 33. So, all you need is to read the fmanual, as Andreas kindly suggests. BUT, i am feeling benevolent, having had a nice piece of ass last night, i will tell you the error. I am guessing here, but... You are upgrading from nagios 1.X, right? So, first you should read the CHANGELOG, or upgrading guidelines. To short you the hard working reading, i can tell a bit more, it's on MACROS that you should pay attention. More specifically at MACROS CHANGELOG, because on line 33, you have $OUTPUT$ MACRO defining the command, but, i am not sure, you really should RTFM before trying this, might be because that MACRO have CHANGED after UPGRADING to 2.0b4. The correct macro is... You will find at a glance. Cheers -- Marcel Mitsuto Fucatu Sugano Universo Online S.A. -- http://www.uol.com.br ------------------------------------------------------- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php _______________________________________________ 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 nagios at jehster.net Mon Nov 7 16:50:25 2005 From: nagios at jehster.net (Roy Kidder) Date: Mon, 7 Nov 2005 10:50:25 -0500 (EST) Subject: event handler macros Message-ID: <33314.206.131.211.142.1131378625.squirrel@home.rkidder.com> Andreas Ericsson wrote: > The easiest is probably to set your script as notification command for a contact. This will nicely bypass all the troubles (and be sane at the same time). I thought about this, and may still go down this path. The one caveat is that the script might take some time to run (ie do a traceroute to the external interface of a vpn session across the Internet timing out the majority of the way). In that case, my alert might come several minutes after the actual event. One way around it would be to generate the initial alert before doing the time consuming stuff... ------------------------------------------------------- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php _______________________________________________ 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 james.mohr at elaxy.com Mon Nov 7 17:01:14 2005 From: james.mohr at elaxy.com (Mohr James) Date: Mon, 7 Nov 2005 17:01:14 +0100 Subject: AW: Recording every service status check Message-ID: >> -----Urspr?ngliche Nachricht----- >> Von: Andreas Ericsson [mailto:ae at op5.se] >> Gesendet: Montag, 7. November 2005 16:27 >> An: Mohr James >> Cc: Nagios-users at lists.sourceforge.net >> Betreff: Re: [Nagios-users] Recording every service status check >> >> Mohr James wrote: >> > Hi All! >> > >> > I am missing a bit of KnowHow here. I need to have a >> record of every >> > single service check. Looking at the files in var/archives, the >> > entries for any given service does not appear that entries >> are made at >> > regular intervals. Well, at least I cannot see any pattern. >> > >> >> Records are only updated when the status changes unless >> you've enabled stalking or debugging. >> >> > I have been looking at the NEB, particularly the Mysql >> Insert plugin, >> > but I would hate to re-invent the wheel. Would the NEB be >> the way or >> > is there an option within the service definition that I am >> overlooking? >> > >> >> I think stalking option would do what you want, but it would >> also add a lot of overhead. You might be better off doing it >> with a neb. Isn't stalking illegal? ;-) As an FYI, from what I see stalking would not do exactly what we need. http://nagios.sourceforge.net/docs/2_0/stalking.html says: "If you enable stalking for one or more states of a particular host or service, Nagios will log the results of the host or service check if the output from the check differs from the output from the previous check." Based on the description and example, if the message text was the same, even stalking would not record it. Regards, Jim Mohr ------------------------------------------------------- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php _______________________________________________ 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 Nov 7 17:20:30 2005 From: marc at ena.com (Marc Powell) Date: Mon, 7 Nov 2005 10:20:30 -0600 Subject: HTTP Auth -> Nagios problem Message-ID: > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users- > admin at lists.sourceforge.net] On Behalf Of Matthew Brennan > Sent: Sunday, November 06, 2005 2:39 PM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] HTTP Auth -> Nagios problem > > I have setup Nagios on other boxes without error, but I just put it > on a new box and am experiencing a problem. I have enable HTTP > authentication via .htaccess, I auth to HTTP fine but Nagios shows me > as 'logged in a ?' - I set a default user in the cgi.cfg to override > temporarily, but i can't figure out whats wrong. It is kind of > important I get this working as not all users are supposed to be > allow to see / manipulate all hosts. If anyone has any information > that may help me it would be appreciated. (Nagios v2.0b4 - Apache > v2.0.53) Thank you. Make sure your .htaccess file is in the ~nagios/sbin directory, not [just] ~nagios/share. You might want to also locate a perl or other script on the web that prints out the CGI environment variables. Drop that in the protected directory and make sure that Apache is properly setting the REMOTE_USER environment variable. Nagios has no authentication routines and relies on Apache handling that. If that's not it, give us _specifics_ about what you did to set it up (step by step) and the troubleshooting you've done so that we can help figure out what's out of place. -- Marc ------------------------------------------------------- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php _______________________________________________ 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 noyler at khimetrics.com Mon Nov 7 17:28:41 2005 From: noyler at khimetrics.com (Nathan Oyler) Date: Mon, 7 Nov 2005 09:28:41 -0700 Subject: event handler macros Message-ID: <59B15593F41BD24591D59436E7226EAD02C8B01E@Khiphx2.khimetrics.com> > Andreas Ericsson wrote: > > The easiest is probably to set your script as notification command for a > contact. This will nicely bypass all the troubles (and be sane at the > same time). > > I thought about this, and may still go down this path. The one caveat is > that the script might take some time to run (ie do a traceroute to the > external interface of a vpn session across the Internet timing out the > majority of the way). In that case, my alert might come several minutes > after the actual event. > > One way around it would be to generate the initial alert before doing the > time consuming stuff... > > Or setup a contact dedicated to this script, and add it to every contactgroup. Don't set it up as your own. ------------------------------------------------------- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php _______________________________________________ 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 kidd1270 at gmail.com Mon Nov 7 17:37:01 2005 From: kidd1270 at gmail.com (Kidd Chaos) Date: Mon, 7 Nov 2005 11:37:01 -0500 Subject: restarting nagios (1.02) config refresh Message-ID: <91a354090511070837s7037d21bx5be72248a0f72d5a@mail.gmail.com> ---- Does restarting nagios cause "not running" time in the stats? Or is there a way to load configs without restarting? -Thanks. --- -------------- next part -------------- An HTML attachment was scrubbed... URL: From Ludwig.Pummer at Copart.Com Mon Nov 7 17:52:39 2005 From: Ludwig.Pummer at Copart.Com (Ludwig Pummer) Date: Mon, 7 Nov 2005 08:52:39 -0800 Subject: Recording every service status check Message-ID: > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net > [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf > Of Mohr James > Sent: Monday, November 07, 2005 7:13 AM > To: Nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Recording every service status check > > Hi All! > > I am missing a bit of KnowHow here. I need to have a record > of every single service check. Looking at the files in > var/archives, the entries for any given service does not > appear that entries are made at regular intervals. Well, at > least I cannot see any pattern. > > I have been looking at the NEB, particularly the Mysql Insert > plugin, but I would hate to re-invent the wheel. Would the > NEB be the way or is there an option within the service > definition that I am overlooking? > > Regards, > > Jim Mohr You could set up an ocsp_command. It gets executed with the results of every service check. Its only possible disadvantage to your situation is that it has no per-service or per-host controls. If you want to, for example, keep information only about specific services, you'll need to put some intelligence into your ocsp command. ------------------------------------------------------- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php _______________________________________________ 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 Nov 7 17:53:15 2005 From: marc at ena.com (Marc Powell) Date: Mon, 7 Nov 2005 10:53:15 -0600 Subject: restarting nagios (1.02) config refresh Message-ID: > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users- > admin at lists.sourceforge.net] On Behalf Of Kidd Chaos > Sent: Monday, November 07, 2005 10:37 AM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] restarting nagios (1.02) config refresh > > ---- > Does restarting nagios cause "not running" time in the stats? Yes, nagios isn't running during the restart time. > Or is there a way to load configs without restarting? -Thanks. Send a HUP signal to the nagios daemon or use 'reload' with the nagios init script (i.e. '/etc/init.d/nagios reload'. -- Marc ------------------------------------------------------- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php _______________________________________________ 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 nagiosadmin at snef.fr Mon Nov 7 18:30:36 2005 From: nagiosadmin at snef.fr (Davy Gaussen) Date: Mon, 7 Nov 2005 18:30:36 +0100 Subject: Nagios interface Message-ID: <042f01c5e3c0$f714f920$c26710ac@sneftechnologies.fr> Hi, Does somebody know a nagios web interface ? Like oreon or nagios-php. But these products are only for nagios-1.x and I use nagios-2b4. Thank you for your response. Davy -------------- next part -------------- An HTML attachment was scrubbed... URL: From bedouglas at earthlink.net Mon Nov 7 18:44:57 2005 From: bedouglas at earthlink.net (bruce) Date: Mon, 7 Nov 2005 09:44:57 -0800 Subject: nagios client for security/asset mgmt.. Message-ID: <100d01c5e3c2$f913c470$0301a8c0@Mesa.com> hi... curious to know if anyone has created a cleint for windows boxes to be used as an asset mgmt client? thinking about a client that would return every bit of information about the system as possible!! -hardware -software -ports -interfaces -services -etc.. also interested to know if anyone has created/used/knowledge of a msoft/windows client for use in a security environment? the client would/should return information regarding.. -hardware -software -ports -interfaces -services -apps running -virus apps/etc.. -malware app running/etc... -etc.. has anyone knowledge of anyone using nagios as the server/host/central hub for this kind of information/processes.. thanks -bruce bedouglas at earthlink.net ------------------------------------------------------- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php _______________________________________________ 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 rossz at vamos-wentworth.org Mon Nov 7 18:52:02 2005 From: rossz at vamos-wentworth.org (Ross Wentworth) Date: Mon, 07 Nov 2005 09:52:02 -0800 Subject: timelimited warning alerts Message-ID: <436F9442.2020205@vamos-wentworth.org> What's the best way to handle sending out warnings during specified hours, but critical alerts all the time? For example, one test is disk space. If the warning level is set to 90% and the critical is 95% disk full, I want the warning sent during "daylight" hours (perhaps 8am-8pm), but the critical alert should be sent 24x7. Basically, I don't want to be woken at 3am for something that can be ignored until morning. On the other hand, I want to receive a warning during the day so I can deal with it and not be woken when the space becomes critical. -- Rossz ------------------------------------------------------- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php _______________________________________________ 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 james.mohr at elaxy.com Mon Nov 7 18:59:36 2005 From: james.mohr at elaxy.com (Mohr James) Date: Mon, 7 Nov 2005 18:59:36 +0100 Subject: AW: Recording every service status check Message-ID: >> -----Urspr?ngliche Nachricht----- >> Von: Ludwig Pummer [mailto:Ludwig.Pummer at Copart.Com] >> Gesendet: Montag, 7. November 2005 17:53 >> An: Mohr James; Nagios-users at lists.sourceforge.net >> Betreff: RE: [Nagios-users] Recording every service status check >> >> > -----Original Message----- >> > From: nagios-users-admin at lists.sourceforge.net >> > [mailto:nagios-users-admin at lists.sourceforge.net] On >> Behalf Of Mohr >> > James >> > Sent: Monday, November 07, 2005 7:13 AM >> > To: Nagios-users at lists.sourceforge.net >> > Subject: [Nagios-users] Recording every service status check >> > >> > Hi All! >> > >> > I am missing a bit of KnowHow here. I need to have a >> record of every >> > single service check. Looking at the files in var/archives, the >> > entries for any given service does not appear that entries >> are made at >> > regular intervals. Well, at least I cannot see any pattern. >> > >> > I have been looking at the NEB, particularly the Mysql >> Insert plugin, >> > but I would hate to re-invent the wheel. Would the NEB be >> the way or >> > is there an option within the service definition that I am >> > overlooking? >> > >> > Regards, >> > >> > Jim Mohr >> >> You could set up an ocsp_command. It gets executed with the >> results of every service check. Its only possible >> disadvantage to your situation is that it has no per-service >> or per-host controls. If you want to, for example, keep >> information only about specific services, you'll need to put >> some intelligence into your ocsp command. So, if I am reading it right, because we define the ocsp_command in nagios.cfg, it will be valid for every single service. ------------------------------------------------------- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php _______________________________________________ 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 jason-sourceforge at microlnk.net Mon Nov 7 20:36:36 2005 From: jason-sourceforge at microlnk.net (Jason Byrns) Date: Mon, 07 Nov 2005 13:36:36 -0600 Subject: NRPE + raidutil ? Message-ID: <436FACC4.2090909@microlnk.net> Good afternoon, all. I'm trying to monitor RAID array status using NRPE. But I'm running into minor security issues. * Adaptec 2100S RAID controller * CentOS 4.2 * raidutil RPM from http://i2o.shadowconnect.com When logged directly into the system to monitor, the raidutil command only works if I am root. But NRPE refuses to start if I tell it to use root as user and group. (Running under xinetd, in this case) Can anyone tell me the best (most secure) way to get this working properly? This web page seems to talk about it, but in Czech... http://homel.vsb.cz/~jas02/raid/ I am using an apparently custom Nagios plugin called "check_dpt_raid" and again, it seems to run manually just fine as long as I am root. (Can't remember where I got the plugin -- maybe from someone's mention of it on the mailing list. Nothing comes up when I search for the name!) Thanks as always! -- Jason Byrns Production Manager System Administrator http://www.MicroLnk.com/ 402-328-8600 ext. 653 ------------------------------------------------------- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php _______________________________________________ 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 teng at dataway.com Mon Nov 7 20:45:51 2005 From: teng at dataway.com (Tedman Eng) Date: Mon, 7 Nov 2005 11:45:51 -0800 Subject: nagios client for security/asset mgmt.. Message-ID: <37ED92F9890FAF4BB947613C66FF8B1A08BB2C16@dw-mail.dataway.com> Nagios _monitors_ stuff. To accurately monitor, you need known quantities. Nagios checks these known quantities at regular intervals and alerts when they change or are out of bounds. Assessing a system is a different beast. All the quantities are unknown. After assessment, you end with a database of known quantities, which you can THEN plug in the important ones into nagios to monitor. I suggest you look at some tools that may better match your needs: psinfo nmap WINventory more at http://software.newsforge.com/article.pl?sid=04/11/18/179206 -----Original Message----- From: bruce [mailto:bedouglas at earthlink.net] Sent: Monday, November 07, 2005 9:45 AM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] nagios client for security/asset mgmt.. hi... curious to know if anyone has created a cleint for windows boxes to be used as an asset mgmt client? thinking about a client that would return every bit of information about the system as possible!! -hardware -software -ports -interfaces -services -etc.. also interested to know if anyone has created/used/knowledge of a msoft/windows client for use in a security environment? the client would/should return information regarding.. -hardware -software -ports -interfaces -services -apps running -virus apps/etc.. -malware app running/etc... -etc.. has anyone knowledge of anyone using nagios as the server/host/central hub for this kind of information/processes.. thanks -bruce bedouglas at earthlink.net ------------------------------------------------------- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php _______________________________________________ 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 ------------------------------------------------------- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php _______________________________________________ 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 todd_barbera at wgbh.org Mon Nov 7 20:51:11 2005 From: todd_barbera at wgbh.org (Todd Barbera) Date: Mon, 07 Nov 2005 14:51:11 -0500 Subject: NRPE + raidutil ? In-Reply-To: <436FACC4.2090909@microlnk.net> References: <436FACC4.2090909@microlnk.net> Message-ID: <003001c5e3d4$9aca0570$620a010a@GRAPEAPE> Hi Jason, I'm doing the same thing on a Solaris server and I needed to set the suid bit on my plugin script. The other way to do so would be to configure sudo. I hope this helps. Todd -----Original Message----- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Jason Byrns Sent: Monday, November 07, 2005 2:37 PM To: Nagios Users Subject: [Nagios-users] NRPE + raidutil ? Good afternoon, all. I'm trying to monitor RAID array status using NRPE. But I'm running into minor security issues. * Adaptec 2100S RAID controller * CentOS 4.2 * raidutil RPM from http://i2o.shadowconnect.com When logged directly into the system to monitor, the raidutil command only works if I am root. But NRPE refuses to start if I tell it to use root as user and group. (Running under xinetd, in this case) Can anyone tell me the best (most secure) way to get this working properly? This web page seems to talk about it, but in Czech... http://homel.vsb.cz/~jas02/raid/ I am using an apparently custom Nagios plugin called "check_dpt_raid" and again, it seems to run manually just fine as long as I am root. (Can't remember where I got the plugin -- maybe from someone's mention of it on the mailing list. Nothing comes up when I search for the name!) Thanks as always! -- Jason Byrns Production Manager System Administrator http://www.MicroLnk.com/ 402-328-8600 ext. 653 ------------------------------------------------------- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php _______________________________________________ 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 ------------------------------------------------------- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php _______________________________________________ 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 rader at ginseng.hep.wisc.edu Mon Nov 7 20:55:40 2005 From: rader at ginseng.hep.wisc.edu (rader at ginseng.hep.wisc.edu) Date: Mon, 07 Nov 2005 13:55:40 -0600 Subject: NRPE + raidutil ? In-Reply-To: <436FACC4.2090909@microlnk.net> References: <436FACC4.2090909@microlnk.net> Message-ID: <200511071955.jA7JteVI025305@ginseng.hep.wisc.edu> > I'm trying to monitor RAID array status using NRPE. But I'm running > into minor security issues. > > * Adaptec 2100S RAID controller > * CentOS 4.2 > * raidutil RPM from http://i2o.shadowconnect.com > > When logged directly into the system to monitor, the raidutil command > only works if I am root. chmod 755 `which raidutil` as root? > But NRPE refuses to start if I tell it to use root as user and group. > (Running under xinetd, in this case) > > Can anyone tell me the best (most secure) way to get this working > properly? This web page seems to talk about it, but in Czech... > > http://homel.vsb.cz/~jas02/raid/ > > I am using an apparently custom Nagios plugin called "check_dpt_raid" > and again, it seems to run manually just fine as long as I am root. > (Can't remember where I got the plugin -- maybe from someone's mention > of it on the mailing list. Nothing comes up when I search for the name!) ftp://noc.hep.wisc.edu/pub/src/nagios/ ? ...but I really can't help you because we don't use NRPE. (We run check_dpt_raid via Net-SNMP's snmpd.) steve - - - systems & network manager high energy physics university of wisconsin ------------------------------------------------------- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php _______________________________________________ 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 warren1a at yahoo.com Mon Nov 7 21:02:22 2005 From: warren1a at yahoo.com (Warren Worsley) Date: Mon, 7 Nov 2005 12:02:22 -0800 (PST) Subject: Monitoring streaming server(s) - specific file Message-ID: <20051107200222.47244.qmail@web51603.mail.yahoo.com> I can use the check_real to monitor a specific stream on a real server. I need to be able to monitor a specific stream on a windows media server. Check_tcp doesn't allow me to use a url as it only checks a host and port. Thanks, Warren __________________________________ Yahoo! Mail - PC Magazine Editors' Choice 2005 http://mail.yahoo.com ------------------------------------------------------- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php _______________________________________________ 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 MKeith at ragansmith.com Mon Nov 7 21:02:54 2005 From: MKeith at ragansmith.com (Marion Keith) Date: Mon, 7 Nov 2005 14:02:54 -0600 Subject: check_disk_smb = no answer Message-ID: Nagios 2.0b4 running on Suse 9.3. Gathering data from printers, Linux, Windows, Novell boxes just great. My check_disk_smb command works fine on one open internal linux Samba server, but not on another largely identical Samba setup. The only error I can find is "No Answer from Client". Netbios good, sharename good. How can I run the command manually to track down where the problem is? Many thanks, Marion Keith ------------------------------------------------------- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php _______________________________________________ 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 rejaine at bhz.jamef.com.br Mon Nov 7 21:16:45 2005 From: rejaine at bhz.jamef.com.br (Rejaine Monteiro) Date: Mon, 07 Nov 2005 18:16:45 -0200 Subject: How can I check "who is online" on windows nt servers Message-ID: <1131394605.23334.28.camel@acesup2.bhz.jamef> Hi, I'm using NsClient addon from Nagios Exchange to get some information from windows nt/200/xp servers. But I need to get informations about who is on line and I think this addon don't provide this feature. How I can do this? Regards , ------------------------------------------------------- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php _______________________________________________ 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 andrew at profitability.net Mon Nov 7 21:18:18 2005 From: andrew at profitability.net (Andrew Cruse) Date: Mon, 7 Nov 2005 15:18:18 -0500 Subject: NRPE + raidutil ? In-Reply-To: <200511071955.jA7JteVI025305@ginseng.hep.wisc.edu> References: <200511071955.jA7JteVI025305@ginseng.hep.wisc.edu> Message-ID: nagios-users-admin at lists.sourceforge.net wrote: > > I'm trying to monitor RAID array status using NRPE. But > I'm running > into minor security issues. > > > > * Adaptec 2100S RAID controller > > * CentOS 4.2 > > * raidutil RPM from http://i2o.shadowconnect.com > > > When logged directly into the system to monitor, the raidutil > command > only works if I am root. > > chmod 755 `which raidutil` > > as root? > > > But NRPE refuses to start if I tell it to use root as user and > group. > (Running under xinetd, in this case) > > > > Can anyone tell me the best (most secure) way to get this > working > properly? This web page seems to talk about it, but in > Czech... > > > http://homel.vsb.cz/~jas02/raid/ > > > > I am using an apparently custom Nagios plugin called > "check_dpt_raid" > and again, it seems to run manually just fine as > long as I am root. > (Can't remember where I got the plugin -- maybe > from someone's mention > of it on the mailing list. Nothing > comes up when I search for the name!) > > ftp://noc.hep.wisc.edu/pub/src/nagios/ > > ? > > ...but I really can't help you because we don't use NRPE. > (We run check_dpt_raid via Net-SNMP's snmpd.) I've also found that raidutil often takes too long to run to be useful for NRPE. So I have a cron job that runs raidutil and saves the output to a text file, then have NRPE just check the contents of that file. Andrew ------------------------------------------------------- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php _______________________________________________ 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 rossz at vamos-wentworth.org Mon Nov 7 21:28:34 2005 From: rossz at vamos-wentworth.org (Ross Wentworth) Date: Mon, 07 Nov 2005 12:28:34 -0800 Subject: check_disk_smb = no answer In-Reply-To: References: Message-ID: <436FB8F2.8090304@vamos-wentworth.org> Could it be the "hosts allow" configuration option in samba? -- Rossz Marion Keith wrote: >Nagios 2.0b4 running on Suse 9.3. Gathering data from printers, Linux, >Windows, Novell boxes just great. > >My check_disk_smb command works fine on one open internal linux Samba >server, but not on another largely identical Samba setup. > >The only error I can find is "No Answer from Client". Netbios good, >sharename good. > >How can I run the command manually to track down where the problem is? > >Many thanks, > >Marion Keith > > > >------------------------------------------------------- >SF.Net email is sponsored by: >Tame your development challenges with Apache's Geronimo App Server. Download >it for free - -and be entered to win a 42" plasma tv or your very own >Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php >_______________________________________________ >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 > > ------------------------------------------------------- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php _______________________________________________ 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 bedouglas at earthlink.net Mon Nov 7 21:40:49 2005 From: bedouglas at earthlink.net (bruce) Date: Mon, 7 Nov 2005 12:40:49 -0800 Subject: nagios client for security/asset mgmt.. In-Reply-To: <37ED92F9890FAF4BB947613C66FF8B1A08BB2C16@dw-mail.dataway.com> References: <37ED92F9890FAF4BB947613C66FF8B1A08BB2C16@dw-mail.dataway.com> Message-ID: <109001c5e3db$8994f1f0$0301a8c0@Mesa.com> eng... thanks for the reply... however, my understanding of nagios, is that it can use client apps, and that it can monitor the outputs/states of these apps (depending on the clients/nagios settings...) if that's the case, my original question is valid, as i'm trying to figure out if clients have been developed/used to do what i suggested... -bruce -----Original Message----- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net]On Behalf Of Tedman Eng Sent: Monday, November 07, 2005 11:46 AM To: 'bedouglas at earthlink.net'; nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] nagios client for security/asset mgmt.. Nagios _monitors_ stuff. To accurately monitor, you need known quantities. Nagios checks these known quantities at regular intervals and alerts when they change or are out of bounds. Assessing a system is a different beast. All the quantities are unknown. After assessment, you end with a database of known quantities, which you can THEN plug in the important ones into nagios to monitor. I suggest you look at some tools that may better match your needs: psinfo nmap WINventory more at http://software.newsforge.com/article.pl?sid=04/11/18/179206 -----Original Message----- From: bruce [mailto:bedouglas at earthlink.net] Sent: Monday, November 07, 2005 9:45 AM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] nagios client for security/asset mgmt.. hi... curious to know if anyone has created a cleint for windows boxes to be used as an asset mgmt client? thinking about a client that would return every bit of information about the system as possible!! -hardware -software -ports -interfaces -services -etc.. also interested to know if anyone has created/used/knowledge of a msoft/windows client for use in a security environment? the client would/should return information regarding.. -hardware -software -ports -interfaces -services -apps running -virus apps/etc.. -malware app running/etc... -etc.. has anyone knowledge of anyone using nagios as the server/host/central hub for this kind of information/processes.. thanks -bruce bedouglas at earthlink.net ------------------------------------------------------- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php _______________________________________________ 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 ------------------------------------------------------- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php _______________________________________________ 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 ------------------------------------------------------- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php _______________________________________________ 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 Nov 7 21:55:43 2005 From: marc at ena.com (Marc Powell) Date: Mon, 7 Nov 2005 14:55:43 -0600 Subject: nagios client for security/asset mgmt.. Message-ID: You're both right. With proper shell scripting, Nagios can use just about any external application to determine status but that status must be something that can be boiled down to a single OK/WARNING/CRITICAL data point with a single line of human readable output. In your specific scenario, nagios would only be useful to determine if one of your metrics (hardware, software, ports, etc) changed from a known good value, not for cataloging systems. Bruce, you might want to read over the Developer Guidelines at http://nagiosplug.sf.net to get a better idea of what nagios is going to be expecting from your client application. -- Marc > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users- > admin at lists.sourceforge.net] On Behalf Of bruce > Sent: Monday, November 07, 2005 2:41 PM > To: 'Tedman Eng'; nagios-users at lists.sourceforge.net > Subject: RE: [Nagios-users] nagios client for security/asset mgmt.. > > eng... > > thanks for the reply... > > however, my understanding of nagios, is that it can use client apps, and > that it can monitor the outputs/states of these apps (depending on the > clients/nagios settings...) > > if that's the case, my original question is valid, as i'm trying to figure > out if clients have been developed/used to do what i suggested... > > -bruce > > > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net > [mailto:nagios-users-admin at lists.sourceforge.net]On Behalf Of Tedman Eng > Sent: Monday, November 07, 2005 11:46 AM > To: 'bedouglas at earthlink.net'; nagios-users at lists.sourceforge.net > Subject: RE: [Nagios-users] nagios client for security/asset mgmt.. > > > Nagios _monitors_ stuff. > > To accurately monitor, you need known quantities. Nagios checks these > known > quantities at regular intervals and alerts when they change or are out of > bounds. > > Assessing a system is a different beast. All the quantities are unknown. > After assessment, you end with a database of known quantities, which you > can > THEN plug in the important ones into nagios to monitor. > > > I suggest you look at some tools that may better match your needs: > psinfo > nmap > WINventory > > more at http://software.newsforge.com/article.pl?sid=04/11/18/179206 > > > > -----Original Message----- > From: bruce [mailto:bedouglas at earthlink.net] > Sent: Monday, November 07, 2005 9:45 AM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] nagios client for security/asset mgmt.. > > > hi... > > curious to know if anyone has created a cleint for windows boxes to be > used > as an asset mgmt client? thinking about a client that would return every > bit > of information about the system as possible!! > -hardware > -software > -ports > -interfaces > -services > -etc.. > > also interested to know if anyone has created/used/knowledge of a > msoft/windows client for use in a security environment? the client > would/should return information regarding.. > -hardware > -software > -ports > -interfaces > -services > -apps running > -virus apps/etc.. > -malware app running/etc... > -etc.. > > has anyone knowledge of anyone using nagios as the server/host/central hub > for this kind of information/processes.. > > thanks > > -bruce > bedouglas at earthlink.net > > > > > ------------------------------------------------------- > SF.Net email is sponsored by: > Tame your development challenges with Apache's Geronimo App Server. > Download > it for free - -and be entered to win a 42" plasma tv or your very own > Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php > _______________________________________________ > 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 > > > ------------------------------------------------------- > SF.Net email is sponsored by: > Tame your development challenges with Apache's Geronimo App Server. > Download > it for free - -and be entered to win a 42" plasma tv or your very own > Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php > _______________________________________________ > 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 > > > > ------------------------------------------------------- > SF.Net email is sponsored by: > Tame your development challenges with Apache's Geronimo App Server. > Download > it for free - -and be entered to win a 42" plasma tv or your very own > Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php > _______________________________________________ > 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 ------------------------------------------------------- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php _______________________________________________ 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 msugano at uolinc.com Mon Nov 7 21:54:59 2005 From: msugano at uolinc.com (Marcel Mitsuto Fucatu Sugano) Date: Mon, 07 Nov 2005 18:54:59 -0200 Subject: nagios client for security/asset mgmt.. In-Reply-To: <109001c5e3db$8994f1f0$0301a8c0@Mesa.com> References: <109001c5e3db$8994f1f0$0301a8c0@Mesa.com> Message-ID: <1131396899.15032.55.camel@localhost> Bruce, You are thinking like ITIL's configuration database, something like that? So you need a client who can gather all info you need to report, and then send it to nagios, to monitor all those resources? Well, Nagios operates in such a manner that it can wait for a result of any kind, as long it is in Nagios protocol, and report to anyone who needs to be reported, about the monitored host environment. Then, yes, you can use Nagios to keep a server configuration up-to-date monitored. But, you will need to write your plugin, and use nrpe, or whichever client who could run this plugin, and return status of CRITICAL, WARNING, UNKNOWN, or OK. Determined by your needs. Well, i am thinking Unix, talking about nrpe. Don't know if there is any port of NRPE for Microsoft's O.S. but I suspect there is. Someone with more knowledge than me surely can tell you about it. Cheers. On Mon, 2005-11-07 at 12:40 -0800, bruce wrote: > eng... > > thanks for the reply... > > however, my understanding of nagios, is that it can use client apps, and > that it can monitor the outputs/states of these apps (depending on the > clients/nagios settings...) > > if that's the case, my original question is valid, as i'm trying to figure > out if clients have been developed/used to do what i suggested... > > -bruce > > > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net > [mailto:nagios-users-admin at lists.sourceforge.net]On Behalf Of Tedman Eng > Sent: Monday, November 07, 2005 11:46 AM > To: 'bedouglas at earthlink.net'; nagios-users at lists.sourceforge.net > Subject: RE: [Nagios-users] nagios client for security/asset mgmt.. > > > Nagios _monitors_ stuff. > > To accurately monitor, you need known quantities. Nagios checks these known > quantities at regular intervals and alerts when they change or are out of > bounds. > > Assessing a system is a different beast. All the quantities are unknown. > After assessment, you end with a database of known quantities, which you can > THEN plug in the important ones into nagios to monitor. > > > I suggest you look at some tools that may better match your needs: > psinfo > nmap > WINventory > > more at http://software.newsforge.com/article.pl?sid=04/11/18/179206 > > > > -----Original Message----- > From: bruce [mailto:bedouglas at earthlink.net] > Sent: Monday, November 07, 2005 9:45 AM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] nagios client for security/asset mgmt.. > > > hi... > > curious to know if anyone has created a cleint for windows boxes to be used > as an asset mgmt client? thinking about a client that would return every bit > of information about the system as possible!! > -hardware > -software > -ports > -interfaces > -services > -etc.. > > also interested to know if anyone has created/used/knowledge of a > msoft/windows client for use in a security environment? the client > would/should return information regarding.. > -hardware > -software > -ports > -interfaces > -services > -apps running > -virus apps/etc.. > -malware app running/etc... > -etc.. > > has anyone knowledge of anyone using nagios as the server/host/central hub > for this kind of information/processes.. > > thanks > > -bruce > bedouglas at earthlink.net > > > > > ------------------------------------------------------- > SF.Net email is sponsored by: > Tame your development challenges with Apache's Geronimo App Server. Download > it for free - -and be entered to win a 42" plasma tv or your very own > Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php > _______________________________________________ > 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 > > > ------------------------------------------------------- > SF.Net email is sponsored by: > Tame your development challenges with Apache's Geronimo App Server. Download > it for free - -and be entered to win a 42" plasma tv or your very own > Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php > _______________________________________________ > 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 > > > > ------------------------------------------------------- > SF.Net email is sponsored by: > Tame your development challenges with Apache's Geronimo App Server. Download > it for free - -and be entered to win a 42" plasma tv or your very own > Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php > _______________________________________________ > 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 -- Marcel Mitsuto Fucatu Sugano Universo Online S.A. -- http://www.uol.com.br ------------------------------------------------------- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php _______________________________________________ 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 msugano at uolinc.com Mon Nov 7 21:57:48 2005 From: msugano at uolinc.com (Marcel Mitsuto Fucatu Sugano) Date: Mon, 07 Nov 2005 18:57:48 -0200 Subject: NRPE + raidutil ? In-Reply-To: <436FACC4.2090909@microlnk.net> References: <436FACC4.2090909@microlnk.net> Message-ID: <1131397068.15033.58.camel@localhost> On Mon, 2005-11-07 at 13:36 -0600, Jason Byrns wrote: > > But NRPE refuses to start if I tell it to use root as user and group. > (Running under xinetd, in this case) I think it is related to SELinux enabled? Don't know how to handle it, thought. I am only remembering that this kind of problem were around the list sometime ago. Search the mailling list. Cheers. -- Marcel Mitsuto Fucatu Sugano Universo Online S.A. -- http://www.uol.com.br ------------------------------------------------------- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php _______________________________________________ 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 aitayemi at vmobile-nigeria.com Mon Nov 7 22:00:01 2005 From: aitayemi at vmobile-nigeria.com (Ayotunde Itayemi) Date: Mon, 7 Nov 2005 22:00:01 +0100 Subject: Running NRPE under inetd (AIX) Message-ID: <3F959C2FD7D90F4AB1364FC167DDB3703E4A61@vnl-la01ex02.vmobile-nigeria.com> Hi All, I have not been able to successfully place NRPE under inetd's control on AIX 5.3 I usually get a CRC error as a reply when checking it manually from the command line. The same command (except for using "-d" instead of "-c") works from the command line When starting NRPE as a standalone daemon. I have checked all the usual stuff - permissions, User and group, putting the "-i" at the end of the line in inetd.conf etc. Line from my inetd.conf nrpe stream tcp nowait nagios /aixmon/nagios/sbin/nrpe -i -c /aixmon/nagios/etc/nrpe.cfg Test with NRPE running as a standalone daemon #/aixmon/nagios/sbin/check_nrpe -H 127.0.0.1 -c check_disk1 DISK OK - free space: / 213 MB (83%);| /=43MB;236;246;0;256 Test with NRPE running under INETD #/aixmon/nagios/sbin/check_nrpe -H 127.0.0.1 -c check_disk1 CHECK_NRPE: Response packet had invalid CRC32. Also I can't get the Statusmap link on the NAGIOS monitoring page to come up. It just comes up with "The page cannot be found" cannot be found error page. http://17.146.1200.10/nagios/cgi-bin/statusmap.cgi?host=all Thank you. Ayotunde Itayemi | Business Systems | IS-SYSTEMS | IS Group | 08022225919 | Vmobile Nigeria | http://itayemi.tripod.com/ ________________________________________________________________________ _______________________________________________________________________ "The only people to get even with are those who have helped you." "Men ought to throw caution to the winds, and catch it on the rebound..." -------------- next part -------------- An HTML attachment was scrubbed... URL: From msugano at uolinc.com Mon Nov 7 22:02:01 2005 From: msugano at uolinc.com (Marcel Mitsuto Fucatu Sugano) Date: Mon, 07 Nov 2005 19:02:01 -0200 Subject: check_disk_smb = no answer In-Reply-To: References: Message-ID: <1131397321.15132.61.camel@localhost> On Mon, 2005-11-07 at 14:02 -0600, Marion Keith wrote: > How can I run the command manually to track down where the problem is? short answer: # su - nagios -c "check_smb_disk " Att, -- Marcel Mitsuto Fucatu Sugano Universo Online S.A. -- http://www.uol.com.br ------------------------------------------------------- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php _______________________________________________ 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 s.shipway at auckland.ac.nz Mon Nov 7 22:28:51 2005 From: s.shipway at auckland.ac.nz (Steve Shipway) Date: Tue, 8 Nov 2005 10:28:51 +1300 Subject: Running NRPE under inetd (AIX) In-Reply-To: <3F959C2FD7D90F4AB1364FC167DDB3703E4A61@vnl-la01ex02.vmobile-nigeria.com> References: <3F959C2FD7D90F4AB1364FC167DDB3703E4A61@vnl-la01ex02.vmobile-nigeria.com> Message-ID: <03fa01c5e3e2$4b2f43f0$01fea8c0@itss.auckland.ac.nz> We are succesfully using NRPE under AIX here. It was compiled without SSL support, since I cant get hold of SSL libraries for AIX (insert curses on US export laws here) >From /etc/inetd.conf: nrpe stream tcp nowait monitor /usr/local/nrpe/nrpe nrpe -i -n -c /usr/local/nrpe/nrpe.cfg The 'invalid CRC32' error message is the (highly unhelpful) response usually generated when there is a problem with encryption or permissions, or the plugin fails, or indeed pretty much any other problem. Since your daemon works when it is run as user root but fails when it is run (under inetd) as user nagios, would this not indicate that you have a permissions problem? Check the permissions and ownerships on the nrpe.cfg file and parent directories, and of the plugins being called. Steve ------------------------------------------------------- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php _______________________________________________ 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 maillist at roomity.com Mon Nov 7 22:38:37 2005 From: maillist at roomity.com (shenanigans) Date: Mon, 7 Nov 2005 13:38:37 -0800 (PST) Subject: [OTAnn] Feedback Message-ID: <21434081.1131131399517243.JavaMail.tomcat5@slave1.roomity.com> I was interested in getting feedback from current mail group users. We have mirrored your mail list in a new application that provides a more aggregated and safe environment which utilizes the power of broadband. Roomity.com v 1.5 is a web 2.01 community webapp. Our newest version adds broadcast video and social networking such as favorite authors and an html editor. It?s free to join and any feedback would be appreciated. S. ------------------------------------------------------------------------------------------------------------------------------ Broadband interface (RIA) + mail box saftey = Nagios_Users_List.roomity.com *Your* clubs, no sign up to read, ad supported; try broadband internet. ~~1131399517240~~ ------------------------------------------------------------------------------------------------------------------------------ -------------- next part -------------- An HTML attachment was scrubbed... URL: From VINAY_SHARMA at advanex.co.jp Tue Nov 8 02:01:17 2005 From: VINAY_SHARMA at advanex.co.jp (VINAY_SHARMA at advanex.co.jp) Date: Tue, 8 Nov 2005 10:01:17 +0900 Subject: AW: About Nagios Grapher Message-ID: Hi all, How can i monitor Printer Server Spooler or Printer Server installed printer is working or not?? Thanks & regards ************************************** Vinay Sharma Information Systems and Solutions-Associates Advanex Inc (www.advanex.co.jp) Fon : 813-3822-5863 Fax : 813-5815-7881 Email : vinay_sharma at advanex.co.jp ------------------------------------------------------- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php _______________________________________________ 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 VINAY_SHARMA at advanex.co.jp Tue Nov 8 02:17:48 2005 From: VINAY_SHARMA at advanex.co.jp (VINAY_SHARMA at advanex.co.jp) Date: Tue, 8 Nov 2005 10:17:48 +0900 Subject: [OTAnn] Feedback Message-ID: Hi, Its a great work.i have registered today with roomity.it will be very helpfull for us.. Thanks Alot. Thanks & regards ************************************** Vinay Sharma Information Systems and Solutions-Associates Advanex Inc (www.advanex.co.jp) Fon : 813-3822-5863 Fax : 813-5815-7881 Email : vinay_sharma at advanex.co.jp shenanigans ??: nagios-users at lists.sourceforge.net ???: cc: nagios-users-admin at lists.sour ??: [Nagios-users] [OTAnn] Feedback ceforge.net 2005/11/08 06:38 I was interested in getting feedback from current mail group users. We have mirrored your mail list in a new application that provides a more aggregated and safe environment which utilizes the power of broadband. Roomity.com v 1.5 is a web 2.01 community webapp. Our newest version adds broadcast video and social networking such as favorite authors and an html editor. It?s free to join and any feedback would be appreciated. S. ------------------------------------------------------------------------------------------------------------------------------ Broadband interface (RIA) + mail box saftey = Nagios_Users_List.roomity.com *Your* clubs, no sign up to read, ad supported; try broadband internet. ~~1131399517240~~ ------------------------------------------------------------------------------------------------------------------------------ ------------------------------------------------------- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php _______________________________________________ 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 tharanga at roomsnet.com Tue Nov 8 04:21:40 2005 From: tharanga at roomsnet.com (Tharanga) Date: Tue, 8 Nov 2005 09:21:40 +0600 Subject: Disable NRPE timeour / socket time out critical alerts Message-ID: <00dd01c5e413$8956b600$12ff7893@RoomsNet.com> Greetings !! Iam using NRPE 2.0 to monitor my remote hosts and services. some times it gives critcal state with the nrpe timeout / socket time out notification. this is a huge problem to our network operating system guys...i need to disable crtical alert for NRPE checktime out and socket time out . or is it possible to change this alert to warning state. so i can disable warning alerts. (but we need to do...it without comiling th code...) any ideas would be greatly appriciated . Tharanga ------------------------------------------------------- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php _______________________________________________ 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 Tue Nov 8 05:06:57 2005 From: jhmartin at toger.us (Jason Martin) Date: Mon, 7 Nov 2005 23:06:57 -0500 Subject: Recording every service status check In-Reply-To: References: Message-ID: <20051108040657.GC15885@mal.members.linode.com> On Mon, Nov 07, 2005 at 06:59:36PM +0100, Mohr James wrote: > So, if I am reading it right, because we define the > ocsp_command in nagios.cfg, it will be valid for every single > service. Yes, if the 'obsess_over_service' option is on for that service. -Jason Martin -- Plan to be more spontaneous. 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 mark.limburg at gmail.com Tue Nov 8 07:08:54 2005 From: mark.limburg at gmail.com (Mark Limburg) Date: Tue, 8 Nov 2005 16:38:54 +1030 Subject: NRPE Responce Message-ID: Howdy List, Currently using NRPE on a few boxen, and get the following responce in the webpage. * LOCAL Partition Root OK 11-08-2005 16:30:35 5d 2h 14m 43s 1/4 NRPE v2.0 All well and fine, but is there a way to receive and display the *actual* data, rather than the NRPE v2.0 responce? Mark -------------- next part -------------- An HTML attachment was scrubbed... URL: From ae at op5.se Tue Nov 8 09:01:55 2005 From: ae at op5.se (Andreas Ericsson) Date: Tue, 08 Nov 2005 09:01:55 +0100 Subject: error while running nagios v2.0b on FC3 In-Reply-To: <1131378213.15132.25.camel@localhost> References: <5f638b360511070231t4d41d38coacaa466ded0b32bc@mail.gmail.com> <1131378213.15132.25.camel@localhost> Message-ID: <43705B73.7050701@op5.se> Marcel Mitsuto Fucatu Sugano wrote: > On Mon, 2005-11-07 at 16:01 +0530, ankush grover wrote: > >>Error: Unexpected token or statement in file >>'/etc/nagios/command-plugins.cfg' o n line 33. > > > So, all you need is to read the fmanual, as Andreas kindly suggests. > > BUT, i am feeling benevolent, having had a nice piece of ass last night, > i will tell you the error. > > I am guessing here, but... You are upgrading from nagios 1.X, right? > > So, first you should read the CHANGELOG, or upgrading guidelines. > > To short you the hard working reading, i can tell a bit more, it's on > MACROS that you should pay attention. No it's not. The single-line configuration style syntax went out when 2.0 went in, so command[check_something]=/path/to/some/plugin --option --option doesn't work any more. -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Tel: +46 8-230225 Fax: +46 8-230231 ------------------------------------------------------- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php _______________________________________________ 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 aitayemi at vmobile-nigeria.com Tue Nov 8 10:32:22 2005 From: aitayemi at vmobile-nigeria.com (Ayotunde Itayemi) Date: Tue, 8 Nov 2005 10:32:22 +0100 Subject: Running NRPE under inetd (AIX) Message-ID: <3F959C2FD7D90F4AB1364FC167DDB370347294@vnl-la01ex02.vmobile-nigeria.com> Hi, Please find listed below my installation steps. Did I misspell something? installing NRPE and Nagios-Plugins (without ssl) gunzip nrpe-2.0b4.tar.gz tar -xvf nrpe-2.0b4.tar cd nrpe-2.0b4 ./configure --enable-command-args --disable-ssl make all mkdir -p /nagios/sbin cp src/nrpe src/check_nrpe /nagios/sbin mkdir -p /nagios/etc cp -p nrpe.cfg /nagios/etc/ edit nrpe.cfg as required gunzip nagios-plugins-HEAD-200510261647.tar.gz tar -xvf nagios-plugins-HEAD-200510261647.tar cd nagios-plugins-HEAD-200510261647 ./configure --without-ssl -prefix=/nagios make make install Can you send me your own installation steps for configuring The 2 without ssl support? Thanks. -----Original Message----- From: Steve Shipway [mailto:s.shipway at auckland.ac.nz] Sent: 07 November 2005 22:29 To: Ayotunde Itayemi Cc: nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] Running NRPE under inetd (AIX) We are succesfully using NRPE under AIX here. It was compiled without SSL support, since I cant get hold of SSL libraries for AIX (insert curses on US export laws here) >From /etc/inetd.conf: nrpe stream tcp nowait monitor /usr/local/nrpe/nrpe nrpe -i -n -c /usr/local/nrpe/nrpe.cfg The 'invalid CRC32' error message is the (highly unhelpful) response usually generated when there is a problem with encryption or permissions, or the plugin fails, or indeed pretty much any other problem. Since your daemon works when it is run as user root but fails when it is run (under inetd) as user nagios, would this not indicate that you have a permissions problem? Check the permissions and ownerships on the nrpe.cfg file and parent directories, and of the plugins being called. Steve ------------------------------------------------------- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php _______________________________________________ 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 grover1711 at gmail.com Tue Nov 8 14:10:11 2005 From: grover1711 at gmail.com (ankush grover) Date: Tue, 8 Nov 2005 18:40:11 +0530 Subject: check_disk: Warning threshold must be integer or percentage! Message-ID: <5f638b360511080510p5b2dc233p488a90eeb602bc9@mail.gmail.com> hey friends, I am using Nagios 2.0b on FC3.I am getting this error while using check_disk . "check_disk: Warning threshold must be integer or percentage! " Moreover How to do I monitor mysql ? Is it possible to monitor windows 2000/XP/2003 machines with nagios ? Thanks & Regards Ankush Grover -------------- next part -------------- An HTML attachment was scrubbed... URL: From jason-sourceforge at microlnk.net Tue Nov 8 14:25:06 2005 From: jason-sourceforge at microlnk.net (Jason Byrns) Date: Tue, 08 Nov 2005 07:25:06 -0600 Subject: NRPE + raidutil ? In-Reply-To: References: Message-ID: <4370A732.6050904@microlnk.net> >>chmod 755 `which raidutil` >>as root? It was indeed the SUID bit that was necessary. It looked like that's what the web page (in Czech) I found was saying. But, y'know, I don't speak a word of Czech. To summarize, the solution was: (Add Dag Wieers' Yum repository) % yum install nagios-nrpe % useradd nagios % groupadd nagios (Download and install raidutils RPM from http://i2o.shadowconnect.com/) % chown root:nagios /usr/bin/raid* % chmod 750 /usr/bin/raid* % chmod u+s /usr/bin/raidutil > I've also found that raidutil often takes too long to run to be useful > for NRPE. So I have a cron job that runs raidutil and saves the output > to a text file, then have NRPE just check the contents of that file. Seems to respond in less than a second, for me. Thanks again for everyone's help! -- Jason Byrns Production Manager System Administrator http://www.MicroLnk.com/ 402-328-8600 ext. 653 ------------------------------------------------------- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php _______________________________________________ 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 msugano at uolinc.com Tue Nov 8 14:23:29 2005 From: msugano at uolinc.com (Marcel Mitsuto Fucatu Sugano) Date: Tue, 08 Nov 2005 11:23:29 -0200 Subject: check_disk: Warning threshold must be integer or percentage! In-Reply-To: <5f638b360511080510p5b2dc233p488a90eeb602bc9@mail.gmail.com> References: <5f638b360511080510p5b2dc233p488a90eeb602bc9@mail.gmail.com> Message-ID: <1131456210.21610.5.camel@localhost> On Tue, 2005-11-08 at 18:40 +0530, ankush grover wrote: > "check_disk: Warning threshold must be integer or percentage! " # ../libexec/check_disk check_disk: Could not parse arguments Usage: check_disk -w limit -c limit [-p path | -x device] [-t timeout] [-m] [-e] [-v] [-q] gamling:/opt/nagios/bin # ../libexec/check_disk -h check_disk (nagios-plugins 1.4) 1.56 Copyright (c) 1999 Ethan Galstad Copyright (c) 1999-2004 Nagios Plugin Development Team This plugin checks the amount of used disk space on a mounted file system and generates an alert if free space is less than one of the threshold values. Usage: check_disk -w limit -c limit [-p path | -x device] [-t timeout] [-m] [-e] [-v] [-q] Options: -h, --help Print detailed help screen -V, --version Print version information -w, --warning=INTEGER Exit with WARNING status if less than INTEGER --units of disk are free -w, --warning=PERCENT% Exit with WARNING status if less than PERCENT of disk space is free -c, --critical=INTEGER Exit with CRITICAL status if less than INTEGER --units of disk are free -c, --critical=PERCENT% Exit with CRITCAL status if less than PERCENT of disk space is free -C, --clear Clear thresholds -u, --units=STRING Choose bytes, kB, MB, GB, TB (default: MB) -k, --kilobytes Same as '--units kB' -m, --megabytes Same as '--units MB' -l, --local Only check local filesystems -p, --path=PATH, --partition=PARTITION Path or partition (may be repeated) -x, --exclude_device=PATH Ignore device (only works if -p unspecified) -X, --exclude-type=TYPE Ignore all filesystems of indicated type (may be repeated) -M, --mountpoint Display the mountpoint instead of the partition -e, --errors-only Display only devices/mountpoints with errors -w, --warning=DOUBLE Response time to result in warning status (seconds) -c, --critical=DOUBLE Response time to result in critical status (seconds) -t, --timeout=INTEGER Seconds before connection times out (default: 10) -v, --verbose Show details for command-line debugging (Nagios may truncate output) Examples: check_disk -w 10% -c 5% -p /tmp -p /var -C -w 100000 -c 50000 -p / Checks /tmp and /var at 10%,5% and / at 100MB, 50MB Send email to nagios-users at lists.sourceforge.net if you have questions regarding use of this software. To submit patches or suggest improvements, send email to nagiosplug-devel at lists.sourceforge.net > > Moreover How to do I monitor mysql ? check_tcp: check_tcp -H mysql.host -p 3306 > > Is it possible to monitor windows 2000/XP/2003 machines with nagios ? Yes. -- Marcel Mitsuto Fucatu Sugano Universo Online S.A. -- http://www.uol.com.br ------------------------------------------------------- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php _______________________________________________ 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 Carsten.Schmitz at aegon.com Tue Nov 8 14:57:02 2005 From: Carsten.Schmitz at aegon.com (Schmitz, Carsten) Date: Tue, 8 Nov 2005 14:57:02 +0100 Subject: Problem getting CGIs to work after upgrade to 2.0b4 Message-ID: <49977F7CEA035C46A2D47108CE0F032F019F0EF2@ANGELIA.aegon.com> Ignore my last mail please, just found the problem: status_file= in nagios.cfg was pointing to a location where Nagios wasn't allowed to write on the new system. Stupid me. Funny that Nagios doesn't complain at all, neither in the logs or when starting up in console mode about this? Anyway, thanks and regards, Carsten -----Original Message----- From: Schmitz, Carsten Sent: Tuesday, November 08, 2005 2:42 PM To: nagios-users at lists.sourceforge.net Subject: Problem getting CGIs to work after upgrade to 2.0b4 Hi fellow Nagiosians (if thats even a word ;) I have a problem with my CGIs, they don't work. Thats ALL of them, not just some. What I get is (for example for the service status): Whoops! Error: Could not read host and service status information! [...] As for the things addressed further down in the (long) error message: - Yes, Nagios is running (in daemon mode, I see it in ps -ef) - there are no CGI errros in the log file (some other errors that result from my upgrade, I explain below) - I verified my nagios config files with -v, and get no errors (some warnings but no errors) - I used the rhel rpm (don't ask), so I am sure main program and GCI using the same data store Here's what led to the error: - I have a working self-compiled nagios 1.x installation on machine #1 in /usr/local/nagios (the box is RH 7.3 - shame on me) - I installed nagios 2.x on machine #2 from the "official" rhel 4 rpm (this is the installation where the problem occurs), the box runs CentOS 4.2 (OS built from RHEL 4 patch 2 sources) - I can not rewrite all my host and service definitions at this time, so I decided to remove /etc/nagios and copy the contents of my machine #1's /usr/local/nagios/etc to /etc/nagios (please read on, I HAVE read the "Whats New in 2.x" and I am taking the config file format changes into account!) - I adjusted all the path names to match the path names in my new installation (perl one liner and verified twice) in all config files (nagios.cfg, cgi.cfg etc). - I stripped the contact_groups from the host group definitions according to the Nagios 2.x "Whats New" change document - I fixed some other small things where Nagios 2.x seems more picky than 1.x (in a good way ;) - I verified my config with -v, I ran nagios in console mode and watched it performing checks and sending emails, and I verified with ps -ef that it starts up in daemon mode. - I did NOT so far change any macros (!) to 2.x standards but that should not impact the CGIs from showing up, should it? - I should mention that I see some service checks fail in the log file (or console) because I am not yet finished copying and adjusting all of my custom plugins. - There are no errors in my apache error log. I DO see the access to the CGIs in the access log, but no errors. Still, the CGIs don't work. Would anyone kindly have a pointer for me what else to check for? Many thanks, Carsten ------------------------------------------------------- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php _______________________________________________ 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 Carsten.Schmitz at aegon.com Tue Nov 8 14:42:15 2005 From: Carsten.Schmitz at aegon.com (Schmitz, Carsten) Date: Tue, 8 Nov 2005 14:42:15 +0100 Subject: Problem getting CGIs to work after upgrade to 2.0b4 Message-ID: <49977F7CEA035C46A2D47108CE0F032F019F0EF1@ANGELIA.aegon.com> Hi fellow Nagiosians (if thats even a word ;) I have a problem with my CGIs, they don't work. Thats ALL of them, not just some. What I get is (for example for the service status): Whoops! Error: Could not read host and service status information! [...] As for the things addressed further down in the (long) error message: - Yes, Nagios is running (in daemon mode, I see it in ps -ef) - there are no CGI errros in the log file (some other errors that result from my upgrade, I explain below) - I verified my nagios config files with -v, and get no errors (some warnings but no errors) - I used the rhel rpm (don't ask), so I am sure main program and GCI using the same data store Here's what led to the error: - I have a working self-compiled nagios 1.x installation on machine #1 in /usr/local/nagios (the box is RH 7.3 - shame on me) - I installed nagios 2.x on machine #2 from the "official" rhel 4 rpm (this is the installation where the problem occurs), the box runs CentOS 4.2 (OS built from RHEL 4 patch 2 sources) - I can not rewrite all my host and service definitions at this time, so I decided to remove /etc/nagios and copy the contents of my machine #1's /usr/local/nagios/etc to /etc/nagios (please read on, I HAVE read the "Whats New in 2.x" and I am taking the config file format changes into account!) - I adjusted all the path names to match the path names in my new installation (perl one liner and verified twice) in all config files (nagios.cfg, cgi.cfg etc). - I stripped the contact_groups from the host group definitions according to the Nagios 2.x "Whats New" change document - I fixed some other small things where Nagios 2.x seems more picky than 1.x (in a good way ;) - I verified my config with -v, I ran nagios in console mode and watched it performing checks and sending emails, and I verified with ps -ef that it starts up in daemon mode. - I did NOT so far change any macros (!) to 2.x standards but that should not impact the CGIs from showing up, should it? - I should mention that I see some service checks fail in the log file (or console) because I am not yet finished copying and adjusting all of my custom plugins. - There are no errors in my apache error log. I DO see the access to the CGIs in the access log, but no errors. Still, the CGIs don't work. Would anyone kindly have a pointer for me what else to check for? Many thanks, Carsten ------------------------------------------------------- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php _______________________________________________ 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 nagiosadmin at snef.fr Tue Nov 8 15:00:37 2005 From: nagiosadmin at snef.fr (Davy Gaussen) Date: Tue, 8 Nov 2005 15:00:37 +0100 Subject: Web Interface Message-ID: <001401c5e46c$cbafbca0$c26710ac@sneftechnologies.fr> Hi, Does somebody know a nagios web interface ? Like oreon or nagios-php. But these products are only for nagios-1.x and I use nagios-2b4. Thank you for your response. Davy -------------- next part -------------- An HTML attachment was scrubbed... URL: From JSKing at HickorySprings.com Tue Nov 8 15:19:58 2005 From: JSKing at HickorySprings.com (King, Jared S.) Date: Tue, 8 Nov 2005 09:19:58 -0500 Subject: host layout on statusmap Message-ID: <21F007C48F7F044585919064F895D4E401ADF677@039-exc-be1.hsmc.local> I am wondering if there is a way to change the auto layout of the statusmap without having to resort to using the manual coordinates? Really all I want to change is the amount of space between hosts. I have almost 100 hosts, with the bulk of them off of one device, it is getting hard to see the hosts. Thanks, Jared -------------- next part -------------- An HTML attachment was scrubbed... URL: From ae at op5.se Tue Nov 8 15:58:59 2005 From: ae at op5.se (Andreas Ericsson) Date: Tue, 08 Nov 2005 15:58:59 +0100 Subject: Web Interface In-Reply-To: <001401c5e46c$cbafbca0$c26710ac@sneftechnologies.fr> References: <001401c5e46c$cbafbca0$c26710ac@sneftechnologies.fr> Message-ID: <4370BD33.3000402@op5.se> Davy Gaussen wrote: > Hi, > > Does somebody know a nagios web interface ? It comes with a web-interface. How can you possibly have missed that? > Like oreon or nagios-php. > But these products are only for nagios-1.x and I use nagios-2b4. > So patch them to understand Nagios 2.x or use the standard one. -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Tel: +46 8-230225 Fax: +46 8-230231 ------------------------------------------------------- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php _______________________________________________ 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 ae at op5.se Tue Nov 8 16:00:24 2005 From: ae at op5.se (Andreas Ericsson) Date: Tue, 08 Nov 2005 16:00:24 +0100 Subject: host layout on statusmap In-Reply-To: <21F007C48F7F044585919064F895D4E401ADF677@039-exc-be1.hsmc.local> References: <21F007C48F7F044585919064F895D4E401ADF677@039-exc-be1.hsmc.local> Message-ID: <4370BD88.3040406@op5.se> King, Jared S. wrote: > I am wondering if there is a way to change the auto layout of the > statusmap without having to resort to using the manual coordinates? > Really all I want to change is the amount of space between hosts. You can fix this by changing a variable in statusmap.c (or some such). Have fun. -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Tel: +46 8-230225 Fax: +46 8-230231 ------------------------------------------------------- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php _______________________________________________ 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 ae at op5.se Tue Nov 8 15:57:43 2005 From: ae at op5.se (Andreas Ericsson) Date: Tue, 08 Nov 2005 15:57:43 +0100 Subject: Problem getting CGIs to work after upgrade to 2.0b4 In-Reply-To: <49977F7CEA035C46A2D47108CE0F032F019F0EF1@ANGELIA.aegon.com> References: <49977F7CEA035C46A2D47108CE0F032F019F0EF1@ANGELIA.aegon.com> Message-ID: <4370BCE7.1060803@op5.se> Schmitz, Carsten wrote: > Hi fellow Nagiosians (if thats even a word ;) > > I have a problem with my CGIs, they don't work. Thats ALL of them, not just some. What I get is (for example for the service status): > > > Whoops! > > Error: Could not read host and service status information! > [...] > > > As for the things addressed further down in the (long) error message: > > - Yes, Nagios is running (in daemon mode, I see it in ps -ef) > > - there are no CGI errros in the log file (some other > errors that result from my upgrade, I explain below) > > - I verified my nagios config files with -v, and get no errors > (some warnings but no errors) > > - I used the rhel rpm (don't ask), so I am sure main program and > GCI using the same data store > > > Here's what led to the error: > > - I have a working self-compiled nagios 1.x installation on > machine #1 in /usr/local/nagios (the box is RH 7.3 - shame on me) > > - I installed nagios 2.x on machine #2 from the "official" rhel 4 > rpm (this is the installation where the problem occurs), the box > runs CentOS 4.2 (OS built from RHEL 4 patch 2 sources) > > - I can not rewrite all my host and service definitions at this > time, so I decided to remove /etc/nagios and copy the contents > of my machine #1's /usr/local/nagios/etc to /etc/nagios > > (please read on, I HAVE read the "Whats New in 2.x" and I am > taking the config file format changes into account!) > > - I adjusted all the path names to match the path names in my > new installation (perl one liner and verified twice) in all > config files (nagios.cfg, cgi.cfg etc). > > - I stripped the contact_groups from the host group definitions > according to the Nagios 2.x "Whats New" change document > > - I fixed some other small things where Nagios 2.x seems more > picky than 1.x (in a good way ;) > > - I verified my config with -v, I ran nagios in console mode and > watched it performing checks and sending emails, and I verified > with ps -ef that it starts up in daemon mode. > > - I did NOT so far change any macros (!) to 2.x standards but that > should not impact the CGIs from showing up, should it? > Correct. It shouldn't. > - I should mention that I see some service checks fail in the log > file (or console) because I am not yet finished copying and > adjusting all of my custom plugins. > > - There are no errors in my apache error log. I DO see the access > to the CGIs in the access log, but no errors. > > Still, the CGIs don't work. Would anyone kindly have a pointer for me what else to check for? > Permissions on the objects.cache file and the status.dat (or status.sav, I keep forgetting). $ su - httpd $ cat /usr/local/nagios/var/{objects.cache,status.sav} Take it from there. -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Tel: +46 8-230225 Fax: +46 8-230231 ------------------------------------------------------- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php _______________________________________________ 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 jcoombs at gwi.net Tue Nov 8 16:26:45 2005 From: jcoombs at gwi.net (Joshua Coombs) Date: Tue, 8 Nov 2005 10:26:45 -0500 Subject: "Service check did not exit properly" Message-ID: Near as I can tell from the src, nagios logs a failed service check with "Service check did not exit properly" when it can't execute the service check plugin. I keep getting this failure at random, 'bout once a day using check_snmp_if and I can't discern why. I first thought it might be a timeout, but nagios logs those as timeouts. I then thought it was a process limit, but I'm so under limits it hurts. So, I got cute, I made a wrapper that logs when it starts, and any output from check_snmp_if or the exact error when it can't execute it. Welp, it happened again, and I don't see anything in my logs to indicate what happened, all I see are valid runs. Anyone have further diag suggestions? Joshua Coombs ------------------------------------------------------- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php _______________________________________________ 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 radhiilu at yahoo.com Tue Nov 8 16:52:32 2005 From: radhiilu at yahoo.com (Radhika) Date: Tue, 8 Nov 2005 07:52:32 -0800 (PST) Subject: Nagios - how to monitor remote server via vpn Message-ID: <20051108155232.50528.qmail@web60715.mail.yahoo.com> Hi, I'm using nagios to monitor several customer servers. Now, for some customers a vpn connection is needed and some of our customers are using MS ISA server to control their access (with certificate). I tested it from the nagios box but from linux, i cannot get it working. Now, to solve these kind of problem, i want to use a RRAS server to do the vpn routing. How can i now set up nagios that this RRAS can be used for monitoring? Or are there other solutions possible for this problem? Thanks --------------------------------- Yahoo! FareChase - Search multiple travel sites in one click. -------------- next part -------------- An HTML attachment was scrubbed... URL: From jmwalker at itgroundwork.com Tue Nov 8 17:01:26 2005 From: jmwalker at itgroundwork.com (John Mark Walker) Date: Tue, 8 Nov 2005 08:01:26 -0800 Subject: Web Interface In-Reply-To: <001401c5e46c$cbafbca0$c26710ac@sneftechnologies.fr> References: <001401c5e46c$cbafbca0$c26710ac@sneftechnologies.fr> Message-ID: <15336807.1131465686581.JavaMail.root@mailserv> We (GroundWork) make this one - http://www.sourceforge.net/projects/gwsv/ which is built on this framework: http://www.sourceforge.net/projects/gwfoundation -JM ----- Original Message ----- From: Davy Gaussen Sent: Tue Nov 08 2005 06:07:17 GMT-0800 (PST) To: nagios-users Subject: [Nagios-users] Web Interface Hi, ? Does somebody know a nagios web interface ? Like oreon or nagios-php. But these products are only for nagios-1.x and I use nagios-2b4. ? Thank you for your response. ? Davy -------------- next part -------------- An HTML attachment was scrubbed... URL: From jhmartin at toger.us Tue Nov 8 17:00:25 2005 From: jhmartin at toger.us (Jason Martin) Date: Tue, 8 Nov 2005 11:00:25 -0500 Subject: NRPE Responce In-Reply-To: References: Message-ID: <20051108160025.GA4103@mal.members.linode.com> On Tue, Nov 08, 2005 at 04:38:54PM +1030, Mark Limburg wrote: > Currently using NRPE on a few boxen, and get the following responce in the > webpage. > > * LOCAL Partition Root OK 11-08-2005 16:30:35 5d 2h 14m 43s 1/4 NRPE v2.0 What plugin generates that output? NRPE normally acts as a transparent pass-through and doesn't change the output. -Jason Martin -- What if there were no hypothetical situations? 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 jrojas at shopzilla.com Tue Nov 8 17:15:17 2005 From: jrojas at shopzilla.com (Jason Rojas) Date: Tue, 08 Nov 2005 08:15:17 -0800 Subject: Distributed Monitoring woes and performance issues. Message-ID: <4370CF15.3060407@shopzilla.com> Here is a good one for you guys. I am currently monitoring roughly 4357 services on 700 hosts. Now this is not all the hosts/services I need to be monitoring. From the output of nagios -s -c nagios.cfg it tells me that one complete run checking all mentioned services/hosts will take roughly 885 seconds (14.7 minutes) Thats bad. Correct my math if I am wrong. For nagios to check HOSTX it can take up to 14 minutes., ok, thats kinda bad, lets say after nagios checks HOSTX, HOSTX decides to die, Well then it can take up to an additional 14minutes to notice it is down. Which in turn gives me a huge huge response time on downed machines. This is bad in my case seeing as to how I am not even monitoring everything yet. I have tested and tested my config and it seems that no matter what I do nagios is just not going to cut it. I can either raise the check interval from every 5 minutes to every 15, but that still gives me latency issues. When I realized this I decided that a distributed setup would be the way to go seeing as to how my company is deploying multiple co-locations, I do have my master server storing the data in a mysql DB, the problem with being distributed is that you cannot have the remote (scan only nodes) send data back via nsca because nagios is pulling data from the db. So some hosts dont show etc etc So I went ahead and modified the distributed nodes to send directly to the db, not a good idea, there were so many inserts going on it rendered the database useless and the web interface took forever to load. Does anyone have any ideas for a solution to this besides an enterprise grade monitoring system? -Jason Rojas ------------------------------------------------------- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php _______________________________________________ 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 Tue Nov 8 17:39:34 2005 From: marc at ena.com (Marc Powell) Date: Tue, 8 Nov 2005 10:39:34 -0600 Subject: NRPE + raidutil ? Message-ID: > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users- > admin at lists.sourceforge.net] On Behalf Of Jason Byrns > Sent: Tuesday, November 08, 2005 7:25 AM > To: 'Nagios Users' > Subject: Re: [Nagios-users] NRPE + raidutil ? > > >>chmod 755 `which raidutil` > >>as root? > > It was indeed the SUID bit that was necessary. It looked like that's > what the web page (in Czech) I found was saying. But, y'know, I don't > speak a word of Czech. To summarize, the solution was: Thanks for the followup on this for the archives! -- Marc ------------------------------------------------------- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php _______________________________________________ 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 aaronhcarr at gmail.com Tue Nov 8 17:41:57 2005 From: aaronhcarr at gmail.com (Aaron Carr) Date: Tue, 8 Nov 2005 11:41:57 -0500 Subject: check_disk on Solaris 8 and 9 Message-ID: Has anyone resolved the issue with the check_disk plugin on Solaris returning "Disk "" not mounted or nonexistant"? I have two Solaris machines that were here before I started this position that both return the above error when check_disk is run. One is Solaris 8, one is 9, both are SPARC. The error occurs regardless of whether I run it via ssh (which is how all of my actual checks get run) or locally. It's also the same result whether I leave it blank (to check all partitions), use mount points, or use disk devices. I searched the archives and found several emails about the error, but none seemt to successfully address the problem. Any info would be appreciated. Aaron -------------- next part -------------- An HTML attachment was scrubbed... URL: From clusterbuilder at gmail.com Tue Nov 8 18:32:43 2005 From: clusterbuilder at gmail.com (Nick I) Date: Tue, 8 Nov 2005 10:32:43 -0700 Subject: backbone of a large-file streaming system Message-ID: Hi, I help maintain a Web site at www.clusterbuilder.org. You might have seen before that I have a section called Ask the Cluster Expert, where I am building a knowledgebase of cluster and grid information. When someone asks a question I am researching the answer to build this knowledgebase out. I received the following question: *"I am looking for a variety of solutions to be a backbone of a large-file streaming system providing thousands of concurrent download streams. Preferably commodity hardware and Linux, though I'm open to commercial solutions."* I am wondering if anyone here has suggestions of what applications will work best for this type of setup. You can respond to the question at www.clusterbuilder.org/FAQ or respond in email. Thanks, Nick -------------- next part -------------- An HTML attachment was scrubbed... URL: From aaronhcarr at gmail.com Tue Nov 8 19:14:03 2005 From: aaronhcarr at gmail.com (Aaron Carr) Date: Tue, 8 Nov 2005 13:14:03 -0500 Subject: check_disk on Solaris 8 and 9 In-Reply-To: <20051108173344.GA26045@voyager.suryo.com> References: <20051108173344.GA26045@voyager.suryo.com> Message-ID: At this point, I've tried copying the df binary from a known good machine, with no effect. I still get the "Disk "" not mounted or nonexistant" error. I also tried copying the df from /usr/xpg4/bin/ to /usr/sbin/, same thing. No difference. Aaron On 11/8/05, Luc I. Suryo wrote: > > > > > Has anyone resolved the issue with the check_disk plugin on Solaris > > returning "Disk "" not mounted or nonexistant"? > > > > I have two Solaris machines that were here before I started this > position > > that both return the above error when check_disk is run. One is Solaris > 8, > > one is 9, both are SPARC. The error occurs regardless of whether I run > it > > via ssh (which is how all of my actual checks get run) or locally. It's > also > > the same result whether I leave it blank (to check all partitions), use > > mount points, or use disk devices. > > > > I searched the archives and found several emails about the error, but > none > > seemt to successfully address the problem. > > > > the reasom, I believe is do the df. use/defined during compilation.. > /usr/xpg4/bin/df -Pk > and the -P is unknow to Solaris > > 'hack' the sources with correct flags and you should be ok, I had to do > that too, running on solaris 7, 8, 9(x86/sparc), and 10(x86/sparc) all > working properly > > > -ls > -------------- next part -------------- An HTML attachment was scrubbed... URL: From marc at ena.com Tue Nov 8 19:22:16 2005 From: marc at ena.com (Marc Powell) Date: Tue, 8 Nov 2005 12:22:16 -0600 Subject: backbone of a large-file streaming system Message-ID: > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users- > admin at lists.sourceforge.net] On Behalf Of Nick I > Sent: Tuesday, November 08, 2005 11:33 AM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] backbone of a large-file streaming system > > Hi, > > > I help maintain a Web site at www.clusterbuilder.org > . You might have seen before that I > have a section called Ask the Cluster Expert, where I am building a > knowledgebase of cluster and grid information. When someone asks a > question I am researching the answer to build this knowledgebase out. I > received the following question: Please do not use this forum for spamvertising your site. This list is specifically for talking about Nagios and Nagios related topics, not clusters, not streaming servers. This is the third time you've done this and I have been unable to find a single on-topic post from you. Please don't do it again. -- Marc ------------------------------------------------------- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php _______________________________________________ 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 JasonFrank at srcp.com Tue Nov 8 19:40:04 2005 From: JasonFrank at srcp.com (Frank, Jason) Date: Tue, 8 Nov 2005 12:40:04 -0600 Subject: check_disk on Solaris 8 and 9 Message-ID: <741E24F735AED141B61948AC155E7DAA561347@CORPDALLMSG05.na.srcp.net> From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Aaron Carr Sent: Tuesday, November 08, 2005 12:14 PM To: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] check_disk on Solaris 8 and 9 At this point, I've tried copying the df binary from a known good machine, with no effect. I still get the "Disk "" not mounted or nonexistant" error. I also tried copying the df from /usr/xpg4/bin/ to /usr/sbin/, same thing. No difference. Aaron On 11/8/05, Luc I. Suryo wrote: > Has anyone resolved the issue with the check_disk plugin on Solaris > returning "Disk "" not mounted or nonexistant"? > > I have two Solaris machines that were here before I started this position > that both return the above error when check_disk is run. One is Solaris 8, > one is 9, both are SPARC. The error occurs regardless of whether I run it > via ssh (which is how all of my actual checks get run) or locally. It's also > the same result whether I leave it blank (to check all partitions), use > mount points, or use disk devices. > > I searched the archives and found several emails about the error, but none > seemt to successfully address the problem. > the reasom, I believe is do the df. use/defined during compilation.. /usr/xpg4/bin/df -Pk and the -P is unknow to Solaris 'hack' the sources with correct flags and you should be ok, I had to do that too, running on solaris 7, 8, 9(x86/sparc), and 10(x86/sparc) all working properly -ls I think you're misunderstanding what Luc is saying. The problem is that the df command that you're running does not accept the -P option, so it give up, and leaves everything in a funky state. The version in /usr/xpg4/bin does: bash-2.05$ /usr/xpg4/bin/df -Pk Filesystem 1024-blocks Used Available Capacity Mounted on /dev/md/dsk/d1 36357261 10268500 25725189 29% / /proc 0 0 0 0% /proc mnttab 0 0 0 0% /etc/mnttab fd 0 0 0 0% /dev/fd swap 3604088 24 3604064 1% /var/run swap 3604080 16 3604064 1% /tmp but the version in /usr/bin does not: bash-2.05$ /usr/bin/df -Pk df: unknown option: P Usage: df [-F FSType] [-abeghklntVv] [-o FSType-specific_options] [directory | block_device | resource] Copying the version from /usr/xpg4/bin to /usr/sbin won't fix anything, since it's likely trying to run from /usr/bin. If you copy the version from /usr/xpg4/bin to /usr/bin, you're going to be disappointed in how Solaris reacts. The proper fix is to change the check_disk program to use the version in /usr/bin/xpg4. To be honest, I don't remember if the path is set by your PATH during configure, a hard coded path, or your PATH at runtime. Perhaps someone can fill in the blank there. It would be easy enough to test with changing your path though. Jason -------------- next part -------------- An HTML attachment was scrubbed... URL: From aaronhcarr at gmail.com Tue Nov 8 19:46:22 2005 From: aaronhcarr at gmail.com (Aaron Carr) Date: Tue, 8 Nov 2005 13:46:22 -0500 Subject: check_disk on Solaris 8 and 9 In-Reply-To: <741E24F735AED141B61948AC155E7DAA561347@CORPDALLMSG05.na.srcp.net> References: <741E24F735AED141B61948AC155E7DAA561347@CORPDALLMSG05.na.srcp.net> Message-ID: I understand what Luc is saying. If I do "which df" I get "/usr/bin/df". /usr/bin/df is actually a symlink. /usr/bin/df -> ../sbin/df The binary that's linked to is the one I replaced, with no effect. Aaron On 11/8/05, Frank, Jason wrote: > > *From:* nagios-users-admin at lists.sourceforge.net [mailto: > nagios-users-admin at lists.sourceforge.net] *On Behalf Of *Aaron Carr > *Sent:* Tuesday, November 08, 2005 12:14 PM > *To:* nagios-users at lists.sourceforge.net > *Subject:* Re: [Nagios-users] check_disk on Solaris 8 and 9 > > At this point, I've tried copying the df binary from a known good machine, > with no effect. I still get the "Disk "" not mounted or nonexistant" error. > > I also tried copying the df from /usr/xpg4/bin/ to /usr/sbin/, same thing. > No difference. > > Aaron > > On 11/8/05, Luc I. Suryo wrote: > > > > > > > > > Has anyone resolved the issue with the check_disk plugin on Solaris > > > returning "Disk "" not mounted or nonexistant"? > > > > > > I have two Solaris machines that were here before I started this > > position > > > that both return the above error when check_disk is run. One is > > Solaris 8, > > > one is 9, both are SPARC. The error occurs regardless of whether I run > > it > > > via ssh (which is how all of my actual checks get run) or locally. > > It's also > > > the same result whether I leave it blank (to check all partitions), > > use > > > mount points, or use disk devices. > > > > > > I searched the archives and found several emails about the error, but > > none > > > seemt to successfully address the problem. > > > > > > > the reasom, I believe is do the df. use/defined during compilation.. > > /usr/xpg4/bin/df -Pk > > and the -P is unknow to Solaris > > > > 'hack' the sources with correct flags and you should be ok, I had to do > > that too, running on solaris 7, 8, 9(x86/sparc), and 10(x86/sparc) all > > working properly > > > > > > -ls > > > > I think you're misunderstanding what Luc is saying. The problem is that > the df command that you're running does not accept the -P option, so it give > up, and leaves everything in a funky state. The version in /usr/xpg4/bin > does: > bash-2.05$ /usr/xpg4/bin/df -Pk > Filesystem 1024-blocks Used Available Capacity Mounted on > /dev/md/dsk/d1 36357261 10268500 25725189 29% / > /proc 0 0 0 0% /proc > mnttab 0 0 0 0% /etc/mnttab > fd 0 0 0 0% /dev/fd > swap 3604088 24 3604064 1% /var/run > swap 3604080 16 3604064 1% /tmp > but the version in /usr/bin does not: > bash-2.05$ /usr/bin/df -Pk > df: unknown option: P > Usage: df [-F FSType] [-abeghklntVv] [-o FSType-specific_options] > [directory | block_device | resource] > Copying the version from /usr/xpg4/bin to /usr/sbin won't fix anything, > since it's likely trying to run from /usr/bin. If you copy the version from > /usr/xpg4/bin to /usr/bin, you're going to be disappointed in how Solaris > reacts. The proper fix is to change the check_disk program to use the > version in /usr/bin/xpg4. To be honest, I don't remember if the path is set > by your PATH during configure, a hard coded path, or your PATH at runtime. > Perhaps someone can fill in the blank there. It would be easy enough to test > with changing your path though. > Jason > -------------- next part -------------- An HTML attachment was scrubbed... URL: From JasonFrank at srcp.com Tue Nov 8 19:59:57 2005 From: JasonFrank at srcp.com (Frank, Jason) Date: Tue, 8 Nov 2005 12:59:57 -0600 Subject: check_disk on Solaris 8 and 9 Message-ID: <741E24F735AED141B61948AC155E7DAA561349@CORPDALLMSG05.na.srcp.net> From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Aaron Carr Sent: Tuesday, November 08, 2005 12:46 PM To: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] check_disk on Solaris 8 and 9 I understand what Luc is saying. If I do "which df" I get "/usr/bin/df". /usr/bin/df is actually a symlink. /usr/bin/df -> ../sbin/df The binary that's linked to is the one I replaced, with no effect. Aaron On 11/8/05, Frank, Jason wrote: From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Aaron Carr Sent: Tuesday, November 08, 2005 12:14 PM To: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] check_disk on Solaris 8 and 9 At this point, I've tried copying the df binary from a known good machine, with no effect. I still get the "Disk "" not mounted or nonexistant" error. I also tried copying the df from /usr/xpg4/bin/ to /usr/sbin/, same thing. No difference. Aaron On 11/8/05, Luc I. Suryo wrote: > Has anyone resolved the issue with the check_disk plugin on Solaris > returning "Disk "" not mounted or nonexistant"? > > I have two Solaris machines that were here before I started this position > that both return the above error when check_disk is run. One is Solaris 8, > one is 9, both are SPARC. The error occurs regardless of whether I run it > via ssh (which is how all of my actual checks get run) or locally. It's also > the same result whether I leave it blank (to check all partitions), use > mount points, or use disk devices. > > I searched the archives and found several emails about the error, but none > seemt to successfully address the problem. > the reasom, I believe is do the df. use/defined during compilation.. /usr/xpg4/bin/df -Pk and the -P is unknow to Solaris 'hack' the sources with correct flags and you should be ok, I had to do that too, running on solaris 7, 8, 9(x86/sparc), and 10(x86/sparc) all working properly -ls I think you're misunderstanding what Luc is saying. The problem is that the df command that you're running does not accept the -P option, so it give up, and leaves everything in a funky state. The version in /usr/xpg4/bin does: bash-2.05$ /usr/xpg4/bin/df -Pk Filesystem 1024-blocks Used Available Capacity Mounted on /dev/md/dsk/d1 36357261 10268500 25725189 29% / /proc 0 0 0 0% /proc mnttab 0 0 0 0% /etc/mnttab fd 0 0 0 0% /dev/fd swap 3604088 24 3604064 1% /var/run swap 3604080 16 3604064 1% /tmp but the version in /usr/bin does not: bash-2.05$ /usr/bin/df -Pk df: unknown option: P Usage: df [-F FSType] [-abeghklntVv] [-o FSType-specific_options] [directory | block_device | resource] Copying the version from /usr/xpg4/bin to /usr/sbin won't fix anything, since it's likely trying to run from /usr/bin. If you copy the version from /usr/xpg4/bin to /usr/bin, you're going to be disappointed in how Solaris reacts. The proper fix is to change the check_disk program to use the version in /usr/bin/xpg4. To be honest, I don't remember if the path is set by your PATH during configure, a hard coded path, or your PATH at runtime. Perhaps someone can fill in the blank there. It would be easy enough to test with changing your path though. Jason Mine appears to be working just fine, and I haven't patched the source on this box (SPARC Solaris 8): check_disk -p /tmp DISK OK - free space: /tmp 8713 MB (95%);| /tmp=506MB;9218;9218;0;9218 which df /usr/xpg4/bin/df When I truss the program, I do see that it's calling statvfs internally now, so it should not need to call df any longer. What is the exact syntax of the check_disk command that your using? What version of the plugins are you using? -------------- next part -------------- An HTML attachment was scrubbed... URL: From aaronhcarr at gmail.com Tue Nov 8 20:13:20 2005 From: aaronhcarr at gmail.com (Aaron Carr) Date: Tue, 8 Nov 2005 14:13:20 -0500 Subject: check_disk on Solaris 8 and 9 In-Reply-To: <741E24F735AED141B61948AC155E7DAA561349@CORPDALLMSG05.na.srcp.net> References: <741E24F735AED141B61948AC155E7DAA561349@CORPDALLMSG05.na.srcp.net> Message-ID: -V on the plugin says the version is check_disk (nagios-plugins 1.3.1) 1.7.2.4 I'm just doing check_disk -w 20 -c 10 I want all filesystems checked, so I'm not specifying. If I run it locally and try specifying either a mount point or a device, same thing happens. Aaron On 11/8/05, Frank, Jason wrote: > > *From:* nagios-users-admin at lists.sourceforge.net [mailto: > nagios-users-admin at lists.sourceforge.net] *On Behalf Of *Aaron Carr > *Sent:* Tuesday, November 08, 2005 12:46 PM > *To:* nagios-users at lists.sourceforge.net > *Subject:* Re: [Nagios-users] check_disk on Solaris 8 and 9 > > I understand what Luc is saying. > > If I do "which df" I get "/usr/bin/df". > > /usr/bin/df is actually a symlink. /usr/bin/df -> ../sbin/df > > The binary that's linked to is the one I replaced, with no effect. > > Aaron > > On 11/8/05, Frank, Jason wrote: > > > > *From:* nagios-users-admin at lists.sourceforge.net [mailto: > > nagios-users-admin at lists.sourceforge.net] *On Behalf Of *Aaron Carr > > *Sent:* Tuesday, November 08, 2005 12:14 PM > > *To:* nagios-users at lists.sourceforge.net > > *Subject:* Re: [Nagios-users] check_disk on Solaris 8 and 9 > > > > At this point, I've tried copying the df binary from a known good > > machine, with no effect. I still get the "Disk "" not mounted or > > nonexistant" error. > > > > I also tried copying the df from /usr/xpg4/bin/ to /usr/sbin/, same > > thing. No difference. > > > > Aaron > > > > On 11/8/05, Luc I. Suryo wrote: > > > > > > > > > > > > > Has anyone resolved the issue with the check_disk plugin on Solaris > > > > returning "Disk "" not mounted or nonexistant"? > > > > > > > > I have two Solaris machines that were here before I started this > > > position > > > > that both return the above error when check_disk is run. One is > > > Solaris 8, > > > > one is 9, both are SPARC. The error occurs regardless of whether I > > > run it > > > > via ssh (which is how all of my actual checks get run) or locally. > > > It's also > > > > the same result whether I leave it blank (to check all partitions), > > > use > > > > mount points, or use disk devices. > > > > > > > > I searched the archives and found several emails about the error, > > > but none > > > > seemt to successfully address the problem. > > > > > > > > > > the reasom, I believe is do the df. use/defined during compilation.. > > > /usr/xpg4/bin/df -Pk > > > and the -P is unknow to Solaris > > > > > > 'hack' the sources with correct flags and you should be ok, I had to > > > do > > > that too, running on solaris 7, 8, 9(x86/sparc), and 10(x86/sparc) all > > > working properly > > > > > > > > > -ls > > > > > > > I think you're misunderstanding what Luc is saying. The problem is that > > the df command that you're running does not accept the -P option, so it give > > up, and leaves everything in a funky state. The version in /usr/xpg4/bin > > does: > > bash-2.05$ /usr/xpg4/bin/df -Pk > > Filesystem 1024-blocks Used Available Capacity Mounted on > > /dev/md/dsk/d1 36357261 10268500 25725189 29% / > > /proc 0 0 0 0% /proc > > mnttab 0 0 0 0% /etc/mnttab > > fd 0 0 0 0% /dev/fd > > swap 3604088 24 3604064 1% /var/run > > swap 3604080 16 3604064 1% /tmp > > but the version in /usr/bin does not: > > bash-2.05$ /usr/bin/df -Pk > > df: unknown option: P > > Usage: df [-F FSType] [-abeghklntVv] [-o FSType-specific_options] > > [directory | block_device | resource] > > Copying the version from /usr/xpg4/bin to /usr/sbin won't fix anything, > > since it's likely trying to run from /usr/bin. If you copy the version from > > /usr/xpg4/bin to /usr/bin, you're going to be disappointed in how Solaris > > reacts. The proper fix is to change the check_disk program to use the > > version in /usr/bin/xpg4. To be honest, I don't remember if the path is set > > by your PATH during configure, a hard coded path, or your PATH at runtime. > > Perhaps someone can fill in the blank there. It would be easy enough to test > > with changing your path though. > > Jason > > > Mine appears to be working just fine, and I haven't patched the source on > this box (SPARC Solaris 8): > > check_disk -p /tmp > DISK OK - free space: /tmp 8713 MB (95%);| /tmp=506MB;9218;9218;0;9218 > which df > /usr/xpg4/bin/df > When I truss the program, I do see that it's calling statvfs internally > now, so it should not need to call df any longer. What is the exact syntax > of the check_disk command that your using? What version of the plugins are > you using? > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From aaronhcarr at gmail.com Tue Nov 8 21:12:18 2005 From: aaronhcarr at gmail.com (Aaron Carr) Date: Tue, 8 Nov 2005 15:12:18 -0500 Subject: check_disk on Solaris 8 and 9 In-Reply-To: <20051108192829.GA26360@voyager.suryo.com> References: <20051108173344.GA26045@voyager.suryo.com> <20051108182926.GA26201@voyager.suryo.com> <20051108192829.GA26360@voyager.suryo.com> Message-ID: Luc, It works with the check_disk binary you sent. I'm assuming it must be something to do with libraries that were on the system that compiled the plugins before I packaged them, that are not on the older systems. All of my new systems installed via JumpStart are fine with it. It's just these two older systems that were built by hand that had the issue. Thank you very much for helping out. Aaron On 11/8/05, Luc I. Suryo wrote: > > > Aaron, > > it uses /usr/local/bin/df > > So i presume this is GNU df check if it allows the -P and the output is > useable bij check_disk. > > here is mine > > 2:22 gizmo[305] /export/home/staff/luc/work/nagios/check_disk -V > check_disk (nagios-plugins 1.3.1) 1.7.2.4 > > 12:22 gizmo[307] /export/home/staff/luc/work/nagios/check_disk -w 70 -c 65 > -p /export > DISK OK [13769586 kB (66%) free on /dev/dsk/c1t0d0s3] > > 12:24 gizmo[313] /export/home/staff/luc/work/nagios/check_disk -w 70 -c 65 > /dev/dsk/c1t0d0s0 > DISK OK [5463269 kB (53%) free on /dev/dsk/c1t0d0s0] > > also my truss.out is quite bigger then your.. kind weird.. attached mthe > binary i use, (all Sparc system 7/8/9/10) > > > I think something got mixed up during ./configure and the system where > it was compile is not the same where you try to use, not much nut enough > to cuase problem... > > > > > Truss.out is attached. > > > > On 11/8/05, Luc I. Suryo wrote: > > > > > > > > > Aaron, > > > > > > can you do this > > > > > > truss -f -o truss.out check_disk ...... > > > > > > and then show me the truss.out file? > > > > > > again this is the -P issue and what version are we talking about? > > > > > > > -ls > > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From nagiosadmin at snef.fr Tue Nov 8 21:21:17 2005 From: nagiosadmin at snef.fr (Davy Gaussen) Date: Tue, 8 Nov 2005 21:21:17 +0100 Subject: Web Interface References: <15336807.1131465686581.JavaMail.root@mailserv> Message-ID: <004001c5e4a1$f9a11c00$c26710ac@sneftechnologies.fr> thank you John, for your response I'll try it !!! ----- Original Message ----- From: John Mark Walker To: nagios-users Sent: Tuesday, November 08, 2005 5:01 PM Subject: RE: [Nagios-users] Web Interface We (GroundWork) make this one - http://www.sourceforge.net/projects/gwsv/ which is built on this framework: http://www.sourceforge.net/projects/gwfoundation -JM ----- Original Message ----- From: Davy Gaussen Sent: Tue Nov 08 2005 06:07:17 GMT-0800 (PST) To: nagios-users Subject: [Nagios-users] Web Interface Hi, Does somebody know a nagios web interface ? Like oreon or nagios-php. But these products are only for nagios-1.x and I use nagios-2b4. Thank you for your response. Davy -------------- next part -------------- An HTML attachment was scrubbed... URL: From gardealuis at gmail.com Tue Nov 8 21:46:33 2005 From: gardealuis at gmail.com (Luis Gardea) Date: Tue, 8 Nov 2005 13:46:33 -0700 Subject: check_ldap Message-ID: <44f056cc0511081246vde99556we458062c2e602030@mail.gmail.com> Hello I'm trying to monitor Active Directory (Windows Server 200... check_ldap plugin in a domain named uacj.mx I've always this answer when I type this command : ./check_ldap -H ads-server.uacj.mx -b o=3Duacj Could not search/find objectclasses in o=3Duacj Maybe I need install other thing in addition of my check_ldap plugin in my nagios server? best regards ------------------------------------------------------- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php _______________________________________________ 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 gardealuis at gmail.com Tue Nov 8 21:58:22 2005 From: gardealuis at gmail.com (Luis Gardea) Date: Tue, 8 Nov 2005 13:58:22 -0700 Subject: check_ldap Message-ID: <44f056cc0511081258x459126b5jca5ec3cd06df0f06@mail.gmail.com> Hello I'm trying to monitor Active Directory (Windows Server 200... check_ldap plugin in a domain named uacj.mx I've always this answer when I type this command : ./check_ldap -H ads-server.uacj.mx -b o=3Duacj Could not search/find objectclasses in o=3Duacj Maybe I need install other thing in addition of my check_ldap plugin in my nagios server? best regards ------------------------------------------------------- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php _______________________________________________ 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 mark.limburg at gmail.com Tue Nov 8 23:43:32 2005 From: mark.limburg at gmail.com (Mark Limburg) Date: Wed, 9 Nov 2005 09:13:32 +1030 Subject: NRPE Responce In-Reply-To: <20051108160025.GA4103@mal.members.linode.com> References: <20051108160025.GA4103@mal.members.linode.com> Message-ID: Howdy On 11/9/05, Jason Martin wrote: > > What plugin generates that output? NRPE normally acts as a > transparent pass-through and doesn't change the output. Nagios calls check_nrpe .. and thats what is being shown as a response .. if OK .. if it fails, I see the failure text. M -------------- next part -------------- An HTML attachment was scrubbed... URL: From jhmartin at toger.us Wed Nov 9 00:05:43 2005 From: jhmartin at toger.us (Jason Martin) Date: Tue, 8 Nov 2005 18:05:43 -0500 Subject: NRPE Responce In-Reply-To: References: <20051108160025.GA4103@mal.members.linode.com> Message-ID: <20051108230543.GD4103@mal.members.linode.com> On Wed, Nov 09, 2005 at 09:13:32AM +1030, Mark Limburg wrote: > Howdy > > On 11/9/05, Jason Martin wrote: > > > > What plugin generates that output? NRPE normally acts as a > > transparent pass-through and doesn't change the output. > > > Nagios calls check_nrpe .. and thats what is being shown as a response .. if > OK .. if it fails, I see the failure text. What plugin is nrpe calling? I haven't seen anything like that before. -Jason Martin > > M -- Winning isn't everything - but losing SUCKS! 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 ray.lapeyre at itng.com.au Wed Nov 9 00:42:54 2005 From: ray.lapeyre at itng.com.au (Ray La Peyre) Date: Wed, 9 Nov 2005 10:42:54 +1100 Subject: Check Ldap problem Message-ID: Hi List I am using the check_ldap plugin to check the ldap on my Active Directory server. The check from the command line gives a positive response but ldap is not working for me. I used ethereal to check what happens and I see that it goes to the server with a bind request which is then approved by the server. It then sends a search request and gets the first packet of the search entry fine. So far so good. However the second packet of the search entry gives an error of: Invalid LDAP message (Can't parse sequence header: Wrong type for that item) I am not sure why this happens and why the check ldap plug does not pick this up. Any ideas would be appreciated Thanks Ray La Peyre Jnr Support Engineer IT Next Generation Suite 102, 330 Wattle Street Ultimo NSW 2007 T: 02 9212 0811 F: 02 9212 0833 M: 0410 229 216 E: ray.lapeyre at itng.com.au W: www.itng.com.au -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image001.jpg Type: image/jpeg Size: 8152 bytes Desc: not available URL: From mark.limburg at gmail.com Wed Nov 9 00:46:39 2005 From: mark.limburg at gmail.com (Mark Limburg) Date: Wed, 9 Nov 2005 10:16:39 +1030 Subject: NRPE Responce In-Reply-To: <20051108230543.GD4103@mal.members.linode.com> References: <20051108160025.GA4103@mal.members.linode.com> <20051108230543.GD4103@mal.members.linode.com> Message-ID: On 11/9/05, Jason Martin wrote: > > What plugin is nrpe calling? I haven't seen anything like that > before. Here's the report from the server, which is calling NRPE .. LOCAL Partition Apps OK 11-09-2005 10:09:39 5d 18h 48m 1s 1/4 NRPE v2.0 LOCAL Partition Root OK 11-09-2005 10:10:10 5d 18h 47m 38s 1/4 NRPE v2.0 LOCAL System Load OK 11-09-2005 10:08:40 5d 18h 46m 30s 1/4 NRPE v2.0 LOCAL Users OK 11-09-2005 10:09:10 5d 18h 46m 7s 1/4 NRPE v2.0 Here's the report from the Nagios server itself, using the same plugins .. LOCAL Partition Apps OK 11-09-2005 10:06:49 11d 21h 45m 19s 1/4 DISK OK - free space: /apps 7919 MB (79%): LOCAL Partition Root OK 11-09-2005 10:07:20 11d 21h 44m 42s 1/4 DISK OK - free space: / 2244 MB (38%): LOCAL System Load OK 11-09-2005 10:07:50 11d 17h 4m 52s 1/4 OK - load average: 0.00, 0.00, 0.02 LOCAL Users OK 11-09-2005 10:06:19 11d 17h 4m 21s 1/4 USERS OK - 2 users currently logged in Here's the section of nrpe.conf that defines the checks ... command[check_users]=/apps/nagios/nrpe/libexec/check_users -w 15 -c 25 command[check_load]=/apps/nagios/nrpe/libexec/check_load -w 5,4,3 -c 25,20,15 command[check_disk1]=/apps/nagios/nrpe/libexec/check_disk -w 20 -c 10 -p / command[check_disk2]=/apps/nagios/nrpe/libexec/check_disk -w 20 -c 10 -p /apps M -------------- next part -------------- An HTML attachment was scrubbed... URL: From jhmartin at toger.us Wed Nov 9 01:22:02 2005 From: jhmartin at toger.us (Jason Martin) Date: Tue, 8 Nov 2005 19:22:02 -0500 Subject: NRPE Responce In-Reply-To: References: <20051108160025.GA4103@mal.members.linode.com> <20051108230543.GD4103@mal.members.linode.com> Message-ID: <20051109002202.GE4103@mal.members.linode.com> On Wed, Nov 09, 2005 at 10:16:39AM +1030, Mark Limburg wrote: > On 11/9/05, Jason Martin wrote: > > What plugin is nrpe calling? I haven't seen anything like that > > before. > Here's the report from the server, which is calling NRPE .. > LOCAL Users OK 11-09-2005 10:09:10 5d 18h 46m 7s 1/4 NRPE v2.0 > LOCAL Users OK 11-09-2005 10:06:19 11d 17h 4m 21s 1/4 USERS OK - 2 users > currently logged in OOHHhh ok, I see now. I thought you were saying all this was output from the plugin directly. I see now that it is the entire line from the Status Detail page. It makes more sense now :> Can you post the service and related command definition you are using for the Users service? Thank you, -Jason Martin -- Documentation is the castor oil of programming. 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 jcoombs at gwi.net Wed Nov 9 05:48:17 2005 From: jcoombs at gwi.net (Joshua Coombs) Date: Tue, 8 Nov 2005 23:48:17 -0500 Subject: "Service check did not exit properly" References: Message-ID: "Joshua Coombs" wrote in message news:dkqg3m$usk$1 at sea.gmane.org... > Near as I can tell from the src, nagios logs a failed service check > with "Service check did not exit properly" when it can't execute the > service check plugin. > > I keep getting this failure at random, 'bout once a day using > check_snmp_if and I can't discern why. > > I first thought it might be a timeout, but nagios logs those as > timeouts. > > I then thought it was a process limit, but I'm so under limits it > hurts. > > So, I got cute, I made a wrapper that logs when it starts, and any > output from check_snmp_if or the exact error when it can't execute > it. > Welp, it happened again, and I don't see anything in my logs to > indicate what happened, all I see are valid runs. > > Anyone have further diag suggestions? > > Joshua Coombs More data... 1cc-r2 atm 4/1/0.1-aal5 paged at 17:45:29 reporting "Service check did not exit properly" Looking at the logging from our inhouse plugin wrapper, I have the following data: Tue Nov 8 17:40:20 2005: COMMAND: /usr/local/libexec/nagios/check_snmp_if_2 -H 192.168.1.252 -C public -i 17 2>&1 OUTPUT: OK: Admn:up; Oper:up; RETURN_STATUS: 0 -- Tue Nov 8 17:45:20 2005: COMMAND: /usr/local/libexec/nagios/check_snmp_if_2 -H 192.168.1.252 -C public -i 17 2>&1 OUTPUT: OK: Admn:up; Oper:up; RETURN_STATUS: 0 -- Tue Nov 8 17:45:32 2005: COMMAND: /usr/local/libexec/nagios/check_snmp_if_2 -H 192.168.1.252 -C public -i 17 2>&1 OUTPUT: OK: Admn:up; Oper:up; RETURN_STATUS: 0 -- Tue Nov 8 17:50:32 2005: COMMAND: /usr/local/libexec/nagios/check_snmp_if_2 -H 192.168.1.252 -C public -i 17 2>&1 OUTPUT: OK: Admn:up; Oper:up; RETURN_STATUS: 0 So, the check DID infact exit cleanly with appropriate data. It looks like it didn't get the exit data, then spawned a new check right after, which generated a recovery page. nagios: 1.2 check_snmp_if: 0.3.5 FreeBSD: 4.11-p12 I'm now really stumped, at first I thought something was causing the script to execute, now it appears the script is executing, but something is breakng the communication between nagios and the plugin. Joshua Coombs ------------------------------------------------------- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php _______________________________________________ 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 nagiosadmin at snef.fr Wed Nov 9 10:32:19 2005 From: nagiosadmin at snef.fr (Davy Gaussen) Date: Wed, 9 Nov 2005 10:32:19 +0100 Subject: Groundwork status viewer Message-ID: <005701c5e510$7b1c8030$c26710ac@sneftechnologies.fr> Hi, I have some troubles to use groundwork SV. I have "unknow state" on all my services and blank page on trouble view and eventview pages.In my http error.log I see : Constant INVALID_OPERATION_STATUS_ID already defined in /usr/local/groundwork/lib/php/collageapi/collage.inc.php on line 51, referer: http://xxxxxx/sv/index.php [client 172.16.103.194] PHP Notice: Undefined index: prefs in /var/www/html/sv/includes/output.inc.php on line 240, referer: http://xxxx/sv/index.php [client 172.16.103.194] PHP Notice: Constant INVALID_OPERATION_STATUS_ID already defined in /usr/local/groundwork/lib/php/collageapi/collage.inc.php on line 51 [client 172.16.103.194] PHP Notice: Undefined index: netrefresh in /var/www/html/sv/includes/sessions.inc.php on line 197 [client 172.16.103.194] PHP Notice: Undefined index: numofservices in /var/www/html/sv/index.php on line 49 [client 172.16.103.194] PHP Notice: Undefined index: action in /var/www/html/sv/includes/svcontainers.inc.php on line 201 [client 172.16.103.194] PHP Notice: Undefined index: action in /var/www/html/sv/includes/svcontainers.inc.php on line 206 and go on.... Can you help me please ? Davy -------------- next part -------------- An HTML attachment was scrubbed... URL: From robmossrm at aol.com Wed Nov 9 10:53:00 2005 From: robmossrm at aol.com (Rob Moss) Date: Wed, 09 Nov 2005 09:53:00 +0000 Subject: Distributed Monitoring woes and performance issues. In-Reply-To: <4370CF15.3060407@shopzilla.com> References: <4370CF15.3060407@shopzilla.com> Message-ID: <4371C6FC.6040509@aol.com> Jason Rojas wrote: > Here is a good one for you guys. > I am currently monitoring roughly 4357 services on 700 hosts. > Now this is not all the hosts/services I need to be monitoring. > From the output of nagios -s -c nagios.cfg > it tells me that one complete run checking all mentioned > services/hosts will take roughly 885 seconds (14.7 minutes) > Thats bad. Yep that's pretty bad.. There's no reason why you shouldn't be able to do that within 5 minutes, given the hardware is fast enough. > Does anyone have any ideas for a solution to this besides an > enterprise grade monitoring system? You will need a few things: 1. Updated nagios config to allow more concurrent service checks 2. Big fast server (dual or quad core) 3. Faster plugins than the standard ones: such as replacing check_ping with check_icmp etc (search archives, many references) 4. Using state retention so that you aren't constantly rechecking all hosts whenever you restart nagios 5. Rebuild nagios verison 2.x with optimised compile flags 6. Rebuild nagios with a Perl interpereter builtin and cached You need to make some changes to the default nagios configuration which uses some very polite polling settings, and makes sure that not too many processes run at once. I suggest that you check out the nagios polling settings, such as: host_inter_check_delay_method service_inter_check_delay_method max_host_check_spread max_service_check_spread host_inter_check_delay_method max_concurrent_checks service_interleave_factor state_retention_file retain_state_information use_retained_program_state sleep_time All of these settings (and maybe more?) control how fast nagios can check hosts and services Check out the doc page at http://nagios.sourceforge.net/docs/2_0/configmain.html for detailed explainations of the settings. To clear up some confusion, nagios first pings all hosts to make sure they are up, then begins checking services. If the ping checks take forever then your service checks will be delayed. Try building nagios with debug level 3 to see exactly what it's doing in terms of polling, and from the CGI you can run the Scheduling Queue to see what service checks are delayed or taking a long time. To further help, you'll need to let us know what version you are using, which are your standard service checks, what platform you're running, and what compile settings you have run and a breif rundown on how you are concluding that service checks take 14 minutes Cheers rob. ------------------------------------------------------- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php _______________________________________________ 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 dravail at cvf.fr Wed Nov 9 11:22:49 2005 From: dravail at cvf.fr (Ravail David) Date: Wed, 09 Nov 2005 11:22:49 +0100 Subject: passive check directive in configuration file doesn't works Message-ID: <4371CDF9.4090202@cvf.fr> Hi, I want to use passives checks services, but when nagios start, services start in active mode and doesn't accept passive check. Only manner that I found to use passive checks, it to activate them by the cgi-web interface. Nagios Version is 1.2 on a debian system. my conf files include: nagios.cfg : execute_service_checks=1 accept_passive_service_checks=1 --- services.cfg define service{ name STemplate_GENERIC-Passive service_description STemplate_GENERIC-Passive is_volatile 0 check_command check_graph_passive max_check_attempts 6 normal_check_interval 1 retry_check_interval 1 active_checks_enabled 0 passive_checks_enabled 1 check_period 24x7 parallelize_check 1 check_freshness 1 freshness_threshold 86400 low_flap_threshold 0 high_flap_threshold 0 notification_interval 360 notification_period 24x7 notification_options w,u,c,r notifications_enabled 1 contact_groups rso-workers register 0 } define service{ use STemplate_GENERIC-Passive service_description Traffic_Fa0/01 host_name toto } --- any ideas? -- David RAVAIL dravail at cvf.fr ------------------------------------------------------- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php _______________________________________________ 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 ae at op5.se Wed Nov 9 13:53:32 2005 From: ae at op5.se (Andreas Ericsson) Date: Wed, 09 Nov 2005 13:53:32 +0100 Subject: Groundwork status viewer In-Reply-To: <005701c5e510$7b1c8030$c26710ac@sneftechnologies.fr> References: <005701c5e510$7b1c8030$c26710ac@sneftechnologies.fr> Message-ID: <4371F14C.70306@op5.se> Davy Gaussen wrote: > Hi, > > I have some troubles to use groundwork SV. > > Can you help me please ? > You'll have better luck if you contact groundwork directly. -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Tel: +46 8-230225 Fax: +46 8-230231 ------------------------------------------------------- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php _______________________________________________ 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 nuffers at tsainc.com Wed Nov 9 16:47:54 2005 From: nuffers at tsainc.com (nuffers at tsainc.com) Date: Wed, 9 Nov 2005 09:47:54 -0600 Subject: nsClient++ No Performance Data Message-ID: After looking at several windows plugins, I chose nsclient++ for our environment. Is any one else having problems collecting performance data from nsClient++? I use perfparse to collect performance data. I have several services with nsclient++ that aren't collecting performance data. There is an entry in the perfparse database but no metrics are collected. Following shows the checks as well as the performance data from it: check_cpu 5m;7;80;90; 10m;6;80;90; 15m;5;80;90; checkDriveSize C:\;14%;50;75; CheckFileSize c:\pagefile.sys;1607442432;1073741824;536870912; CheckMem paged bytes;29%;80;90; I have written some of my own checks and noticed that the output doesn't conform to the Nagios plugin standard. 'label'=value[UOM];[warn];[crit];[min];[max] Most of the outputs are missing the "=". Does anyone have any thoughts? I have tried posting on the nsClient++ forums but I'm getting no response. I really like the tool. Steve Nuffer _________________________________________________________________________________________________ ACI Worldwide 330 S. 108th Ave. Omaha, NE 68154-2684 This e-mail message and any attachments may contain confidential, proprietary or non-public information. This information is intended solely for the designated recipient(s). If an addressing or transmission error has misdirected this e-mail, please notify the sender immediately and destroy this e-mail. Any review, dissemination, use or reliance upon this information by unintended recipients is prohibited. Any opinions expressed in this e-mail are those of the author personally. -------------- next part -------------- An HTML attachment was scrubbed... URL: From f1216 at yahoo.com Wed Nov 9 16:58:32 2005 From: f1216 at yahoo.com (Fred) Date: Wed, 9 Nov 2005 07:58:32 -0800 (PST) Subject: passive check directive in configuration file doesn't works In-Reply-To: <4371CDF9.4090202@cvf.fr> References: <4371CDF9.4090202@cvf.fr> Message-ID: <20051109155832.83109.qmail@web31911.mail.mud.yahoo.com> You should look through all of your configuration files. accept_passive_service_checks is a global setting, you most likely want to put "passive_checks_enabled 1" either directly in each definition or in some generic template that is included (use ...) in your definition. -FredC --- Ravail David wrote: > Hi, > > I want to use passives checks services, but when nagios start, services start > in active mode and doesn't accept passive check. > Only manner that I found to use passive checks, it to activate them by the > cgi-web interface. > Nagios Version is 1.2 on a debian system. > > my conf files include: > > nagios.cfg : > > execute_service_checks=1 > accept_passive_service_checks=1 > > --- > > services.cfg > > > define service{ > name STemplate_GENERIC-Passive > service_description STemplate_GENERIC-Passive > is_volatile 0 > check_command check_graph_passive > max_check_attempts 6 > normal_check_interval 1 > retry_check_interval 1 > active_checks_enabled 0 > passive_checks_enabled 1 > check_period 24x7 > parallelize_check 1 > check_freshness 1 > freshness_threshold 86400 > low_flap_threshold 0 > high_flap_threshold 0 > notification_interval 360 > notification_period 24x7 > notification_options w,u,c,r > notifications_enabled 1 > contact_groups rso-workers > register 0 > } > > define service{ > use STemplate_GENERIC-Passive > service_description Traffic_Fa0/01 > host_name toto > } > > --- > > > any ideas? > > > > -- > > David RAVAIL > dravail at cvf.fr > > > > ------------------------------------------------------- > SF.Net email is sponsored by: > Tame your development challenges with Apache's Geronimo App Server. Download > it for free - -and be entered to win a 42" plasma tv or your very own > Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php > _______________________________________________ > 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 > ------------------------------------------------------- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php _______________________________________________ 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 dravail at cvf.fr Wed Nov 9 18:10:35 2005 From: dravail at cvf.fr (Ravail David) Date: Wed, 09 Nov 2005 18:10:35 +0100 Subject: passive check directive in configuration file doesn't works In-Reply-To: <20051109155832.83109.qmail@web31911.mail.mud.yahoo.com> References: <20051109155832.83109.qmail@web31911.mail.mud.yahoo.com> Message-ID: <43722D8B.4090300@cvf.fr> thanks for your reply fred. but i just had need to delete status.sav and all is right. Fred a ?crit : >You should look through all of your configuration files. >accept_passive_service_checks is a global setting, you most >likely want to put "passive_checks_enabled 1" either directly >in each definition or in some generic template that is included >(use ...) in your definition. > >-FredC > >--- Ravail David wrote: > > > >>Hi, >> >>I want to use passives checks services, but when nagios start, services start >>in active mode and doesn't accept passive check. >>Only manner that I found to use passive checks, it to activate them by the >>cgi-web interface. >>Nagios Version is 1.2 on a debian system. >> >>my conf files include: >> >>nagios.cfg : >> >> execute_service_checks=1 >> accept_passive_service_checks=1 >> >>--- >> >>services.cfg >> >> >> define service{ >> name STemplate_GENERIC-Passive >> service_description STemplate_GENERIC-Passive >> is_volatile 0 >> check_command check_graph_passive >> max_check_attempts 6 >> normal_check_interval 1 >> retry_check_interval 1 >> active_checks_enabled 0 >> passive_checks_enabled 1 >> check_period 24x7 >> parallelize_check 1 >> check_freshness 1 >> freshness_threshold 86400 >> low_flap_threshold 0 >> high_flap_threshold 0 >> notification_interval 360 >> notification_period 24x7 >> notification_options w,u,c,r >> notifications_enabled 1 >> contact_groups rso-workers >> register 0 >> } >> >>define service{ >> use STemplate_GENERIC-Passive >> service_description Traffic_Fa0/01 >> host_name toto >> } >> >>--- >> >> >>any ideas? >> >> >> >>-- >> >>David RAVAIL >>dravail at cvf.fr >> >> >> >>------------------------------------------------------- >>SF.Net email is sponsored by: >>Tame your development challenges with Apache's Geronimo App Server. Download >>it for free - -and be entered to win a 42" plasma tv or your very own >>Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php >>_______________________________________________ >>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 >> >> >> > > > > > > > >------------------------------------------------------- >SF.Net email is sponsored by: >Tame your development challenges with Apache's Geronimo App Server. Download >it for free - -and be entered to win a 42" plasma tv or your very own >Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php >_______________________________________________ >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 > > > -- David RAVAIL dravail at cvf.fr +33(0)5.56.01.98.00 ------------------------------------------------------- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php _______________________________________________ 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 Wed Nov 9 18:32:33 2005 From: marc at ena.com (Marc Powell) Date: Wed, 9 Nov 2005 11:32:33 -0600 Subject: passive check directive in configuration file doesn't works Message-ID: An explanation for why you had to do so can be found under the Retention Notes at http://nagios.sourceforge.net/docs/1_0/xodtemplate.html if you didn't see that. -- Marc > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users- > admin at lists.sourceforge.net] On Behalf Of Ravail David > Sent: Wednesday, November 09, 2005 11:11 AM > To: Fred > Cc: nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] passive check directive in configuration file > doesn't works > > thanks for your reply fred. > but i just had need to delete status.sav and all is right. > > > Fred a ?crit : > > >You should look through all of your configuration files. > >accept_passive_service_checks is a global setting, you most > >likely want to put "passive_checks_enabled 1" either directly > >in each definition or in some generic template that is included > >(use ...) in your definition. > > > >-FredC > > > >--- Ravail David wrote: > > > > > > > >>Hi, > >> > >>I want to use passives checks services, but when nagios start, services > start > >>in active mode and doesn't accept passive check. > >>Only manner that I found to use passive checks, it to activate them by > the > >>cgi-web interface. > >>Nagios Version is 1.2 on a debian system. > >> > >>my conf files include: > >> > >>nagios.cfg : > >> > >> execute_service_checks=1 > >> accept_passive_service_checks=1 > >> > >>--- > >> > >>services.cfg > >> > >> > >> define service{ > >> name STemplate_GENERIC-Passive > >> service_description STemplate_GENERIC-Passive > >> is_volatile 0 > >> check_command check_graph_passive > >> max_check_attempts 6 > >> normal_check_interval 1 > >> retry_check_interval 1 > >> active_checks_enabled 0 > >> passive_checks_enabled 1 > >> check_period 24x7 > >> parallelize_check 1 > >> check_freshness 1 > >> freshness_threshold 86400 > >> low_flap_threshold 0 > >> high_flap_threshold 0 > >> notification_interval 360 > >> notification_period 24x7 > >> notification_options w,u,c,r > >> notifications_enabled 1 > >> contact_groups rso-workers > >> register 0 > >> } > >> > >>define service{ > >> use STemplate_GENERIC-Passive > >> service_description Traffic_Fa0/01 > >> host_name toto > >> } > >> > >>--- > >> > >> > >>any ideas? > >> > >> > >> > >>-- > >> > >>David RAVAIL > >>dravail at cvf.fr > >> > >> > >> > >>------------------------------------------------------- > >>SF.Net email is sponsored by: > >>Tame your development challenges with Apache's Geronimo App Server. > Download > >>it for free - -and be entered to win a 42" plasma tv or your very own > >>Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php > >>_______________________________________________ > >>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 > >> > >> > >> > > > > > > > > > > > > > > > >------------------------------------------------------- > >SF.Net email is sponsored by: > >Tame your development challenges with Apache's Geronimo App Server. > Download > >it for free - -and be entered to win a 42" plasma tv or your very own > >Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php > >_______________________________________________ > >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 > > > > > > > > > -- > > David RAVAIL > dravail at cvf.fr > +33(0)5.56.01.98.00 > > > ------------------------------------------------------- > SF.Net email is sponsored by: > Tame your development challenges with Apache's Geronimo App Server. > Download > it for free - -and be entered to win a 42" plasma tv or your very own > Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php > _______________________________________________ > 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 ------------------------------------------------------- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php _______________________________________________ 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 ifetch at du.edu Wed Nov 9 19:41:17 2005 From: ifetch at du.edu (Ivan Fetch) Date: Wed, 09 Nov 2005 11:41:17 -0700 (MST) Subject: Monitoring web applications with Nagios Message-ID: <20051109112254.D51197@tnetnzry.hgf.qh.rqh> Hello all, What experience do folks have with monitoring web applications using nagios? Specifically we have "Blackboard Learning System" and "Sunguard Luminous" for which we'd like to monitor the ability to login and interact with a few interfaces (e.g. interacting with adding / removing items to a class in Blackboard, something simelar with the Luminous calendar). I've looked into web inject (http://www.webinject.org) but I think it's inability to handle client-side javascript might be an issue. I know there are comercial monitoring products which have "web macros" to accomplish this sort of thing - I'm not sure of their implementation details though. Is anyone monitoring web applications (I'm particularly interested in Blackboard and Luminous, but will take what I can get) in Nagios? Thanks - Ivan. ------------------------------------------------------- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php _______________________________________________ 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 ian.marlier at studentuniverse.com Wed Nov 9 19:46:56 2005 From: ian.marlier at studentuniverse.com (Ian Marlier) Date: Wed, 09 Nov 2005 13:46:56 -0500 Subject: Monitoring web applications with Nagios In-Reply-To: <20051109112254.D51197@tnetnzry.hgf.qh.rqh> References: <20051109112254.D51197@tnetnzry.hgf.qh.rqh> Message-ID: > From: Ivan Fetch > Date: Wed, 09 Nov 2005 11:41:17 -0700 (MST) > To: > Subject: [Nagios-users] Monitoring web applications with Nagios > > Hello all, > > > What experience do folks have with monitoring web applications using > nagios? Specifically we have "Blackboard Learning System" and "Sunguard > Luminous" > for which we'd like to monitor the ability to login and interact with a > few interfaces (e.g. interacting with adding / removing items to a class > in Blackboard, something simelar with the Luminous calendar). > > > I've looked into web inject (http://www.webinject.org) but I think it's > inability to handle client-side javascript might be an issue. I know > there are comercial monitoring products which have "web macros" to > accomplish this sort of thing - I'm not sure of their implementation > details though. > > > Is anyone monitoring web applications (I'm particularly interested in > Blackboard and > Luminous, but will take what I can get) in Nagios? I'm not, but a possible alternate implementation would use GreaseMonkey and Selenium to run scheduled tests, and e-mail the results. Might even be able to get it to submit the results to Nagios somehow (passive check notification, for example).... ------------------------------------------------------- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php _______________________________________________ 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 gpadilla at cbct.com Wed Nov 9 21:08:00 2005 From: gpadilla at cbct.com (Guillermo Padilla) Date: Wed, 9 Nov 2005 15:08:00 -0500 Subject: service check time Message-ID: <93720C2F-9BF1-4EF8-BD24-5F72A0B7DC41@cbct.com> Hi, What would be the best and easiest way to have a certain service be checked every 15mins instead of the nagios default check times.? thx Guillermo ------------------------------------------------------- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php _______________________________________________ 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 s.shipway at auckland.ac.nz Wed Nov 9 21:21:47 2005 From: s.shipway at auckland.ac.nz (Steve Shipway) Date: Thu, 10 Nov 2005 09:21:47 +1300 Subject: Monitoring web applications with Nagios In-Reply-To: <20051109112254.D51197@tnetnzry.hgf.qh.rqh> References: <20051109112254.D51197@tnetnzry.hgf.qh.rqh> Message-ID: <04c101c5e56b$35eccd20$01fea8c0@itss.auckland.ac.nz> Ivan Fetch wrote: > What experience do folks have with monitoring web >applications using nagios? ... > I've looked into web inject (http://www.webinject.org) but Here, we have several web-based applications (Voyager, Peoplesoft, several in-house) that are being monitored via Nagios. We have several ways to do it! 1) check_http. This is for single-page lookups, which works well. 2) check_website. This is used for a couple of sequence retrieves. It supports cookies and forms, not javascript. We're phasing this out. 3) webinject. This is very good for sequences. It supports cookies, forms, parsing and multiple tests. However, no java or javascript. It also outputs in different reports, and can feed data to both Nagios and MRTG natively. We use this mostly. 4) SiteScope. This has a pricetag, but it is excellent at running tests. It makes its own web-based reports, but can have a trigger action which can do anything - so we can make it call send_nsca to feed into Nagios. Runs under windows, solaris or linux. We use this for things that we can't simulate under webinject. None of these, though, support java. What you would need for that is something built into a browser, maybe - I've heard of complete simulators but theyre expensive, and I cant remember any offhand. Steve ------------------------------------------------------- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php _______________________________________________ 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 Wed Nov 9 21:30:03 2005 From: marc at ena.com (Marc Powell) Date: Wed, 9 Nov 2005 14:30:03 -0600 Subject: service check time Message-ID: > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users- > admin at lists.sourceforge.net] On Behalf Of Guillermo Padilla > Sent: Wednesday, November 09, 2005 2:08 PM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] service check time > > Hi, > > What would be the best and easiest way to have a certain service be > checked every 15mins instead of the nagios default check times.? Set normal_check_interval to 15 ;) -- Marc ------------------------------------------------------- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php _______________________________________________ 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 sghosh at sghosh.org Wed Nov 9 21:41:13 2005 From: sghosh at sghosh.org (Subhendu Ghosh) Date: Wed, 9 Nov 2005 15:41:13 -0500 (EST) Subject: service check time In-Reply-To: <93720C2F-9BF1-4EF8-BD24-5F72A0B7DC41@cbct.com> References: <93720C2F-9BF1-4EF8-BD24-5F72A0B7DC41@cbct.com> Message-ID: On Wed, 9 Nov 2005, Guillermo Padilla wrote: > Hi, > > What would be the best and easiest way to have a certain service be checked > every 15mins instead of the nagios default check times.? > > thx > Guillermo cron would be best for a set interval. -- -sg ------------------------------------------------------- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php _______________________________________________ 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 s.shipway at auckland.ac.nz Wed Nov 9 21:47:26 2005 From: s.shipway at auckland.ac.nz (Steve Shipway) Date: Thu, 10 Nov 2005 09:47:26 +1300 Subject: "Service check did not exit properly" In-Reply-To: References: Message-ID: <04c601c5e56e$cb9ceeb0$01fea8c0@itss.auckland.ac.nz> >> Near as I can tell from the src, nagios logs a failed service check >> with "Service check did not exit properly" when it can't execute the >> service check plugin. ... >> So, I got cute, I made a wrapper that logs when it starts, and any >> output from check_snmp_if or the exact error when it can't >execute it. >> Welp, it happened again, and I don't see anything in my logs to >> indicate what happened, all I see are valid runs. I have experienced this as well, using Nagios 1.2. It has been with a couple of Perl scripts that run fine normally. I found that if I put a wrapper around them - or even just called perl directly with the script as an argument - then it worked! I have *no* idea why this should be, it's just plain weird. If you ever find out why, post here. I gave up looking after ages and stuck with using a null wrapper as a solution. Steve ------------------------------------------------------- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php _______________________________________________ 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 fabianomartinsrj at gmail.com Wed Nov 9 23:09:15 2005 From: fabianomartinsrj at gmail.com (Fabiano Martins) Date: Wed, 9 Nov 2005 20:09:15 -0200 Subject: NRPE issue Message-ID: <43727384.37ced6db.012d.ffffdf31@mx.gmail.com> Hi all!!! I have a costumer that has many access points to be monitored using ping. They're on the same network segment that my server is. I've checked that the check_icmp command works on remote server (the one that is in the costumer). But when I run the command on Nagios server to check NRPE result, I receive the following message: Root access needed (for raw sockets) I've tried already to insert the command on the sudoers file to giving the root permission to user nagios run the proper command. but.. nothing has changed. If somebody has passed to the same problem. please.give me a hint about how to solve that. Tks a lot Regards Fabiano Martins -------------- next part -------------- An HTML attachment was scrubbed... URL: From JasonFrank at srcp.com Wed Nov 9 23:49:40 2005 From: JasonFrank at srcp.com (Frank, Jason) Date: Wed, 9 Nov 2005 16:49:40 -0600 Subject: NRPE issue Message-ID: <741E24F735AED141B61948AC155E7DAA561428@CORPDALLMSG05.na.srcp.net> Umm, sudo will work fine, if you set it up for passwordless commands and you put the sudo command into your config file. You did that, right? ________________________________ From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Fabiano Martins Sent: Wednesday, November 09, 2005 4:09 PM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] NRPE issue Hi all!!! I have a costumer that has many access points to be monitored using ping. They're on the same network segment that my server is. I've checked that the check_icmp command works on remote server (the one that is in the costumer). But when I run the command on Nagios server to check NRPE result, I receive the following message: Root access needed (for raw sockets) I've tried already to insert the command on the sudoers file to giving the root permission to user nagios run the proper command... but.. nothing has changed... If somebody has passed to the same problem... please...give me a hint about how to solve that. Tks a lot Regards Fabiano Martins -------------- next part -------------- An HTML attachment was scrubbed... URL: From ae at op5.se Thu Nov 10 01:04:05 2005 From: ae at op5.se (Andreas Ericsson) Date: Thu, 10 Nov 2005 01:04:05 +0100 Subject: NRPE issue In-Reply-To: <43727384.37ced6db.012d.ffffdf31@mx.gmail.com> References: <43727384.37ced6db.012d.ffffdf31@mx.gmail.com> Message-ID: <43728E75.7090601@op5.se> Fabiano Martins wrote: > Hi all!!! > > > > I have a costumer that has many access points to be monitored using ping. > They're on the same network segment that my server is. > > > > I've checked that the check_icmp command works on remote server (the one > that is in the costumer). But when I run the command on Nagios server to > check NRPE result, I receive the following message: > > > > Root access needed (for raw sockets) > > > > I've tried already to insert the command on the sudoers file to giving the > root permission to user nagios run the proper command. but.. nothing has > changed. > > > > If somebody has passed to the same problem. please.give me a hint about how > to solve that. > chown root:root check_icmp chmod 4711 check_icmp -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Tel: +46 8-230225 Fax: +46 8-230231 ------------------------------------------------------- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php _______________________________________________ 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 mark.limburg at gmail.com Thu Nov 10 01:32:16 2005 From: mark.limburg at gmail.com (Mark Limburg) Date: Thu, 10 Nov 2005 11:02:16 +1030 Subject: NRPE Responce In-Reply-To: <20051109002202.GE4103@mal.members.linode.com> References: <20051108160025.GA4103@mal.members.linode.com> <20051108230543.GD4103@mal.members.linode.com> <20051109002202.GE4103@mal.members.linode.com> Message-ID: FOUND IT! Oh joy of joys. Guess who forgot to add a -c to the checkcommands.cfg file ... basically, the nagios server was polling the NRPE client, and it was not passing the $ARG$ in a way it could understand .. as such, it was responding "NRPE 2.0" to say "yes, i'm here .. hello .." Everything is looking *much* better now. -------------- next part -------------- An HTML attachment was scrubbed... URL: From fabianomartinsrj at gmail.com Thu Nov 10 02:01:52 2005 From: fabianomartinsrj at gmail.com (Fabiano Martins) Date: Wed, 9 Nov 2005 23:01:52 -0200 Subject: NRPE issue In-Reply-To: <741E24F735AED141B61948AC155E7DAA561428@CORPDALLMSG05.na.srcp.net> References: <741E24F735AED141B61948AC155E7DAA561428@CORPDALLMSG05.na.srcp.net> Message-ID: <43729c08.12ab1a1a.2837.ffffae87@mx.gmail.com> I think so.... I did nagios ALL=NOPASSWD:/usr/local/nagios/libexec/check_nrpe_radio check_nrpe_radio is the same as check_nrpe. I've just changed the name to organize the things. _____ From: Frank, Jason [mailto:JasonFrank at srcp.com] Sent: quarta-feira, 9 de novembro de 2005 20:50 To: Fabiano Martins; nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] NRPE issue Umm, sudo will work fine, if you set it up for passwordless commands and you put the sudo command into your config file. You did that, right? _____ From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Fabiano Martins Sent: Wednesday, November 09, 2005 4:09 PM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] NRPE issue Hi all!!! I have a costumer that has many access points to be monitored using ping. They're on the same network segment that my server is. I've checked that the check_icmp command works on remote server (the one that is in the costumer). But when I run the command on Nagios server to check NRPE result, I receive the following message: Root access needed (for raw sockets) I've tried already to insert the command on the sudoers file to giving the root permission to user nagios run the proper command. but.. nothing has changed. If somebody has passed to the same problem. please.give me a hint about how to solve that. Tks a lot Regards Fabiano Martins -------------- next part -------------- An HTML attachment was scrubbed... URL: From fabianomartinsrj at gmail.com Thu Nov 10 04:24:20 2005 From: fabianomartinsrj at gmail.com (Fabiano Martins) Date: Thu, 10 Nov 2005 01:24:20 -0200 Subject: NRPE issue In-Reply-To: <43728E75.7090601@op5.se> References: <43728E75.7090601@op5.se> Message-ID: <4372bd6c.79e6bfab.3a27.15ee@mx.gmail.com> HAS BEEN SOLVED!!! Its working fine now! Thanks a lot!! -----Original Message----- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Andreas Ericsson Sent: quarta-feira, 9 de novembro de 2005 22:04 To: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] NRPE issue Fabiano Martins wrote: > Hi all!!! > > > > I have a costumer that has many access points to be monitored using ping. > They're on the same network segment that my server is. > > > > I've checked that the check_icmp command works on remote server (the one > that is in the costumer). But when I run the command on Nagios server to > check NRPE result, I receive the following message: > > > > Root access needed (for raw sockets) > > > > I've tried already to insert the command on the sudoers file to giving the > root permission to user nagios run the proper command. but.. nothing has > changed. > > > > If somebody has passed to the same problem. please.give me a hint about how > to solve that. > chown root:root check_icmp chmod 4711 check_icmp -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Tel: +46 8-230225 Fax: +46 8-230231 ------------------------------------------------------- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php _______________________________________________ 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 ------------------------------------------------------- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php _______________________________________________ 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 mark.limburg at gmail.com Thu Nov 10 05:54:55 2005 From: mark.limburg at gmail.com (Mark Limburg) Date: Thu, 10 Nov 2005 15:24:55 +1030 Subject: Problems with Notification Message-ID: Howdy, I'm missing something here I'm sure. Nag is working well, but I can't seem to force an email from a logcheck. It comes up with a warning (manually triggering the logcheck by inserting lines), but its not emailing .. # CHECK LOCAL, TEST LOG define service{ use generic-service host_name ADL0805 service_description LOCAL TEST LOG WARN is_volatile 0 check_period 24x7 max_check_attempts 4 normal_check_interval 3 retry_check_interval 1 contact_groups sysadmins, trumps-admins notification_interval 960 notification_period 24x7 check_command check_nrpe!check_testlog } I can get emails to trigger on *some* other checks (and state restores), but all checks pretty much use the same default settings (at the moment) so I'm pretty lost. Any ideas to point me in the right direction? Mark -------------- next part -------------- An HTML attachment was scrubbed... URL: From mark.limburg at gmail.com Thu Nov 10 07:37:11 2005 From: mark.limburg at gmail.com (Mark Limburg) Date: Thu, 10 Nov 2005 17:07:11 +1030 Subject: check_logs.pl question Message-ID: lets say I have 14 matched instances when I do my check_logs.pl .. via NRPE .. is it possible to return EACH of the 14 instances for the email? -------------- next part -------------- An HTML attachment was scrubbed... URL: From ae at op5.se Thu Nov 10 09:15:44 2005 From: ae at op5.se (Andreas Ericsson) Date: Thu, 10 Nov 2005 09:15:44 +0100 Subject: check_logs.pl question In-Reply-To: References: Message-ID: <437301B0.60202@op5.se> Mark Limburg wrote: > lets say I have 14 matched instances when I do my check_logs.pl .. via NRPE > .. > > is it possible to return EACH of the 14 instances for the email? > No. NRPE only returns one line of output and Nagios in any case can only read 384 bytes of plugin output. -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Tel: +46 8-230225 Fax: +46 8-230231 ------------------------------------------------------- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php _______________________________________________ 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 sivan.deray at net-aptitude.fr Thu Nov 10 10:52:08 2005 From: sivan.deray at net-aptitude.fr (Sivan DERAY) Date: Thu, 10 Nov 2005 10:52:08 +0100 Subject: Stalking option + notification Message-ID: <4E13BD0442DACA4D9606CAD98924F09A50826D@srv-nap-atlas-1.net-aptitude.fr> Hi, Does anybody use Stakling option with active checks? I need to be notified when status is critical even if the message for the same service is different between 2 checks. I mean that the status keep being critical. Thanks Sivan. -------------- next part -------------- An HTML attachment was scrubbed... URL: From marc at ena.com Thu Nov 10 11:07:37 2005 From: marc at ena.com (Marc Powell) Date: Thu, 10 Nov 2005 04:07:37 -0600 Subject: Stalking option + notification Message-ID: > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users- > admin at lists.sourceforge.net] On Behalf Of Sivan DERAY > Sent: Thursday, November 10, 2005 3:52 AM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Stalking option + notification > Importance: High > > Hi, > > > > Does anybody use Stakling option with active checks? > > > > I need to be notified when status is critical even if the message for the > same service is different between 2 checks. I mean that the status keep > being critical. I haven't used stalking before but my understanding is that it doesn't have anything to do with notifications at all, just what nagios logs to nagios.log. Under normal circumstances nagios doesn't use the status information (text part) reported by the plugin other than to display it in the gui and in the logs. When you enable stalking, nagios looks at the status information and if it changes between checks then it will log the new information. Normally it wouldn't unless the exit code of the plugin changed (i.e. CRITICAL to OK, etc) If you want repeat notifications when the status doesn't change, set your notification_interval appropriately in your service definition. You'll get notifications whether or not the status information changes. -- Marc ------------------------------------------------------- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php _______________________________________________ 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 ekwamba at swiftkenya.com Thu Nov 10 12:17:54 2005 From: ekwamba at swiftkenya.com (Evans Kwambai) Date: Thu, 10 Nov 2005 14:17:54 +0300 Subject: Multiple Services In-Reply-To: <4E13BD0442DACA4D9606CAD98924F09A50826D@srv-nap-atlas-1.net-aptitude.fr> References: <4E13BD0442DACA4D9606CAD98924F09A50826D@srv-nap-atlas-1.net-aptitude.fr> Message-ID: <20051110111800.DACF22A400B@smtpout.swiftkenya.com> Hi I've just installed nagios and I've been digging around for answers to this question: Can I monitor more than one service on a host e.g. POP3, SMTP without having to define them separately in services.cfg? Thanks ./evans -- This message has been scanned for viruses and dangerous content by the MailScanner at SwiftGlobal (K) Ltd, and is believed to be clean. -------------- next part -------------- An HTML attachment was scrubbed... URL: From robmossrm at aol.com Thu Nov 10 12:47:17 2005 From: robmossrm at aol.com (Rob Moss) Date: Thu, 10 Nov 2005 11:47:17 +0000 Subject: Multiple Services In-Reply-To: <20051110111800.DACF22A400B@smtpout.swiftkenya.com> References: <20051110111800.DACF22A400B@smtpout.swiftkenya.com> Message-ID: <43733345.2090307@aol.com> Evans Kwambai wrote: > Hi > > > > I've just installed nagios and I've been digging around for answers to > this question: > > > > Can I monitor more than one service on a host e.g. POP3, SMTP without > having to define them separately in services.cfg? > Yes, kind of.. There are some tricks you can do with templates to set up standard services and stuff.. http://nagios.sourceforge.net/docs/2_0/templatetricks.html#service If you don't know what a template is, then you need to read up on them in the docs at http://nagios.sourceforge.net/docs/2_0/xodtemplate.html Templates are good, templates are great. Set up a few service templates for say POP3 and SMTP and it will save you lots of time when adding more hosts. rob. -------------- next part -------------- An HTML attachment was scrubbed... URL: From todd_barbera at wgbh.org Thu Nov 10 13:36:28 2005 From: todd_barbera at wgbh.org (Todd Barbera) Date: Thu, 10 Nov 2005 07:36:28 -0500 Subject: Problems with Notification References: Message-ID: <005301c5e5f3$6250c000$0d7810ac@wgbh.org> Hi Mark, On my log checks, I needed to set max_check_attempts to 1. This is because on the first pass, it would see the error. Unless the error occurs again in passes 2-, you won't get notified. I also set it to not notify me on a "recovery", since I merely need to know if the string has occurred within my logfile. Todd ----- Original Message ----- From: Mark Limburg To: Nagios-users at lists.sourceforge.net Sent: Wednesday, November 09, 2005 11:54 PM Subject: [Nagios-users] Problems with Notification Howdy, I'm missing something here I'm sure. Nag is working well, but I can't seem to force an email from a logcheck. It comes up with a warning (manually triggering the logcheck by inserting lines), but its not emailing .. # CHECK LOCAL, TEST LOG define service{ use generic-service host_name ADL0805 service_description LOCAL TEST LOG WARN is_volatile 0 check_period 24x7 max_check_attempts 4 normal_check_interval 3 retry_check_interval 1 contact_groups sysadmins, trumps-admins notification_interval 960 notification_period 24x7 check_command check_nrpe!check_testlog } I can get emails to trigger on *some* other checks (and state restores), but all checks pretty much use the same default settings (at the moment) so I'm pretty lost. Any ideas to point me in the right direction? Mark -------------- next part -------------- An HTML attachment was scrubbed... URL: From mfatihakbulut at gmail.com Thu Nov 10 13:41:45 2005 From: mfatihakbulut at gmail.com (Mehmet Fatih AKBULUT) Date: Thu, 10 Nov 2005 14:41:45 +0200 Subject: nagios installation problem :( Message-ID: hi all. 2-3 days ago i installed nagios for the first time. nagios main page & documentation page works fine on apache but i couldn't see any *.cgi pages on my server :( if i try to open anyone of them, o pop-up shows and asks me whether to open in plain text format or not :( i read the documentation file but since i am a newbie on nagios its not easy for me to come over all problems at once :( please help me doc files are not enough for me! this is cos of 2 reasons : first my english is not so good and second doc file is a bit sophisticated for me :) (have some problems in understanding. hard things take much time to be realized by my mind:p) thnx for the coming helps ... -------------- next part -------------- An HTML attachment was scrubbed... URL: From ae at op5.se Thu Nov 10 14:22:31 2005 From: ae at op5.se (Andreas Ericsson) Date: Thu, 10 Nov 2005 14:22:31 +0100 Subject: nagios installation problem :( In-Reply-To: References: Message-ID: <43734997.50900@op5.se> Mehmet Fatih AKBULUT wrote: > hi all. > 2-3 days ago i installed nagios for the first time. > nagios main page & documentation page works fine on apache but i couldn't > see any *.cgi pages on my server :( > if i try to open anyone of them, o pop-up shows and asks me whether to open > in plain text format or not :( You need to make sure apache understands that cgi-files are supposed to be executed and the output sent to the connecting client. See the apache manual on how to do this, or follow the howto for the cgi's carefully. > please help me doc files are not enough for me! this is cos of 2 reasons : > first my english is not so good and second doc file is a bit sophisticated > for me :) (have some problems in understanding. hard things take much time > to be realized by my mind:p) > Sorry as I am that language is sometimes a barrier I think you'd be better off by improving your english skills if you want to be able to cope with most open source manuals. Some very large projects with enormous userbases (apache, samba, php...) has translations for most languages but the majority of the projects keep documentation in english only. -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Tel: +46 8-230225 Fax: +46 8-230231 ------------------------------------------------------- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php _______________________________________________ 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 grover1711 at gmail.com Thu Nov 10 06:08:11 2005 From: grover1711 at gmail.com (ankush grover) Date: Thu, 10 Nov 2005 10:38:11 +0530 Subject: Is check_users working properly Message-ID: <5f638b360511092108x5c8d404cred3b1f293b72f84d@mail.gmail.com> hey friends, I am using Nagions 2.0b on Fedora Core 3.I have configured check_users to see how many users are currently login into the system. define command{ command_name check_local_users command_line $USER1$/check_users -w 15 -c 10 } Through the url http://localhost/nagios Current Status: OK Status Information:USERS OK - 0 users currently logged in Performance Data: users=0;15;10;0 Current Attempt:1/5 State Type:HARD Last Check Type:ACTIVE Last Check Time:11-10-2005 10:40:11 Status Data Age: 0d 0h 1m 17s Next Scheduled Active Check: 11-10-2005 10:45:11 Latency:0.000 seconds Check Duration:0.005seconds Last State Change:11-09-2005 16:39:17 Current State Duration: 0d 18h 2m 11s Last Service Notification:N/A Current Notification Number:0 Is This Service Flapping?N/A Percent State Change:N/A In Scheduled Downtime? NO Last Update:11-10-2005 10:41:14 Active Checks: ENABLED Passive Checks: ENABLED Obsessing: ENABLED Notifications: ENABLED Event Handler: ENABLED Flap Detection: ENABLED But If I run the check_users from command line it shows there are users ./check_users -w 10 -c 15 USERS OK - 5 users currently logged in |users=5;10;15;0 in services.cfg I have added these lines for check_users service define service{ host_name cluster1 service_description localuserload check_command check_local_users max_check_attempts 5 normal_check_interval 5 retry_check_interval 3 check_period nonworkhours notification_interval 30 notification_period nonworkhours notification_options w,c,r contact_groups linux-admins } Please let me know if you need any further inputs. Can you guide me what wrong I am doing ? Thanks & Regards Ankush Grover -------------- next part -------------- An HTML attachment was scrubbed... URL: From grover1711 at gmail.com Thu Nov 10 14:22:25 2005 From: grover1711 at gmail.com (ankush grover) Date: Thu, 10 Nov 2005 18:52:25 +0530 Subject: check_users is not working properly on v2.0b(second time post) Message-ID: <5f638b360511100522h782ff26n8f36a3fb86b1e904@mail.gmail.com> hey friends, I am using Nagions 2.0b on Fedora Core 3.I have configured check_users to see how many users are currently login into the system. define command{ command_name check_local_users command_line $USER1$/check_users -w 15 -c 10 } Through the url http://localhost/nagios Current Status: OK Status Information:USERS OK - 0 users currently logged in Performance Data: users=0;15;10;0 Current Attempt:1/5 State Type:HARD Last Check Type:ACTIVE Last Check Time:11-10-2005 10:40:11 Status Data Age: 0d 0h 1m 17s Next Scheduled Active Check: 11-10-2005 10:45:11 Latency:0.000 seconds Check Duration:0.005seconds Last State Change:11-09-2005 16:39:17 Current State Duration: 0d 18h 2m 11s Last Service Notification:N/A Current Notification Number:0 Is This Service Flapping?N/A Percent State Change:N/A In Scheduled Downtime? NO Last Update:11-10-2005 10:41:14 Active Checks: ENABLED Passive Checks: ENABLED Obsessing: ENABLED Notifications: ENABLED Event Handler: ENABLED Flap Detection: ENABLED But If I run the check_users from command line it shows there are users ./check_users -w 10 -c 15 USERS OK - 5 users currently logged in |users=5;10;15;0 in services.cfg I have added these lines for check_users service define service{ host_name cluster1 service_description localuserload check_command check_local_users max_check_attempts 5 normal_check_interval 5 retry_check_interval 3 check_period nonworkhours notification_interval 30 notification_period nonworkhours notification_options w,c,r contact_groups linux-admins } Please let me know if you need any further inputs. Can you guide me what wrong I am doing ? Thanks & Regards Ankush Grover -------------- next part -------------- An HTML attachment was scrubbed... URL: From ae at op5.se Thu Nov 10 15:29:29 2005 From: ae at op5.se (Andreas Ericsson) Date: Thu, 10 Nov 2005 15:29:29 +0100 Subject: Is check_users working properly In-Reply-To: <5f638b360511092108x5c8d404cred3b1f293b72f84d@mail.gmail.com> References: <5f638b360511092108x5c8d404cred3b1f293b72f84d@mail.gmail.com> Message-ID: <43735949.9050208@op5.se> ankush grover wrote: > hey friends, > > I am using Nagions 2.0b on Fedora Core 3.I have configured check_users to > see how many users are currently login into the system. > > define command{ > command_name check_local_users > command_line $USER1$/check_users -w 15 -c 10 > } > > Through the url http://localhost/nagios > > Current Status: OK > Status Information:USERS OK - 0 users currently logged in > > But If I run the check_users from command line it shows there are users > > ./check_users -w 10 -c 15 > USERS OK - 5 users currently logged in |users=5;10;15;0 > Are you running this command-line check as the nagios user? There are tons of patches that disallow non-root users from seeing who are logged in to the system. They're usually called something like "restricted proc" or some such and most of them make the /proc filesystem readable to members of a certain group (usually named "proc"). -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Tel: +46 8-230225 Fax: +46 8-230231 ------------------------------------------------------- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php _______________________________________________ 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 guppy_rules at ilse.nl Thu Nov 10 15:36:37 2005 From: guppy_rules at ilse.nl (guppy_rules at ilse.nl) Date: Thu, 10 Nov 2005 15:36:37 +0100 (CET) Subject: nagios 2.0b4: notifications not correct Message-ID: <145.58.13.83_43735af5da6d91131633397_guppy_rules@ilse.nl> Hi, Today I installed nagios 2.0b4 en want to sent en e-mail when there is a problem. The e-mail is sent, but the information is not complete. Is this a bug in 2.0b4 or do I have to configure something? Example: Date: Thu, 10 Nov 2005 14:38:29 +0100 (CET) From: Mr. Nagios To: XXXXXX Subject: ** RECOVERY alert - bla.nl/CPU Load is OK ** ***** Nagios 1.0 ***** Notification Type: RECOVERY Service: CPU Load Host: bla.nl Address: bla State: OK Date/Time: $ Additional Info: $ As far as I know, the Date/Time and Additional info works find with nagios 1.2 release. Thanks for your help. Gup From noyler at khimetrics.com Thu Nov 10 15:42:49 2005 From: noyler at khimetrics.com (Nathan Oyler) Date: Thu, 10 Nov 2005 07:42:49 -0700 Subject: What type of check do I want? Message-ID: <59B15593F41BD24591D59436E7226EAD02CDCC1C@Khiphx2.khimetrics.com> I'm using SNMP traps, and I'd like to be notified once, and only once for each trap. So if a service goes into Critical because of an SNMP trap, I'd like to only be notified once. What options would be good for this? I'm currently using define service { use passive-check-template name generic-snmptrap service_description snmp_trap_handling is_volatile 1 notification_interval 120 notification_options w,c notification_period 24x7 check_command check_dummy max_check_attempts 1 active_checks_enabled 0 passive_checks_enabled 1 check_freshness 0 stalking_options o,w,u,c normal_check_interval 2 retry_check_interval 2 register 0 } Some of those options aren't in use, but it wouldn't let me use the check without them. -------------- next part -------------- An HTML attachment was scrubbed... URL: From marc at ena.com Thu Nov 10 15:42:13 2005 From: marc at ena.com (Marc Powell) Date: Thu, 10 Nov 2005 08:42:13 -0600 Subject: Is check_users working properly Message-ID: > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users- > admin at lists.sourceforge.net] On Behalf Of Andreas Ericsson > Sent: Thursday, November 10, 2005 8:29 AM > To: ankush grover > Cc: nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] Is check_users working properly > > ankush grover wrote: > > hey friends, > > > > I am using Nagions 2.0b on Fedora Core 3.I have configured check_users > to > > see how many users are currently login into the system. > > > > define command{ > > command_name check_local_users > > command_line $USER1$/check_users -w 15 -c 10 > > } > > > > Through the url http://localhost/nagios > > > > Current Status: OK > > Status Information:USERS OK - 0 users currently logged in > > > > But If I run the check_users from command line it shows there are users > > > > ./check_users -w 10 -c 15 > > USERS OK - 5 users currently logged in |users=5;10;15;0 > > > > Are you running this command-line check as the nagios user? And just to be thorough, is the host 'cluster1' the machine nagios is running on and the machine you're intending to check? -- Marc ------------------------------------------------------- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php _______________________________________________ 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 fabianomartinsrj at gmail.com Thu Nov 10 15:41:21 2005 From: fabianomartinsrj at gmail.com (Fabiano Martins) Date: Thu, 10 Nov 2005 12:41:21 -0200 Subject: Is check_users working properly In-Reply-To: <43735949.9050208@op5.se> References: <43735949.9050208@op5.se> Message-ID: <43735c55.305a2282.1e25.ffffb51b@mx.gmail.com> Are trying to monitor a remote host or the own server that is running nagios? -----Original Message----- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Andreas Ericsson Sent: quinta-feira, 10 de novembro de 2005 12:29 To: ankush grover Cc: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Is check_users working properly ankush grover wrote: > hey friends, > > I am using Nagions 2.0b on Fedora Core 3.I have configured check_users to > see how many users are currently login into the system. > > define command{ > command_name check_local_users > command_line $USER1$/check_users -w 15 -c 10 > } > > Through the url http://localhost/nagios > > Current Status: OK > Status Information:USERS OK - 0 users currently logged in > > But If I run the check_users from command line it shows there are users > > ./check_users -w 10 -c 15 > USERS OK - 5 users currently logged in |users=5;10;15;0 > Are you running this command-line check as the nagios user? There are tons of patches that disallow non-root users from seeing who are logged in to the system. They're usually called something like "restricted proc" or some such and most of them make the /proc filesystem readable to members of a certain group (usually named "proc"). -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Tel: +46 8-230225 Fax: +46 8-230231 ------------------------------------------------------- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php _______________________________________________ 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 ------------------------------------------------------- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php _______________________________________________ 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 Thu Nov 10 15:45:12 2005 From: marc at ena.com (Marc Powell) Date: Thu, 10 Nov 2005 08:45:12 -0600 Subject: nagios 2.0b4: notifications not correct Message-ID: > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users- > admin at lists.sourceforge.net] On Behalf Of guppy_rules at ilse.nl > Sent: Thursday, November 10, 2005 8:37 AM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] nagios 2.0b4: notifications not correct > > Hi, > > Today I installed nagios 2.0b4 en want to sent en e-mail when there is a > problem. The e-mail is sent, but the information is not complete. Is this > a bug in 2.0b4 or do I have to configure something? > > Example: > Date: Thu, 10 Nov 2005 14:38:29 +0100 (CET) > From: Mr. Nagios > To: XXXXXX > Subject: ** RECOVERY alert - bla.nl/CPU Load is OK ** > > ***** Nagios 1.0 ***** > > Notification Type: RECOVERY > > Service: CPU Load > Host: bla.nl > Address: bla > State: OK > > Date/Time: $ > > Additional Info: > > $ > > As far as I know, the Date/Time and Additional info works find with nagios > 1.2 release. That's because, as documented in the What's New and Using Macros in Commands pages, many of the macros have changed with 2.x and you need to make sure you update any that you are using to the new ones. In this specific case, the macro $OUTPUT$ has been changed to $SERVICEOUTPUT$. -- Marc ------------------------------------------------------- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php _______________________________________________ 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 ae at op5.se Thu Nov 10 15:56:44 2005 From: ae at op5.se (Andreas Ericsson) Date: Thu, 10 Nov 2005 15:56:44 +0100 Subject: What type of check do I want? In-Reply-To: <59B15593F41BD24591D59436E7226EAD02CDCC1C@Khiphx2.khimetrics.com> References: <59B15593F41BD24591D59436E7226EAD02CDCC1C@Khiphx2.khimetrics.com> Message-ID: <43735FAC.6030401@op5.se> Nathan Oyler wrote: > I'm using SNMP traps, and I'd like to be notified once, and only once > for each trap. > > > > So if a service goes into Critical because of an SNMP trap, I'd like to > only be notified once. > > > > What options would be good for this? I'm currently using > > > > define service { > > use passive-check-template > > name generic-snmptrap > > service_description snmp_trap_handling > > is_volatile 1 > > notification_interval 120 > Set this to 0. > > Some of those options aren't in use, but it wouldn't let me use the > check without them. > > -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Tel: +46 8-230225 Fax: +46 8-230231 ------------------------------------------------------- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php _______________________________________________ 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 grover1711 at gmail.com Thu Nov 10 16:00:01 2005 From: grover1711 at gmail.com (ankush grover) Date: Thu, 10 Nov 2005 20:30:01 +0530 Subject: Is check_users working properly In-Reply-To: <43735c55.305a2282.1e25.ffffb51b@mx.gmail.com> References: <43735949.9050208@op5.se> <43735c55.305a2282.1e25.ffffb51b@mx.gmail.com> Message-ID: <5f638b360511100700j920e8b4mcadb8a89eaa808a8@mail.gmail.com> hey, I am checking the same host and I ran the check_users with root. I think andreas is right(restricted proc). Thanks & Regards Ankush Grover On 11/10/05, Fabiano Martins wrote: > > Are trying to monitor a remote host or the own server that is running > nagios? > > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net > [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Andreas > Ericsson > Sent: quinta-feira, 10 de novembro de 2005 12:29 > To: ankush grover > Cc: nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] Is check_users working properly > > ankush grover wrote: > > hey friends, > > > > I am using Nagions 2.0b on Fedora Core 3.I have configured check_users > to > > see how many users are currently login into the system. > > > > define command{ > > command_name check_local_users > > command_line $USER1$/check_users -w 15 -c 10 > > } > > > > Through the url http://localhost/nagios > > > > Current Status: OK > > Status Information:USERS OK - 0 users currently logged in > > > > But If I run the check_users from command line it shows there are users > > > > ./check_users -w 10 -c 15 > > USERS OK - 5 users currently logged in |users=5;10;15;0 > > > > Are you running this command-line check as the nagios user? > > There are tons of patches that disallow non-root users from seeing who > are logged in to the system. They're usually called something like > "restricted proc" or some such and most of them make the /proc > filesystem readable to members of a certain group (usually named "proc"). > > -- > Andreas Ericsson andreas.ericsson at op5.se > OP5 AB www.op5.se > Tel: +46 8-230225 Fax: +46 8-230231 > > > ------------------------------------------------------- > SF.Net email is sponsored by: > Tame your development challenges with Apache's Geronimo App Server. > Download > it for free - -and be entered to win a 42" plasma tv or your very own > Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php > _______________________________________________ > 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 > > > > ------------------------------------------------------- > SF.Net email is sponsored by: > Tame your development challenges with Apache's Geronimo App Server. > Download > it for free - -and be entered to win a 42" plasma tv or your very own > Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php > _______________________________________________ > 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 > -------------- next part -------------- An HTML attachment was scrubbed... URL: From james.mohr at elaxy.com Thu Nov 10 18:14:22 2005 From: james.mohr at elaxy.com (Mohr James) Date: Thu, 10 Nov 2005 18:14:22 +0100 Subject: MySQL 5 and MySQL NEB module Message-ID: Hi All! Does anyone have experience with MySQL 5 and then MySQL NEB module? Does it work OK? Are there any know problems? Thanks in advance. Regards, Jim Mohr ------------------------------------------------------- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php _______________________________________________ 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 msugano at uolinc.com Thu Nov 10 18:28:07 2005 From: msugano at uolinc.com (Marcel Mitsuto Fucatu Sugano) Date: Thu, 10 Nov 2005 15:28:07 -0200 Subject: NRPE issue In-Reply-To: <43729c08.12ab1a1a.2837.ffffae87@mx.gmail.com> References: <43729c08.12ab1a1a.2837.ffffae87@mx.gmail.com> Message-ID: <1131643688.2982.5.camel@localhost> On Wed, 2005-11-09 at 23:01 -0200, Fabiano Martins wrote: > nagios ALL=NOPASSWD:/usr/local/nagios/libexec/check_nrpe_radio Ok for the sudoers file, but, you should also place a sudo on command definition, like command_line 'sudo check_icmp'. That is what Jason was talking about. IMHO you did not placed sudo calling the plugin on command definition Cheers -- Marcel Mitsuto Fucatu Sugano Universo Online S.A. -- http://www.uol.com.br ------------------------------------------------------- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php _______________________________________________ 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 s.shipway at auckland.ac.nz Thu Nov 10 21:17:43 2005 From: s.shipway at auckland.ac.nz (Steve Shipway) Date: Fri, 11 Nov 2005 09:17:43 +1300 Subject: Stalking option + notification In-Reply-To: <4E13BD0442DACA4D9606CAD98924F09A50826D@srv-nap-atlas-1.net-aptitude.fr> References: <4E13BD0442DACA4D9606CAD98924F09A50826D@srv-nap-atlas-1.net-aptitude.fr> Message-ID: <052801c5e633$cf4b3420$01fea8c0@itss.auckland.ac.nz> Yes, we use state stalking here. I have a plugin that returns the last message of interest from the syslog on a UNIX host. This is defined with state stalking since otherwise we would not get multiple alerts for successive criticals involving different problems. We also use state stalking for the (passive) SNMP Trap services for the same reason. It works well in both cases (we only stalk the critical and warning states). Steve Does anybody use Stakling option with active checks? I need to be notified when status is critical even if the message for the same service is different between 2 checks. I mean that the status keep being critical. -------------- next part -------------- An HTML attachment was scrubbed... URL: From marc at ena.com Thu Nov 10 21:31:10 2005 From: marc at ena.com (Marc Powell) Date: Thu, 10 Nov 2005 14:31:10 -0600 Subject: Stalking option + notification Message-ID: Unless the documentation is very wrong, which I am inclined to doubt is the case, the state stalking isn't contributing to your notifications, only to the logging of those states. Do you have is_volatile set for those services? That's another way to get multiple repeat notifications for non-OK services. http://nagios.sourceforge.net/docs/1_0/volatileservices.html -- Marc > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users- > admin at lists.sourceforge.net] On Behalf Of Steve Shipway > Sent: Thursday, November 10, 2005 2:18 PM > To: 'Sivan DERAY'; nagios-users at lists.sourceforge.net > Subject: RE: [Nagios-users] Stalking option + notification > > Yes, we use state stalking here. > > I have a plugin that returns the last message of interest from the syslog > on a UNIX host. This is defined with state stalking since otherwise we > would not get multiple alerts for successive criticals involving different > problems. We also use state stalking for the (passive) SNMP Trap services > for the same reason. It works well in both cases (we only stalk the > critical and warning states). > > Steve > > > > Does anybody use Stakling option with active checks? > > > > I need to be notified when status is critical even if the message > for the same service is different between 2 checks. I mean that the status > keep being critical. > > ------------------------------------------------------- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php _______________________________________________ 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 frank.ivey at dot.state.ga.us Thu Nov 10 21:40:49 2005 From: frank.ivey at dot.state.ga.us (Frank Ivey) Date: Thu, 10 Nov 2005 15:40:49 -0500 Subject: check_disk_remote - time out Message-ID: <1131655249.5580.46.camel@suse-laptop.gdot.ad.local> I've got an interesting problem with check_disk_remote. When the check is run by nagios on one specific host, it returns a "Service Check Timed Out" error. If I run the check_disk_remote manually at the command line as the nagios user for that specific host's ip, the return is with in 2 seconds. The check_disk_remote service is set for a 90 second timeout so that's not the problem. Other remote tests, those that also use ssh, for that host are working fine. I've also verified I'm using the same ip for the manul test as that used for that host's nagios host definition. Any ideas as to what to check for? Thanks -- Frank Ivey Unix Server Support Group Georgia Department of Transportation frank.ivey at dot.state.ga.us ------------------------------------------------------- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php _______________________________________________ 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 davea at support.kcm.org Thu Nov 10 23:38:20 2005 From: davea at support.kcm.org (Dave Augustus) Date: Thu, 10 Nov 2005 16:38:20 -0600 Subject: timelimited warning alerts In-Reply-To: <436F9442.2020205@vamos-wentworth.org> References: <436F9442.2020205@vamos-wentworth.org> Message-ID: <1131662300.5079.18.camel@kcm40202> Here is how we do it: We have 2 destinations for alerts: email and pagers. We create an email contact group. For each contact in this group, we set the schedule to be 24x7 for all alerts. (These are email accounts not used to notify via a pager or cell phone so that 24x7 notification allows us to sleep but have a record of the events in the morning.) We create a pager group. For each pager, create 2 contact entries. For one of them, you set the schedule for 24x7 and ONLY Critical and Recovery The second one you set the schedule for daylight and WARNING, UNKNOWN, CRITICAL and RECOVERY. Assign both of these groups to each host/service you are monitoring. On that host/service, you select ALL alerts: WARNING, UNKNOWN, CRITICAL and RECOVERY, etc, etc. Now the email group gets ALL alerts ALL the time. The pager group gets ALL alerts during the day, CRITICAL/RECOVERY 24x7. Here is the KEY: Contact settings override the SERVICE/HOST settings. Enjoy! Dave On Mon, 2005-11-07 at 09:52 -0800, Ross Wentworth wrote: > What's the best way to handle sending out warnings during specified > hours, but critical alerts all the time? > > For example, one test is disk space. If the warning level is set to 90% > and the critical is 95% disk full, I want the warning sent during > "daylight" hours (perhaps 8am-8pm), but the critical alert should be > sent 24x7. Basically, I don't want to be woken at 3am for something > that can be ignored until morning. On the other hand, I want to receive > a warning during the day so I can deal with it and not be woken when the > space becomes critical. > -- Dave Augustus ------------------------------------------------------- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php _______________________________________________ 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 s.shipway at auckland.ac.nz Thu Nov 10 23:52:36 2005 From: s.shipway at auckland.ac.nz (Steve Shipway) Date: Fri, 11 Nov 2005 11:52:36 +1300 Subject: Stalking option + notification In-Reply-To: References: Message-ID: <055401c5e649$71cb7f10$01fea8c0@itss.auckland.ac.nz> >Unless the documentation is very wrong, which I am inclined to >doubt is the case, the state stalking isn't contributing to >your notifications, only to the logging of those states. Do >you have is_volatile set for those services? That's another >way to get multiple repeat notifications for non-OK services. Surely, is_volatile will cause a notification *every*time* a critical check is received? I only want a notification if it is in critical *and* the text is different from the last check, which is what state stalking does. Eg, the plugin returns the LAST problem from the final 30 mins of the syslog file. Successive checks return: 1) OK - no problems in last 30min (message 1 appears at the end of syslog) 2) CRITICAL - message 1 (5 mins pass) 3) CRITICAL - message 1 (message 2 appears at the end of syslog) 4) CRITICAL - message 2 (30 mins pass) 5) OK - no problems in last 30min then I want to receive an alert for (2) and (4). Normal checks would alert for (2) only. Volatile checks would alert for (2), (3) and (4). Stalk stalking for critical would alert for (2) and (4). Steve ------------------------------------------------------- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php _______________________________________________ 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 Fri Nov 11 00:03:34 2005 From: marc at ena.com (Marc Powell) Date: Thu, 10 Nov 2005 17:03:34 -0600 Subject: Stalking option + notification Message-ID: > -----Original Message----- > From: Steve Shipway [mailto:s.shipway at auckland.ac.nz] > Sent: Thursday, November 10, 2005 4:53 PM > To: Marc Powell; nagios-users at lists.sourceforge.net > Subject: RE: [Nagios-users] Stalking option + notification > > >Unless the documentation is very wrong, which I am inclined to > >doubt is the case, the state stalking isn't contributing to > >your notifications, only to the logging of those states. Do > >you have is_volatile set for those services? That's another > >way to get multiple repeat notifications for non-OK services. > > Surely, is_volatile will cause a notification *every*time* a critical > check > is received? That's my understanding. > > I only want a notification if it is in critical *and* the text is > different > from the last check, which is what state stalking does. My understanding from reading the documentation is that stalking only controls the _logging_ of the information, not the notification. If you've found that it's actually managing the notifications as well then that's a deficiency in the documentation that should be clarified. I'm just trying to determine if the documentation is incorrect/insufficient with regards to state stalking so I don't make incorrect statements WRT stalking. Thanks! -- Marc ------------------------------------------------------- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php _______________________________________________ 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 mfatihakbulut at gmail.com Fri Nov 11 01:14:51 2005 From: mfatihakbulut at gmail.com (Mehmet Fatih AKBULUT) Date: Thu, 10 Nov 2005 16:14:51 -0800 Subject: .pl & .cgi files on apache Message-ID: altough i wrote : ScriptAlias /nagios/cgi-bin "/usr/share/nagios/cgi-bin/" AllowOverride AuthConfig Order allow,deny Allow from all Options ExecCGI (and of course Alias /nagios ...) in my httpd.conf file i still cannot view any .cgi or .pl works on apache :( when i try to see the result of a simple pl script : http://127.0.0.1/nagios/cgi-bin/foo.pl i get this error : The requested URL /nagios/cgi-bin/foo.pl was not found on this server. what should i do ? help me please ... by the way : Fedora Core 1 and nagios2.04b ------------------------------------------------------- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php _______________________________________________ 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 raema at osuosl.org Fri Nov 11 01:31:33 2005 From: raema at osuosl.org (Matt Rae) Date: Thu, 10 Nov 2005 16:31:33 -0800 Subject: disable service checks when a host goes down Message-ID: <4373E665.40204@osuosl.org> I'm trying to disable service notifications when a host goes down. Does this have to do with dependencies or notification optoins? Or something else? I asked in #nagios and apparently this should be what nagios does by default. The suggestion was to check check-host-alive.. but I'm using the supplied check-host-alive. When a host goes down due to ping failure i'd really like to get only one email rather than 10 telling me that every service went down also. Maybe somebody can point me in the right direction for this. thanks for any help. -- Matt Rae Open Source Lab Oregon State University -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 189 bytes Desc: OpenPGP digital signature URL: From BStover at NorcalMutual.com Fri Nov 11 01:35:16 2005 From: BStover at NorcalMutual.com (Stover, Beth) Date: Thu, 10 Nov 2005 16:35:16 -0800 Subject: Help with NAGAT Message-ID: I would post in the NAGAT mailing list, but it doesn't look like it's used much. I'm wondering if someone can help me with NAGAT. I have NAGAT installed, PHP is working fine. I can import my configurations from NAGIOS, but I have some questions: First, when I import, then make a change, then export, I get duplicate entries in my NAGIOS cfg files. Is there a way around this? Secondly, is there a way to add hosts to existing service checks? When I edit the service and add a host, then go back to look at the service, the new host exists, but the hosts that were in the service check previously are gone. I'll be working on installing Nagios 2 soon. I was hoping to get an easy front-end working for a co-worker while I'm on vacation. Thanks for your help. Beth Stover Systems Administrator 415.395.8768 -------------- next part -------------- An HTML attachment was scrubbed... URL: From mark.limburg at gmail.com Fri Nov 11 02:01:10 2005 From: mark.limburg at gmail.com (Mark Limburg) Date: Fri, 11 Nov 2005 11:31:10 +1030 Subject: check_logs.pl question In-Reply-To: <437301B0.60202@op5.se> References: <437301B0.60202@op5.se> Message-ID: Okay, next plan. BoxA runs Nag .. BoxB run NRPE and does a check_logs .. is there a way for me to execute a shell script on BoxB if check_logs is triggered into warning? http://sysunconfig.net/unixtips/wgrep.txt is a damn fine tool which will allow me to grab the lines I want as well as lines above and below those found in the regex. the way I have wgrep working, it returns 8 lines per match .. a divider, one line above the regex, the regex line, and three lines after it .. if the check_logs.pl triggers, it returns the number of matches found in the logfile .. lets say it 4 matches .. what I want to do, is to be able to use tail -l (8 * number of matches found) so it only outputs the faults found .. then, send an email from the script which sends this output so what i need, is a method to trap the number of fails from check_logs.pl ... and pass this to a script that can wgrep and send the output to an email address. This would provide a simple and workable addon to check_logs, which I'm sure can be used by many on the list :) -------------- next part -------------- An HTML attachment was scrubbed... URL: From BStover at NorcalMutual.com Fri Nov 11 02:32:43 2005 From: BStover at NorcalMutual.com (Stover, Beth) Date: Thu, 10 Nov 2005 17:32:43 -0800 Subject: OT: Problem with Cingular TAP Gateway Message-ID: I found out that they farm the service out to Verisign. After weeks of troubleshooting and no answers, it finally started working again. Now, I see the "verisign" banner when I log in. They claim they didn't change anything, but the proof is in the banner. At least it's working again. Thanks for the input... Beth Stover Systems Administrator 415.395.8768 -----Original Message----- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Stover, Beth Sent: Saturday, October 15, 2005 1:33 PM To: Robert Hajime Lanning; nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] OT: Problem with Cingular TAP Gateway I'm being billed through Cingular and I'm a Cingular user. Is anyone out there dialing the Cingular TAP gateway? -----Original Message----- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Robert Hajime Lanning Sent: Friday, October 14, 2005 5:54 PM To: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] OT: Problem with Cingular TAP Gateway This is the reason we have out of band paging (TAP to Skytel). I had talked to Cingular about the "Enterprise Paging" feature. This is a grandfathered AT&T feature that costs about $9.95/month. Gives you unlimited SMS from the "Enterprise Paging" sources to the phone that has the feature. SMS still costs for other sources and sending. http://www.enterprisepaging.com/ Cingular plans on migrating this service to the offical Cingular network and billing system, by the end of the calendar year. So, until then, the service is not available to "Offical" Cingular customers, only customers still on the old AT&T billing system. You could see about http://www.mblox.com/. They seemed to have bought the old MobileSys company. They provide the ability to send SMS to anywhere, internationaly. But, $$$. They primarily use Internet connections, but also provide TAP access for last resort, like Cingular. I suspect the Cingular feature will be unreliable until to full migration is complete. > What happens if your Internet connection is down? ;] > > Russell > > On Fri, Oct 14, 2005 at 06:37:56PM -0500, Paul Harrison wrote: >> We have sendmail setup on our nagios server to send out email to our >> cingular phones. >> Is there any advantage to sending out SMS messages rather than email? >> >> -----Original Message----- >> From: nagios-users-admin at lists.sourceforge.net on behalf of Russell >> Adams >> Sent: Fri 10/14/2005 4:56 PM >> To: nagios-users at lists.sourceforge.net >> Cc: >> Subject: [SPAM] Re: [Nagios-users] Problem with Cingular TAP Gateway >> >> >> > ------------------------------------------------------------------ > Russell Adams RLAdams at AdamsInfoServ.com > > PGP Key ID: 0x1160DCB3 http://www.adamsinfoserv.com/ > > Fingerprint: 1723 D8CA 4280 1EC9 557F 66E8 1154 E018 1160 DCB3 > -- And, did Guloka think the Ulus were too ugly to save? -Centauri ------------------------------------------------------- This SF.Net email is sponsored by: Power Architecture Resource Center: Free content, downloads, discussions, and more. http://solutions.newsforge.com/ibmarch.tmpl _______________________________________________ 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: Power Architecture Resource Center: Free content, downloads, discussions, and more. http://solutions.newsforge.com/ibmarch.tmpl _______________________________________________ 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 ------------------------------------------------------- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php _______________________________________________ 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 mfatihakbulut at gmail.com Fri Nov 11 04:06:40 2005 From: mfatihakbulut at gmail.com (Mehmet Fatih AKBULUT) Date: Fri, 11 Nov 2005 05:06:40 +0200 Subject: nagios -v minimal.cfg ??? Message-ID: [root at localhost nagios]# nagios -v minimal.cfg Nagios 2.0b4 Copyright (c) 1999-2005 Ethan Galstad (http://www.nagios.org) Last Modified: 08-02-2005 License: GPL Reading configuration data... Error in configuration file '/etc/nagios/minimal.cfg' - Line 34 (NULL value) ***> The name of the main configuration file looks suspicious... Make sure you are specifying the name of the MAIN configuration file on the command line and not the name of another configuration file. The main configuration file is typically '/usr/local/nagios/etc/nagios.cfg' ***> One or more problems was encountered while processing the config files... lines startin from 34 : define timeperiod{ timeperiod_name 24x7 alias 24 Hours A Day, 7 Days A Week sunday 00:00-24:00 monday 00:00-24:00 tuesday 00:00-24:00 wednesday 00:00-24:00 thursday 00:00-24:00 friday 00:00-24:00 saturday 00:00-24:00 } WHAT SHOULD I DO NOW ??? help please :) -------------- next part -------------- An HTML attachment was scrubbed... URL: From marc at ena.com Fri Nov 11 05:10:31 2005 From: marc at ena.com (Marc Powell) Date: Thu, 10 Nov 2005 22:10:31 -0600 Subject: disable service checks when a host goes down Message-ID: > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users- > admin at lists.sourceforge.net] On Behalf Of Matt Rae > Sent: Thursday, November 10, 2005 6:32 PM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] disable service checks when a host goes down > > I'm trying to disable service notifications when a host goes down. Does > this have to do with dependencies or notification optoins? Or something > else? Nagios will automagically do this if you have a valid host check_command specified that returns CRITICAL if the host is down. > > I asked in #nagios and apparently this should be what nagios does by > default. The suggestion was to check check-host-alive.. but I'm using > the supplied check-host-alive. Can you run the host check_command, exactly as it's defined, as the nagios user and receive a CRITICAL state ('echo $?' should return '2' after running the command) when the host is down? -- Marc ------------------------------------------------------- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php _______________________________________________ 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 Fri Nov 11 05:15:09 2005 From: marc at ena.com (Marc Powell) Date: Thu, 10 Nov 2005 22:15:09 -0600 Subject: check_logs.pl question Message-ID: > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users- > admin at lists.sourceforge.net] On Behalf Of Mark Limburg > Sent: Thursday, November 10, 2005 7:01 PM > To: Nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] check_logs.pl question > > Okay, next plan. > > BoxA runs Nag .. BoxB run NRPE and does a check_logs .. is there a way for > me to execute a shell script on BoxB if check_logs is triggered into > warning? > > http://sysunconfig.net/unixtips/wgrep.txt > is a damn fine tool which > will allow me to grab the lines I want as well as lines above and below > those found in the regex. > > > the way I have wgrep working, it returns 8 lines per match .. a divider, > one line above the regex, the regex line, and three lines after it .. > > if the check_logs.pl triggers, it returns the number of matches found in > the logfile .. lets say it 4 matches .. > > what I want to do, is to be able to use tail -l (8 * number of matches > found) so it only outputs the faults found .. > > then, send an email from the script which sends this output > > so what i need, is a method to trap the number of fails from check_logs.pl > ... and pass this to a script that can wgrep and send the output to an > email address. > > This would provide a simple and workable addon to check_logs, which I'm > sure can be used by many on the list :) You could modify check_logs or you could use an event handler. An event handler will be called when the service changes state and you can pass it the plugin output. Use that to get the number of lines then have your event handler ssh or whatever to your remote host and grab the info out of the log file that you need and e-mails is. There's a good example in the docs that you can use as a starting point. -- Marc ------------------------------------------------------- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php _______________________________________________ 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 kristi.tsukida at gmail.com Fri Nov 11 06:50:19 2005 From: kristi.tsukida at gmail.com (kristi tsukida) Date: Thu, 10 Nov 2005 21:50:19 -0800 Subject: is there an enable event handler external command? Message-ID: <2a356cfa0511102150q2b6728a4pde3370a36ad7721a@mail.gmail.com> Is there an enable / disable event handler external command? There's a link for it on the command cgi, but I don't see a a listing in the official documentation. ( http://nagios.sourceforge.net/docs/2_0/extcommands.html ). Additionally, is there a complete list of implemented external commands somewhere? The documentation seems to imply that the external command list there is a work in progress. ("This is a description of the some of the external commands which have been implemented in Nagios.") Thanks in advance. -------------- next part -------------- An HTML attachment was scrubbed... URL: From schoenfeld at in-medias-res.com Fri Nov 11 10:17:42 2005 From: schoenfeld at in-medias-res.com (=?iso-8859-1?Q?sch=F6nfeld_/_in-medias-res?=) Date: Fri, 11 Nov 2005 10:17:42 +0100 Subject: Citrix & Nagios Message-ID: <010c01c5e6a0$c566c650$7202a8c0@MF2> Hi, at our company we run a citrix metaframe XP terminalserver, which should be monitored by nagios. We want nagios to monitor, if the terminal services are available from the network. Well i've found the ica plugins in the contrib directory but i can't figure out how to run them. The network setup: [ nagios ] <--> firewall <--> [ citrix ] ( ext. net ) (int. net) Forwardings (currently without restrictions) into the internal net are installed and tested. Well my opinion was, that check_ica_master_browser.pl should be the right plugin as we don't "export" published applications directly (users logon to the citrix via ica client) I tried to run it like this (cause broadcasting shouldn't work across the firewall) and got the following error: nagios-mg:/usr/lib/nagios/plugins# ./check_ica_master_browser.pl -v -I 192.168.2.114 -P MF2 Use of uninitialized value in subroutine entry at ./check_ica_master_browser.pl line 64. Bad arg length for Socket::inet_ntoa, length is 0, should be 4 at ./check_ica_master_browser.pl line 64. What could be wrong? Thanks in advance Patrick Sch?nfeld -- in medias res - Gesellschaft f?r Kommunikationssysteme mbH Dahlenerstr. 570 41239 M?nchengladbach Tel. +49 (0) 2166-9999-685 Fax. +49 (0) 2166-9999-850 ------------------------------------------------------- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php _______________________________________________ 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 robmossrm at aol.com Fri Nov 11 10:31:10 2005 From: robmossrm at aol.com (Rob Moss) Date: Fri, 11 Nov 2005 09:31:10 +0000 Subject: nagios -v minimal.cfg ??? In-Reply-To: References: Message-ID: <437464DE.1020605@aol.com> Mehmet Fatih AKBULUT wrote: > [root at localhost nagios]# nagios -v minimal.cfg > > > WHAT SHOULD I DO NOW ??? > > help please :) This is the third posting of yours which has been a timewaster. You haven't tried anything for yourself and have simply posted the error message, not what you are trying to achieve. This particular error is from Apache, which has nothing to do with Nagios. While I realise english is your second language, you haven't even tried any diagnosis or problem solving of your own (language independant) If this is all too hard for you, then maybe you need to hire a someone to come in and configure everything for you. rob. ------------------------------------------------------- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php _______________________________________________ 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 Thomas.Zimmer at oppenheim.de Fri Nov 11 11:57:02 2005 From: Thomas.Zimmer at oppenheim.de (Thomas.Zimmer at oppenheim.de) Date: Fri, 11 Nov 2005 11:57:02 +0100 Subject: Acknowledge via script? Message-ID: <9A834A8DCEC68648B20701E1CDE10925F8489B@OKWPMXS01.de.sal-opp.net> Hi list, I?m using nagios2b4 and wrote a script which generates nice HTML emails for nagios notifications. The email includes a link for acknowledging a problem service/host. Unfortuatelly, I?can?t find an external commmand, by which I could append an acknowledge to the nagios.cmd file. Can anyone help? Are there other ways to acknowledge probs? Thanx in advance, Thomas Zimmer Produktservice & Betrieb Betrieb & Support Sal. Oppenheim jr. & Cie., Frankfurt a. Main Telefon: +49 69 7134 0 5192 Internet: http://www.oppenheim.de E-Mail: thomas.zimmer at oppenheim.de <> -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: Zimmer, Thomas (Produktservices und Betrieb).vcf Type: application/octet-stream Size: 254 bytes Desc: not available URL: From Thomas.Zimmer at oppenheim.de Fri Nov 11 12:06:20 2005 From: Thomas.Zimmer at oppenheim.de (Thomas.Zimmer at oppenheim.de) Date: Fri, 11 Nov 2005 12:06:20 +0100 Subject: Acknowledge via script? --> Excuse... Message-ID: <9A834A8DCEC68648B20701E1CDE10925F8489C@OKWPMXS01.de.sal-opp.net> ...my, I found the soultion by myself. It?s documented here (Google helped) http://www.nagios.org/developerinfo/externalcommands/commandinfo.php?command _id=39 Unfortunately, the docs are not complete in this point. Thomas Zimmer Produktservice & Betrieb Betrieb & Support Sal. Oppenheim jr. & Cie., Frankfurt a. Main Telefon: +49 69 7134 0 5192 Internet: http://www.oppenheim.de E-Mail: thomas.zimmer at oppenheim.de <> -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: Zimmer, Thomas (Produktservices und Betrieb).vcf Type: application/octet-stream Size: 254 bytes Desc: not available URL: From ae at op5.se Fri Nov 11 13:18:33 2005 From: ae at op5.se (Andreas Ericsson) Date: Fri, 11 Nov 2005 13:18:33 +0100 Subject: disable service checks when a host goes down In-Reply-To: References: Message-ID: <43748C19.8070302@op5.se> Marc Powell wrote: > >>-----Original Message----- >>From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users- >>admin at lists.sourceforge.net] On Behalf Of Matt Rae >>Sent: Thursday, November 10, 2005 6:32 PM >>To: nagios-users at lists.sourceforge.net >>Subject: [Nagios-users] disable service checks when a host goes down >> >>I'm trying to disable service notifications when a host goes down. > > Does > >>this have to do with dependencies or notification optoins? Or > > something > >>else? > > > Nagios will automagically do this if you have a valid host check_command > specified that returns CRITICAL if the host is down. > > >>I asked in #nagios and apparently this should be what nagios does by >>default. The suggestion was to check check-host-alive.. but I'm using >>the supplied check-host-alive. > > > Can you run the host check_command, exactly as it's defined, as the > nagios user and receive a CRITICAL state ('echo $?' should return '2' > after running the command) when the host is down? > It doesn't matter if it returns 1 or 2. Both are considered DOWN. > -- > Marc > > > ------------------------------------------------------- > SF.Net email is sponsored by: > Tame your development challenges with Apache's Geronimo App Server. Download > it for free - -and be entered to win a 42" plasma tv or your very own > Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php > _______________________________________________ > 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 > -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Tel: +46 8-230225 Fax: +46 8-230231 ------------------------------------------------------- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php _______________________________________________ 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 ae at op5.se Fri Nov 11 13:32:46 2005 From: ae at op5.se (Andreas Ericsson) Date: Fri, 11 Nov 2005 13:32:46 +0100 Subject: check_logs.pl question In-Reply-To: References: <437301B0.60202@op5.se> Message-ID: <43748F6E.8060001@op5.se> Mark Limburg wrote: > Okay, next plan. > > BoxA runs Nag .. BoxB run NRPE and does a check_logs .. is there a way for > me to execute a shell script on BoxB if check_logs is triggered into > warning? > > http://sysunconfig.net/unixtips/wgrep.txt is a damn fine tool which will > allow me to grab the lines I want as well as lines above and below those > found in the regex. > > the way I have wgrep working, it returns 8 lines per match .. a divider, one > line above the regex, the regex line, and three lines after it .. > You mean like grep -B 1 -C 3 ? Sound's like a real novelty... > if the check_logs.pl triggers, it returns the number of matches found in the > logfile .. lets say it 4 matches .. > > what I want to do, is to be able to use tail -l (8 * number of matches > found) so it only outputs the faults found .. > > then, send an email from the script which sends this output > > so what i need, is a method to trap the number of fails from check_logs.pl > ... and pass this to a script that can wgrep and send the output to an email > address. > cron is your friend. > This would provide a simple and workable addon to check_logs, Perhaps, but you'd also have to move much of the logic from Nagios into the plugin which is a very stupid thing to do. > which I'm sure > can be used by many on the list :) > Possibly. Feel free to send whatever code you hack up and I'll have a look at it. -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Tel: +46 8-230225 Fax: +46 8-230231 ------------------------------------------------------- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php _______________________________________________ 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 peter.d.farrell at gmail.com Fri Nov 11 14:05:15 2005 From: peter.d.farrell at gmail.com (Peter Farrell) Date: Fri, 11 Nov 2005 13:05:15 +0000 Subject: Nagiostat and *.rrd archives not functioning after disk crash Message-ID: Hi. We've had a disk error on one of our nagios servers, which we had to reboot to repair. After rebooting, all nagios functions work fine, but none of the nagiostat graphs will display. Initially, we thought the problem was with the services.cfg file. (At the time of the crash, the file was open, and after reboot was named 'services.swp' - we re-wrote the file and diff'd it against a copy to make sure it was ok.) The debug.log in /usr/local/nagios/nagiostat reports now that it's regex sees the services, and hostnames, shows the RRDCMDLINE inserts taking place. However, when you look at the rrd archive directory none of the files have been updated since the crash on Wednesday. When run from the command line as user 'nagios' we can manually update the rrd archive, but the cgi still doesn't display the graph itself. Although the nagiostat debug.log reports no errors per se, if we move all the rrd archvies into a tmp folder, the debug.log reports: !!ERROR: RRD-archive '/usr/local/nagios/nagiostat/archives/jupiter-swap.rrd' does not exist or is not writable by effective UID. Which is curious, as previously, when you did that it would simpy create a new rrd file and carry on... Any idea of non-persistent changes that may have been in effect before the crash? Additionally, we thought that perhaps other files that were being written to at the time of the crash may be the culprit, and so we recreated the hostperfdata and systemperfdata but that was a red herring. The permissions are correct, all files seem intact. Any ideas or direction would be appreciated. -Peter Farrell ------------------------------------------------------- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php _______________________________________________ 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 msugano at uolinc.com Fri Nov 11 14:16:31 2005 From: msugano at uolinc.com (Marcel Mitsuto Fucatu Sugano) Date: Fri, 11 Nov 2005 11:16:31 -0200 Subject: .pl & .cgi files on apache In-Reply-To: References: Message-ID: <1131714992.9898.13.camel@localhost> On Thu, 2005-11-10 at 16:14 -0800, Mehmet Fatih AKBULUT wrote: > when i try to see the result of a simple pl script : > > http://127.0.0.1/nagios/cgi-bin/foo.pl > > i get this error : > > The requested URL /nagios/cgi-bin/foo.pl was not found on this server. Jeez... Well basically, you don't even understand apache's conf? OK buddy, give me your hand and uncle Bob here will show you the way. First, read on apache's documentation, it is all there for you to learn by yourself. It IS in english although. I'm unable to teach english, as english is my second language too, but reading all READMEs, INSTALLs, and `man init` AND `man bash` lead me to a nice level of understanding the language basics. Second, once you've understood apache config files, you may be able to setup Nagios web-interface within it. It isn't that hard. From what you post say, let me ask you this: "IS THERE A foo.pl AT /usr/share/nagios/cgi-bin/", or maybe i should tell you to palce the output from `ls usr/share/nagios/cgi-bin/foo.pl`?? Did you understand?? Just saw that your directory isn't the default from src compile. Then, i presume you are using someone's rpm, right? Because the correct path for the cgis in apache, is to make an alias to the nagios/sbin directory, huh? Well, if you could NOT understand anything, tell us to find someone who could DRAW you a picture. Good luck! -- Marcel Mitsuto Fucatu Sugano Universo Online S.A. -- http://www.uol.com.br ------------------------------------------------------- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php _______________________________________________ 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 gvidos at yahoo.com Fri Nov 11 15:36:03 2005 From: gvidos at yahoo.com (George Vidos) Date: Fri, 11 Nov 2005 15:36:03 +0100 (CET) Subject: NotificationsMIB in nagiosplug Message-ID: <20051111143603.35A554F41E8@desire.netways.de> Hi list Could someone provide me with some info regarding how are these MIBs (NotificationsMIB) from nagiosplug(http://sourceforge.net/projects/ nagiosplug) been utilized? In more detail, what I need to implement in SuSe, is include all notification-information inside the SNMP trap payload and have it sent as an SNMP trap towards an SNMP manager. Could the net-snmp script (snmptrap) be used to perform such operation in some way? Has anyone performed this excercise already? It could prove really helpful. - George Vidos (gvidos) ----------------------- The mailing list archive is found here: http://www.nagiosexchange.org/nagios-users.34.0.html ------------------------------------------------------- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php _______________________________________________ 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 gvidos at yahoo.com Fri Nov 11 15:40:35 2005 From: gvidos at yahoo.com (George Vidos) Date: Fri, 11 Nov 2005 06:40:35 -0800 (PST) Subject: NotificationsMIB in nagiosplug Message-ID: <20051111144035.91132.qmail@web53503.mail.yahoo.com> Hi list Could someone provide me with some info regarding how are these MIBs (NotificationsMIB) from nagiosplug(http://sourceforge.net/projects/nagiosplug) been utilized? Where are they loaded, how are they addressed by an SNMP Agent, etc? In more detail, what I need to implement in SuSe, is include a notification's information inside an SNMP trap payload and have it sent as an SNMP trap towards an SNMP manager. Could the net-snmp sendtrap utility be used for this reason, in some way? Has anyone performed this excercise already? It could prove really helpful. Thanks in advance, -------_\\///_------------------------------------------------ I (' O-O ') George Ch. Vidos I I____oo0-(_)-Ooo___ NMS Operation Support Systems Engineer___I I I I gvidos at yahoo.com TIM Hellas NED/NMS I I g.vidos at tim.com.gr Kifissias 66B, Maroussi, 15125 I I Athens, GREECE I -------------------------------------------------------------- __________________________________ Yahoo! Mail - PC Magazine Editors' Choice 2005 http://mail.yahoo.com ------------------------------------------------------- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php _______________________________________________ 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 Fri Nov 11 16:15:38 2005 From: marc at ena.com (Marc Powell) Date: Fri, 11 Nov 2005 09:15:38 -0600 Subject: Acknowledge via script? Message-ID: > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users- > admin at lists.sourceforge.net] On Behalf Of Thomas.Zimmer at oppenheim.de > Sent: Friday, November 11, 2005 4:57 AM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Acknowledge via script? > > Hi list, > > I?m using nagios2b4 and wrote a script which generates nice HTML emails > for nagios notifications. The email includes a link for acknowledging a > problem service/host. Unfortuatelly, I?can?t find an external commmand, by > which I could append an acknowledge to the nagios.cmd file. > > Can anyone help? Are there other ways to acknowledge probs? ACKNOWLEDGE_HOST_PROBLEM ACKNOWLEDGE_SVC_PROBLEM http://www.nagios.org/developerinfo/externalcommands/commandlist.php?category_id=0&version_id=7&btnSubmit=Update -- Marc ------------------------------------------------------- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php _______________________________________________ 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 Fri Nov 11 16:14:28 2005 From: marc at ena.com (Marc Powell) Date: Fri, 11 Nov 2005 09:14:28 -0600 Subject: is there an enable event handler external command? Message-ID: > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users- > admin at lists.sourceforge.net] On Behalf Of kristi tsukida > Sent: Thursday, November 10, 2005 11:50 PM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] is there an enable event handler external command? > > Is there an enable / disable event handler external command? There's a > link for it on the command cgi, but I don't see a a listing in the > official documentation. ( > http://nagios.sourceforge.net/docs/2_0/extcommands.html > ). DISABLE_EVENT_HANDLERS DISABLE_HOST_EVENT_HANDLER DISABLE_SVC_EVENT_HANDLER ENABLE_EVENT_HANDLERS ENABLE_HOST_EVENT_HANDLER ENABLE_SVC_EVENT_HANDLER > Additionally, is there a complete list of implemented external commands > somewhere? The documentation seems to imply that the external command > list there is a work in progress. ("This is a description of the some of > the external commands which have been implemented in Nagios.") This is as good as it gets without looking at the code itself. It appears to be pretty thorough though and it even includes usage examples -- http://www.nagios.org/developerinfo/externalcommands/commandlist.php -- Marc ------------------------------------------------------- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php _______________________________________________ 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 declan.mckay at eircom.net Fri Nov 11 16:36:50 2005 From: declan.mckay at eircom.net (Declan McKay) Date: Fri, 11 Nov 2005 15:36:50 -0000 Subject: Netsaint0.0.7-> Nagios2.0b4 (Contact group changes - The contact_groups directive has been moved from hostgroup definitions to host definitions.) Message-ID: <078401c5e6d5$bc41d260$2f44fc0a@pc234> Hi, on converting my Netsaint config files to the Nagios config file format using the Nagios Config File Converter I noticed that the pre-flight check is failing with an error for each Host defined in the hosts file - "No default contact group defined for host Blah..." The documentation however does mention the following:- Contact group changes - The contact_groups directive has been moved from hostgroup definitions to host definitions. This was done in order to maintain consistency with the way service contacts are specified. Make sure to update your config files! Has anyone wrote a script which will output the changes correctly or one that will read & write the contact_groups from old Netsaint object file to new Nagios object file. Appreciate if anyone has already wrote a script for such amendments - if they could forward it on. Also - has anyone an idea as to when Nagios-2 will be available as a "Stable" release? Regards, Declan. -------------- next part -------------- An HTML attachment was scrubbed... URL: From ae at op5.se Fri Nov 11 16:49:08 2005 From: ae at op5.se (Andreas Ericsson) Date: Fri, 11 Nov 2005 16:49:08 +0100 Subject: Netsaint0.0.7-> Nagios2.0b4 (Contact group changes - The contact_groups directive has been moved from hostgroup definitions to host definitions.) In-Reply-To: <078401c5e6d5$bc41d260$2f44fc0a@pc234> References: <078401c5e6d5$bc41d260$2f44fc0a@pc234> Message-ID: <4374BD74.2070401@op5.se> Declan McKay wrote: > Hi, > > on converting my Netsaint config files to the Nagios config file > format using the Nagios Config File Converter I noticed that the > pre-flight check is failing with an error for each Host defined in > the hosts file - "No default contact group defined for host Blah..." > > > The documentation however does mention the following:- Contact group > changes - The contact_groups directive has been moved from hostgroup > definitions to host definitions. This was done in order to maintain > consistency with the way service contacts are specified. Make sure to > update your config files! > > Has anyone wrote a script which will output the changes correctly or > one that will read & write the contact_groups from old Netsaint > object file to new Nagios object file. > I have. You'll find them at http://oss.op5.se/nagios They require the cli version of php to be installed. > Appreciate if anyone has already wrote a script for such amendments - > if they could forward it on. > > Also - has anyone an idea as to when Nagios-2 will be available as a > "Stable" release? > This has been asked quite a few times. 2.0b4 has been running with great stability on many systems for a long time, so "stable" is just a matter of terminology. I believe FreeBSD 4.8 has a problem related to nagios forking and calling all sorts of functions in the child. Nagios being threaded, this isn't, strictly speaking, allowed although not expressly disallowed either. It has been discussed at some length on the FreeBSD list via a proxy. Search the archives if you're interested in the standards specification discussion (highly technical). This can (mostly) be mitigated by disabling the embedded perl interpreter. No problems (that I know of) have been reported for other systems. -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Tel: +46 8-230225 Fax: +46 8-230231 ------------------------------------------------------- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php _______________________________________________ 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 ank at cs.ucy.ac.cy Fri Nov 11 12:13:15 2005 From: ank at cs.ucy.ac.cy (Andreas Kasenides) Date: Fri, 11 Nov 2005 13:13:15 +0200 Subject: .pl & .cgi files on apache In-Reply-To: References: Message-ID: <43747CCB.9030503@cs.ucy.ac.cy> Mehmet Fatih AKBULUT wrote: >altough i wrote : > >ScriptAlias /nagios/cgi-bin "/usr/share/nagios/cgi-bin/" > > AllowOverride AuthConfig > Order allow,deny > Allow from all > Options ExecCGI > > >(and of course Alias /nagios ...) > >in my httpd.conf file i still cannot view any .cgi or .pl works on apache :( > >when i try to see the result of a simple pl script : > >http://127.0.0.1/nagios/cgi-bin/foo.pl > >i get this error : > >The requested URL /nagios/cgi-bin/foo.pl was not found on this server. > >what should i do ? >help me please ... > > Are you sure that the directory permissions where foo.pl lives are correct? Directories and files must be owned (or proper permissions given) the user with which the web server is running (in your case /usr/share/nagios/cgi-bin/). Directories must allow reading and searching from the ie at least r_x. The most usual problem in this scenario is proper permissions on the directories/files. Start from there. >by the way : Fedora Core 1 and nagios2.04b > > >------------------------------------------------------- >SF.Net email is sponsored by: >Tame your development challenges with Apache's Geronimo App Server. Download >it for free - -and be entered to win a 42" plasma tv or your very own >Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php >_______________________________________________ >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 > > > > -- ---------------------------------------------------------------------- Andreas Kasenides e-mail: Andreas.Kasenides%at%cs.ucy.ac.cy (replace the %at% above with @) -------------- next part -------------- An HTML attachment was scrubbed... URL: From declan.mckay at eircom.net Fri Nov 11 17:50:29 2005 From: declan.mckay at eircom.net (Declan McKay) Date: Fri, 11 Nov 2005 16:50:29 -0000 Subject: Netsaint0.0.7-> Nagios2.0b4 (Contact group changes - The contact_groups directive has been moved from hostgroup definitions to host definitions.) References: <078401c5e6d5$bc41d260$2f44fc0a@pc234> <4374BD74.2070401@op5.se> Message-ID: <085f01c5e6e0$06215e00$2f44fc0a@pc234> Hi Andrea, Thank you very much for your quick reply. Two Questions:- 1. Which script should I use? 2 Should I use the Netsaint0.0.7 cfg files as my input to the script or should I use the files created by the "Nagios Config file Converter"? Thanks again. Declan. ----- Original Message ----- From: "Andreas Ericsson" To: "Declan McKay" Cc: Sent: Friday, November 11, 2005 3:49 PM Subject: Re: [Nagios-users] Netsaint0.0.7-> Nagios2.0b4 (Contact group changes - The contact_groups directive has been moved from hostgroup definitions to host definitions.) > Declan McKay wrote: >> Hi, >> >> on converting my Netsaint config files to the Nagios config file >> format using the Nagios Config File Converter I noticed that the >> pre-flight check is failing with an error for each Host defined in >> the hosts file - "No default contact group defined for host Blah..." >> >> >> The documentation however does mention the following:- Contact group >> changes - The contact_groups directive has been moved from hostgroup >> definitions to host definitions. This was done in order to maintain >> consistency with the way service contacts are specified. Make sure to >> update your config files! >> >> Has anyone wrote a script which will output the changes correctly or >> one that will read & write the contact_groups from old Netsaint >> object file to new Nagios object file. >> > > I have. You'll find them at http://oss.op5.se/nagios > They require the cli version of php to be installed. > >> Appreciate if anyone has already wrote a script for such amendments - >> if they could forward it on. >> >> Also - has anyone an idea as to when Nagios-2 will be available as a >> "Stable" release? >> > > This has been asked quite a few times. 2.0b4 has been running with great stability on many systems for a long time, so "stable" is > just a matter of terminology. > > I believe FreeBSD 4.8 has a problem related to nagios forking and calling all sorts of functions in the child. Nagios being > threaded, this isn't, strictly speaking, allowed although not expressly disallowed either. It has been discussed at some length on > the FreeBSD list via a proxy. Search the archives if you're interested in the standards specification discussion (highly > technical). This can (mostly) be mitigated by disabling the embedded perl interpreter. > > No problems (that I know of) have been reported for other systems. > > -- > Andreas Ericsson andreas.ericsson at op5.se > OP5 AB www.op5.se > Tel: +46 8-230225 Fax: +46 8-230231 > > > ------------------------------------------------------- > SF.Net email is sponsored by: > Tame your development challenges with Apache's Geronimo App Server. Download > it for free - -and be entered to win a 42" plasma tv or your very own > Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php > _______________________________________________ > 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 > > > > -- > No virus found in this incoming message. > Checked by AVG Free Edition. > Version: 7.1.362 / Virus Database: 267.12.8/166 - Release Date: 10/11/2005 > > ------------------------------------------------------- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php _______________________________________________ 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 RMontemayor at huntoil.com Fri Nov 11 18:03:10 2005 From: RMontemayor at huntoil.com (Rudy Montemayor) Date: Fri, 11 Nov 2005 11:03:10 -0600 Subject: nrpe ver. 2 on AIX 5.2 Message-ID: Steve, Since I'm not the regular AIX administrator I didn't realize that the AIX syslogd was running but it was not logging any errors/messages. So I had to stop and restart it with debugging turned on and that's when I saw that it was in fact as you suggested a "SSL" problem. I've got things working now, thanks for everyone's help. Andreas Ericsson, you sound very bitter on your emails; I suggest seeking professional help. Rudy ________________________________ From: Steve Shipway [mailto:s.shipway at auckland.ac.nz] Sent: Sunday, November 06, 2005 2:13 PM To: Rudy Montemayor Subject: RE: [Nagios-users] nrpe ver. 2 on AIX 5.2 Do what it says, and check the NRPE logs on the AIX computer :) I suspect you do not have SSL support compiled nito the NRPE agent. Try running the agent and check_nrpe with the -n flag to disable SSL (thats what we had to do on our AIX boxes) Steve -------------- next part -------------- An HTML attachment was scrubbed... URL: From ae at op5.se Fri Nov 11 18:02:29 2005 From: ae at op5.se (Andreas Ericsson) Date: Fri, 11 Nov 2005 18:02:29 +0100 Subject: Netsaint0.0.7-> Nagios2.0b4 (Contact group changes - The contact_groups directive has been moved from hostgroup definitions to host definitions.) In-Reply-To: <085f01c5e6e0$06215e00$2f44fc0a@pc234> References: <078401c5e6d5$bc41d260$2f44fc0a@pc234> <4374BD74.2070401@op5.se> <085f01c5e6e0$06215e00$2f44fc0a@pc234> Message-ID: <4374CEA5.4060200@op5.se> Declan McKay wrote: > Hi Andrea, > > Thank you very much for your quick reply. Two Questions:- > > 1. Which script should I use? > I think it's the object_config_fix.php one you need (it was quite some time ago I wrote it, being faced with converting some 100-odd 1.x configurations). > 2 Should I use the Netsaint0.0.7 cfg files as my input to the script or > should I use the files created by the "Nagios Config file Converter"? > The files created by the Nagios Config file Converter. > Thanks again. > Cheers for the beers and review of the peers. Or some such. - Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Tel: +46 8-230225 Fax: +46 8-230231 ------------------------------------------------------- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php _______________________________________________ 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 mcunietti at enter.it Fri Nov 11 18:02:47 2005 From: mcunietti at enter.it (Mariano Cunietti) Date: Fri, 11 Nov 2005 18:02:47 +0100 Subject: notifications and time periods Message-ID: <1131728567.32075.385.camel@bytecode.enter.it> Hi list, I have to configure a couple of hosts (routers) to be monitored. I need them to be up from 9.00AM until 18.00. I want an email sent to the sysadmins *exactly* when the system goes down, but an SMS should be sent only during that time window. In other words, I want the admins to be informed, but not warned (and waken up) during the night. When they come to the office, they should find an email waiting for them. Otherwise, during working hours, the SMS should warn them immediately. Can I split a notification methods, with different time windows per method? How? Thanks in advance Regards, Mariano -- ------------------------- Mariano Cunietti System Administrator Enter S.r.l. Via Stefanardo da Vimercate, 28 20128 - Milano - Italy Tel. +39 02 25514319 Fax +39 02 25514303 mcunietti at enter.it www.enter.it - www.enterpoint.it PGP Key: http://www.mennox.net/pgpkey --------------------------- Gruppo Y2K - www.gruppoy2k.it ------------------------------------------------------- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php _______________________________________________ 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 mathias at nilings.se Fri Nov 11 18:00:55 2005 From: mathias at nilings.se (Mathias Sundman) Date: Fri, 11 Nov 2005 18:00:55 +0100 (CET) Subject: notifications and time periods In-Reply-To: <1131728567.32075.385.camel@bytecode.enter.it> References: <1131728567.32075.385.camel@bytecode.enter.it> Message-ID: On Fri, 11 Nov 2005, Mariano Cunietti wrote: > Hi list, > I have to configure a couple of hosts (routers) to be monitored. > > I need them to be up from 9.00AM until 18.00. I want an email sent to > the sysadmins *exactly* when the system goes down, but an SMS should be > sent only during that time window. > In other words, I want the admins to be informed, but not warned (and > waken up) during the night. When they come to the office, they should > find an email waiting for them. Otherwise, during working hours, the SMS > should warn them immediately. > > Can I split a notification methods, with different time windows per > method? How? Create two diffrent contacts for each person, like mariano_sms and mariano_email. Then create two contact_groups and add all email contacts to one group and all sms contacts to the other. Then you can configure each sms-contact person to only recieve sms during a given time-period. Then configure your hosts to notify both these groups. //Mathias ------------------------------------------------------- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php _______________________________________________ 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 ae at op5.se Fri Nov 11 19:26:33 2005 From: ae at op5.se (Andreas Ericsson) Date: Fri, 11 Nov 2005 19:26:33 +0100 Subject: nrpe ver. 2 on AIX 5.2 In-Reply-To: References: Message-ID: <4374E259.5080904@op5.se> Rudy Montemayor wrote: > Steve, > > > > Since I'm not the regular AIX administrator I didn't realize that the > AIX syslogd was running but it was not logging any errors/messages. So I > had to stop and restart it with debugging turned on and that's when I > saw that it was in fact as you suggested a "SSL" problem. I've got > things working now, thanks for everyone's help. > > > > Andreas Ericsson, you sound very bitter on your emails; I suggest > seeking professional help. > Been there, done that, doing it tomorrow. Unless I wake up next to a nice-looking blonde or a bottle of beer. I'm usually sober when I'm writing emails. Today, however, is friday so I'll offer up the free advice of installing nrpe 2.2 which is available from http://oss.op5.se/nagios/nrpe-2.2.tar.gz You can specify more than debug=1 with nrpe-2.2 if you like, so if you run into further problems you should be able to specify debug=3 (supported for now) to get tremendous noise in the syslogs. This should help you write more informative messages to the list in the future which in turn will enable all of us sorry sods to provide you with the excellent help you deserve. Well, not deserve as such, but at least expect. -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Tel: +46 8-230225 Fax: +46 8-230231 ------------------------------------------------------- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php _______________________________________________ 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 tslighter at tqs.com Fri Nov 11 19:52:32 2005 From: tslighter at tqs.com (Slighter, Tim TQO) Date: Fri, 11 Nov 2005 10:52:32 -0800 Subject: SNMP Message-ID: <3A6272AE01B0E143A53EF3488D4E079704D26AD1@cosmo.tqs.com> Hopefully someone out there can provide some advice on how to tackle our SNMP problem. Currently, we have about 10 devices sending 100+ SNMP alerts to our SNMP collector. The SNMP traps are of many variations and mibs. We wish to configure Nagios to passively accept all incoming SNMP traps but it looks like an external command would have to be written. After reading through the documentation, it looks like an external command would have to be written for every possible mib/oid and considering there are up to one hundred different mibs this would be very time consuming. The same applies to creating checks in the snmp plugins file. Anyone have ideas on how to allow hosts to receive all SNMP traps and update this information into Nagios? Thanks, Tim -------------- next part -------------- An HTML attachment was scrubbed... URL: From lanning at lanning.cc Fri Nov 11 20:20:23 2005 From: lanning at lanning.cc (Robert Hajime Lanning) Date: Fri, 11 Nov 2005 11:20:23 -0800 (PST) Subject: SNMP In-Reply-To: <3A6272AE01B0E143A53EF3488D4E079704D26AD1@cosmo.tqs.com> References: <3A6272AE01B0E143A53EF3488D4E079704D26AD1@cosmo.tqs.com> Message-ID: <43352.192.168.128.67.1131736823.squirrel@ssl.monsoonwind.com> > Hopefully someone out there can provide some advice on how to > tackle our SNMP problem. Currently, we have about 10 devices > sending 100+ SNMP alerts to our SNMP collector. The SNMP traps > are of many variations and mibs. We wish to configure Nagios > to passively accept all incoming SNMP traps but it looks like > an external command would have to be written. After reading > through the documentation, it looks like an external command > would have to be written for every possible mib/oid and > considering there are up to one hundred different mibs this > would be very time consuming. The same applies to creating > checks in the snmp plugins file. Anyone have ideas on how to > allow hosts to receive all SNMP traps and update this > information into Nagios? > > Thanks, > Tim I created a generic "SNMP Trap": define service{ hostgroup_name * service_description SNMP Trap servicegroups snmp-service-group max_check_attempts 1 normal_check_interval 30 check_command check_null retry_check_interval 30 notification_interval 30 use service } Then I have snmptrapd from net-snmp configured like this: traphandle default /usr/local/sbin/snmptt "snmptt" is the SNMP Trap Translator. It takes the trap OIDs and translates them (via MIBs) to human readable labels. snmptt has a mapping file which I have configured like this: # CatchAll EVENT CatchAll .1.* "SNMP-TRAP" Critical FORMAT $A - $D EXEC /usr/local/nagios/libexec/eventhandlers/submit_check_result \ "$A" "SNMP Trap" 2 "$O: $1 $2 $3 $4 $5" Then I have a host object for every IP that sends traps. -- And, did Guloka think the Ulus were too ugly to save? -Centauri ------------------------------------------------------- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php _______________________________________________ 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 tslighter at tqs.com Fri Nov 11 20:31:16 2005 From: tslighter at tqs.com (Slighter, Tim TQO) Date: Fri, 11 Nov 2005 11:31:16 -0800 Subject: SNMP Message-ID: <3A6272AE01B0E143A53EF3488D4E079704D26B8B@cosmo.tqs.com> Thanks, so the last part, "a host object for every IP that sends traps", assuming this is the hosts.cfg file, what entry would you place there? Thank you, Tim -----Original Message----- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Robert Hajime Lanning Sent: Friday, November 11, 2005 11:20 AM To: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] SNMP > Hopefully someone out there can provide some advice on how to > tackle our SNMP problem. Currently, we have about 10 devices > sending 100+ SNMP alerts to our SNMP collector. The SNMP traps > are of many variations and mibs. We wish to configure Nagios > to passively accept all incoming SNMP traps but it looks like > an external command would have to be written. After reading > through the documentation, it looks like an external command > would have to be written for every possible mib/oid and > considering there are up to one hundred different mibs this > would be very time consuming. The same applies to creating > checks in the snmp plugins file. Anyone have ideas on how to > allow hosts to receive all SNMP traps and update this > information into Nagios? > > Thanks, > Tim I created a generic "SNMP Trap": define service{ hostgroup_name * service_description SNMP Trap servicegroups snmp-service-group max_check_attempts 1 normal_check_interval 30 check_command check_null retry_check_interval 30 notification_interval 30 use service } Then I have snmptrapd from net-snmp configured like this: traphandle default /usr/local/sbin/snmptt "snmptt" is the SNMP Trap Translator. It takes the trap OIDs and translates them (via MIBs) to human readable labels. snmptt has a mapping file which I have configured like this: # CatchAll EVENT CatchAll .1.* "SNMP-TRAP" Critical FORMAT $A - $D EXEC /usr/local/nagios/libexec/eventhandlers/submit_check_result \ "$A" "SNMP Trap" 2 "$O: $1 $2 $3 $4 $5" Then I have a host object for every IP that sends traps. -- And, did Guloka think the Ulus were too ugly to save? -Centauri ------------------------------------------------------- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php _______________________________________________ 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 ------------------------------------------------------- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php _______________________________________________ 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 prosolutions at gmx.net Fri Nov 11 21:28:37 2005 From: prosolutions at gmx.net (prosolutions at gmx.net) Date: Fri, 11 Nov 2005 12:28:37 -0800 Subject: Please tell me a sane way to comment out hosts/services Message-ID: <20051111202837.GB3209@think.alaya.mine.nu> Please can someone tell me a sane way to easily and conveniently comment out/disable hosts and all services associated with them? This commenting out each line in services.cfg and using register = 0 is starting to drive me crazy... ------------------------------------------------------- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php _______________________________________________ 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 RLAdams at Kelsey-Seybold.com Fri Nov 11 21:34:09 2005 From: RLAdams at Kelsey-Seybold.com (Adams, Russell L.) Date: Fri, 11 Nov 2005 14:34:09 -0600 Subject: SNMP In-Reply-To: <3A6272AE01B0E143A53EF3488D4E079704D26AD1@cosmo.tqs.com> References: <3A6272AE01B0E143A53EF3488D4E079704D26AD1@cosmo.tqs.com> Message-ID: <20051111203409.GK16564@pingu.ksnet.com> I'd setup snmptrapd to listen and log to syslog. Then I'd parse syslog with a tool like Logmuncher or LogSentry and forward the results to Nagios via external command, or just by email. Russell On Fri, Nov 11, 2005 at 10:52:32AM -0800, Slighter, Tim TQO wrote: > Hopefully someone out there can provide some advice on how to tackle our > SNMP problem. Currently, we have about 10 devices sending 100+ SNMP > alerts to our SNMP collector. The SNMP traps are of many variations and > mibs. We wish to configure Nagios to passively accept all incoming SNMP > traps but it looks like an external command would have to be written. > After reading through the documentation, it looks like an external > command would have to be written for every possible mib/oid and > considering there are up to one hundred different mibs this would be > very time consuming. The same applies to creating checks in the snmp > plugins file. Anyone have ideas on how to allow hosts to receive all > SNMP traps and update this information into Nagios? > > > > Thanks, > > > > Tim > > > > > > > > > ------------------------------------------------------- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php _______________________________________________ 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 eford at nexusenergy.com Fri Nov 11 21:38:06 2005 From: eford at nexusenergy.com (Edward Ford) Date: Fri, 11 Nov 2005 15:38:06 -0500 Subject: Please tell me a sane way to comment out hosts/services In-Reply-To: <20051111202837.GB3209@think.alaya.mine.nu> References: <20051111202837.GB3209@think.alaya.mine.nu> Message-ID: <015401c5e6ff$d2250e60$8d00a8c0@energyguide.com> On mine I put a # sign in front of the line and it remarks the line out. Eddie -----Original Message----- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of prosolutions at gmx.net Sent: Friday, November 11, 2005 3:29 PM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Please tell me a sane way to comment out hosts/services Please can someone tell me a sane way to easily and conveniently comment out/disable hosts and all services associated with them? This commenting out each line in services.cfg and using register = 0 is starting to drive me crazy... ------------------------------------------------------- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php _______________________________________________ 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 ------------------------------------------------------- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php _______________________________________________ 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 Fri Nov 11 21:42:56 2005 From: marc at ena.com (Marc Powell) Date: Fri, 11 Nov 2005 14:42:56 -0600 Subject: Please tell me a sane way to comment out hosts/services Message-ID: > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users- > admin at lists.sourceforge.net] On Behalf Of prosolutions at gmx.net > Sent: Friday, November 11, 2005 2:29 PM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Please tell me a sane way to comment out > hosts/services > > > Please can someone tell me a sane way to easily and conveniently comment > out/disable hosts and all services associated with them? This > commenting out each line in services.cfg and using register = 0 is > starting to drive me crazy... Perhaps a broader explanation for why you are doing so might lead to more a useful response but if you are not wanting to monitor a host and it's services any longer or for a long period of time you're probably doing it the most efficient way just using text files to manage your configuration. If it's for temporary maintenance, using the GUI to Schedule Downtime, Disable Checks of the Host or Service or even Disable Notifications is appropriate and quick. Click on the host or service name and look in Host/Service Commands. There are even external commands you can use to perform these actions from a script. We use a custom host/service management app where we just mark the device as not-monitored in a database from which the config files are generated. There are many ways to make the config management process more efficient if you're motivated. -- Marc ------------------------------------------------------- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php _______________________________________________ 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 lanning at lanning.cc Fri Nov 11 23:25:12 2005 From: lanning at lanning.cc (Robert Hajime Lanning) Date: Fri, 11 Nov 2005 14:25:12 -0800 (PST) Subject: SNMP In-Reply-To: <3A6272AE01B0E143A53EF3488D4E079704D26B8B@cosmo.tqs.com> References: <3A6272AE01B0E143A53EF3488D4E079704D26B8B@cosmo.tqs.com> Message-ID: <35286.192.168.128.67.1131747912.squirrel@ssl.monsoonwind.com> Yes, the hosts.cfg stuff: define host { host_name rtr-amk-bldg alias Singapore AMK building router address 10.4.96.1 hostgroups routers notification_interval 30 use host } As long as the host belongs to a group (any group) the Service entry has "hostgroup_name *", so every host in every hostgroup inherits the service. As long as the IP address in the host object matches the IP address that the SNMP trap comes from, the proper host object receives the trap info. > Thanks, so the last part, "a host object for every IP that > sends traps", assuming this is the hosts.cfg file, what entry > would you place there? > > Thank you, > > Tim > > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net > [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Robert > Hajime Lanning > Sent: Friday, November 11, 2005 11:20 AM > To: nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] SNMP > > > >> Hopefully someone out there can provide some advice on how to >> tackle our SNMP problem. Currently, we have about 10 devices >> sending 100+ SNMP alerts to our SNMP collector. The SNMP traps >> are of many variations and mibs. We wish to configure Nagios >> to passively accept all incoming SNMP traps but it looks like >> an external command would have to be written. After reading >> through the documentation, it looks like an external command >> would have to be written for every possible mib/oid and >> considering there are up to one hundred different mibs this >> would be very time consuming. The same applies to creating >> checks in the snmp plugins file. Anyone have ideas on how to >> allow hosts to receive all SNMP traps and update this >> information into Nagios? >> >> Thanks, >> Tim > > I created a generic "SNMP Trap": > define service{ > hostgroup_name * > service_description SNMP Trap > servicegroups snmp-service-group > max_check_attempts 1 > normal_check_interval 30 > check_command check_null > retry_check_interval 30 > notification_interval 30 > use service > } > > Then I have snmptrapd from net-snmp configured like this: > traphandle default /usr/local/sbin/snmptt > > "snmptt" is the SNMP Trap Translator. It takes the trap OIDs and > translates them (via MIBs) to human readable labels. > snmptt has a mapping file which I have configured like this: > # CatchAll > EVENT CatchAll .1.* "SNMP-TRAP" Critical > FORMAT $A - $D > EXEC /usr/local/nagios/libexec/eventhandlers/submit_check_result \ > "$A" "SNMP Trap" 2 "$O: $1 $2 $3 $4 $5" > > Then I have a host object for every IP that sends traps. > > -- > And, did Guloka think the Ulus were too ugly to save? > -Centauri > > > > ------------------------------------------------------- > SF.Net email is sponsored by: > Tame your development challenges with Apache's Geronimo App Server. > Download > it for free - -and be entered to win a 42" plasma tv or your very own > Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php > _______________________________________________ > 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 > > > -- And, did Guloka think the Ulus were too ugly to save? -Centauri ------------------------------------------------------- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php _______________________________________________ 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 prosolutions at gmx.net Sat Nov 12 01:41:52 2005 From: prosolutions at gmx.net (prosolutions at gmx.net) Date: Fri, 11 Nov 2005 16:41:52 -0800 Subject: Please tell me a sane way to comment out hosts/services In-Reply-To: <015401c5e6ff$d2250e60$8d00a8c0@energyguide.com> References: <20051111202837.GB3209@think.alaya.mine.nu> <015401c5e6ff$d2250e60$8d00a8c0@energyguide.com> Message-ID: <20051112004152.GE3209@think.alaya.mine.nu> > > On mine I put a # sign in front of the line and it remarks the line out. I know, its just that doing that 200+ times for all the lines gets tiresome... There should be one straightforward way to say "I don't want this host (and all its associated services monitored) without having to put "#" in front of a zillion lines. The 'register' paramater was tempting, but actually didn't have the desired effect, and seems to only work for hosts stanzas and not service ones. Also, it says in the docs that to disable checks for hosts to leave the argument blank for 'check_command' but doing this causes an error. Commenting it out it seems to still do ping checks. Its just a bit frustrating. I think there should be a clear way to tell this program "Look, I do NOT want you to monitor this host. Period." Something that requires only changing one line. I guess as the other reply stated I can invest some time and set up a config generation system to help automate this... > > > > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net > [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of > prosolutions at gmx.net > Sent: Friday, November 11, 2005 3:29 PM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Please tell me a sane way to comment out > hosts/services > > > Please can someone tell me a sane way to easily and conveniently comment > out/disable hosts and all services associated with them? This > commenting out each line in services.cfg and using register = 0 is > starting to drive me crazy... > > > > ------------------------------------------------------- > SF.Net email is sponsored by: > Tame your development challenges with Apache's Geronimo App Server. Download > it for free - -and be entered to win a 42" plasma tv or your very own > Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php > _______________________________________________ > 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 > > ------------------------------------------------------- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php _______________________________________________ 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 jperrin at gmail.com Sat Nov 12 02:01:15 2005 From: jperrin at gmail.com (Jim Perrin) Date: Fri, 11 Nov 2005 20:01:15 -0500 Subject: Please tell me a sane way to comment out hosts/services In-Reply-To: <20051112004152.GE3209@think.alaya.mine.nu> References: <20051111202837.GB3209@think.alaya.mine.nu> <015401c5e6ff$d2250e60$8d00a8c0@energyguide.com> <20051112004152.GE3209@think.alaya.mine.nu> Message-ID: <302ce8b50511111701l51cd6173i4d6dd38313d8123a@mail.gmail.com> On 11/11/05, prosolutions at gmx.net wrote: > > > > On mine I put a # sign in front of the line and it remarks the line out. > > > I know, its just that doing that 200+ times for all the lines gets > tiresome... There should be one straightforward way to say "I don't > want this host (and all its associated services monitored) without > having to put "#" in front of a zillion lines. The 'register' paramater > was tempting, but actually didn't have the desired effect, and seems to > only work for hosts stanzas and not service ones. Also, it says in the > docs that to disable checks for hosts to leave the argument blank for > 'check_command' but doing this causes an error. Commenting it out it > seems to still do ping checks. Its just a bit frustrating. I think > there should be a clear way to tell this program "Look, I do NOT want > you to monitor this host. Period." Something that requires only > changing one line. > > I guess as the other reply stated I can invest some time and set up a > config generation system to help automate this... While it may not be the ideal solution you want, you can do this if you use per-machine configs inside a config directory. Simply rename the file extension to something other than cfg, and nagios ignores it when it parses the files. This works if you have each host and associated services in a file inside the cfg_dir. -- Jim Perrin System Architect - UIT Ft Gordon & US Army Signal Center ------------------------------------------------------- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php _______________________________________________ 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 ladams at cloudmark.com Sat Nov 12 03:21:31 2005 From: ladams at cloudmark.com (Lori Adams) Date: Fri, 11 Nov 2005 18:21:31 -0800 Subject: nagios -v minimal.cfg ??? Message-ID: Did you notice the error message given to you? The -v flag is very good at letting you know what it sees as a problem. You're using the wrong config file in your command, just like it tells you in the error statement. -Lori ________________________________ From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Mehmet Fatih AKBULUT Sent: Thursday, November 10, 2005 7:07 PM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] nagios -v minimal.cfg ??? [root at localhost nagios]# nagios -v minimal.cfg Nagios 2.0b4 Copyright (c) 1999-2005 Ethan Galstad (http://www.nagios.org) Last Modified: 08-02-2005 License: GPL Reading configuration data... Error in configuration file '/etc/nagios/minimal.cfg' - Line 34 (NULL value) ***> The name of the main configuration file looks suspicious... Make sure you are specifying the name of the MAIN configuration file on the command line and not the name of another configuration file. The main configuration file is typically '/usr/local/nagios/etc/nagios.cfg' ***> One or more problems was encountered while processing the config files... lines startin from 34 : define timeperiod{ timeperiod_name 24x7 alias 24 Hours A Day, 7 Days A Week sunday 00:00-24:00 monday 00:00-24:00 tuesday 00:00-24:00 wednesday 00:00-24:00 thursday 00:00-24:00 friday 00:00-24:00 saturday 00:00-24:00 } WHAT SHOULD I DO NOW ??? help please :) -------------- next part -------------- An HTML attachment was scrubbed... URL: From ladams at cloudmark.com Sat Nov 12 03:25:57 2005 From: ladams at cloudmark.com (Lori Adams) Date: Fri, 11 Nov 2005 18:25:57 -0800 Subject: is there an enable event handler external command? Message-ID: http://www.nagios.org/developerinfo/externalcommands/commandlist.php I believe this list is the full one. See DISABLE_SVC_EVENT_HANDLER, and ENABLE_SVC_EVENT_HANDLER. -Lori ________________________________ From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of kristi tsukida Sent: Thursday, November 10, 2005 9:50 PM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] is there an enable event handler external command? Is there an enable / disable event handler external command? There's a link for it on the command cgi, but I don't see a a listing in the official documentation. ( http://nagios.sourceforge.net/docs/2_0/extcommands.html ). Additionally, is there a complete list of implemented external commands somewhere? The documentation seems to imply that the external command list there is a work in progress. ("This is a description of the some of the external commands which have been implemented in Nagios.") Thanks in advance. -------------- next part -------------- An HTML attachment was scrubbed... URL: From jhmartin at toger.us Sat Nov 12 05:35:43 2005 From: jhmartin at toger.us (Jason Martin) Date: Fri, 11 Nov 2005 23:35:43 -0500 Subject: check_logs.pl question In-Reply-To: References: Message-ID: <20051112043543.GD5380@mal.members.linode.com> On Thu, Nov 10, 2005 at 05:07:11PM +1030, Mark Limburg wrote: > lets say I have 14 matched instances when I do my check_logs.pl .. via NRPE > is it possible to return EACH of the 14 instances for the email? No. A plugin can return one line of output, and only one status for that checks. -Jason Martin -- This Charlie Brown must have been a very wise man. 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 nagios at redsquirrel.me.uk Sun Nov 13 01:07:44 2005 From: nagios at redsquirrel.me.uk (Ian Stirling) Date: Sun, 13 Nov 2005 00:07:44 +0000 Subject: Basic Problem With Configuration Message-ID: <7.0.0.10.0.20051112235800.01cb5dc0@redsquirrel.me.uk> Hi I am new to Nagios and have hit a problem before I have really got started with Nagios. The first problem I had was that ./configure was unable to identify my host. I got past this by downloading a new config.guess and config.sub However now when I try to configure the package I get another error as follows checking for a BSD compatible install... /usr/bin/install -c checking host system type... powerpc64-unknown-linux-gnu checking for gcc... gcc checking whether the C compiler (gcc ) works... no configure: error: installation or configuration problem: C compiler cannot create executables. The contents of config.log are as follows This file contains any messages produced by compilers while running configure, to aid debugging if configure makes a mistake. configure:606: checking for a BSD compatible install configure:667: checking host system type configure:691: checking for gcc configure:804: checking whether the C compiler (gcc ) works configure:820: gcc -o conftest conftest.c 1>&5 /usr/bin/ld: crt1.o: No such file: No such file or directory collect2: ld returned 1 exit status configure: failed program was: #line 815 "configure" #include "confdefs.h" main(){return(0);} I cannot find anything on my system called conftest* but I get the following for crt1.o > locate crt1.o /usr/lib64/Scrt1.o /usr/lib64/gcrt1.o /usr/lib64/Mcrt1.o /usr/lib64/crt1.o The system I am running this on is an IBM p570 LPAR running RHEL 4 AS I'd be grateful for any suggestions on how to get Nagios configured. TIA Ian ------------------------------------------------------- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php _______________________________________________ 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 oliverrojo at anticogroup.com Sun Nov 13 03:11:56 2005 From: oliverrojo at anticogroup.com (Oliver A. Rojo) Date: Sun, 13 Nov 2005 10:11:56 +0800 Subject: NRPE check disk problem Message-ID: <4376A0EC.2010809@anticogroup.com> When I try to issue the command into my nagios server # ./check_nrpe -H 192.168.1.215 -c check_disk It says: NRPE: Command 'check_local_disk' not defined my remote server's nrpe.cfg command[check_disk]=/usr/local/nagios/libexec/check_disk -H 192.168.1.215 -w 20 -c 10 -p /dev/cashvg/dwc where 192.168.1.215 is the ip address of the server which i want to be monitored and /dev/cashvg/dwc is the disk volume ------------------------------------------------------- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php _______________________________________________ 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 joseph.petrucci at ddiworld.com Sun Nov 13 14:02:04 2005 From: joseph.petrucci at ddiworld.com (Joseph A. Petrucci) Date: Sun, 13 Nov 2005 08:02:04 -0500 Subject: Basic Problem With Configuration In-Reply-To: <7.0.0.10.0.20051112235800.01cb5dc0@redsquirrel.me.uk> References: <7.0.0.10.0.20051112235800.01cb5dc0@redsquirrel.me.uk> Message-ID: <1131886924.16226.2.camel@localhost.localdomain> Looks like you need to install gcc go to http://gcc.gnu.org On Sun, 2005-11-13 at 00:07 +0000, Ian Stirling wrote: > Hi > > I am new to Nagios and have hit a problem before I have really got > started with Nagios. > > The first problem I had was that ./configure was unable to identify > my host. I got past this by downloading a new config.guess and config.sub > > However now when I try to configure the package I get another error as follows > > checking for a BSD compatible install... /usr/bin/install -c > checking host system type... powerpc64-unknown-linux-gnu > checking for gcc... gcc > checking whether the C compiler (gcc ) works... no > configure: error: installation or configuration problem: C compiler > cannot create executables. > > The contents of config.log are as follows > > This file contains any messages produced by compilers while > running configure, to aid debugging if configure makes a mistake. > > configure:606: checking for a BSD compatible install > configure:667: checking host system type > configure:691: checking for gcc > configure:804: checking whether the C compiler (gcc ) works > configure:820: gcc -o conftest conftest.c 1>&5 > /usr/bin/ld: crt1.o: No such file: No such file or directory > collect2: ld returned 1 exit status > configure: failed program was: > > #line 815 "configure" > #include "confdefs.h" > > main(){return(0);} > > > I cannot find anything on my system called conftest* but I get the > following for crt1.o > > > locate crt1.o > /usr/lib64/Scrt1.o > /usr/lib64/gcrt1.o > /usr/lib64/Mcrt1.o > /usr/lib64/crt1.o > > > The system I am running this on is an IBM p570 LPAR running RHEL 4 AS > > I'd be grateful for any suggestions on how to get Nagios configured. > > TIA > > Ian > > > > > ------------------------------------------------------- > SF.Net email is sponsored by: > Tame your development challenges with Apache's Geronimo App Server. Download > it for free - -and be entered to win a 42" plasma tv or your very own > Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php > _______________________________________________ > 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 > ------------------------------------------------------- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php _______________________________________________ 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 ae at op5.se Sun Nov 13 15:26:53 2005 From: ae at op5.se (Andreas Ericsson) Date: Sun, 13 Nov 2005 15:26:53 +0100 Subject: NRPE check disk problem In-Reply-To: <4376A0EC.2010809@anticogroup.com> References: <4376A0EC.2010809@anticogroup.com> Message-ID: <43774D2D.9050902@op5.se> Oliver A. Rojo wrote: > When I try to issue the command into my nagios server > # ./check_nrpe -H 192.168.1.215 -c check_disk > This isn't the command you're running ... > It says: > NRPE: Command 'check_local_disk' not defined > ... or you wouldn't get this error message (check_local_disk != check_disk) > my remote server's nrpe.cfg > > command[check_disk]=/usr/local/nagios/libexec/check_disk -H > 192.168.1.215 -w 20 -c 10 -p /dev/cashvg/dwc > -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Tel: +46 8-230225 Fax: +46 8-230231 ------------------------------------------------------- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php _______________________________________________ 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 g.vickers at qut.edu.au Mon Nov 14 01:52:27 2005 From: g.vickers at qut.edu.au (Greg Vickers) Date: Mon, 14 Nov 2005 10:52:27 +1000 Subject: nrpe ver. 2 on AIX 5.2 In-Reply-To: <4374E259.5080904@op5.se> References: <4374E259.5080904@op5.se> Message-ID: <4377DFCB.5070206@qut.edu.au> Andreas Ericsson wrote: > Rudy Montemayor wrote: >> Andreas Ericsson, you sound very bitter on your emails; I suggest >> seeking professional help. >> > > Been there, done that, doing it tomorrow. Unless I wake up next to a > nice-looking blonde or a bottle of beer. Haha - hair of the dog, huh? > I'm usually sober when I'm writing emails. Today, however, is friday so Hmm... .se is Sweden, isn't it? So by beer o'clock here in Australia (3pm on a Friday in Brisbane, not withstanding Daylight Savings) it will be 6am Friday in Sweden, so that's believable :) Hope you had a great weekend, Andreas :) -- Greg Vickers Project Manager, IT Security Information Technology Services Queensland University of Technology L12, 126 Margaret St, Brisbane Phone: (07) 3864 9536 Mobile: 0410 434 734 Email: g.vickers at qut.edu.au IT Security web site: http://www.its.qut.edu.au/itsecurity/ CRICOS No. 00213J ------------------------------------------------------- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php _______________________________________________ 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 cameron.matheson at gmail.com Mon Nov 14 08:24:50 2005 From: cameron.matheson at gmail.com (Cam) Date: Mon, 14 Nov 2005 00:24:50 -0700 Subject: difference between nrpe-nt and nsclient? Message-ID: <7e2f9af90511132324r536d4c74kfbe18ddf3e0f8bec@mail.gmail.com> Hi, I need to monitor some windows boxen (primarily win 2003 i think), for the standard stuff (disk space, cpu, blah), and more importantly to make sure a certain process is running at all times (it's not a service, just a process). I have no problem doing this sort of thing on *nix, but i'm not quite so familiar w/ the wild world of windows. I did a quick google search and came across two different beasts that both look like they could do the job quite well: nsclient, and nrpe_nt. Now the question is... what are the differences between the two? I understand that nrpe_nt is mostly just a port of the standard nrpe (which i have read about, but have not yet had the occasion to use), whereas nsclient appears to be written from the ground up (and apparently more dated?). I was just wondering if people w/ experience could tell me what (or hasn't) worked for them, and whether or not one of these is the more "standard" approach. thanks, Cameron Matheson ------------------------------------------------------- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php _______________________________________________ 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 VINAY_SHARMA at advanex.co.jp Mon Nov 14 08:28:00 2005 From: VINAY_SHARMA at advanex.co.jp (VINAY_SHARMA at advanex.co.jp) Date: Mon, 14 Nov 2005 16:28:00 +0900 Subject: Nagios Graph Show.cgi error Message-ID: Hi All, I setup the nagios graph today.when i try to access show.cgi on page i got below error.anyone has some idea?? Server error! The server encountered an internal error and was unable to complete your request. Error message: Premature end of script headers: show.cgi If you think this is a server error, please contact the webmaster Thanks & regards ************************************** Vinay Sharma Information Systems and Solutions-Associates Advanex Inc (www.advanex.co.jp) Fon : 813-3822-5863 Fax : 813-5815-7881 Email : vinay_sharma at advanex.co.jp Cam ??: nagios-users at lists.sourceforge.net ???: cc: nagios-users-admin at lists.sour ??: [Nagios-users] difference between nrpe-nt and nsclient? ceforge.net 2005/11/14 16:24 Hi, I need to monitor some windows boxen (primarily win 2003 i think), for the standard stuff (disk space, cpu, blah), and more importantly to make sure a certain process is running at all times (it's not a service, just a process). I have no problem doing this sort of thing on *nix, but i'm not quite so familiar w/ the wild world of windows. I did a quick google search and came across two different beasts that both look like they could do the job quite well: nsclient, and nrpe_nt. Now the question is... what are the differences between the two? I understand that nrpe_nt is mostly just a port of the standard nrpe (which i have read about, but have not yet had the occasion to use), whereas nsclient appears to be written from the ground up (and apparently more dated?). I was just wondering if people w/ experience could tell me what (or hasn't) worked for them, and whether or not one of these is the more "standard" approach. thanks, Cameron Matheson ------------------------------------------------------- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php _______________________________________________ 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 ------------------------------------------------------- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php _______________________________________________ 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 peter.koinange at swiftkenya.com Mon Nov 14 08:47:26 2005 From: peter.koinange at swiftkenya.com (Peter Koinange) Date: Mon, 14 Nov 2005 10:47:26 +0300 Subject: Nagios Graph Show.cgi error In-Reply-To: References: Message-ID: <200511141047.28024.peter.koinange@swiftkenya.com> check the error of apache k On Monday 14 November 2005 10:28, VINAY_SHARMA at advanex.co.jp wrote: > Hi All, > > I setup the nagios graph today.when i try to access show.cgi > on page i got below error.anyone has some idea?? > > > > Server error! > The server encountered an internal error and was unable to complete > your request. > Error message: > Premature end of script headers: show.cgi > If you think this is a server error, please contact the webmaster > > > > > > Thanks & regards > ************************************** > Vinay Sharma > Information Systems and Solutions-Associates > Advanex Inc (www.advanex.co.jp) > Fon : 813-3822-5863 > Fax : 813-5815-7881 > Email : vinay_sharma at advanex.co.jp > > > > Cam > ??: > nagios-users at lists.sourceforge.net ???: cc: > nagios-users-admin at lists.sour ??: > [Nagios-users] difference between nrpe-nt and nsclient? ceforge.net > > > 2005/11/14 16:24 > > > > > > > Hi, > > I need to monitor some windows boxen (primarily win 2003 i think), for > the standard stuff (disk space, cpu, blah), and more importantly to > make sure a certain process is running at all times (it's not a > service, just a process). I have no problem doing this sort of thing > on *nix, but i'm not quite so familiar w/ the wild world of windows. > I did a quick google search and came across two different beasts that > both look like they could do the job quite well: nsclient, and > nrpe_nt. Now the question is... what are the differences between the > two? I understand that nrpe_nt is mostly just a port of the standard > nrpe (which i have read about, but have not yet had the occasion to > use), whereas nsclient appears to be written from the ground up (and > apparently more dated?). I was just wondering if people w/ experience > could tell me what (or hasn't) worked for them, and whether or not one > of these is the more "standard" approach. > > thanks, > Cameron Matheson > > > ------------------------------------------------------- > SF.Net email is sponsored by: > Tame your development challenges with Apache's Geronimo App Server. > Download > it for free - -and be entered to win a 42" plasma tv or your very own > Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php > _______________________________________________ > 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 > > ------------------------------------------------------- > SF.Net email is sponsored by: > Tame your development challenges with Apache's Geronimo App Server. > Download it for free - -and be entered to win a 42" plasma tv or your very > own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php > _______________________________________________ > 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 ------------------------------------------------------- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php _______________________________________________ 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 peter.koinange at swiftkenya.com Mon Nov 14 08:48:03 2005 From: peter.koinange at swiftkenya.com (Peter Koinange) Date: Mon, 14 Nov 2005 10:48:03 +0300 Subject: difference between nrpe-nt and nsclient? In-Reply-To: <7e2f9af90511132324r536d4c74kfbe18ddf3e0f8bec@mail.gmail.com> References: <7e2f9af90511132324r536d4c74kfbe18ddf3e0f8bec@mail.gmail.com> Message-ID: <200511141048.03448.peter.koinange@swiftkenya.com> use snmp check K On Monday 14 November 2005 10:24, Cam wrote: > Hi, > > I need to monitor some windows boxen (primarily win 2003 i think), for > the standard stuff (disk space, cpu, blah), and more importantly to > make sure a certain process is running at all times (it's not a > service, just a process). I have no problem doing this sort of thing > on *nix, but i'm not quite so familiar w/ the wild world of windows. > I did a quick google search and came across two different beasts that > both look like they could do the job quite well: nsclient, and > nrpe_nt. Now the question is... what are the differences between the > two? I understand that nrpe_nt is mostly just a port of the standard > nrpe (which i have read about, but have not yet had the occasion to > use), whereas nsclient appears to be written from the ground up (and > apparently more dated?). I was just wondering if people w/ experience > could tell me what (or hasn't) worked for them, and whether or not one > of these is the more "standard" approach. > > thanks, > Cameron Matheson > > > ------------------------------------------------------- > SF.Net email is sponsored by: > Tame your development challenges with Apache's Geronimo App Server. > Download it for free - -and be entered to win a 42" plasma tv or your very > own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php > _______________________________________________ > 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 ------------------------------------------------------- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php _______________________________________________ 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 grover1711 at gmail.com Mon Nov 14 09:22:26 2005 From: grover1711 at gmail.com (ankush grover) Date: Mon, 14 Nov 2005 13:52:26 +0530 Subject: how to monitor remote host for swap space, mailqueue ,disk space etc Message-ID: <5f638b360511140022j1a4d0084y4c0770a5ccc83552@mail.gmail.com> hey friends, I am using Nagios 2.0b on Fedora Core 3.I am having problems in monitoring remote hosts. I want to monitor swap space,disk space , mailqueue , no.of users logged in on the remote host through Nagios. I have create a user "nagios" on all the remote machines and have given rights through sudo. nagios cluster1=ALL NOPASSWD=ALL user nagios has the shell as "/sbin/nologin". Well may be nagios is not able to work with sudo.Is there any way through which I can monitor these services ? Thanks & Regards Ankush Grover -------------- next part -------------- An HTML attachment was scrubbed... URL: From misch at multinet.de Mon Nov 14 09:25:25 2005 From: misch at multinet.de (Michael Schwartzkopff) Date: Mon, 14 Nov 2005 09:25:25 +0100 Subject: how to monitor remote host for swap space, mailqueue ,disk space etc In-Reply-To: <5f638b360511140022j1a4d0084y4c0770a5ccc83552@mail.gmail.com> References: <5f638b360511140022j1a4d0084y4c0770a5ccc83552@mail.gmail.com> Message-ID: <200511140925.25538.misch@multinet.de> What about SNMP? Am Montag, 14. November 2005 09:22 schrieb ankush grover: > hey friends, > > I am using Nagios 2.0b on Fedora Core 3.I am having problems in monitoring > remote hosts. > > I want to monitor swap space,disk space , mailqueue , no.of users logged in > on the remote host through Nagios. > > I have create a user "nagios" on all the remote machines and have given > rights through sudo. > > nagios cluster1=ALL NOPASSWD=ALL > > user nagios has the shell as "/sbin/nologin". > > Well may be nagios is not able to work with sudo.Is there any way through > which I can monitor these services ? > > Thanks & Regards > > Ankush Grover -- 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 -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 189 bytes Desc: not available URL: From dido at imperium.ph Mon Nov 14 09:34:36 2005 From: dido at imperium.ph (Rafael 'Dido' Sevilla) Date: Mon, 14 Nov 2005 16:34:36 +0800 Subject: how to monitor remote host for swap space, mailqueue ,disk space etc In-Reply-To: <5f638b360511140022j1a4d0084y4c0770a5ccc83552@mail.gmail.com> References: <5f638b360511140022j1a4d0084y4c0770a5ccc83552@mail.gmail.com> Message-ID: <43784C1C.7090308@imperium.ph> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA512 ankush grover wrote: > user nagios has the shell as "/sbin/nologin". > That's your problem. If your shell is that way, then clearly, no privileges you grant through sudo will ever be usable as you can never even login. > Well may be nagios is not able to work with sudo.Is there any way > through which I can monitor these services ? A better way would be to install an SNMP agent on your remote machines and use the many Nagios SNMP polling plugins to check these parameters. Bonus: they'll even work for polling things like routers and other SNMP-enabled devices. - -- Those who can make you believe absurdities can make you commit atrocities. http://stormwyrm.blogspot.com/ -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2-ecc0.1.6 (GNU/Linux) Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org iQEVAwUBQ3hMG4IzXJ0NX9pgAQoYuggAtJyL+1kJQSeIGi3MHvFE3Rw51spy13zA 8pd3/YBKsSMJ8+w2q9Y4H8QprKQ5gTKqQx3OpsItJDN4/2WCx3/B1MCBcYe4gKf/ y1/iAzQXCgrrsSBobexeD+9dau3JA5rhYYR56ZX9hX4Pr+kSU+Z08b9DwJEtcSV2 SJKAzT+eDesJaNJIpu9q6JDeGFgVXSsawS6kooxCDxEOHkC5ml39we5R1kmi7X/C 3CWRloRlW72r/WXGhDlRnVbtXhPBr2g+HKFnBhSg0vOLCmn4t49UtyZr28aJ//6S vp3W4P57+K+/ufL6A0QqyjDpdpUyT4YPInIIAMBfz2nFexv9OlnP0w== =oy+0 -----END PGP SIGNATURE----- ------------------------------------------------------- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php _______________________________________________ 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 rmayhew at mweb.com Mon Nov 14 10:39:22 2005 From: rmayhew at mweb.com (Richard Mayhew) Date: Mon, 14 Nov 2005 11:39:22 +0200 Subject: Nagios v1 to v2 Comments Conversion Message-ID: Hi, I have written a perl script to convert the Nagios v1 MySQL comments data in to the Nagios v2 format. Once the conversion is complete, I am able to view all the comments through the nagios web interface etc. but as luck would have it, if I remove an entry from the newly added comments, it removes all the converted comment data leaving the existing comments added through the new Nagio v2 interface. What am I missing, is there a "last comment id" somewhere that I need to update? -- Regards Richard Mayhew Unix Specialist -------------- next part -------------- An HTML attachment was scrubbed... URL: From peter.d.farrell at gmail.com Mon Nov 14 12:01:30 2005 From: peter.d.farrell at gmail.com (Peter Farrell) Date: Mon, 14 Nov 2005 11:01:30 +0000 Subject: Nagiostat not functioning after disk crash (RE-POST?) Message-ID: *BTW: not sure if this will show up as a re-posting, as I submitted it last week, but never saw it hit the list. ######################################################################### Hi. We've had a disk error on one of our nagios servers, which we had to reboot to repair. After rebooting, all nagios functions work fine, but none of the nagiostat graphs will display. Initially, we thought the problem was with the services.cfg file. (At the time of the crash, the file was open, and after reboot was named 'services.swp' - we re-wrote the file and diff'd it against a copy to make sure it was ok.) The debug.log in /usr/local/nagios/nagiostat reports now that it's regex sees the services, and hostnames, shows the RRDCMDLINE inserts taking place. However, when you look at the rrd archive directory none of the files have been updated since the crash on Wednesday. When run from the command line as user 'nagios' we can manually update the rrd archive, but the cgi still doesn't display the graph itself. Although the nagiostat debug.log reports no errors per se, if we move all the rrd archvies into a tmp folder, the debug.log reports: !!ERROR: RRD-archive '/usr/local/nagios/nagiostat/archives/jupiter-swap.rrd' does not exist or is not writable by effective UID. Which is curious, as previously, when you did that it would simply create a new rrd file and carry on... Any idea of non-persistent changes that may have been in effect before the crash? Additionally, we thought that perhaps other files that were being written to at the time of the crash may be the culprit, and so we recreated the hostperfdata and systemperfdata but that was a red herring. The permissions are correct, all files seem intact. Any ideas or direction would be appreciated. -Peter Farrell -- To contact me, please follow this link: http://public.xdi.org/=Peter.D.Farrell Thank you. Peter Farrell ------------------------------------------------------- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php _______________________________________________ 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 RLAdams at AdamsInfoServ.Com Mon Nov 14 12:20:40 2005 From: RLAdams at AdamsInfoServ.Com (Russell Adams) Date: Mon, 14 Nov 2005 05:20:40 -0600 Subject: Announcement: NACE v0.3 released In-Reply-To: <20050527114100.GA29391@keroberos> References: <20050527114100.GA29391@keroberos> Message-ID: <20051114112040.GA32176@keroberos> I'm pleased to announce that NACE v0.4 has just been released. The move from monolithic scripts to modular scripts designed for pipes has been completed. Already in use in networks with over 300 hosts! NACE, Nagios Automated Configuration Engine provides scripts to facilitate automatically generating Nagios configuration data for large numbers of hosts. NACE is available for download at: http://www.adamsinfoserv.com/AISTWiki/bin/view/AIS/NACE Please contact me with questions or comments. Feedback is appreciated. ------------------------------------------------------------------ Russell Adams RLAdams at AdamsInfoServ.com PGP Key ID: 0x1160DCB3 http://www.adamsinfoserv.com/ Fingerprint: 1723 D8CA 4280 1EC9 557F 66E8 1154 E018 1160 DCB3 -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 189 bytes Desc: not available URL: From joseph.petrucci at ddiworld.com Mon Nov 14 12:39:09 2005 From: joseph.petrucci at ddiworld.com (Joseph A. Petrucci) Date: Mon, 14 Nov 2005 06:39:09 -0500 Subject: difference between nrpe-nt and nsclient? In-Reply-To: <7e2f9af90511132324r536d4c74kfbe18ddf3e0f8bec@mail.gmail.com> References: <7e2f9af90511132324r536d4c74kfbe18ddf3e0f8bec@mail.gmail.com> Message-ID: <1131968351.19510.3.camel@localhost.localdomain> I do not have experience with nrpe_nt, but nsclient does everything you are looking for I have never had any problems with it once I got it set up it just runs. On Mon, 2005-11-14 at 00:24 -0700, Cam wrote: > Hi, > > I need to monitor some windows boxen (primarily win 2003 i think), for > the standard stuff (disk space, cpu, blah), and more importantly to > make sure a certain process is running at all times (it's not a > service, just a process). I have no problem doing this sort of thing > on *nix, but i'm not quite so familiar w/ the wild world of windows. > I did a quick google search and came across two different beasts that > both look like they could do the job quite well: nsclient, and > nrpe_nt. Now the question is... what are the differences between the > two? I understand that nrpe_nt is mostly just a port of the standard > nrpe (which i have read about, but have not yet had the occasion to > use), whereas nsclient appears to be written from the ground up (and > apparently more dated?). I was just wondering if people w/ experience > could tell me what (or hasn't) worked for them, and whether or not one > of these is the more "standard" approach. > > thanks, > Cameron Matheson > > > ------------------------------------------------------- > SF.Net email is sponsored by: > Tame your development challenges with Apache's Geronimo App Server. Download > it for free - -and be entered to win a 42" plasma tv or your very own > Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php > _______________________________________________ > 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 > ------------------------------------------------------- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php _______________________________________________ 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 Deborah.Martin at Kognitio.com Mon Nov 14 18:34:26 2005 From: Deborah.Martin at Kognitio.com (Deborah Martin) Date: Mon, 14 Nov 2005 17:34:26 -0000 Subject: FW: Using service dependencies Message-ID: -----Original Message----- From: Deborah Martin Sent: 14 November 2005 17:25 To: 'nagios-users at lists.sourceforge.net' Subject: Using service dependencies Hi, I'm trying to use service dependencies as part of my nagios config. Basically, I want to do 2 checks, the primary check connects to a database. The secondary check is for RAM usage. However, if the primary check fails I don't want nagios to try and attempt the secondary check as there is no point if a system is down. I still want to see Nagios alert via the web front-end but not be notified via email when the primary check is in a Unknown or Critical state. (The plugins on their own all work fine thru nagios as do they via the command-line. ) I've defined below what I understand to be the way to configure dependencies but i'm not convinced its right even though it works fine. Could someone take a look and just sanity check this for me and let me know if i'm doing the right/wrong thing ? thx deborah PS All of the lines below currently sit in my services.cfg until I know it works and then i'll split the dependency to a different cfg file. Its easier to make changes that way! # device1 Primary check define service{ use generic-service ; Name of host template to use host_name ngcp4 service_description device1 DB Check is_volatile 0 check_period 24x7 max_check_attempts 3 normal_check_interval 5 retry_check_interval 1 contact_groups linux-admins notification_interval 20 notification_period 24x7 notification_options u,c,r check_command check_wx2_conn!dummy$!device1 } # device1 Secondary check define service{ use generic-service host_name ngcp4 service_description DB RAM checks for device1 is_volatile 0 check_period 24x7 max_check_attempts 3 normal_check_interval 5 retry_check_interval 1 contact_groups linux-admins notification_interval 5 notification_period 24x7 notification_options u,w,c,r check_command check_wx2_ram!$HOSTALIAS$ } # device1 dependency checks define servicedependency{ host_name ngcp4 service_description DB RAM checks for device1 dependent_host_name ngcp4 dependent_service_description device1 DB Check execution_failure_criteria u,c notification_failure_criteria u,c } Regards, Deborah ************************************************************************ This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. Any unauthorised distribution or copying is strictly prohibited. Whilst Kognitio Limited takes steps to prevent the transmission of viruses via e-mail, we can not guarantee that any email or attachment is free from computer viruses and you are strongly advised to undertake your own anti-virus precautions. Kognitio grants no warranties regarding performance, use or quality of any e-mail or attachment and undertakes no liability for loss or damage, howsoever caused. *********************************************************************** -------------- next part -------------- An HTML attachment was scrubbed... URL: From sghosh at sghosh.org Mon Nov 14 20:50:59 2005 From: sghosh at sghosh.org (Subhendu Ghosh) Date: Mon, 14 Nov 2005 14:50:59 -0500 (EST) Subject: NotificationsMIB in nagiosplug In-Reply-To: <20051111144035.91132.qmail@web53503.mail.yahoo.com> References: <20051111144035.91132.qmail@web53503.mail.yahoo.com> Message-ID: On Fri, 11 Nov 2005, George Vidos wrote: > Hi list > > Could someone provide me with some info regarding how are these MIBs > (NotificationsMIB) from nagiosplug(http://sourceforge.net/projects/nagiosplug) > been utilized? Where are they loaded, how are they addressed by an SNMP Agent, > etc? > > In more detail, what I need to implement in SuSe, is include a notification's > information inside an SNMP trap payload and have it sent as an SNMP trap > towards an SNMP manager. Could the net-snmp sendtrap utility be used for this > reason, in some way? > > Has anyone performed this excercise already? It could prove really helpful. > The NotificationsMIB is not integrated into Nagios or the Plugins AFAIK. The MIB maps the notification macros to the MIB elements. The easiest way to use this would be to net-snmp's snmptrap via a notifications command definition. I had been working on a integrated script for host and services, but have been side tracked. -- -sg ------------------------------------------------------- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php _______________________________________________ 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 Alan_Maxwell at hilton.com Mon Nov 14 22:17:21 2005 From: Alan_Maxwell at hilton.com (Alan Maxwell) Date: Mon, 14 Nov 2005 15:17:21 -0600 Subject: underline links Message-ID: Is there a way to configure nagios so that the links are blue only NO underline? -------------- next part -------------- An HTML attachment was scrubbed... URL: From andrew at profitability.net Mon Nov 14 22:39:24 2005 From: andrew at profitability.net (Andrew Cruse) Date: Mon, 14 Nov 2005 16:39:24 -0500 Subject: nrpe checks failing because of low ping In-Reply-To: <43790397.20804@osuosl.org> References: <43790397.20804@osuosl.org> Message-ID: nagios-users-admin at lists.sourceforge.net wrote: > the hosts don't actually go down, but they have a ping low > enough that nrpe checks fail with 'connection refused' > > I'll get a notification for load being critical with > 'connection refused' then right after that get a ping critical > notification. > > i'd like to just get the ping notification and to ignore the nrpe > checks until ping has recovered. > > is there an easy way to do this? Have a look in the docs at Service Dependencies. Andrew ------------------------------------------------------- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php _______________________________________________ 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 raema at osuosl.org Mon Nov 14 22:37:27 2005 From: raema at osuosl.org (Matt Rae) Date: Mon, 14 Nov 2005 13:37:27 -0800 Subject: nrpe checks failing because of low ping Message-ID: <43790397.20804@osuosl.org> the hosts don't actually go down, but they have a ping low enough that nrpe checks fail with 'connection refused' I'll get a notification for load being critical with 'connection refused' then right after that get a ping critical notification. i'd like to just get the ping notification and to ignore the nrpe checks until ping has recovered. is there an easy way to do this? -- Matt Rae Open Source Lab Oregon State University -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 189 bytes Desc: OpenPGP digital signature URL: From marc at ena.com Mon Nov 14 23:29:37 2005 From: marc at ena.com (Marc Powell) Date: Mon, 14 Nov 2005 16:29:37 -0600 Subject: underline links Message-ID: > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users- > admin at lists.sourceforge.net] On Behalf Of Alan Maxwell > Sent: Monday, November 14, 2005 3:17 PM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] underline links > > Is there a way to configure nagios so that the links are blue only NO > underline? Modify the stylesheets in ~nagios/share/stylesheets and add A: definitions as you like them. This site will be helpful but there are many on the Internet -- http://www.echoecho.com/csslinks.htm -- Marc ------------------------------------------------------- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php _______________________________________________ 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 s.shipway at auckland.ac.nz Mon Nov 14 23:59:54 2005 From: s.shipway at auckland.ac.nz (Steve Shipway) Date: Tue, 15 Nov 2005 11:59:54 +1300 Subject: nrpe checks failing because of low ping In-Reply-To: <43790397.20804@osuosl.org> References: <43790397.20804@osuosl.org> Message-ID: <015801c5e96f$20dea130$01fea8c0@itss.auckland.ac.nz> >i'd like to just get the ping notification and to ignore the >nrpe checks > until ping has recovered. > >is there an easy way to do this? I modified the check_nrpe (and check_nt, too) code so that a 'connection refused', timeout or protocol error would result in an unknown, rather than a critical. This also means I get 'unknown' if the NRPE agent is not running (which is what I want, since the host is not necessarily in a critical state). Works for us, but you might want a failing agent to produce a critical. If this is the case, just add a flag to make this behaviour disableable. Steve ------------------------------------------------------- This SF.Net email is sponsored by the JBoss Inc. Get Certified Today Register for a JBoss Training Course. Free Certification Exam for All Training Attendees Through End of 2005. For more info visit: http://ads.osdn.com/?ad_id=7628&alloc_id=16845&op=click _______________________________________________ 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 s.shipway at auckland.ac.nz Tue Nov 15 00:02:34 2005 From: s.shipway at auckland.ac.nz (Steve Shipway) Date: Tue, 15 Nov 2005 12:02:34 +1300 Subject: how to monitor remote host for swap space, mailqueue ,disk space etc In-Reply-To: <5f638b360511140022j1a4d0084y4c0770a5ccc83552@mail.gmail.com> References: <5f638b360511140022j1a4d0084y4c0770a5ccc83552@mail.gmail.com> Message-ID: <016501c5e96f$800ceea0$01fea8c0@itss.auckland.ac.nz> I do this by using the NRPE agent on the UNIX hosts. Then you can use standard plugins, and if NRPE is kicked off by xinetd you can also tie it down to the IP address of your Nagios server, for extra security. Other possibilities include using SNMP (depends on the quality of your agent, but NET_SNMP could do it) and using ssh checks (which would require a login shell and ssh keys, a nuisance to maintain). Steve -------------- next part -------------- An HTML attachment was scrubbed... URL: From g.vickers at qut.edu.au Tue Nov 15 00:29:27 2005 From: g.vickers at qut.edu.au (Greg Vickers) Date: Tue, 15 Nov 2005 09:29:27 +1000 Subject: difference between nrpe-nt and nsclient? In-Reply-To: <7e2f9af90511132324r536d4c74kfbe18ddf3e0f8bec@mail.gmail.com> References: <7e2f9af90511132324r536d4c74kfbe18ddf3e0f8bec@mail.gmail.com> Message-ID: <43791DD7.3090802@qut.edu.au> Hello Cam, Cam wrote: > Hi, > > I need to monitor some windows boxen (primarily win 2003 i think), for > the standard stuff (disk space, cpu, blah), and more importantly to > make sure a certain process is running at all times (it's not a > service, just a process). I have no problem doing this sort of thing > on *nix, but i'm not quite so familiar w/ the wild world of windows. > I did a quick google search and came across two different beasts that > both look like they could do the job quite well: nsclient, and > nrpe_nt. Now the question is... what are the differences between the > two? I understand that nrpe_nt is mostly just a port of the standard > nrpe (which i have read about, but have not yet had the occasion to > use), whereas nsclient appears to be written from the ground up (and > apparently more dated?). I was just wondering if people w/ experience > could tell me what (or hasn't) worked for them, and whether or not one > of these is the more "standard" approach. OK, both packages will do what you want to do so you could implement either one, depending on which one you would be more comfortable with or which you find easier to deploy in your environment (given SLAs, in-house best practise, phase of the moon, etc) RTFM and make a choice. There are a few other options, on Nagios Exchange - http://www.nagiosexchange.org. (Click the Categories link from the front page, NSClient and NRPE_NT are both in the Check Plugins -> Windows area.) As pointed out, you could use SNMP to retrieve this information. Here's my description of the differences between NRPE_NT and NSClient: NRPE_NT: Nagios Remote Process Executor for NT - will collect the output of programs that run in your win32 environment and return information. NRPE will collect that output and send it to your Nagios host. This gives you a lot of flexibility as you can write your own scripts (.bat, .vbs, .asp or whatever (haha!)) to get any kind of information you want. (There are a stack of pre-built executables that will run in your win32 environment in the Check Plugins -> Windows -> NRPE Plugins area.) (What actually happens is the Nagios server asks the NRPE client on the Nagios server to initiate a connection to your Windows host with NRPE server on it, once the connection is established, the NRPE client asks the NRPE server to run an executable on the Windows host, the NRPE server collects the information and returns it to the NRPE client.) NSClient: (legacy name) NetSaint Client - a win32 executable that runs as a service and can retrieve all of the above information you require. (IMHO, easier to implement than NRPE_NT - you only have to install one executable on your windows hosts, rather than many.) However NSClient is not as flexible as NRPE_NT. HTH, -- Greg Vickers Project Manager, IT Security Information Technology Services Queensland University of Technology L12, 126 Margaret St, Brisbane Phone: (07) 3864 9536 Mobile: 0410 434 734 Email: g.vickers at qut.edu.au IT Security web site: http://www.its.qut.edu.au/itsecurity/ CRICOS No. 00213J ------------------------------------------------------- This SF.Net email is sponsored by the JBoss Inc. Get Certified Today Register for a JBoss Training Course. Free Certification Exam for All Training Attendees Through End of 2005. For more info visit: http://ads.osdn.com/?ad_id=7628&alloc_id=16845&op=click _______________________________________________ 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 g.vickers at qut.edu.au Tue Nov 15 01:23:52 2005 From: g.vickers at qut.edu.au (Greg Vickers) Date: Tue, 15 Nov 2005 10:23:52 +1000 Subject: FW: Using service dependencies In-Reply-To: References: Message-ID: <43792A98.2090908@qut.edu.au> Hi Deborah, (I assume you are using v2.x) Deborah Martin wrote: > I'm trying to use service dependencies as part of my nagios config. > > Basically, I want to do 2 checks, the primary check connects to a > database. The secondary check is for RAM usage. > However, if the primary check fails I don't want nagios to try and > attempt the secondary check as there is no point if > a system is down. I still want to see Nagios alert via the web front-end > but not be notified via email when the primary check > is in a Unknown or Critical state. I would ask: Why bother with this dependency at all? Sequencial scenario: 0) Your DB check runs, all OK. 1) The DB crashes. 2) The RAM check dependency is checked, the DB service last reported OK. 3) The RAM check is executed and returns OK (unless your RAM check really does depend on the DB somehow??) 4) Your DB is checked later and returns UNKNOWN or CRITICAL. 5) Then NEXT time your RAM check runs, it will not run because the DB service is UNKNOWN or CRITICAL. Normal operation of Nagios would go like this: 0) Check services on a host. 1) As soon as ANY service on a host changes to a non-OK state, *that host status is checked* and *no other service checks on any hosts are executed* until the state of that host is determined. This is why host checks have to execute quickly - no other service checks will be processed/executed until host status is determined. 2) If the host is in a non-OK state, *no notifications for services on that host are sent out until that host comes back up* (So if all services fail but the IP still responds to your check_host command (ping or ICMP) you will receive many service notifications.) ... I don't want nagios to try and attempt the secondary check as there is no point if a system is down. Fair enough. If you leave the RAM check non-dependant, *your host downtime will decrease* (according to Nagios) because there are more services to run on a host and a host state change from CRITICAL to OK will be detected quicker when there are fewer dependant services. Since the RAM and DB checks aren't really dependant, having this dependency doesn't bring any value (IMHO) to your monitoring and will increase the amount of time a host spends in a DOWN state, since Nagios schedules and executes service checks for a DOWN host (increasing the number of times during a given time period that Nagios can discover a host state change) while suppressing notifications. Service dependancies are usually used for truly dependant services, i.e. a db that serves content for a webserver. If the db goes down, don't check the webserver, as the content will not be accessable by the webserver. Of course you may stil get a situation like the first example where the checks are executed in such an order that will not catch the db failure before the webserver is checked, and you get a notification about the webserver failure before the db failure. If you have this dependency, you generate extra config for you or others to manage. (This may be fine :)) I would not implement this dependency as RAM status doesn't really depend on the db availability (really the other way around, the db depends on the amount of RAM available, depending on your situation.) > (The plugins on their own all work fine thru nagios as do they via the > command-line. ) > > I've defined below what I understand to be the way to configure > dependencies but i'm not convinced its right even though > it works fine. Could someone take a look and just sanity check this for > me and let me know if i'm doing the right/wrong thing ? > # device1 dependency checks > define servicedependency{ > host_name ngcp4 > service_description DB RAM checks for device1 > dependent_host_name ngcp4 > dependent_service_description device1 DB Check > execution_failure_criteria u,c > notification_failure_criteria u,c > } You've got it back-to-front; the above config makes the 'device1 DB Check' service /depend on/ the 'DB RAM checks for device1' service. The DB service check will not run, nor will notifications be sent out for this service, when the RAM service check is UNKNOWN or CRITICAL. Your first paragraph states that you want the RAM check to depend on the DB check. We use dependancies on our mail server as there are many dependant services (IMAP, POP, SMTP) that depend on many other components of the mail server - this is the only situation where we use dependancies. (I needed a large beer after figuring out that config...) In conclusion, I would remove your dependency. But that's me :) HTH, -- Greg Vickers Project Manager, IT Security Information Technology Services Queensland University of Technology L12, 126 Margaret St, Brisbane Phone: (07) 3864 9536 Mobile: 0410 434 734 Email: g.vickers at qut.edu.au IT Security web site: http://www.its.qut.edu.au/itsecurity/ CRICOS No. 00213J ------------------------------------------------------- This SF.Net email is sponsored by the JBoss Inc. Get Certified Today Register for a JBoss Training Course. Free Certification Exam for All Training Attendees Through End of 2005. For more info visit: http://ads.osdn.com/?ad_id=7628&alloc_id=16845&op=click _______________________________________________ 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 raema at osuosl.org Tue Nov 15 01:30:41 2005 From: raema at osuosl.org (Matt Rae) Date: Mon, 14 Nov 2005 16:30:41 -0800 Subject: nrpe checks failing because of low ping In-Reply-To: <015801c5e96f$20dea130$01fea8c0@itss.auckland.ac.nz> References: <015801c5e96f$20dea130$01fea8c0@itss.auckland.ac.nz> Message-ID: <43792C31.6020207@osuosl.org> i'm looking into both ideas and thanks to both of you. I read the service dependency docs and cam out with what is below. would something like this solve my problems? define servicedependency { hostgroup_name grp1,grp2,grp3 service_description PING dependent_hostgroup_name grp1,grp2,grp3 dependent_service_description * execution_failure_criteria n notification_failure_criteria w,u,c } Steve Shipway wrote: >>i'd like to just get the ping notification and to ignore the >>nrpe checks >> until ping has recovered. >> >>is there an easy way to do this? > > > I modified the check_nrpe (and check_nt, too) code so that a 'connection > refused', timeout or protocol error would result in an unknown, rather than > a critical. This also means I get 'unknown' if the NRPE agent is not > running (which is what I want, since the host is not necessarily in a > critical state). > > Works for us, but you might want a failing agent to produce a critical. If > this is the case, just add a flag to make this behaviour disableable. > > Steve > > > > ------------------------------------------------------- > This SF.Net email is sponsored by the JBoss Inc. Get Certified Today > Register for a JBoss Training Course. Free Certification Exam > for All Training Attendees Through End of 2005. For more info visit: > http://ads.osdn.com/?ad_id=7628&alloc_id=16845&op=click > _______________________________________________ > 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 > -- Matt Rae Open Source Lab Oregon State University -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 189 bytes Desc: OpenPGP digital signature URL: From cameron.matheson at gmail.com Tue Nov 15 03:18:04 2005 From: cameron.matheson at gmail.com (Cam) Date: Mon, 14 Nov 2005 19:18:04 -0700 Subject: Fwd: difference between nrpe-nt and nsclient? In-Reply-To: <7e2f9af90511141813g4c90f1d3qe4711485449cbe4e@mail.gmail.com> References: <7e2f9af90511132324r536d4c74kfbe18ddf3e0f8bec@mail.gmail.com> <43791DD7.3090802@qut.edu.au> <7e2f9af90511141813g4c90f1d3qe4711485449cbe4e@mail.gmail.com> Message-ID: <7e2f9af90511141818o34b5f271hf14df95ba2970e97@mail.gmail.com> sorry... i'm still trying to get used to gmail replying to the individual instead of the list by default (i guess i'm too used to mutt), i'm forwarding this for the sake of keeping things on-list (sorry if this breaks threads) thanks everyone who responded, cam ---------- Forwarded message ---------- From: Cam Date: Nov 14, 2005 7:13 PM Subject: Re: [Nagios-users] difference between nrpe-nt and nsclient? To: Greg Vickers Hi, On 11/14/05, Greg Vickers wrote: > NSClient: (legacy name) NetSaint Client - a win32 executable that runs > as a service and can retrieve all of the above information you require. > (IMHO, easier to implement than NRPE_NT - you only have to install one > executable on your windows hosts, rather than many.) However NSClient is > not as flexible as NRPE_NT. Great, this sounds like just the thing i am looking for (from the quick research i did it looks like nsclient will handle my needs for the windows boxen). Anyway, one more question... because of firewall issues i kind of need to run this through a reverse-ssh tunnel (or something like that... basically the windows box is behind a firewall that i would rather not mess w/). Are there any obvious difficulties in doing it this way? Thanks, Cam ------------------------------------------------------- This SF.Net email is sponsored by the JBoss Inc. Get Certified Today Register for a JBoss Training Course. Free Certification Exam for All Training Attendees Through End of 2005. For more info visit: http://ads.osdn.com/?ad_idv28&alloc_id845&op=click _______________________________________________ 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 g.vickers at qut.edu.au Tue Nov 15 05:16:24 2005 From: g.vickers at qut.edu.au (Greg Vickers) Date: Tue, 15 Nov 2005 14:16:24 +1000 Subject: Fwd: difference between nrpe-nt and nsclient? In-Reply-To: <7e2f9af90511141818o34b5f271hf14df95ba2970e97@mail.gmail.com> References: <7e2f9af90511132324r536d4c74kfbe18ddf3e0f8bec@mail.gmail.com> <43791DD7.3090802@qut.edu.au> <7e2f9af90511141813g4c90f1d3qe4711485449cbe4e@mail.gmail.com> <7e2f9af90511141818o34b5f271hf14df95ba2970e97@mail.gmail.com> Message-ID: <43796118.80904@qut.edu.au> Hi Cam, Cam wrote: > sorry... i'm still trying to get used to gmail replying to the > individual instead of the list by default (i guess i'm too used to > mutt), i'm forwarding this for the sake of keeping things on-list > (sorry if this breaks threads) Eh, nps. > On 11/14/05, Greg Vickers wrote: > >>NSClient: (legacy name) NetSaint Client - a win32 executable that runs >>as a service and can retrieve all of the above information you require. >>(IMHO, easier to implement than NRPE_NT - you only have to install one >>executable on your windows hosts, rather than many.) However NSClient is >>not as flexible as NRPE_NT. > > Great, this sounds like just the thing i am looking for (from the > quick research i did it looks like nsclient will handle my needs for > the windows boxen). Anyway, one more question... because of firewall > issues i kind of need to run this through a reverse-ssh tunnel (or > something like that... basically the windows box is behind a firewall > that i would rather not mess w/). Are there any obvious difficulties > in doing it this way? You can configure NSClient to run on whatever port you want - so if there is a hole in the fw that will get you access to an unused port on the windows box, you're off and racing. I would recommend setting up a port and rules on the fw specifically for NSClient, but if you don't have access to the fw or there is some other reason you can't do this then that is a problem. You could run the checks through a SSH tunnel to the windows box, but that introduces a bit of overhead on the check execution times and on the Windows host. This may not be a problem for you. There are many ways of getting access to that windows box, pick one that is easy and manageable. :) Faster, better, cheaper. Pick two. -- Greg Vickers Project Manager, IT Security Information Technology Services Queensland University of Technology L12, 126 Margaret St, Brisbane Phone: (07) 3864 9536 Mobile: 0410 434 734 Email: g.vickers at qut.edu.au IT Security web site: http://www.its.qut.edu.au/itsecurity/ CRICOS No. 00213J ------------------------------------------------------- This SF.Net email is sponsored by the JBoss Inc. Get Certified Today Register for a JBoss Training Course. Free Certification Exam for All Training Attendees Through End of 2005. For more info visit: http://ads.osdn.com/?ad_id=7628&alloc_id=16845&op=click _______________________________________________ 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 ank at cs.ucy.ac.cy Tue Nov 15 09:27:14 2005 From: ank at cs.ucy.ac.cy (Andreas Kasenides) Date: Tue, 15 Nov 2005 10:27:14 +0200 Subject: .pl & .cgi files on apache In-Reply-To: References: <43747CCB.9030503@cs.ucy.ac.cy> Message-ID: <43799BE2.9000305@cs.ucy.ac.cy> From your previous message I was given the impression that you have installed Nagios from an RPM package. If you did then you have the wrong cfg_file statements in your nagios.cfg which should be in /etc/nagios. The statements should be along the lines of cfg_file=/etc/nagios/minimal.cfg cfg_file=/etc/nagios/contactgroups.cfg cfg_file=/etc/nagios/contacts.cfg cfg_file=/etc/nagios/dependencies.cfg cfg_file=/etc/nagios/escalations.cfg cfg_file=/etc/nagios/hosts.cfg cfg_file=/etc/nagios/services.cfg cfg_file=/etc/nagios/timeperiods.cfg If you want more info on the RPM install you can visit my Nagios-notes page at http://www.kasenides.org/nagios/nagios-notes.php. These are preliminary notes and they are likely to contain errors!! Mehmet Fatih AKBULUT wrote: > problem solved. > thanks anyway. > now i can see cgi or pl files on apache but still have difficulties in > starting nagios :) > can see error messages when click on a cgi file listed on the left > side of the nagios main page. > > when i try to execute > > #nagios -v nagios.cfg command : > > it says me that : > > cfg_file=/usr/local/etc/nagios/contactgroups.cfg > cfg_file=/usr/local/etc/nagios/contacts.cfg > cfg_file=/usr/local/etc/nagios/dependencies.cfg > cfg_file=/usr/local/etc/nagios/escalations.cfg > cfg_file=/usr/local/etc/nagios/hostgroups.cfg > cfg_file=/usr/local/etc/nagios/hosts.cfg > cfg_file=/usr/local/etc/nagios/services.cfg > cfg_file=/usr/local/etc/nagios/timeperiods.cfg > > the abowe files missing :( > > i installed everything but dunno why these files are missing :( -- ---------------------------------------------------------------------- Andreas Kasenides Tel: +357 - 22892714 e-mail: Andreas.Kasenides%at%cs.ucy.ac.cy (replace the %at% above with @) -------------- next part -------------- An HTML attachment was scrubbed... URL: From aitayemi at vmobile-nigeria.com Tue Nov 15 10:15:19 2005 From: aitayemi at vmobile-nigeria.com (Ayotunde Itayemi) Date: Tue, 15 Nov 2005 10:15:19 +0100 Subject: nrpe checks failing because of low ping Message-ID: <3F959C2FD7D90F4AB1364FC167DDB37041243D@vnl-la01ex02.vmobile-nigeria.com> Is it possible to get your modified check_nrpe code? -----Original Message----- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Steve Shipway Sent: 15 November 2005 00:00 To: 'Matt Rae'; nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] nrpe checks failing because of low ping >i'd like to just get the ping notification and to ignore the >nrpe checks > until ping has recovered. > >is there an easy way to do this? I modified the check_nrpe (and check_nt, too) code so that a 'connection refused', timeout or protocol error would result in an unknown, rather than a critical. This also means I get 'unknown' if the NRPE agent is not running (which is what I want, since the host is not necessarily in a critical state). Works for us, but you might want a failing agent to produce a critical. If this is the case, just add a flag to make this behaviour disableable. Steve ------------------------------------------------------- This SF.Net email is sponsored by the JBoss Inc. Get Certified Today Register for a JBoss Training Course. Free Certification Exam for All Training Attendees Through End of 2005. For more info visit: http://ads.osdn.com/?ad_id=7628&alloc_id=16845&op=click _______________________________________________ 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 the JBoss Inc. Get Certified Today Register for a JBoss Training Course. Free Certification Exam for All Training Attendees Through End of 2005. For more info visit: http://ads.osdn.com/?ad_idv28&alloc_id845&op=click _______________________________________________ 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 mfatihakbulut at gmail.com Tue Nov 15 11:27:00 2005 From: mfatihakbulut at gmail.com (Mehmet Fatih AKBULUT) Date: Tue, 15 Nov 2005 12:27:00 +0200 Subject: about: statuswrl.cgi ??? Message-ID: hi all. is there anyone who can see anything when clicks on the link 3 D Status ... on nagios ? other links work fine but when i click on that link a pop up shows and asks me if i want to open that link in plain text format ? do i need to install anything else to make that *cgi file work ? (ps: actually thats not too much necessary cos other links meet my needs. but i am a lt bit odd and want everything work fine in whatever i do. :p ) -------------- next part -------------- An HTML attachment was scrubbed... URL: From Joseph.Petrucci at ddiworld.com Tue Nov 15 11:29:11 2005 From: Joseph.Petrucci at ddiworld.com (Petrucci, Joseph) Date: Tue, 15 Nov 2005 05:29:11 -0500 Subject: about: statuswrl.cgi ??? Message-ID: What browser are you using ? -----Original Message----- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net]On Behalf Of Mehmet Fatih AKBULUT Sent: Tuesday, November 15, 2005 5:27 AM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] about: statuswrl.cgi ??? hi all. is there anyone who can see anything when clicks on the link 3 D Status ... on nagios ? other links work fine but when i click on that link a pop up shows and asks me if i want to open that link in plain text format ? do i need to install anything else to make that *cgi file work ? (ps: actually thats not too much necessary cos other links meet my needs. but i am a lt bit odd and want everything work fine in whatever i do. :p ) -------------- next part -------------- An HTML attachment was scrubbed... URL: From aitayemi at vmobile-nigeria.com Tue Nov 15 12:01:52 2005 From: aitayemi at vmobile-nigeria.com (Ayotunde Itayemi) Date: Tue, 15 Nov 2005 12:01:52 +0100 Subject: about: statuswrl.cgi ??? Message-ID: <3F959C2FD7D90F4AB1364FC167DDB3704124C4@vnl-la01ex02.vmobile-nigeria.com> Hi, You need to install a VRML viewer such as Cortona. Regards, Tunde Itayemi. ________________________________ From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Petrucci, Joseph Sent: 15 November 2005 11:29 To: Mehmet Fatih AKBULUT; nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] about: statuswrl.cgi ??? What browser are you using ? -----Original Message----- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net]On Behalf Of Mehmet Fatih AKBULUT Sent: Tuesday, November 15, 2005 5:27 AM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] about: statuswrl.cgi ??? hi all. is there anyone who can see anything when clicks on the link 3 D Status ... on nagios ? other links work fine but when i click on that link a pop up shows and asks me if i want to open that link in plain text format ? do i need to install anything else to make that *cgi file work ? (ps: actually thats not too much necessary cos other links meet my needs. but i am a lt bit odd and want everything work fine in whatever i do. :p ) -------------- next part -------------- An HTML attachment was scrubbed... URL: From mail at razor.dk Tue Nov 15 14:08:05 2005 From: mail at razor.dk (Christian Joergensen) Date: Tue, 15 Nov 2005 14:08:05 +0100 Subject: Rendering the statusmap in a large resolution Message-ID: <1132060085.13926.33.camel@britney> Hello, I have nagios setup with a lot of hosts (~700). Now i would like to render the statusmap in a resolution which makes it possible to actually see the different hosts. I'm thinking maybe 1600x1200. But no matter what parameters i supply in the query string part of the URL for statusmap.cgi, the image wont grow any larger than 768x695. Is there a trick? I tried tempering with canvas_height|width, max_height|width but it didn't help :( -- Christian J?rgensen | Codito, Ergo Sum http://www.razor.dk | -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 189 bytes Desc: This is a digitally signed message part URL: From gvidos at yahoo.com Tue Nov 15 16:28:16 2005 From: gvidos at yahoo.com (George Vidos) Date: Tue, 15 Nov 2005 16:28:16 +0100 (CET) Subject: NotificationsMIB in nagiosplug In-Reply-To: References: Message-ID: <20051115152816.8CB214F415D@desire.netways.de> OK that's how I've done so far. I'm sending an SNMP trap using net-snmp's snmptrap command but it is very restricting I think: The following notification methods have been defined: service_notification_commands notify-by-snmp host_notification_commands host-notify-by-snmp under contacts.cfg However, using snmptrap command in notify-by-snmp script, you can only define one OID that is to be used on ANY host notification that Nagios is producing. Therefore, I don't see a way to pass a different OID for each kind of host notification (using the HOST_NOTIFY MIB available under nagiosmib package - shipped in parallel with nagiosplug http://sourcefor ge.net/projects/nagiosplug). Could someone provide with a way through this situation? - George Vidos (gvidos) ----------------------- This thread is located in the archive at this URL: http://www.nagiosexchange.org/nagios-users.34.0.html?&tx_maillisttofaq_pi 1[showUid]=12735 ------------------------------------------------------- This SF.Net email is sponsored by the JBoss Inc. Get Certified Today Register for a JBoss Training Course. Free Certification Exam for All Training Attendees Through End of 2005. For more info visit: http://ads.osdn.com/?ad_idv28&alloc_id845&op=click _______________________________________________ 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 Ralph.Grothe at itdz-berlin.de Tue Nov 15 17:03:10 2005 From: Ralph.Grothe at itdz-berlin.de (Ralph.Grothe at itdz-berlin.de) Date: Tue, 15 Nov 2005 17:03:10 +0100 Subject: Broken CPU cause of CRC Errors? Message-ID: Hi, yesterday one CPU of an FSC GP7000F sparc sun4us with Solaris 8 dropped off the perch. However, the machine could be booted from OpenBoot prompt to RL 3 and is now using the only left CPU#4 # prtdiag | tail -8 Failed Units in System Initialization ===================================== CPU#0 FRU: CPU module(CPU#0) No Recent System Faults found ============================= # psrinfo -v Status of processor 4 as of: 11/15/05 16:53:45 Processor has been on-line since 11/15/05 12:35:19. The sparcv9 processor operates at 296 MHz, and has a sparcv9 floating point processor. What puzzles me is that since that reboot all NRPE checks return a CRC error. Apart from the broken CPU nothing has changed, and all NRPE checks of this box worked fine before. Could there be a connection between the CRC errors I now receive as alerts and the non-availability of CPU#0? Or maybe the system hasn't disabled the CPU#0 propperly. To switch it off manually I ran # psradm -f 0 psradm: processor 0: Invalid argument but the system doesn't seem to see it anymore. Regards Ralph ------------------------------------------------------- This SF.Net email is sponsored by the JBoss Inc. Get Certified Today Register for a JBoss Training Course. Free Certification Exam for All Training Attendees Through End of 2005. For more info visit: http://ads.osdn.com/?ad_idv28&alloc_id845&op=click _______________________________________________ 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 nick at nexusproductions.com Tue Nov 15 17:15:23 2005 From: nick at nexusproductions.com (Nick Wales) Date: Tue, 15 Nov 2005 16:15:23 +0000 Subject: UK SMS alerts Message-ID: <437A099B.6010007@nexusproductions.com> Has anyone got a simple solution for sending SMS alerts to mobile phones? In this case as its only me who will be receiving the alerts, I presume messages could be sent to the o2 (my service provider) sms gateway, however I'm yet to work out what the address for this is, if it exists. Any ideas very welcome. Nick ------------------------------------------------------- This SF.Net email is sponsored by the JBoss Inc. Get Certified Today Register for a JBoss Training Course. Free Certification Exam for All Training Attendees Through End of 2005. For more info visit: http://ads.osdn.com/?ad_id=7628&alloc_id=16845&op=click _______________________________________________ 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 Shaun at multimap.com Tue Nov 15 17:21:29 2005 From: Shaun at multimap.com (Shaun Malone) Date: Tue, 15 Nov 2005 16:21:29 -0000 Subject: UK SMS alerts Message-ID: Try sms2email (www.sms2email.com) - who provide an email-to-SMS gateway service. Then have Nagios send notifications to the email address you set up @sms2email.com. Hope this helps, Shaun -----Original Message----- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Nick Wales Sent: 15 November 2005 16:15 To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] UK SMS alerts Has anyone got a simple solution for sending SMS alerts to mobile phones? In this case as its only me who will be receiving the alerts, I presume messages could be sent to the o2 (my service provider) sms gateway, however I'm yet to work out what the address for this is, if it exists. Any ideas very welcome. Nick ------------------------------------------------------- This SF.Net email is sponsored by the JBoss Inc. Get Certified Today Register for a JBoss Training Course. Free Certification Exam for All Training Attendees Through End of 2005. For more info visit: http://ads.osdn.com/?ad_id=7628&alloc_id=16845&op=click _______________________________________________ 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 the JBoss Inc. Get Certified Today Register for a JBoss Training Course. Free Certification Exam for All Training Attendees Through End of 2005. For more info visit: http://ads.osdn.com/?ad_idv28&alloc_id845&op=click _______________________________________________ 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 robmossrm at aol.com Tue Nov 15 17:20:58 2005 From: robmossrm at aol.com (Rob Moss) Date: Tue, 15 Nov 2005 16:20:58 +0000 Subject: Heading off Message-ID: <437A0AEA.3050103@aol.com> Hi All, Well it's been fun the past couple months on the list.. but now it's time to head off.. Leaving my job and winter in London and heading for some time in the sun in Melbourne.. Take care and good luck to you all rob ------------------------------------------------------- This SF.Net email is sponsored by the JBoss Inc. Get Certified Today Register for a JBoss Training Course. Free Certification Exam for All Training Attendees Through End of 2005. For more info visit: http://ads.osdn.com/?ad_id=7628&alloc_id=16845&op=click _______________________________________________ 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 nagios at nagios.org Tue Nov 15 18:01:05 2005 From: nagios at nagios.org (Ethan Galstad) Date: Tue, 15 Nov 2005 11:01:05 -0600 Subject: Rendering the statusmap in a large resolution In-Reply-To: <1132060085.13926.33.camel@britney> References: <1132060085.13926.33.camel@britney> Message-ID: <4379BFF1.3185.141878@nagios.nagios.org> The statusmap image size will only be the minimum dimensions needed to display all hosts. If you're using the user-specified layout you can tweak your host coordinates to get a larger image out, but with the auto-layout methods it doesn't work. On 15 Nov 2005 at 14:08, Christian Joergensen wrote: > Hello, > > I have nagios setup with a lot of hosts (~700). Now i would like to > render the statusmap in a resolution which makes it possible to actually > see the different hosts. I'm thinking maybe 1600x1200. > > But no matter what parameters i supply in the query string part of the > URL for statusmap.cgi, the image wont grow any larger than 768x695. > > Is there a trick? > > I tried tempering with canvas_height|width, max_height|width but it > didn't help :( > > -- > Christian J?rgensen | Codito, Ergo Sum > http://www.razor.dk | > > Ethan Galstad, Nagios Developer --- Email: nagios at nagios.org Website: http://www.nagios.org ------------------------------------------------------- This SF.Net email is sponsored by the JBoss Inc. Get Certified Today Register for a JBoss Training Course. Free Certification Exam for All Training Attendees Through End of 2005. For more info visit: http://ads.osdn.com/?ad_idv28&alloc_id845&op=click _______________________________________________ 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 nuffers at tsainc.com Tue Nov 15 18:25:29 2005 From: nuffers at tsainc.com (nuffers at tsainc.com) Date: Tue, 15 Nov 2005 11:25:29 -0600 Subject: difference between nrpe-nt and nsclient? In-Reply-To: <20051115041526.BC33812623@sc8-sf-spam2.sourceforge.net> References: <20051115041526.BC33812623@sc8-sf-spam2.sourceforge.net> Message-ID: There is also nsclient++ that I'm currently using and is very versatile. (see http://www.nagiosexchange.org/). It uses NRPE and has other beneficial tools. A very good tool that I am looking into expanding to another 150 Windows servers. The only issue that I have is with how performance data is displayed. I don't believe it follows the Nagios standard on metric output so I'm having a problem integrating it with PerfParse (Graphing Performance Data). Steve Nagios 2.4b FedoraCore3 -------------- next part -------------- An HTML attachment was scrubbed... URL: From getbacktome3 at hotmail.com Tue Nov 15 18:26:23 2005 From: getbacktome3 at hotmail.com (HP Geeza) Date: Tue, 15 Nov 2005 17:26:23 +0000 Subject: snmp not working In-Reply-To: <20051115152816.8CB214F415D@desire.netways.de> References: <20051115152816.8CB214F415D@desire.netways.de> Message-ID: Hi All, I was hoping that somebody might be able to help me with a snmp monitoring issue on my nagios box. I am running the following command on the command line on the nagios box: /usr/local/nagios/libexec/./check_snmp > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users- > admin at lists.sourceforge.net] On Behalf Of HP Geeza > Sent: Tuesday, November 15, 2005 11:26 AM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] snmp not working > > Hi All, > > I was hoping that somebody might be able to help me with a snmp monitoring > issue on my nagios box. I am running the following command on the command > line on the nagios box: > > /usr/local/nagios/libexec/./check_snmp lab) > -o .1.3.6.1.4.1.2012.1.1.1.4.2.0 -C public > > and get a value of SNMP "WARNING - 68" back > > however i dont think that this value is correct and as a reult the > check_snmp plugin seems to be obtaining the wrong result as i dont expect > this to be a warning. For example if i run: Well, you haven't told check_snmp if that's OK or CRITICAL so it doesn't know what to report it as, hence WARNING. Remember the OIDs can contain just about any kind of data and check_snmp has no idea what it is you're querying, it just has an SNMP 'address'. You have to add in the status intelligence. > ./check_snmp 10.30.129.30 -o .1.3.6.1.4.1.2012.1.1.1.4.2.0 -C public -wv > 80 > -cv 85 > > i still get a value of "WARNING - 68" I'm not sure what version of check_snmp you're using but -wv and -cv aren't valid command line args, at least with 1.4 and prior. > is there a different check_snmp plugin i could use? or am i just running > the > command wrong? I dont want the service to show up as a warning when the > temperature is 68F...hence the reason for doing -wv 80 -cv 85 You just need to tell check_snmp what to expect for each range. Check_snmp (and a couple other plugins) behave differently than other plugins WRT warning and critical detection as the results of the SNMP query are highly variable. Here are a couple of examples -- To test for a very specific value where anything but that value is bad you might use something like - define command{ command_name check_bgp_peer_state command_line $USER1$/check_snmp -H $HOSTADDRESS$ -o .1.3.6.1.2.1.15.3.1.2.$ARG1$ -s 6 -C $USER3$ -l 'BGP Peer $ARG1$ State' } The above will be OK if the value of that OID is 6 and CRITICAL if it's anything else. To check for a range of values you might use the following - define command{ command_name check_temperature_server_sites command_line $USER1$/check_snmp -H $HOSTADDRESS$ -u 'Degrees Celsius' -o .1.3.6.1.4.1.9.9.13.1.3.1.3.2 -C $USER3$ -w 37:32 -c 99:38 -l ' Temperature is' } The above will result in WARNING if the value of the OID is between 32 and 37 (inclusive), CRITICAL if it's between 38 and 99 (inclusive) and OK for all other values. Hope that helps. Use 'check_snmp --help' for other command line args and their description. -- Marc ------------------------------------------------------- This SF.Net email is sponsored by the JBoss Inc. Get Certified Today Register for a JBoss Training Course. Free Certification Exam for All Training Attendees Through End of 2005. For more info visit: http://ads.osdn.com/?ad_idv28&alloc_id845&op=click _______________________________________________ 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 fabianomartinsrj at gmail.com Tue Nov 15 20:16:13 2005 From: fabianomartinsrj at gmail.com (Fabiano Martins) Date: Tue, 15 Nov 2005 17:16:13 -0200 Subject: Nagios+MySql Message-ID: <437a3404.569086dc.6744.ffff8263@mx.gmail.com> Hi, I would like to know if somebody has seen Nagios server storing information on a MySql data base to be checked latter to other web based applications. Tks, Regards Fabiano -------------- next part -------------- An HTML attachment was scrubbed... URL: From jason-sourceforge at microlnk.net Tue Nov 15 20:12:39 2005 From: jason-sourceforge at microlnk.net (Jason Byrns) Date: Tue, 15 Nov 2005 13:12:39 -0600 Subject: snmp not working In-Reply-To: References: Message-ID: <437A3327.2030504@microlnk.net> HP Geeza wrote: > ./check_snmp 10.30.129.30 -o .1.3.6.1.4.1.2012.1.1.1.4.2.0 -C public -wv > 80 -cv 85 Verify your check_snmp syntax. That plugin requires a "-H" before your host IP address. -- Jason Byrns Production Manager System Administrator http://www.MicroLnk.com/ 402-328-8600 ext. 653 ------------------------------------------------------- This SF.Net email is sponsored by the JBoss Inc. Get Certified Today Register for a JBoss Training Course. Free Certification Exam for All Training Attendees Through End of 2005. For more info visit: http://ads.osdn.com/?ad_id=7628&alloc_id=16845&op=click _______________________________________________ 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 ian.marlier at studentuniverse.com Tue Nov 15 20:10:13 2005 From: ian.marlier at studentuniverse.com (Marlier, Ian) Date: Tue, 15 Nov 2005 14:10:13 -0500 Subject: snmp not working Message-ID: <802441990C18274E9289B19071ED635007062B@sumail03.studentuniverse.com> > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users- > admin at lists.sourceforge.net] On Behalf Of HP Geeza > Sent: Tuesday, November 15, 2005 12:26 PM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] snmp not working > > Hi All, > > I was hoping that somebody might be able to help me with a snmp monitoring > issue on my nagios box. I am running the following command on the command > line on the nagios box: > > /usr/local/nagios/libexec/./check_snmp lab) > -o .1.3.6.1.4.1.2012.1.1.1.4.2.0 -C public > > and get a value of SNMP "WARNING - 68" back > > however i dont think that this value is correct and as a reult the > check_snmp plugin seems to be obtaining the wrong result as i dont expect > this to be a warning. For example if i run: > > ./check_snmp 10.30.129.30 -o .1.3.6.1.4.1.2012.1.1.1.4.2.0 -C public -wv > 80 > -cv 85 > > i still get a value of "WARNING - 68" > > is there a different check_snmp plugin i could use? or am i just running > the > command wrong? I dont want the service to show up as a warning when the > temperature is 68F...hence the reason for doing -wv 80 -cv 85 For a couple of very case-specific monitors, for which the generic plugin wasn't sufficient, I ended up writing quick bash scripts instead. It ended up being much quicker than using the generic one for these specific situations. (and could have been Perl, or PHP command line, or tcsh, or just about anything else that does the check and exits the right way.) Might be worth a look. ------------------------------------------------------- This SF.Net email is sponsored by the JBoss Inc. Get Certified Today Register for a JBoss Training Course. Free Certification Exam for All Training Attendees Through End of 2005. For more info visit: http://ads.osdn.com/?ad_idv28&alloc_id845&op=click _______________________________________________ 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 bohara at gmail.com Tue Nov 15 17:22:51 2005 From: bohara at gmail.com (Ben O'Hara) Date: Tue, 15 Nov 2005 16:22:51 +0000 Subject: UK SMS alerts In-Reply-To: References: Message-ID: <2b36e660511150822p57b8d4e6kb59ecab0cacc9640@mail.gmail.com> Which doesnt work when you loose internet connectivity! We use sms_client with a modem plugged into the PSTN to dial the vodafone SMS gateway and send them directly....sms_client already has the config to send via O2s gateway. Ben On 11/15/05, Shaun Malone wrote: > Try sms2email (www.sms2email.com) - who provide an email-to-SMS gateway > service. Then have Nagios send notifications to the email address you > set up @sms2email.com. > > Hope this helps, > Shaun > > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net > [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Nick > Wales > Sent: 15 November 2005 16:15 > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] UK SMS alerts > > Has anyone got a simple solution for sending SMS alerts to mobile > phones? > > In this case as its only me who will be receiving the alerts, I presume > messages could be sent to the o2 (my service provider) sms gateway, > however I'm yet to work out what the address for this is, if it exists. > > Any ideas very welcome. > > Nick > > > ------------------------------------------------------- > This SF.Net email is sponsored by the JBoss Inc. Get Certified Today > Register for a JBoss Training Course. Free Certification Exam > for All Training Attendees Through End of 2005. For more info visit: > http://ads.osdn.com/?ad_id=7628&alloc_id=16845&op=click > _______________________________________________ > 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 the JBoss Inc. Get Certified Today > Register for a JBoss Training Course. Free Certification Exam > for All Training Attendees Through End of 2005. For more info visit: > http://ads.osdn.com/?ad_idv28&alloc_id845&opclick > _______________________________________________ > 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 > -- "There are 10 types of IT people. Those who understand binary and those who don't." ------------------------------------------------------- This SF.Net email is sponsored by the JBoss Inc. Get Certified Today Register for a JBoss Training Course. Free Certification Exam for All Training Attendees Through End of 2005. For more info visit: http://ads.osdn.com/?ad_idv28&alloc_id845&op=click _______________________________________________ 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 Tue Nov 15 20:22:13 2005 From: marc at ena.com (Marc Powell) Date: Tue, 15 Nov 2005 13:22:13 -0600 Subject: Nagios+MySql Message-ID: > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users- > admin at lists.sourceforge.net] On Behalf Of Fabiano Martins > Sent: Tuesday, November 15, 2005 1:16 PM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Nagios+MySql > > Hi, > > > > I would like to know if somebody has seen Nagios server storing > information on a MySql data base to be checked latter to other web based > applications... Nagios 1.2 and prior had native support for a Mysql backend but it only stored current check status in the database, not prior. Nagios 2.x drops all native DB support but it is available via the nagios-db addon module. Google or search the archive for links and further information. Nagios-db stores current and historical check data in the database I believe. -- Marc ------------------------------------------------------- This SF.Net email is sponsored by the JBoss Inc. Get Certified Today Register for a JBoss Training Course. Free Certification Exam for All Training Attendees Through End of 2005. For more info visit: http://ads.osdn.com/?ad_idv28&alloc_id845&op=click _______________________________________________ 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 getbacktome3 at hotmail.com Tue Nov 15 20:37:15 2005 From: getbacktome3 at hotmail.com (HP Geeza) Date: Tue, 15 Nov 2005 19:37:15 +0000 Subject: snmp not working In-Reply-To: <437A3327.2030504@microlnk.net> References: <437A3327.2030504@microlnk.net> Message-ID: yes there was a -H before the host ip address sorry for the confusion! >From: Jason Byrns >To: nagios-users at lists.sourceforge.net >Subject: Re: [Nagios-users] snmp not working >Date: Tue, 15 Nov 2005 13:12:39 -0600 > >HP Geeza wrote: >>./check_snmp 10.30.129.30 -o .1.3.6.1.4.1.2012.1.1.1.4.2.0 -C public -wv >>80 -cv 85 > >Verify your check_snmp syntax. That plugin requires a "-H" before your >host IP address. > >-- >Jason Byrns >Production Manager >System Administrator >http://www.MicroLnk.com/ >402-328-8600 ext. 653 > > >------------------------------------------------------- >This SF.Net email is sponsored by the JBoss Inc. Get Certified Today >Register for a JBoss Training Course. Free Certification Exam >for All Training Attendees Through End of 2005. For more info visit: >http://ads.osdn.com/?ad_id=7628&alloc_id=16845&op=click >_______________________________________________ >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 _________________________________________________________________ MSN Messenger 7.5 is now out. Download it for FREE here. http://messenger.msn.co.uk ------------------------------------------------------- This SF.Net email is sponsored by the JBoss Inc. Get Certified Today Register for a JBoss Training Course. Free Certification Exam for All Training Attendees Through End of 2005. For more info visit: http://ads.osdn.com/?ad_id=7628&alloc_id=16845&op=click _______________________________________________ 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 ageorgop at gmail.com Tue Nov 15 21:11:27 2005 From: ageorgop at gmail.com (Alex Georgopoulos) Date: Tue, 15 Nov 2005 13:11:27 -0700 Subject: Initial service checks too far into the future Message-ID: Using the rpm from dag's rpm http://dag.wieers.com/packages/nagios/nagios-1.2-2.1.el3.rf.i386.rpmrepository I've noticed a very undesired behavior when changing or adding service checks to a host. Whenever the interval changes it will shedule the next check out for over a year! If I manual have nagios check the service it starts working like it should and the next check comes at the desired interval but the minute I change anything I have to manual re-check it to get the schedule correct again. Here is an example of what I mean Current Status: OK Status Information:OK - HTTP/1.1 302 Redirect - 0.008 second response time Current Attempt:1/3 State Type:HARD Last Check Type:ACTIVE Last Check Time:11-15-2005 12:36:13 Status Data Age: 0d 0h 33m 21s Next Scheduled Active Check: 01-01-2006 13:39:45 Latency:< 1 second Check Duration:< 1 second Last State Change:11-11-2005 16:58:37 Current State Duration: 3d 20h 10m 57s Last Service Notification: N/A Current Notification Number:0 Is This Service Flapping?N/A Percent State Change:N/A In Scheduled Downtime? NO Last Update:11-15-2005 13:09:24 The next scheduled check isn't until Jan!! why is this happeningn # Service definition define service{ use generic-service ; Name of service template to use host_name HOSTNAME service_description Availability - HTTP is_volatile 0 check_period 24x7 max_check_attempts 3 normal_check_interval 15 retry_check_interval 1 contact_groups linux-admins notification_interval 240 notification_period 24x7 notification_options w,u,c,r check_command check_http } All I did was change the normal check interval and reloaded the config. -------------- next part -------------- An HTML attachment was scrubbed... URL: From happy at usg.edu Tue Nov 15 21:21:31 2005 From: happy at usg.edu (Mark Plaksin) Date: Tue, 15 Nov 2005 15:21:31 -0500 Subject: Failover and acknowledgements Message-ID: <87br0l8xx0.fsf@stone.tss.usg.edu> Is there a good way to propagate acknowledgements from your primary Nagios server to your backup? The only thing I can figure out is adding something to the notification code which uses captures the necessary details and gets them to the backup server. I feel like I'm missing something. Folks often leave certain things acknowledged for a long time. When the primary fails, the secondary notifies them about all of the things they've ack'd on the primary. This is less than ideal :) Thanks! ------------------------------------------------------- This SF.Net email is sponsored by the JBoss Inc. Get Certified Today Register for a JBoss Training Course. Free Certification Exam for All Training Attendees Through End of 2005. For more info visit: http://ads.osdn.com/?ad_id=7628&alloc_id=16845&op=click _______________________________________________ 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 brooke.84 at hotmail.com Wed Nov 16 02:42:38 2005 From: brooke.84 at hotmail.com (Brooke Landers) Date: Tue, 15 Nov 2005 17:42:38 -0800 Subject: Missing check_hpjd? Message-ID: Is check_hpjd found in the standard plugins? I have installed the plugins but check_hpjd is missing. I am using freebsd6 and installed nagios and plugins from ports. Any ideas? Brooke _________________________________________________________________ FREE pop-up blocking with the new MSN Toolbar ? get it now! http://toolbar.msn.click-url.com/go/onm00200415ave/direct/01/ ------------------------------------------------------- This SF.Net email is sponsored by the JBoss Inc. Get Certified Today Register for a JBoss Training Course. Free Certification Exam for All Training Attendees Through End of 2005. For more info visit: http://ads.osdn.com/?ad_id=7628&alloc_id=16845&op=click _______________________________________________ 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 Wed Nov 16 03:46:45 2005 From: marc at ena.com (Marc Powell) Date: Tue, 15 Nov 2005 20:46:45 -0600 Subject: Missing check_hpjd? Message-ID: > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users- > admin at lists.sourceforge.net] On Behalf Of Brooke Landers > Sent: Tuesday, November 15, 2005 7:43 PM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Missing check_hpjd? > > Is check_hpjd found in the standard plugins? I have installed the plugins > but check_hpjd is missing. I am using freebsd6 and installed nagios and > plugins from ports. Any ideas? Yes it is but it does have additional requirements -- check_hpjd: - Requires the NET-SNMP package available from http://net-snmp.sourceforge.net The snmpget binary is all that is required. I'm not sure if your package maintainer choose not to include it as a result. You can always browse the CVS repository (http://cvs.sourceforge.net/viewcvs.py/nagiosplug/) or download the plugins (http://sourceforge.net/project/showfiles.php?group_id=29880) to answer these types of questions instead of depending on the list. -- Marc ------------------------------------------------------- This SF.Net email is sponsored by the JBoss Inc. Get Certified Today Register for a JBoss Training Course. Free Certification Exam for All Training Attendees Through End of 2005. For more info visit: http://ads.osdn.com/?ad_idv28&alloc_id845&op=click _______________________________________________ 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 ladams at cloudmark.com Wed Nov 16 10:24:35 2005 From: ladams at cloudmark.com (Lori Adams) Date: Wed, 16 Nov 2005 01:24:35 -0800 Subject: Logged in as ? Message-ID: It appears that authentication is setup correctly with nagios.2.04b and apache 1. I'm able to use authentication to log in, yet in the top corner, it says "Logged in as ?". Has anyone seen this and remember how to fix it? -Lori -------------- next part -------------- An HTML attachment was scrubbed... URL: From gvidos at yahoo.com Wed Nov 16 10:54:30 2005 From: gvidos at yahoo.com (George Vidos) Date: Wed, 16 Nov 2005 10:54:30 +0100 (CET) Subject: snmp not working In-Reply-To: References: Message-ID: <20051116095430.A5FDF4F415D@desire.netways.de> I'm sorry HP Geeza, but you have posted it in the wrong topic... Could someone remove the irrelevant SNMP posts from my original thread? My question still remains, and it is not check_snmp related. Thanks, - George Vidos (gvidos) ----------------------- This thread is located in the archive at this URL: http://www.nagiosexchange.org/nagios-users.34.0.html?&tx_maillisttofaq_pi 1[showUid]=12773 ------------------------------------------------------- This SF.Net email is sponsored by the JBoss Inc. Get Certified Today Register for a JBoss Training Course. Free Certification Exam for All Training Attendees Through End of 2005. For more info visit: http://ads.osdn.com/?ad_idv28&alloc_id845&op=click _______________________________________________ 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 kevin.alford at tmctechnologies.com Wed Nov 16 11:21:48 2005 From: kevin.alford at tmctechnologies.com (Kevin Alford) Date: Wed, 16 Nov 2005 05:21:48 -0500 Subject: No data displayed in webview Message-ID: <49AE1B79542B094CAF5C60333CC8347DF55B60@WVHQMAIL.tmctechnologies.com> I have recently upgraded from Nagios 1.2 to Nagios 2.0. I am running on Fedora Core 3 now, I was running on Fedora Core 2. Nagios starts up fine, and when I look in my nagios.log file, I see the data for each of my clients. When I bring up the web page, No data is being displayed for any of my hosts? The web page comes up fine. I can go to the documents page, but any of the status pages don't display any data. I have never upgraded nagios before. What I did was just keep all my configuration files, and move them into the new location after I installed the new version of nagios. I used the default settings for both. I would appreciate any help provided. Kevin -------------- next part -------------- An HTML attachment was scrubbed... URL: From getbacktome3 at hotmail.com Wed Nov 16 12:21:50 2005 From: getbacktome3 at hotmail.com (HP Geeza) Date: Wed, 16 Nov 2005 11:21:50 +0000 Subject: snmp not working In-Reply-To: References: Message-ID: Hi Thanks for the info, but im affraid it still isn't working :-( FYI Usage: check_snmp -H -o [-w warn_range] [-c crit_range] [-C community] [-s string] [-r regex] [-R regexi] [-t timeout] [-e retries] [-l label] [-u units] [-p port-number] [-d delimiter] [-D output-delimiter] [-m miblist] [-P snmp version] [-L seclevel] [-U secname] [-a authproto] [-A authpasswd] [-X privpasswd] i try running the command: ./check_snmp -H 10.30.129.30 -o .1.3.6.1.4.1.2012.1.1.1.4.2.0 -w 80 -c 85 -C public and still get a value of "SNMP WARNING - 69" back accoring to the command im running should the waring only come up when the -w parameter is met? - i.e 80 and critical when its 85?? Any help would be great >From: "Marc Powell" >To: >Subject: RE: [Nagios-users] snmp not working >Date: Tue, 15 Nov 2005 12:55:15 -0600 > > > > > -----Original Message----- > > From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users- > > admin at lists.sourceforge.net] On Behalf Of HP Geeza > > Sent: Tuesday, November 15, 2005 11:26 AM > > To: nagios-users at lists.sourceforge.net > > Subject: [Nagios-users] snmp not working > > > > Hi All, > > > > I was hoping that somebody might be able to help me with a snmp >monitoring > > issue on my nagios box. I am running the following command on the >command > > line on the nagios box: > > > > /usr/local/nagios/libexec/./check_snmp our > > lab) > > -o .1.3.6.1.4.1.2012.1.1.1.4.2.0 -C public > > > > and get a value of SNMP "WARNING - 68" back > > > > however i dont think that this value is correct and as a reult the > > check_snmp plugin seems to be obtaining the wrong result as i dont >expect > > this to be a warning. For example if i run: > >Well, you haven't told check_snmp if that's OK or CRITICAL so it doesn't >know what to report it as, hence WARNING. Remember the OIDs can contain >just about any kind of data and check_snmp has no idea what it is you're >querying, it just has an SNMP 'address'. You have to add in the status >intelligence. > > > ./check_snmp 10.30.129.30 -o .1.3.6.1.4.1.2012.1.1.1.4.2.0 -C public >-wv > > 80 > > -cv 85 > > > > i still get a value of "WARNING - 68" > >I'm not sure what version of check_snmp you're using but -wv and -cv >aren't valid command line args, at least with 1.4 and prior. > > > is there a different check_snmp plugin i could use? or am i just >running > > the > > command wrong? I dont want the service to show up as a warning when >the > > temperature is 68F...hence the reason for doing -wv 80 -cv 85 > >You just need to tell check_snmp what to expect for each range. >Check_snmp (and a couple other plugins) behave differently than other >plugins WRT warning and critical detection as the results of the SNMP >query are highly variable. Here are a couple of examples -- > >To test for a very specific value where anything but that value is bad >you might use something like - >define command{ > command_name check_bgp_peer_state > command_line $USER1$/check_snmp -H $HOSTADDRESS$ -o >.1.3.6.1.2.1.15.3.1.2.$ARG1$ -s 6 -C $USER3$ -l 'BGP Peer $ARG1$ State' > } > >The above will be OK if the value of that OID is 6 and CRITICAL if it's >anything else. > >To check for a range of values you might use the following - > >define command{ > command_name check_temperature_server_sites > command_line $USER1$/check_snmp -H $HOSTADDRESS$ -u 'Degrees >Celsius' -o .1.3.6.1.4.1.9.9.13.1.3.1.3.2 -C $USER3$ -w 37:32 -c 99:38 >-l ' >Temperature is' > } > >The above will result in WARNING if the value of the OID is between 32 >and 37 (inclusive), CRITICAL if it's between 38 and 99 (inclusive) and >OK for all other values. > >Hope that helps. Use 'check_snmp --help' for other command line args and >their description. > >-- >Marc > > >------------------------------------------------------- >This SF.Net email is sponsored by the JBoss Inc. Get Certified Today >Register for a JBoss Training Course. Free Certification Exam >for All Training Attendees Through End of 2005. For more info visit: >http://ads.osdn.com/?ad_idv28&alloc_id845&op=click >_______________________________________________ >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 _________________________________________________________________ MSN Messenger 7.5 is now out. Download it for FREE here. http://messenger.msn.co.uk ------------------------------------------------------- This SF.Net email is sponsored by the JBoss Inc. Get Certified Today Register for a JBoss Training Course. Free Certification Exam for All Training Attendees Through End of 2005. For more info visit: http://ads.osdn.com/?ad_id=7628&alloc_id=16845&op=click _______________________________________________ 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 joel at transitive.com Wed Nov 16 13:46:20 2005 From: joel at transitive.com (Joel Merrick) Date: Wed, 16 Nov 2005 12:46:20 +0000 Subject: How to monitor NIS Message-ID: <1132145179.15359.5.camel@pawpaw.transitive> Hi guys! For our sins, at the company where I work, we use ypbind and NIS (due to legacy requirements). Does anyone have any onformation that they think could be useful to help me ascertain the status of nis & ypbind etc.. Any help would be greatly appreciated! Thanks, Joel ------------------------------------------------------- This SF.Net email is sponsored by the JBoss Inc. Get Certified Today Register for a JBoss Training Course. Free Certification Exam for All Training Attendees Through End of 2005. For more info visit: http://ads.osdn.com/?ad_id=7628&alloc_id=16845&op=click _______________________________________________ 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 nick at nexusproductions.com Wed Nov 16 13:47:08 2005 From: nick at nexusproductions.com (Nick Wales) Date: Wed, 16 Nov 2005 12:47:08 +0000 Subject: UK SMS alerts In-Reply-To: <2b36e660511150822p57b8d4e6kb59ecab0cacc9640@mail.gmail.com> References: <2b36e660511150822p57b8d4e6kb59ecab0cacc9640@mail.gmail.com> Message-ID: <437B2A4C.6030101@nexusproductions.com> Thanks for the advice, I'm going to try the sms2email initially as I have only a few days until I'm out of the office for a week, then when I'm back from holiday see if I can't get sms_client to work. Fingers crossed the office doesn't melt down in the meantime. Nick Ben O'Hara wrote: >Which doesnt work when you loose internet connectivity! > >We use sms_client with a modem plugged into the PSTN to dial the >vodafone SMS gateway and send them directly....sms_client already has >the config to send via O2s gateway. > >Ben > >On 11/15/05, Shaun Malone wrote: > > >>Try sms2email (www.sms2email.com) - who provide an email-to-SMS gateway >>service. Then have Nagios send notifications to the email address you >>set up @sms2email.com. >> >>Hope this helps, >>Shaun >> >>-----Original Message----- >>From: nagios-users-admin at lists.sourceforge.net >>[mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Nick >>Wales >>Sent: 15 November 2005 16:15 >>To: nagios-users at lists.sourceforge.net >>Subject: [Nagios-users] UK SMS alerts >> >>Has anyone got a simple solution for sending SMS alerts to mobile >>phones? >> >>In this case as its only me who will be receiving the alerts, I presume >>messages could be sent to the o2 (my service provider) sms gateway, >>however I'm yet to work out what the address for this is, if it exists. >> >>Any ideas very welcome. >> >>Nick >> >> >>------------------------------------------------------- >>This SF.Net email is sponsored by the JBoss Inc. Get Certified Today >>Register for a JBoss Training Course. Free Certification Exam >>for All Training Attendees Through End of 2005. For more info visit: >>http://ads.osdn.com/?ad_id=7628&alloc_id=16845&op=click >>_______________________________________________ >>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 the JBoss Inc. Get Certified Today >>Register for a JBoss Training Course. Free Certification Exam >>for All Training Attendees Through End of 2005. For more info visit: >>http://ads.osdn.com/?ad_idv28&alloc_id845&opclick >>_______________________________________________ >>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 >> >> >> > > >-- >"There are 10 types of IT people. Those who understand binary and >those who don't." > > >------------------------------------------------------- >This SF.Net email is sponsored by the JBoss Inc. Get Certified Today >Register for a JBoss Training Course. Free Certification Exam >for All Training Attendees Through End of 2005. For more info visit: >http://ads.osdn.com/?ad_idv28&alloc_id845&op=click >_______________________________________________ >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 the JBoss Inc. Get Certified Today Register for a JBoss Training Course. Free Certification Exam for All Training Attendees Through End of 2005. For more info visit: http://ads.osdn.com/?ad_id=7628&alloc_id=16845&op=click _______________________________________________ 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 bmccann at andmore.com Wed Nov 16 14:33:00 2005 From: bmccann at andmore.com (McCann, Brian) Date: Wed, 16 Nov 2005 08:33:00 -0500 Subject: How to monitor NIS Message-ID: What about parsing the output of ypwhich, and possibly ypcat? --Brian -----Original Message----- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Joel Merrick Sent: Wednesday, November 16, 2005 7:46 To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] How to monitor NIS Hi guys! For our sins, at the company where I work, we use ypbind and NIS (due to legacy requirements). Does anyone have any onformation that they think could be useful to help me ascertain the status of nis & ypbind etc.. Any help would be greatly appreciated! Thanks, Joel ------------------------------------------------------- This SF.Net email is sponsored by the JBoss Inc. Get Certified Today Register for a JBoss Training Course. Free Certification Exam for All Training Attendees Through End of 2005. For more info visit: http://ads.osdn.com/?ad_id=7628&alloc_id=16845&op=click _______________________________________________ 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 the JBoss Inc. Get Certified Today Register for a JBoss Training Course. Free Certification Exam for All Training Attendees Through End of 2005. For more info visit: http://ads.osdn.com/?ad_idv28&alloc_id845&op=click _______________________________________________ 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 miguelfa at eu.skechers.com Wed Nov 16 14:38:49 2005 From: miguelfa at eu.skechers.com (Miguel Faria) Date: Wed, 16 Nov 2005 13:38:49 -0000 Subject: check disks by remote Message-ID: <20051116133850.0CBF4358028@mail.eu.skechers.com> Hi, I am wondering if you could give me a clue to which plugin I need to check disk free space on another UNIX servers. Your help is much appreciated. Thanks, Miguel ------------------------------------------------------- This SF.Net email is sponsored by the JBoss Inc. Get Certified Today Register for a JBoss Training Course. Free Certification Exam for All Training Attendees Through End of 2005. For more info visit: http://ads.osdn.com/?ad_id=7628&alloc_id=16845&op=click _______________________________________________ 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 mramos at co.sapo.pt Wed Nov 16 14:46:23 2005 From: mramos at co.sapo.pt (Marco Ramos) Date: Wed, 16 Nov 2005 13:46:23 +0000 Subject: check disks by remote In-Reply-To: <20051116133850.0CBF4358028@mail.eu.skechers.com> References: <20051116133850.0CBF4358028@mail.eu.skechers.com> Message-ID: <1132148785.3673.20.camel@localhost.localdomain> Hi, I'd recommend that you use SNMP. We use net-snmp agents to check disk space, load average, cpu usage, etc, and works great. regards, Marco Ramos On Wed, 2005-11-16 at 13:38 +0000, Miguel Faria wrote: > Hi, > > I am wondering if you could give me a clue to which plugin I need to check > disk free space on another UNIX servers. Your help is much appreciated. > > Thanks, > > Miguel > > > > > ------------------------------------------------------- > This SF.Net email is sponsored by the JBoss Inc. Get Certified Today > Register for a JBoss Training Course. Free Certification Exam > for All Training Attendees Through End of 2005. For more info visit: > http://ads.osdn.com/?ad_id=7628&alloc_id=16845&op=click > _______________________________________________ > 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 the JBoss Inc. Get Certified Today Register for a JBoss Training Course. Free Certification Exam for All Training Attendees Through End of 2005. For more info visit: http://ads.osdn.com/?ad_id=7628&alloc_id=16845&op=click _______________________________________________ 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 gottfried.hufnagel at onb.ac.at Wed Nov 16 15:04:37 2005 From: gottfried.hufnagel at onb.ac.at (gottfried hufnagel) Date: Wed, 16 Nov 2005 15:04:37 +0100 Subject: check disks by remote In-Reply-To: <20051116133850.0CBF4358028@mail.eu.skechers.com> References: <20051116133850.0CBF4358028@mail.eu.skechers.com> Message-ID: <200511161504.40568.gottfried.hufnagel@onb.ac.at> you could use check_by_ssh or check_nrpe. greetinx! gottfried Am Mittwoch 16 November 2005 14:38 schrieb Miguel Faria: > Hi, > > I am wondering if you could give me a clue to which plugin I need to check > disk free space on another UNIX servers. Your help is much appreciated. > > Thanks, > > Miguel > > > > > ------------------------------------------------------- > This SF.Net email is sponsored by the JBoss Inc. Get Certified Today > Register for a JBoss Training Course. Free Certification Exam > for All Training Attendees Through End of 2005. For more info visit: > http://ads.osdn.com/?ad_id=7628&alloc_id=16845&op=click > _______________________________________________ > 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 > -- dieses email wurde zu 100 % aus wiederverwerteten bits gefertigt. -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 189 bytes Desc: not available URL: From joseph.petrucci at ddiworld.com Wed Nov 16 15:10:46 2005 From: joseph.petrucci at ddiworld.com (Joe Petrucci) Date: Wed, 16 Nov 2005 09:10:46 -0500 Subject: check disks by remote In-Reply-To: <200511161504.40568.gottfried.hufnagel@onb.ac.at> References: <20051116133850.0CBF4358028@mail.eu.skechers.com> <200511161504.40568.gottfried.hufnagel@onb.ac.at> Message-ID: <1132150246.28585.4.camel@localhost.localdomain> If you can put plugins on the monitored end use check_by_ssh with check_disk on the client end. or write a plugin with an RSA connection in ssh to run the following commanr ssh _host_ -l nagios -e "df -k" and parse the output in your plugin. On Wed, 2005-11-16 at 15:04 +0100, gottfried hufnagel wrote: > you could use check_by_ssh or check_nrpe. > > > greetinx! > gottfried > > Am Mittwoch 16 November 2005 14:38 schrieb Miguel Faria: > > Hi, > > > > I am wondering if you could give me a clue to which plugin I need to check > > disk free space on another UNIX servers. Your help is much appreciated. > > > > Thanks, > > > > Miguel > > > > > > > > > > ------------------------------------------------------- > > This SF.Net email is sponsored by the JBoss Inc. Get Certified Today > > Register for a JBoss Training Course. Free Certification Exam > > for All Training Attendees Through End of 2005. For more info visit: > > http://ads.osdn.com/?ad_id=7628&alloc_id=16845&op=click > > _______________________________________________ > > 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 the JBoss Inc. Get Certified Today Register for a JBoss Training Course. Free Certification Exam for All Training Attendees Through End of 2005. For more info visit: http://ads.osdn.com/?ad_id=7628&alloc_id=16845&op=click _______________________________________________ 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 miguelfa at eu.skechers.com Wed Nov 16 15:15:09 2005 From: miguelfa at eu.skechers.com (Miguel Faria) Date: Wed, 16 Nov 2005 14:15:09 -0000 Subject: check disks by remote In-Reply-To: <200511161504.40568.gottfried.hufnagel@onb.ac.at> References: <200511161504.40568.gottfried.hufnagel@onb.ac.at> Message-ID: <20051116141510.E310F358022@mail.eu.skechers.com> Thanks guys, I will try them out and let you know. -----Original Message----- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of gottfried hufnagel Sent: 16 November 2005 14:05 To: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] check disks by remote you could use check_by_ssh or check_nrpe. greetinx! gottfried Am Mittwoch 16 November 2005 14:38 schrieb Miguel Faria: > Hi, > > I am wondering if you could give me a clue to which plugin I need to check > disk free space on another UNIX servers. Your help is much appreciated. > > Thanks, > > Miguel > > > > > ------------------------------------------------------- > This SF.Net email is sponsored by the JBoss Inc. Get Certified Today > Register for a JBoss Training Course. Free Certification Exam > for All Training Attendees Through End of 2005. For more info visit: > http://ads.osdn.com/?ad_id=7628&alloc_id=16845&op=click > _______________________________________________ > 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 > -- dieses email wurde zu 100 % aus wiederverwerteten bits gefertigt. ------------------------------------------------------- This SF.Net email is sponsored by the JBoss Inc. Get Certified Today Register for a JBoss Training Course. Free Certification Exam for All Training Attendees Through End of 2005. For more info visit: http://ads.osdn.com/?ad_id=7628&alloc_id=16845&op=click _______________________________________________ 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 benny at bennyvision.com Wed Nov 16 15:15:12 2005 From: benny at bennyvision.com (C. Bensend) Date: Wed, 16 Nov 2005 08:15:12 -0600 (CST) Subject: How to monitor NIS In-Reply-To: <1132145179.15359.5.camel@pawpaw.transitive> References: <1132145179.15359.5.camel@pawpaw.transitive> Message-ID: <63531.63.227.74.41.1132150512.squirrel@webmail.stinkweasel.net> > For our sins, at the company where I work, we use ypbind and NIS (due to > legacy requirements). > > Does anyone have any onformation that they think could be useful to help > me ascertain the status of nis & ypbind etc.. I use check_rpc to query for the 'ypserv' service, works like a champ. Benny -- "Young lady, I yelled at you because that paperwork looked like it had been done by a drunk four-year-old." -- Dr. Bob Kelso, "Scrubs" ------------------------------------------------------- This SF.Net email is sponsored by the JBoss Inc. Get Certified Today Register for a JBoss Training Course. Free Certification Exam for All Training Attendees Through End of 2005. For more info visit: http://ads.osdn.com/?ad_id=7628&alloc_id=16845&op=click _______________________________________________ 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 ian.marlier at studentuniverse.com Wed Nov 16 15:20:20 2005 From: ian.marlier at studentuniverse.com (Ian Marlier) Date: Wed, 16 Nov 2005 09:20:20 -0500 Subject: check disks by remote In-Reply-To: <20051116133850.0CBF4358028@mail.eu.skechers.com> References: <20051116133850.0CBF4358028@mail.eu.skechers.com> Message-ID: On 11/16/05 8:38 AM, "Miguel Faria" wrote: > Hi, > > I am wondering if you could give me a clue to which plugin I need to check > disk free space on another UNIX servers. Your help is much appreciated. SNMP -- I don't know that the check_snmp plugin does this cleanly, because it means grabbing a couple of different OIDs and matching them, but writing a plugin of your own isn't all that hard. It's got the advantage of being cross-platform, too. The same plugin can monitor a Windows box, a Mac box, or a *nix machine. ------------------------------------------------------- This SF.Net email is sponsored by the JBoss Inc. Get Certified Today Register for a JBoss Training Course. Free Certification Exam for All Training Attendees Through End of 2005. For more info visit: http://ads.osdn.com/?ad_id=7628&alloc_id=16845&op=click _______________________________________________ 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 georg.borgstrom at forsakringskassan.se Wed Nov 16 15:40:21 2005 From: georg.borgstrom at forsakringskassan.se (=?iso-8859-1?Q?Borgstr=F6m_Georg?=) Date: Wed, 16 Nov 2005 15:40:21 +0100 Subject: Service notification only on hosts in a specific host group Message-ID: Hi, I have a few services that are checked on every host. The service are defined as follow: define service{ service_description NTP servicegroups NTP use generic-service check_command check_ntp host_name * } Today I get notifications by mail when NTP goes down on any host. Now I want to add a notification to my pager when NTP goes down, but only on hosts in a specific host group. Is this possible? I have tried to RTFM but so far I can't see how to do it. Any help is greatly appreciated. /Georg ------------------------------------------------------- This SF.Net email is sponsored by the JBoss Inc. Get Certified Today Register for a JBoss Training Course. Free Certification Exam for All Training Attendees Through End of 2005. For more info visit: http://ads.osdn.com/?ad_idv28&alloc_id845&op=click _______________________________________________ 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 sghosh at sghosh.org Wed Nov 16 16:03:05 2005 From: sghosh at sghosh.org (Subhendu Ghosh) Date: Wed, 16 Nov 2005 10:03:05 -0500 (EST) Subject: snmp not working In-Reply-To: References: Message-ID: On Wed, 16 Nov 2005, HP Geeza wrote: > Hi > > Thanks for the info, but im affraid it still isn't working :-( > > FYI > Usage: check_snmp -H -o [-w warn_range] [-c crit_range] > [-C community] [-s string] [-r regex] [-R regexi] > [-t timeout] [-e retries] > [-l label] [-u units] [-p port-number] [-d delimiter] > [-D output-delimiter] [-m miblist] [-P snmp version] > [-L seclevel] [-U secname] [-a authproto] [-A authpasswd] > [-X privpasswd] > > i try running the command: ./check_snmp -H 10.30.129.30 -o > .1.3.6.1.4.1.2012.1.1.1.4.2.0 -w 80 -c 85 -C public > > and still get a value of "SNMP WARNING - 69" back > > accoring to the command im running should the waring only come up when the -w > parameter is met? - i.e 80 and critical when its 85?? > > Any help would be great > Add a "-m:" Also please post the result of tagging on a "-v" option -sg >> From: "Marc Powell" >> To: >> Subject: RE: [Nagios-users] snmp not working >> Date: Tue, 15 Nov 2005 12:55:15 -0600 >> >> >> >> > -----Original Message----- >> > From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users- >> > admin at lists.sourceforge.net] On Behalf Of HP Geeza >> > Sent: Tuesday, November 15, 2005 11:26 AM >> > To: nagios-users at lists.sourceforge.net >> > Subject: [Nagios-users] snmp not working >> > >> > Hi All, >> > >> > I was hoping that somebody might be able to help me with a snmp >> monitoring >> > issue on my nagios box. I am running the following command on the >> command >> > line on the nagios box: >> > >> > /usr/local/nagios/libexec/./check_snmp > our >> > lab) >> > -o .1.3.6.1.4.1.2012.1.1.1.4.2.0 -C public >> > >> > and get a value of SNMP "WARNING - 68" back >> > >> > however i dont think that this value is correct and as a reult the >> > check_snmp plugin seems to be obtaining the wrong result as i dont >> expect >> > this to be a warning. For example if i run: >> >> Well, you haven't told check_snmp if that's OK or CRITICAL so it doesn't >> know what to report it as, hence WARNING. Remember the OIDs can contain >> just about any kind of data and check_snmp has no idea what it is you're >> querying, it just has an SNMP 'address'. You have to add in the status >> intelligence. >> >> > ./check_snmp 10.30.129.30 -o .1.3.6.1.4.1.2012.1.1.1.4.2.0 -C public >> -wv >> > 80 >> > -cv 85 >> > >> > i still get a value of "WARNING - 68" >> >> I'm not sure what version of check_snmp you're using but -wv and -cv >> aren't valid command line args, at least with 1.4 and prior. >> >> > is there a different check_snmp plugin i could use? or am i just >> running >> > the >> > command wrong? I dont want the service to show up as a warning when >> the >> > temperature is 68F...hence the reason for doing -wv 80 -cv 85 >> >> You just need to tell check_snmp what to expect for each range. >> Check_snmp (and a couple other plugins) behave differently than other >> plugins WRT warning and critical detection as the results of the SNMP >> query are highly variable. Here are a couple of examples -- >> >> To test for a very specific value where anything but that value is bad >> you might use something like - >> define command{ >> command_name check_bgp_peer_state >> command_line $USER1$/check_snmp -H $HOSTADDRESS$ -o >> .1.3.6.1.2.1.15.3.1.2.$ARG1$ -s 6 -C $USER3$ -l 'BGP Peer $ARG1$ State' >> } >> >> The above will be OK if the value of that OID is 6 and CRITICAL if it's >> anything else. >> >> To check for a range of values you might use the following - >> >> define command{ >> command_name check_temperature_server_sites >> command_line $USER1$/check_snmp -H $HOSTADDRESS$ -u 'Degrees >> Celsius' -o .1.3.6.1.4.1.9.9.13.1.3.1.3.2 -C $USER3$ -w 37:32 -c 99:38 >> -l ' >> Temperature is' >> } >> >> The above will result in WARNING if the value of the OID is between 32 >> and 37 (inclusive), CRITICAL if it's between 38 and 99 (inclusive) and >> OK for all other values. >> >> Hope that helps. Use 'check_snmp --help' for other command line args and >> their description. >> >> -- >> Marc >> >> >> ------------------------------------------------------- >> This SF.Net email is sponsored by the JBoss Inc. Get Certified Today >> Register for a JBoss Training Course. Free Certification Exam >> for All Training Attendees Through End of 2005. For more info visit: >> http://ads.osdn.com/?ad_idv28&alloc_id845&op=click >> _______________________________________________ >> 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 > > _________________________________________________________________ > MSN Messenger 7.5 is now out. Download it for FREE here. > http://messenger.msn.co.uk > > > > ------------------------------------------------------- > This SF.Net email is sponsored by the JBoss Inc. Get Certified Today > Register for a JBoss Training Course. Free Certification Exam > for All Training Attendees Through End of 2005. For more info visit: > http://ads.osdn.com/?ad_id=7628&alloc_id=16845&op=click > _______________________________________________ > 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 the JBoss Inc. Get Certified Today Register for a JBoss Training Course. Free Certification Exam for All Training Attendees Through End of 2005. For more info visit: http://ads.osdn.com/?ad_id=7628&alloc_id=16845&op=click _______________________________________________ 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 getbacktome3 at hotmail.com Wed Nov 16 16:08:56 2005 From: getbacktome3 at hotmail.com (HP Geeza) Date: Wed, 16 Nov 2005 15:08:56 +0000 Subject: snmp not working In-Reply-To: References: Message-ID: Hi Subhendu, Appologies for the silly question but what do you mean add a -m? when i run: ./check_snmp -H 10.30.129.30 -o .1.3.6.1.4.1.2012.1.1.1.4.2.0 -w 80 -c 85 -C public -v -m i get ./check_snmp: option requires an argument -- m how do i find out what the miblist is???? WHEN I RUN: ./check_snmp -H 10.30.129.30 -o .1.3.6.1.4.1.2012.1.1.1.4.2.0 -w 80 -c 85 -C public -v i get: /usr/bin/snmpget -t 1 -r 5 -m ALL -v 1 -c public 10.30.129.30:161 .1.3.6.1.4.1.2012.1.1.1.4.2.0 SNMPv2-SMI::enterprises.2012.1.1.1.4.2.0 = INTEGER: 69 SNMP WARNING - 69 NOTE if it is of any use, there is a line space between SNMP WARNING - 69 and INTEGER 69 >From: Subhendu Ghosh >To: HP Geeza >CC: nagios-users at lists.sourceforge.net >Subject: RE: [Nagios-users] snmp not working >Date: Wed, 16 Nov 2005 10:03:05 -0500 (EST) > >On Wed, 16 Nov 2005, HP Geeza wrote: > >>Hi >> >>Thanks for the info, but im affraid it still isn't working :-( >> >>FYI >>Usage: check_snmp -H -o [-w warn_range] [-c crit_range] >> [-C community] [-s string] [-r regex] [-R regexi] >> [-t timeout] [-e retries] >> [-l label] [-u units] [-p port-number] [-d delimiter] >> [-D output-delimiter] [-m miblist] [-P snmp version] >> [-L seclevel] [-U secname] [-a authproto] [-A authpasswd] >> [-X privpasswd] >> >>i try running the command: ./check_snmp -H 10.30.129.30 -o >>.1.3.6.1.4.1.2012.1.1.1.4.2.0 -w 80 -c 85 -C public >> >>and still get a value of "SNMP WARNING - 69" back >> >>accoring to the command im running should the waring only come up when the >>-w parameter is met? - i.e 80 and critical when its 85?? >> >>Any help would be great >> > >Add a "-m:" > >Also please post the result of tagging on a "-v" option > >-sg > > >>>From: "Marc Powell" >>>To: >>>Subject: RE: [Nagios-users] snmp not working >>>Date: Tue, 15 Nov 2005 12:55:15 -0600 >>> >>> >>> >>> > -----Original Message----- >>> > From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users- >>> > admin at lists.sourceforge.net] On Behalf Of HP Geeza >>> > Sent: Tuesday, November 15, 2005 11:26 AM >>> > To: nagios-users at lists.sourceforge.net >>> > Subject: [Nagios-users] snmp not working >>> > >>> > Hi All, >>> > >>> > I was hoping that somebody might be able to help me with a snmp >>>monitoring >>> > issue on my nagios box. I am running the following command on the >>>command >>> > line on the nagios box: >>> > >>> > /usr/local/nagios/libexec/./check_snmp >>our >>> > lab) >>> > -o .1.3.6.1.4.1.2012.1.1.1.4.2.0 -C public >>> > >>> > and get a value of SNMP "WARNING - 68" back >>> > >>> > however i dont think that this value is correct and as a reult the >>> > check_snmp plugin seems to be obtaining the wrong result as i dont >>>expect >>> > this to be a warning. For example if i run: >>> >>>Well, you haven't told check_snmp if that's OK or CRITICAL so it doesn't >>>know what to report it as, hence WARNING. Remember the OIDs can contain >>>just about any kind of data and check_snmp has no idea what it is you're >>>querying, it just has an SNMP 'address'. You have to add in the status >>>intelligence. >>> >>> > ./check_snmp 10.30.129.30 -o .1.3.6.1.4.1.2012.1.1.1.4.2.0 -C public >>>-wv >>> > 80 >>> > -cv 85 >>> > >>> > i still get a value of "WARNING - 68" >>> >>>I'm not sure what version of check_snmp you're using but -wv and -cv >>>aren't valid command line args, at least with 1.4 and prior. >>> >>> > is there a different check_snmp plugin i could use? or am i just >>>running >>> > the >>> > command wrong? I dont want the service to show up as a warning when >>>the >>> > temperature is 68F...hence the reason for doing -wv 80 -cv 85 >>> >>>You just need to tell check_snmp what to expect for each range. >>>Check_snmp (and a couple other plugins) behave differently than other >>>plugins WRT warning and critical detection as the results of the SNMP >>>query are highly variable. Here are a couple of examples -- >>> >>>To test for a very specific value where anything but that value is bad >>>you might use something like - >>>define command{ >>> command_name check_bgp_peer_state >>> command_line $USER1$/check_snmp -H $HOSTADDRESS$ -o >>>.1.3.6.1.2.1.15.3.1.2.$ARG1$ -s 6 -C $USER3$ -l 'BGP Peer $ARG1$ State' >>> } >>> >>>The above will be OK if the value of that OID is 6 and CRITICAL if it's >>>anything else. >>> >>>To check for a range of values you might use the following - >>> >>>define command{ >>> command_name check_temperature_server_sites >>> command_line $USER1$/check_snmp -H $HOSTADDRESS$ -u 'Degrees >>>Celsius' -o .1.3.6.1.4.1.9.9.13.1.3.1.3.2 -C $USER3$ -w 37:32 -c 99:38 >>>-l ' >>>Temperature is' >>> } >>> >>>The above will result in WARNING if the value of the OID is between 32 >>>and 37 (inclusive), CRITICAL if it's between 38 and 99 (inclusive) and >>>OK for all other values. >>> >>>Hope that helps. Use 'check_snmp --help' for other command line args and >>>their description. >>> >>>-- >>>Marc >>> >>> >>>------------------------------------------------------- >>>This SF.Net email is sponsored by the JBoss Inc. Get Certified Today >>>Register for a JBoss Training Course. Free Certification Exam >>>for All Training Attendees Through End of 2005. For more info visit: >>>http://ads.osdn.com/?ad_idv28&alloc_id845&op=click >>>_______________________________________________ >>>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 >> >>_________________________________________________________________ >>MSN Messenger 7.5 is now out. Download it for FREE here. >>http://messenger.msn.co.uk >> >> >> >>------------------------------------------------------- >>This SF.Net email is sponsored by the JBoss Inc. Get Certified Today >>Register for a JBoss Training Course. Free Certification Exam >>for All Training Attendees Through End of 2005. For more info visit: >>http://ads.osdn.com/?ad_id=7628&alloc_id=16845&op=click >>_______________________________________________ >>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 >> > >-- > _________________________________________________________________ Be the first to hear what's new at MSN - sign up to our free newsletters! http://www.msn.co.uk/newsletters ------------------------------------------------------- This SF.Net email is sponsored by the JBoss Inc. Get Certified Today Register for a JBoss Training Course. Free Certification Exam for All Training Attendees Through End of 2005. For more info visit: http://ads.osdn.com/?ad_id=7628&alloc_id=16845&op=click _______________________________________________ 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 sghosh at sghosh.org Wed Nov 16 17:03:01 2005 From: sghosh at sghosh.org (Subhendu Ghosh) Date: Wed, 16 Nov 2005 11:03:01 -0500 (EST) Subject: snmp not working In-Reply-To: References: Message-ID: On Wed, 16 Nov 2005, HP Geeza wrote: > Hi Subhendu, > > Appologies for the silly question but what do you mean add a -m? > Add a "-m:" The colon after the -m option indicates an empty miblist. You don't need a miblist if you are providing a numeric OID. A normal miblist is a colon separated list of directories containing mib files. It is used by the snmpget utility to translate to a numeric OID. e.g. system.sysDescr.0 ==> .1.3.6.1.2.1.1.1.0 Also please post the result of the following: snmpget -v 1 -c public 10.30.129.30 .1.3.6.1.4.1.2012.1.1.1.4.2.0 If you see data other than SNMPv2-SMI::enterprises.2012.1.1.1.4.2.0 = INTEGER: 69 then you may have some local mib files that don't have the correct syntax. The WARNING is then the result of output seen on STDERR where it was not expected. > when i run: > ./check_snmp -H 10.30.129.30 -o .1.3.6.1.4.1.2012.1.1.1.4.2.0 -w 80 -c 85 -C > public -v -m > i get ./check_snmp: option requires an argument -- m > > how do i find out what the miblist is???? > > WHEN I RUN: > ./check_snmp -H 10.30.129.30 -o .1.3.6.1.4.1.2012.1.1.1.4.2.0 -w 80 -c 85 -C > public -v > > i get: > /usr/bin/snmpget -t 1 -r 5 -m ALL -v 1 -c public 10.30.129.30:161 > .1.3.6.1.4.1.2012.1.1.1.4.2.0 > SNMPv2-SMI::enterprises.2012.1.1.1.4.2.0 = INTEGER: 69 > > SNMP WARNING - 69 > > > NOTE if it is of any use, there is a line space between SNMP WARNING - 69 and > INTEGER 69 > > > >> From: Subhendu Ghosh >> To: HP Geeza >> CC: nagios-users at lists.sourceforge.net >> Subject: RE: [Nagios-users] snmp not working >> Date: Wed, 16 Nov 2005 10:03:05 -0500 (EST) >> >> On Wed, 16 Nov 2005, HP Geeza wrote: >> >>> Hi >>> >>> Thanks for the info, but im affraid it still isn't working :-( >>> >>> FYI >>> Usage: check_snmp -H -o [-w warn_range] [-c crit_range] >>> [-C community] [-s string] [-r regex] [-R regexi] >>> [-t timeout] [-e retries] >>> [-l label] [-u units] [-p port-number] [-d delimiter] >>> [-D output-delimiter] [-m miblist] [-P snmp version] >>> [-L seclevel] [-U secname] [-a authproto] [-A authpasswd] >>> [-X privpasswd] >>> >>> i try running the command: ./check_snmp -H 10.30.129.30 -o >>> .1.3.6.1.4.1.2012.1.1.1.4.2.0 -w 80 -c 85 -C public >>> >>> and still get a value of "SNMP WARNING - 69" back >>> >>> accoring to the command im running should the waring only come up when the >>> -w parameter is met? - i.e 80 and critical when its 85?? >>> >>> Any help would be great >>> >> >> Add a "-m:" >> >> Also please post the result of tagging on a "-v" option >> >> -sg >> >> >>>> From: "Marc Powell" >>>> To: >>>> Subject: RE: [Nagios-users] snmp not working >>>> Date: Tue, 15 Nov 2005 12:55:15 -0600 >>>> >>>> >>>> >>>> > -----Original Message----- >>>> > From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users- >>>> > admin at lists.sourceforge.net] On Behalf Of HP Geeza >>>> > Sent: Tuesday, November 15, 2005 11:26 AM >>>> > To: nagios-users at lists.sourceforge.net >>>> > Subject: [Nagios-users] snmp not working >>>> > >>>> > Hi All, >>>> > >>>> > I was hoping that somebody might be able to help me with a snmp >>>> monitoring >>>> > issue on my nagios box. I am running the following command on the >>>> command >>>> > line on the nagios box: >>>> > >>>> > /usr/local/nagios/libexec/./check_snmp >>> our >>>> > lab) >>>> > -o .1.3.6.1.4.1.2012.1.1.1.4.2.0 -C public >>>> > >>>> > and get a value of SNMP "WARNING - 68" back >>>> > >>>> > however i dont think that this value is correct and as a reult the >>>> > check_snmp plugin seems to be obtaining the wrong result as i dont >>>> expect >>>> > this to be a warning. For example if i run: >>>> >>>> Well, you haven't told check_snmp if that's OK or CRITICAL so it doesn't >>>> know what to report it as, hence WARNING. Remember the OIDs can contain >>>> just about any kind of data and check_snmp has no idea what it is you're >>>> querying, it just has an SNMP 'address'. You have to add in the status >>>> intelligence. >>>> >>>> > ./check_snmp 10.30.129.30 -o .1.3.6.1.4.1.2012.1.1.1.4.2.0 -C public >>>> -wv >>>> > 80 >>>> > -cv 85 >>>> > >>>> > i still get a value of "WARNING - 68" >>>> >>>> I'm not sure what version of check_snmp you're using but -wv and -cv >>>> aren't valid command line args, at least with 1.4 and prior. >>>> >>>> > is there a different check_snmp plugin i could use? or am i just >>>> running >>>> > the >>>> > command wrong? I dont want the service to show up as a warning when >>>> the >>>> > temperature is 68F...hence the reason for doing -wv 80 -cv 85 >>>> >>>> You just need to tell check_snmp what to expect for each range. >>>> Check_snmp (and a couple other plugins) behave differently than other >>>> plugins WRT warning and critical detection as the results of the SNMP >>>> query are highly variable. Here are a couple of examples -- >>>> >>>> To test for a very specific value where anything but that value is bad >>>> you might use something like - >>>> define command{ >>>> command_name check_bgp_peer_state >>>> command_line $USER1$/check_snmp -H $HOSTADDRESS$ -o >>>> .1.3.6.1.2.1.15.3.1.2.$ARG1$ -s 6 -C $USER3$ -l 'BGP Peer $ARG1$ State' >>>> } >>>> >>>> The above will be OK if the value of that OID is 6 and CRITICAL if it's >>>> anything else. >>>> >>>> To check for a range of values you might use the following - >>>> >>>> define command{ >>>> command_name check_temperature_server_sites >>>> command_line $USER1$/check_snmp -H $HOSTADDRESS$ -u 'Degrees >>>> Celsius' -o .1.3.6.1.4.1.9.9.13.1.3.1.3.2 -C $USER3$ -w 37:32 -c 99:38 >>>> -l ' >>>> Temperature is' >>>> } >>>> >>>> The above will result in WARNING if the value of the OID is between 32 >>>> and 37 (inclusive), CRITICAL if it's between 38 and 99 (inclusive) and >>>> OK for all other values. >>>> >>>> Hope that helps. Use 'check_snmp --help' for other command line args and >>>> their description. >>>> >>>> -- >>>> Marc >>>> >>>> >>>> ------------------------------------------------------- >>>> This SF.Net email is sponsored by the JBoss Inc. Get Certified Today >>>> Register for a JBoss Training Course. Free Certification Exam >>>> for All Training Attendees Through End of 2005. For more info visit: >>>> http://ads.osdn.com/?ad_idv28&alloc_id845&op=click >>>> _______________________________________________ >>>> 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 >>> >>> _________________________________________________________________ >>> MSN Messenger 7.5 is now out. Download it for FREE here. >>> http://messenger.msn.co.uk >>> >>> >>> >>> ------------------------------------------------------- >>> This SF.Net email is sponsored by the JBoss Inc. Get Certified Today >>> Register for a JBoss Training Course. Free Certification Exam >>> for All Training Attendees Through End of 2005. For more info visit: >>> http://ads.osdn.com/?ad_id=7628&alloc_id=16845&op=click >>> _______________________________________________ >>> 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 >>> >> >> -- >> > > _________________________________________________________________ > Be the first to hear what's new at MSN - sign up to our free newsletters! > http://www.msn.co.uk/newsletters > -- ------------------------------------------------------- This SF.Net email is sponsored by the JBoss Inc. Get Certified Today Register for a JBoss Training Course. Free Certification Exam for All Training Attendees Through End of 2005. For more info visit: http://ads.osdn.com/?ad_id=7628&alloc_id=16845&op=click _______________________________________________ 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 getbacktome3 at hotmail.com Wed Nov 16 17:08:46 2005 From: getbacktome3 at hotmail.com (HP Geeza) Date: Wed, 16 Nov 2005 16:08:46 +0000 Subject: snmp not working In-Reply-To: References: Message-ID: the result of running: snmpget -v 1 -c public 10.30.129.30 .1.3.6.1.4.1.2012.1.1.1.4.2.0 is: SNMPv2-SMI::enterprises.2012.1.1.1.4.2.0 = INTEGER: 68 >From: Subhendu Ghosh >To: HP Geeza >CC: nagios-users at lists.sourceforge.net >Subject: RE: [Nagios-users] snmp not working >Date: Wed, 16 Nov 2005 11:03:01 -0500 (EST) > >On Wed, 16 Nov 2005, HP Geeza wrote: > >>Hi Subhendu, >> >>Appologies for the silly question but what do you mean add a -m? >> > >Add a "-m:" >The colon after the -m option indicates an empty miblist. You don't need a >miblist if you are providing a numeric OID. >A normal miblist is a colon separated list of directories containing mib >files. It is used by the snmpget utility to translate to a numeric OID. >e.g. system.sysDescr.0 ==> .1.3.6.1.2.1.1.1.0 > >Also please post the result of the following: >snmpget -v 1 -c public 10.30.129.30 .1.3.6.1.4.1.2012.1.1.1.4.2.0 > >If you see data other than >SNMPv2-SMI::enterprises.2012.1.1.1.4.2.0 = INTEGER: 69 > >then you may have some local mib files that don't have the correct syntax. > >The WARNING is then the result of output seen on STDERR where it was not >expected. > >>when i run: >>./check_snmp -H 10.30.129.30 -o .1.3.6.1.4.1.2012.1.1.1.4.2.0 -w 80 -c 85 >>-C public -v -m >>i get ./check_snmp: option requires an argument -- m >> >>how do i find out what the miblist is???? >> >>WHEN I RUN: >>./check_snmp -H 10.30.129.30 -o .1.3.6.1.4.1.2012.1.1.1.4.2.0 -w 80 -c 85 >>-C public -v >> >>i get: >>/usr/bin/snmpget -t 1 -r 5 -m ALL -v 1 -c public 10.30.129.30:161 >>.1.3.6.1.4.1.2012.1.1.1.4.2.0 >>SNMPv2-SMI::enterprises.2012.1.1.1.4.2.0 = INTEGER: 69 >> >>SNMP WARNING - 69 >> >> >>NOTE if it is of any use, there is a line space between SNMP WARNING - 69 >>and INTEGER 69 >> >> >> >>>From: Subhendu Ghosh >>>To: HP Geeza >>>CC: nagios-users at lists.sourceforge.net >>>Subject: RE: [Nagios-users] snmp not working >>>Date: Wed, 16 Nov 2005 10:03:05 -0500 (EST) >>> >>>On Wed, 16 Nov 2005, HP Geeza wrote: >>> >>>>Hi >>>> >>>>Thanks for the info, but im affraid it still isn't working :-( >>>> >>>>FYI >>>>Usage: check_snmp -H -o [-w warn_range] [-c >>>>crit_range] >>>> [-C community] [-s string] [-r regex] [-R regexi] >>>> [-t timeout] [-e retries] >>>> [-l label] [-u units] [-p port-number] [-d delimiter] >>>> [-D output-delimiter] [-m miblist] [-P snmp version] >>>> [-L seclevel] [-U secname] [-a authproto] [-A >>>>authpasswd] >>>> [-X privpasswd] >>>> >>>>i try running the command: ./check_snmp -H 10.30.129.30 -o >>>>.1.3.6.1.4.1.2012.1.1.1.4.2.0 -w 80 -c 85 -C public >>>> >>>>and still get a value of "SNMP WARNING - 69" back >>>> >>>>accoring to the command im running should the waring only come up when >>>>the -w parameter is met? - i.e 80 and critical when its 85?? >>>> >>>>Any help would be great >>>> >>> >>>Add a "-m:" >>> >>>Also please post the result of tagging on a "-v" option >>> >>>-sg >>> >>> >>>>>From: "Marc Powell" >>>>>To: >>>>>Subject: RE: [Nagios-users] snmp not working >>>>>Date: Tue, 15 Nov 2005 12:55:15 -0600 >>>>> >>>>> >>>>> >>>>> > -----Original Message----- >>>>> > From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users- >>>>> > admin at lists.sourceforge.net] On Behalf Of HP Geeza >>>>> > Sent: Tuesday, November 15, 2005 11:26 AM >>>>> > To: nagios-users at lists.sourceforge.net >>>>> > Subject: [Nagios-users] snmp not working >>>>> > >>>>> > Hi All, >>>>> > >>>>> > I was hoping that somebody might be able to help me with a snmp >>>>>monitoring >>>>> > issue on my nagios box. I am running the following command on the >>>>>command >>>>> > line on the nagios box: >>>>> > >>>>> > /usr/local/nagios/libexec/./check_snmp >>>>our >>>>> > lab) >>>>> > -o .1.3.6.1.4.1.2012.1.1.1.4.2.0 -C public >>>>> > >>>>> > and get a value of SNMP "WARNING - 68" back >>>>> > >>>>> > however i dont think that this value is correct and as a reult the >>>>> > check_snmp plugin seems to be obtaining the wrong result as i dont >>>>>expect >>>>> > this to be a warning. For example if i run: >>>>> >>>>>Well, you haven't told check_snmp if that's OK or CRITICAL so it >>>>>doesn't >>>>>know what to report it as, hence WARNING. Remember the OIDs can contain >>>>>just about any kind of data and check_snmp has no idea what it is >>>>>you're >>>>>querying, it just has an SNMP 'address'. You have to add in the status >>>>>intelligence. >>>>> >>>>> > ./check_snmp 10.30.129.30 -o .1.3.6.1.4.1.2012.1.1.1.4.2.0 -C public >>>>>-wv >>>>> > 80 >>>>> > -cv 85 >>>>> > >>>>> > i still get a value of "WARNING - 68" >>>>> >>>>>I'm not sure what version of check_snmp you're using but -wv and -cv >>>>>aren't valid command line args, at least with 1.4 and prior. >>>>> >>>>> > is there a different check_snmp plugin i could use? or am i just >>>>>running >>>>> > the >>>>> > command wrong? I dont want the service to show up as a warning when >>>>>the >>>>> > temperature is 68F...hence the reason for doing -wv 80 -cv 85 >>>>> >>>>>You just need to tell check_snmp what to expect for each range. >>>>>Check_snmp (and a couple other plugins) behave differently than other >>>>>plugins WRT warning and critical detection as the results of the SNMP >>>>>query are highly variable. Here are a couple of examples -- >>>>> >>>>>To test for a very specific value where anything but that value is bad >>>>>you might use something like - >>>>>define command{ >>>>> command_name check_bgp_peer_state >>>>> command_line $USER1$/check_snmp -H $HOSTADDRESS$ -o >>>>>.1.3.6.1.2.1.15.3.1.2.$ARG1$ -s 6 -C $USER3$ -l 'BGP Peer $ARG1$ State' >>>>> } >>>>> >>>>>The above will be OK if the value of that OID is 6 and CRITICAL if it's >>>>>anything else. >>>>> >>>>>To check for a range of values you might use the following - >>>>> >>>>>define command{ >>>>> command_name check_temperature_server_sites >>>>> command_line $USER1$/check_snmp -H $HOSTADDRESS$ -u >>>>>'Degrees >>>>>Celsius' -o .1.3.6.1.4.1.9.9.13.1.3.1.3.2 -C $USER3$ -w 37:32 -c 99:38 >>>>>-l ' >>>>>Temperature is' >>>>> } >>>>> >>>>>The above will result in WARNING if the value of the OID is between 32 >>>>>and 37 (inclusive), CRITICAL if it's between 38 and 99 (inclusive) and >>>>>OK for all other values. >>>>> >>>>>Hope that helps. Use 'check_snmp --help' for other command line args >>>>>and >>>>>their description. >>>>> >>>>>-- >>>>>Marc >>>>> >>>>> >>>>>------------------------------------------------------- >>>>>This SF.Net email is sponsored by the JBoss Inc. Get Certified Today >>>>>Register for a JBoss Training Course. Free Certification Exam >>>>>for All Training Attendees Through End of 2005. For more info visit: >>>>>http://ads.osdn.com/?ad_idv28&alloc_id845&op=click >>>>>_______________________________________________ >>>>>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 >>>> >>>>_________________________________________________________________ >>>>MSN Messenger 7.5 is now out. Download it for FREE here. >>>>http://messenger.msn.co.uk >>>> >>>> >>>> >>>>------------------------------------------------------- >>>>This SF.Net email is sponsored by the JBoss Inc. Get Certified Today >>>>Register for a JBoss Training Course. Free Certification Exam >>>>for All Training Attendees Through End of 2005. For more info visit: >>>>http://ads.osdn.com/?ad_id=7628&alloc_id=16845&op=click >>>>_______________________________________________ >>>>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 >>>> >>> >>>-- >>> >> >>_________________________________________________________________ >>Be the first to hear what's new at MSN - sign up to our free newsletters! >>http://www.msn.co.uk/newsletters >> > >-- > _________________________________________________________________ MSN Messenger 7.5 is now out. Download it for FREE here. http://messenger.msn.co.uk ------------------------------------------------------- This SF.Net email is sponsored by the JBoss Inc. Get Certified Today Register for a JBoss Training Course. Free Certification Exam for All Training Attendees Through End of 2005. For more info visit: http://ads.osdn.com/?ad_id=7628&alloc_id=16845&op=click _______________________________________________ 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 Deborah.Martin at Kognitio.com Wed Nov 16 17:14:42 2005 From: Deborah.Martin at Kognitio.com (Deborah Martin) Date: Wed, 16 Nov 2005 16:14:42 -0000 Subject: test email Message-ID: yes - i have a number of times since joining the list in September! regards, deborah -----Original Message----- From: Subhendu Ghosh [mailto:sghosh at sghosh.org] Sent: 16 November 2005 16:11 To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] test email Q. Is anyone other than me getting these back for the list on posting? -- -sg ---------- Forwarded message ---------- Date: 16 Nov 2005 16:04:35 -0000 From: junk To: sghosh at sghosh.org Subject: Re: RE: [Nagios-users] snmp not working Hey You got the wrong address but maybe you should check out http://www.GMAIL.COM.AU ------------------------------------------------------- This SF.Net email is sponsored by the JBoss Inc. Get Certified Today Register for a JBoss Training Course. Free Certification Exam for All Training Attendees Through End of 2005. For more info visit: http://ads.osdn.com/?ad_id=7628&alloc_id=16845&op=click _______________________________________________ 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 email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. Any unauthorised distribution or copying is strictly prohibited. Whilst Kognitio Limited takes steps to prevent the transmission of viruses via e-mail, we can not guarantee that any email or attachment is free from computer viruses and you are strongly advised to undertake your own anti-virus precautions. Kognitio grants no warranties regarding performance, use or quality of any e-mail or attachment and undertakes no liability for loss or damage, howsoever caused. *********************************************************************** ------------------------------------------------------- This SF.Net email is sponsored by the JBoss Inc. Get Certified Today Register for a JBoss Training Course. Free Certification Exam for All Training Attendees Through End of 2005. For more info visit: http://ads.osdn.com/?ad_id=7628&alloc_id=16845&op=click _______________________________________________ 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 sghosh at sghosh.org Wed Nov 16 17:10:19 2005 From: sghosh at sghosh.org (Subhendu Ghosh) Date: Wed, 16 Nov 2005 11:10:19 -0500 (EST) Subject: snmp not working In-Reply-To: References: Message-ID: Ok - what version of check_snmp? On Wed, 16 Nov 2005, HP Geeza wrote: > the result of running: > > snmpget -v 1 -c public 10.30.129.30 .1.3.6.1.4.1.2012.1.1.1.4.2.0 > > is: > > SNMPv2-SMI::enterprises.2012.1.1.1.4.2.0 = INTEGER: 68 > > > > >> From: Subhendu Ghosh >> To: HP Geeza >> CC: nagios-users at lists.sourceforge.net >> Subject: RE: [Nagios-users] snmp not working >> Date: Wed, 16 Nov 2005 11:03:01 -0500 (EST) >> >> On Wed, 16 Nov 2005, HP Geeza wrote: >> >>> Hi Subhendu, >>> >>> Appologies for the silly question but what do you mean add a -m? >>> >> >> Add a "-m:" >> The colon after the -m option indicates an empty miblist. You don't need a >> miblist if you are providing a numeric OID. >> A normal miblist is a colon separated list of directories containing mib >> files. It is used by the snmpget utility to translate to a numeric OID. >> e.g. system.sysDescr.0 ==> .1.3.6.1.2.1.1.1.0 >> >> Also please post the result of the following: >> snmpget -v 1 -c public 10.30.129.30 .1.3.6.1.4.1.2012.1.1.1.4.2.0 >> >> If you see data other than >> SNMPv2-SMI::enterprises.2012.1.1.1.4.2.0 = INTEGER: 69 >> >> then you may have some local mib files that don't have the correct syntax. >> >> The WARNING is then the result of output seen on STDERR where it was not >> expected. >> >>> when i run: >>> ./check_snmp -H 10.30.129.30 -o .1.3.6.1.4.1.2012.1.1.1.4.2.0 -w 80 -c 85 >>> -C public -v -m >>> i get ./check_snmp: option requires an argument -- m >>> >>> how do i find out what the miblist is???? >>> >>> WHEN I RUN: >>> ./check_snmp -H 10.30.129.30 -o .1.3.6.1.4.1.2012.1.1.1.4.2.0 -w 80 -c 85 >>> -C public -v >>> >>> i get: >>> /usr/bin/snmpget -t 1 -r 5 -m ALL -v 1 -c public 10.30.129.30:161 >>> .1.3.6.1.4.1.2012.1.1.1.4.2.0 >>> SNMPv2-SMI::enterprises.2012.1.1.1.4.2.0 = INTEGER: 69 >>> >>> SNMP WARNING - 69 >>> >>> >>> NOTE if it is of any use, there is a line space between SNMP WARNING - 69 >>> and INTEGER 69 >>> >>> >>> >>>> From: Subhendu Ghosh >>>> To: HP Geeza >>>> CC: nagios-users at lists.sourceforge.net >>>> Subject: RE: [Nagios-users] snmp not working >>>> Date: Wed, 16 Nov 2005 10:03:05 -0500 (EST) >>>> >>>> On Wed, 16 Nov 2005, HP Geeza wrote: >>>> >>>>> Hi >>>>> >>>>> Thanks for the info, but im affraid it still isn't working :-( >>>>> >>>>> FYI >>>>> Usage: check_snmp -H -o [-w warn_range] [-c >>>>> crit_range] >>>>> [-C community] [-s string] [-r regex] [-R regexi] >>>>> [-t timeout] [-e retries] >>>>> [-l label] [-u units] [-p port-number] [-d delimiter] >>>>> [-D output-delimiter] [-m miblist] [-P snmp version] >>>>> [-L seclevel] [-U secname] [-a authproto] [-A >>>>> authpasswd] >>>>> [-X privpasswd] >>>>> >>>>> i try running the command: ./check_snmp -H 10.30.129.30 -o >>>>> .1.3.6.1.4.1.2012.1.1.1.4.2.0 -w 80 -c 85 -C public >>>>> >>>>> and still get a value of "SNMP WARNING - 69" back >>>>> >>>>> accoring to the command im running should the waring only come up when >>>>> the -w parameter is met? - i.e 80 and critical when its 85?? >>>>> >>>>> Any help would be great >>>>> >>>> >>>> Add a "-m:" >>>> >>>> Also please post the result of tagging on a "-v" option >>>> >>>> -sg >>>> >>>> >>>>>> From: "Marc Powell" >>>>>> To: >>>>>> Subject: RE: [Nagios-users] snmp not working >>>>>> Date: Tue, 15 Nov 2005 12:55:15 -0600 >>>>>> >>>>>> >>>>>> >>>>>> > -----Original Message----- >>>>>> > From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users- >>>>>> > admin at lists.sourceforge.net] On Behalf Of HP Geeza >>>>>> > Sent: Tuesday, November 15, 2005 11:26 AM >>>>>> > To: nagios-users at lists.sourceforge.net >>>>>> > Subject: [Nagios-users] snmp not working >>>>>> > >>>>>> > Hi All, >>>>>> > >>>>>> > I was hoping that somebody might be able to help me with a snmp >>>>>> monitoring >>>>>> > issue on my nagios box. I am running the following command on the >>>>>> command >>>>>> > line on the nagios box: >>>>>> > >>>>>> > /usr/local/nagios/libexec/./check_snmp >>>>> our >>>>>> > lab) >>>>>> > -o .1.3.6.1.4.1.2012.1.1.1.4.2.0 -C public >>>>>> > >>>>>> > and get a value of SNMP "WARNING - 68" back >>>>>> > >>>>>> > however i dont think that this value is correct and as a reult the >>>>>> > check_snmp plugin seems to be obtaining the wrong result as i dont >>>>>> expect >>>>>> > this to be a warning. For example if i run: >>>>>> >>>>>> Well, you haven't told check_snmp if that's OK or CRITICAL so it >>>>>> doesn't >>>>>> know what to report it as, hence WARNING. Remember the OIDs can contain >>>>>> just about any kind of data and check_snmp has no idea what it is >>>>>> you're >>>>>> querying, it just has an SNMP 'address'. You have to add in the status >>>>>> intelligence. >>>>>> >>>>>> > ./check_snmp 10.30.129.30 -o .1.3.6.1.4.1.2012.1.1.1.4.2.0 -C public >>>>>> -wv >>>>>> > 80 >>>>>> > -cv 85 >>>>>> > >>>>>> > i still get a value of "WARNING - 68" >>>>>> >>>>>> I'm not sure what version of check_snmp you're using but -wv and -cv >>>>>> aren't valid command line args, at least with 1.4 and prior. >>>>>> >>>>>> > is there a different check_snmp plugin i could use? or am i just >>>>>> running >>>>>> > the >>>>>> > command wrong? I dont want the service to show up as a warning when >>>>>> the >>>>>> > temperature is 68F...hence the reason for doing -wv 80 -cv 85 >>>>>> >>>>>> You just need to tell check_snmp what to expect for each range. >>>>>> Check_snmp (and a couple other plugins) behave differently than other >>>>>> plugins WRT warning and critical detection as the results of the SNMP >>>>>> query are highly variable. Here are a couple of examples -- >>>>>> >>>>>> To test for a very specific value where anything but that value is bad >>>>>> you might use something like - >>>>>> define command{ >>>>>> command_name check_bgp_peer_state >>>>>> command_line $USER1$/check_snmp -H $HOSTADDRESS$ -o >>>>>> .1.3.6.1.2.1.15.3.1.2.$ARG1$ -s 6 -C $USER3$ -l 'BGP Peer $ARG1$ State' >>>>>> } >>>>>> >>>>>> The above will be OK if the value of that OID is 6 and CRITICAL if it's >>>>>> anything else. >>>>>> >>>>>> To check for a range of values you might use the following - >>>>>> >>>>>> define command{ >>>>>> command_name check_temperature_server_sites >>>>>> command_line $USER1$/check_snmp -H $HOSTADDRESS$ -u 'Degrees >>>>>> Celsius' -o .1.3.6.1.4.1.9.9.13.1.3.1.3.2 -C $USER3$ -w 37:32 -c 99:38 >>>>>> -l ' >>>>>> Temperature is' >>>>>> } >>>>>> >>>>>> The above will result in WARNING if the value of the OID is between 32 >>>>>> and 37 (inclusive), CRITICAL if it's between 38 and 99 (inclusive) and >>>>>> OK for all other values. >>>>>> >>>>>> Hope that helps. Use 'check_snmp --help' for other command line args >>>>>> and >>>>>> their description. >>>>>> >>>>>> -- >>>>>> Marc >>>>>> >>>>>> >>>>>> ------------------------------------------------------- >>>>>> This SF.Net email is sponsored by the JBoss Inc. Get Certified Today >>>>>> Register for a JBoss Training Course. Free Certification Exam >>>>>> for All Training Attendees Through End of 2005. For more info visit: >>>>>> http://ads.osdn.com/?ad_idv28&alloc_id845&op=click >>>>>> _______________________________________________ >>>>>> 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 >>>>> >>>>> _________________________________________________________________ >>>>> MSN Messenger 7.5 is now out. Download it for FREE here. >>>>> http://messenger.msn.co.uk >>>>> >>>>> >>>>> >>>>> ------------------------------------------------------- >>>>> This SF.Net email is sponsored by the JBoss Inc. Get Certified Today >>>>> Register for a JBoss Training Course. Free Certification Exam >>>>> for All Training Attendees Through End of 2005. For more info visit: >>>>> http://ads.osdn.com/?ad_id=7628&alloc_id=16845&op=click >>>>> _______________________________________________ >>>>> 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 >>>>> >>>> >>>> -- >>>> >>> >>> _________________________________________________________________ >>> Be the first to hear what's new at MSN - sign up to our free newsletters! >>> http://www.msn.co.uk/newsletters >>> >> >> -- >> > > _________________________________________________________________ > MSN Messenger 7.5 is now out. Download it for FREE here. > http://messenger.msn.co.uk > -- ------------------------------------------------------- This SF.Net email is sponsored by the JBoss Inc. Get Certified Today Register for a JBoss Training Course. Free Certification Exam for All Training Attendees Through End of 2005. For more info visit: http://ads.osdn.com/?ad_id=7628&alloc_id=16845&op=click _______________________________________________ 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 sghosh at sghosh.org Wed Nov 16 17:11:02 2005 From: sghosh at sghosh.org (Subhendu Ghosh) Date: Wed, 16 Nov 2005 11:11:02 -0500 (EST) Subject: test email Message-ID: Q. Is anyone other than me getting these back for the list on posting? -- -sg ---------- Forwarded message ---------- Date: 16 Nov 2005 16:04:35 -0000 From: junk To: sghosh at sghosh.org Subject: Re: RE: [Nagios-users] snmp not working Hey You got the wrong address but maybe you should check out http://www.GMAIL.COM.AU ------------------------------------------------------- This SF.Net email is sponsored by the JBoss Inc. Get Certified Today Register for a JBoss Training Course. Free Certification Exam for All Training Attendees Through End of 2005. For more info visit: http://ads.osdn.com/?ad_id=7628&alloc_id=16845&op=click _______________________________________________ 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 getbacktome3 at hotmail.com Wed Nov 16 17:12:45 2005 From: getbacktome3 at hotmail.com (HP Geeza) Date: Wed, 16 Nov 2005 16:12:45 +0000 Subject: snmp not working In-Reply-To: References: Message-ID: how do i find out which version of the check_snmp plugin im using? - sorry for yet another silly question!!! - im having one of those daysssssss >From: Subhendu Ghosh >To: HP Geeza >CC: nagios-users at lists.sourceforge.net >Subject: RE: [Nagios-users] snmp not working >Date: Wed, 16 Nov 2005 11:10:19 -0500 (EST) > > >Ok - what version of check_snmp? > >On Wed, 16 Nov 2005, HP Geeza wrote: > >>the result of running: >> >>snmpget -v 1 -c public 10.30.129.30 .1.3.6.1.4.1.2012.1.1.1.4.2.0 >> >>is: >> >>SNMPv2-SMI::enterprises.2012.1.1.1.4.2.0 = INTEGER: 68 >> >> >> >> >>>From: Subhendu Ghosh >>>To: HP Geeza >>>CC: nagios-users at lists.sourceforge.net >>>Subject: RE: [Nagios-users] snmp not working >>>Date: Wed, 16 Nov 2005 11:03:01 -0500 (EST) >>> >>>On Wed, 16 Nov 2005, HP Geeza wrote: >>> >>>>Hi Subhendu, >>>> >>>>Appologies for the silly question but what do you mean add a -m? >>>> >>> >>>Add a "-m:" >>>The colon after the -m option indicates an empty miblist. You don't need >>>a miblist if you are providing a numeric OID. >>>A normal miblist is a colon separated list of directories containing mib >>>files. It is used by the snmpget utility to translate to a numeric OID. >>>e.g. system.sysDescr.0 ==> .1.3.6.1.2.1.1.1.0 >>> >>>Also please post the result of the following: >>>snmpget -v 1 -c public 10.30.129.30 .1.3.6.1.4.1.2012.1.1.1.4.2.0 >>> >>>If you see data other than >>>SNMPv2-SMI::enterprises.2012.1.1.1.4.2.0 = INTEGER: 69 >>> >>>then you may have some local mib files that don't have the correct >>>syntax. >>> >>>The WARNING is then the result of output seen on STDERR where it was not >>>expected. >>> >>>>when i run: >>>>./check_snmp -H 10.30.129.30 -o .1.3.6.1.4.1.2012.1.1.1.4.2.0 -w 80 -c >>>>85 -C public -v -m >>>>i get ./check_snmp: option requires an argument -- m >>>> >>>>how do i find out what the miblist is???? >>>> >>>>WHEN I RUN: >>>>./check_snmp -H 10.30.129.30 -o .1.3.6.1.4.1.2012.1.1.1.4.2.0 -w 80 -c >>>>85 -C public -v >>>> >>>>i get: >>>>/usr/bin/snmpget -t 1 -r 5 -m ALL -v 1 -c public 10.30.129.30:161 >>>>.1.3.6.1.4.1.2012.1.1.1.4.2.0 >>>>SNMPv2-SMI::enterprises.2012.1.1.1.4.2.0 = INTEGER: 69 >>>> >>>>SNMP WARNING - 69 >>>> >>>> >>>>NOTE if it is of any use, there is a line space between SNMP WARNING - >>>>69 and INTEGER 69 >>>> >>>> >>>> >>>>>From: Subhendu Ghosh >>>>>To: HP Geeza >>>>>CC: nagios-users at lists.sourceforge.net >>>>>Subject: RE: [Nagios-users] snmp not working >>>>>Date: Wed, 16 Nov 2005 10:03:05 -0500 (EST) >>>>> >>>>>On Wed, 16 Nov 2005, HP Geeza wrote: >>>>> >>>>>>Hi >>>>>> >>>>>>Thanks for the info, but im affraid it still isn't working :-( >>>>>> >>>>>>FYI >>>>>>Usage: check_snmp -H -o [-w warn_range] [-c >>>>>>crit_range] >>>>>> [-C community] [-s string] [-r regex] [-R regexi] >>>>>> [-t timeout] [-e retries] >>>>>> [-l label] [-u units] [-p port-number] [-d delimiter] >>>>>> [-D output-delimiter] [-m miblist] [-P snmp version] >>>>>> [-L seclevel] [-U secname] [-a authproto] [-A >>>>>>authpasswd] >>>>>> [-X privpasswd] >>>>>> >>>>>>i try running the command: ./check_snmp -H 10.30.129.30 -o >>>>>>.1.3.6.1.4.1.2012.1.1.1.4.2.0 -w 80 -c 85 -C public >>>>>> >>>>>>and still get a value of "SNMP WARNING - 69" back >>>>>> >>>>>>accoring to the command im running should the waring only come up when >>>>>>the -w parameter is met? - i.e 80 and critical when its 85?? >>>>>> >>>>>>Any help would be great >>>>>> >>>>> >>>>>Add a "-m:" >>>>> >>>>>Also please post the result of tagging on a "-v" option >>>>> >>>>>-sg >>>>> >>>>> >>>>>>>From: "Marc Powell" >>>>>>>To: >>>>>>>Subject: RE: [Nagios-users] snmp not working >>>>>>>Date: Tue, 15 Nov 2005 12:55:15 -0600 >>>>>>> >>>>>>> >>>>>>> >>>>>>> > -----Original Message----- >>>>>>> > From: nagios-users-admin at lists.sourceforge.net >>>>>>>[mailto:nagios-users- >>>>>>> > admin at lists.sourceforge.net] On Behalf Of HP Geeza >>>>>>> > Sent: Tuesday, November 15, 2005 11:26 AM >>>>>>> > To: nagios-users at lists.sourceforge.net >>>>>>> > Subject: [Nagios-users] snmp not working >>>>>>> > >>>>>>> > Hi All, >>>>>>> > >>>>>>> > I was hoping that somebody might be able to help me with a snmp >>>>>>>monitoring >>>>>>> > issue on my nagios box. I am running the following command on the >>>>>>>command >>>>>>> > line on the nagios box: >>>>>>> > >>>>>>> > /usr/local/nagios/libexec/./check_snmp >>>>>>in >>>>>>>our >>>>>>> > lab) >>>>>>> > -o .1.3.6.1.4.1.2012.1.1.1.4.2.0 -C public >>>>>>> > >>>>>>> > and get a value of SNMP "WARNING - 68" back >>>>>>> > >>>>>>> > however i dont think that this value is correct and as a reult the >>>>>>> > check_snmp plugin seems to be obtaining the wrong result as i dont >>>>>>>expect >>>>>>> > this to be a warning. For example if i run: >>>>>>> >>>>>>>Well, you haven't told check_snmp if that's OK or CRITICAL so it >>>>>>>doesn't >>>>>>>know what to report it as, hence WARNING. Remember the OIDs can >>>>>>>contain >>>>>>>just about any kind of data and check_snmp has no idea what it is >>>>>>>you're >>>>>>>querying, it just has an SNMP 'address'. You have to add in the >>>>>>>status >>>>>>>intelligence. >>>>>>> >>>>>>> > ./check_snmp 10.30.129.30 -o .1.3.6.1.4.1.2012.1.1.1.4.2.0 -C >>>>>>>public >>>>>>>-wv >>>>>>> > 80 >>>>>>> > -cv 85 >>>>>>> > >>>>>>> > i still get a value of "WARNING - 68" >>>>>>> >>>>>>>I'm not sure what version of check_snmp you're using but -wv and -cv >>>>>>>aren't valid command line args, at least with 1.4 and prior. >>>>>>> >>>>>>> > is there a different check_snmp plugin i could use? or am i just >>>>>>>running >>>>>>> > the >>>>>>> > command wrong? I dont want the service to show up as a warning >>>>>>>when >>>>>>>the >>>>>>> > temperature is 68F...hence the reason for doing -wv 80 -cv 85 >>>>>>> >>>>>>>You just need to tell check_snmp what to expect for each range. >>>>>>>Check_snmp (and a couple other plugins) behave differently than other >>>>>>>plugins WRT warning and critical detection as the results of the SNMP >>>>>>>query are highly variable. Here are a couple of examples -- >>>>>>> >>>>>>>To test for a very specific value where anything but that value is >>>>>>>bad >>>>>>>you might use something like - >>>>>>>define command{ >>>>>>> command_name check_bgp_peer_state >>>>>>> command_line $USER1$/check_snmp -H $HOSTADDRESS$ -o >>>>>>>.1.3.6.1.2.1.15.3.1.2.$ARG1$ -s 6 -C $USER3$ -l 'BGP Peer $ARG1$ >>>>>>>State' >>>>>>> } >>>>>>> >>>>>>>The above will be OK if the value of that OID is 6 and CRITICAL if >>>>>>>it's >>>>>>>anything else. >>>>>>> >>>>>>>To check for a range of values you might use the following - >>>>>>> >>>>>>>define command{ >>>>>>> command_name check_temperature_server_sites >>>>>>> command_line $USER1$/check_snmp -H $HOSTADDRESS$ -u >>>>>>>'Degrees >>>>>>>Celsius' -o .1.3.6.1.4.1.9.9.13.1.3.1.3.2 -C $USER3$ -w 37:32 -c >>>>>>>99:38 >>>>>>>-l ' >>>>>>>Temperature is' >>>>>>> } >>>>>>> >>>>>>>The above will result in WARNING if the value of the OID is between >>>>>>>32 >>>>>>>and 37 (inclusive), CRITICAL if it's between 38 and 99 (inclusive) >>>>>>>and >>>>>>>OK for all other values. >>>>>>> >>>>>>>Hope that helps. Use 'check_snmp --help' for other command line args >>>>>>>and >>>>>>>their description. >>>>>>> >>>>>>>-- >>>>>>>Marc >>>>>>> >>>>>>> >>>>>>>------------------------------------------------------- >>>>>>>This SF.Net email is sponsored by the JBoss Inc. Get Certified Today >>>>>>>Register for a JBoss Training Course. Free Certification Exam >>>>>>>for All Training Attendees Through End of 2005. For more info visit: >>>>>>>http://ads.osdn.com/?ad_idv28&alloc_id845&op=click >>>>>>>_______________________________________________ >>>>>>>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 >>>>>> >>>>>>_________________________________________________________________ >>>>>>MSN Messenger 7.5 is now out. Download it for FREE here. >>>>>>http://messenger.msn.co.uk >>>>>> >>>>>> >>>>>> >>>>>>------------------------------------------------------- >>>>>>This SF.Net email is sponsored by the JBoss Inc. Get Certified Today >>>>>>Register for a JBoss Training Course. Free Certification Exam >>>>>>for All Training Attendees Through End of 2005. For more info visit: >>>>>>http://ads.osdn.com/?ad_id=7628&alloc_id=16845&op=click >>>>>>_______________________________________________ >>>>>>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 >>>>>> >>>>> >>>>>-- >>>>> >>>> >>>>_________________________________________________________________ >>>>Be the first to hear what's new at MSN - sign up to our free >>>>newsletters! http://www.msn.co.uk/newsletters >>>> >>> >>>-- >>> >> >>_________________________________________________________________ >>MSN Messenger 7.5 is now out. Download it for FREE here. >>http://messenger.msn.co.uk >> > >-- > _________________________________________________________________ MSN Messenger 7.5 is now out. Download it for FREE here. http://messenger.msn.co.uk ------------------------------------------------------- This SF.Net email is sponsored by the JBoss Inc. Get Certified Today Register for a JBoss Training Course. Free Certification Exam for All Training Attendees Through End of 2005. For more info visit: http://ads.osdn.com/?ad_id=7628&alloc_id=16845&op=click _______________________________________________ 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 eford at nexusenergy.com Wed Nov 16 17:12:23 2005 From: eford at nexusenergy.com (Edward Ford) Date: Wed, 16 Nov 2005 11:12:23 -0500 Subject: test email In-Reply-To: References: Message-ID: <005a01c5eac8$8747b6f0$8d00a8c0@energyguide.com> Yes -----Original Message----- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Subhendu Ghosh Sent: Wednesday, November 16, 2005 11:11 AM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] test email Q. Is anyone other than me getting these back for the list on posting? -- -sg ---------- Forwarded message ---------- Date: 16 Nov 2005 16:04:35 -0000 From: junk To: sghosh at sghosh.org Subject: Re: RE: [Nagios-users] snmp not working Hey You got the wrong address but maybe you should check out http://www.GMAIL.COM.AU ------------------------------------------------------- This SF.Net email is sponsored by the JBoss Inc. Get Certified Today Register for a JBoss Training Course. Free Certification Exam for All Training Attendees Through End of 2005. For more info visit: http://ads.osdn.com/?ad_id=7628&alloc_id=16845&op=click _______________________________________________ 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 the JBoss Inc. Get Certified Today Register for a JBoss Training Course. Free Certification Exam for All Training Attendees Through End of 2005. For more info visit: http://ads.osdn.com/?ad_id=7628&alloc_id=16845&op=click _______________________________________________ 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 andrew at profitability.net Wed Nov 16 17:15:57 2005 From: andrew at profitability.net (Andrew Cruse) Date: Wed, 16 Nov 2005 11:15:57 -0500 Subject: test email In-Reply-To: References: Message-ID: nagios-users-admin at lists.sourceforge.net wrote: > Q. > > Is anyone other than me getting these back for the list on posting? YES! Can we unsubscribe that guy? > > > ------------------------------------------------------- > This SF.Net email is sponsored by the JBoss Inc. Get Certified Today > Register for a JBoss Training Course. Free Certification Exam > for All Training Attendees Through End of 2005. For more info visit: > http://ads.osdn.com/?ad_id=7628&alloc_id=16845&op=click > _______________________________________________ > 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 the JBoss Inc. Get Certified Today Register for a JBoss Training Course. Free Certification Exam for All Training Attendees Through End of 2005. For more info visit: http://ads.osdn.com/?ad_id=7628&alloc_id=16845&op=click _______________________________________________ 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 getbacktome3 at hotmail.com Wed Nov 16 17:18:43 2005 From: getbacktome3 at hotmail.com (HP Geeza) Date: Wed, 16 Nov 2005 16:18:43 +0000 Subject: snmp not working In-Reply-To: References: Message-ID: ./check_snmp -V returns: check_snmp (nagios-plugins 1.4) 1.53 >From: Subhendu Ghosh >To: HP Geeza >CC: nagios-users at lists.sourceforge.net >Subject: RE: [Nagios-users] snmp not working >Date: Wed, 16 Nov 2005 11:17:22 -0500 (EST) > > >All plugins -V provides version info. > >On Wed, 16 Nov 2005, HP Geeza wrote: > >>how do i find out which version of the check_snmp plugin im using? - sorry >>for yet another silly question!!! - im having one of those daysssssss >> >> >>>From: Subhendu Ghosh >>>To: HP Geeza >>>CC: nagios-users at lists.sourceforge.net >>>Subject: RE: [Nagios-users] snmp not working >>>Date: Wed, 16 Nov 2005 11:10:19 -0500 (EST) >>> >>> >>>Ok - what version of check_snmp? >>> >>>On Wed, 16 Nov 2005, HP Geeza wrote: >>> >>>>the result of running: >>>> >>>>snmpget -v 1 -c public 10.30.129.30 .1.3.6.1.4.1.2012.1.1.1.4.2.0 >>>> >>>>is: >>>> >>>>SNMPv2-SMI::enterprises.2012.1.1.1.4.2.0 = INTEGER: 68 >>>> >>>> >>>> >>>> >>>>>From: Subhendu Ghosh >>>>>To: HP Geeza >>>>>CC: nagios-users at lists.sourceforge.net >>>>>Subject: RE: [Nagios-users] snmp not working >>>>>Date: Wed, 16 Nov 2005 11:03:01 -0500 (EST) >>>>> >>>>>On Wed, 16 Nov 2005, HP Geeza wrote: >>>>> >>>>>>Hi Subhendu, >>>>>> >>>>>>Appologies for the silly question but what do you mean add a -m? >>>>>> >>>>> >>>>>Add a "-m:" >>>>>The colon after the -m option indicates an empty miblist. You don't >>>>>need a miblist if you are providing a numeric OID. >>>>>A normal miblist is a colon separated list of directories containing >>>>>mib files. It is used by the snmpget utility to translate to a numeric >>>>>OID. e.g. system.sysDescr.0 ==> .1.3.6.1.2.1.1.1.0 >>>>> >>>>>Also please post the result of the following: >>>>>snmpget -v 1 -c public 10.30.129.30 .1.3.6.1.4.1.2012.1.1.1.4.2.0 >>>>> >>>>>If you see data other than >>>>>SNMPv2-SMI::enterprises.2012.1.1.1.4.2.0 = INTEGER: 69 >>>>> >>>>>then you may have some local mib files that don't have the correct >>>>>syntax. >>>>> >>>>>The WARNING is then the result of output seen on STDERR where it was >>>>>not expected. >>>>> >>>>>>when i run: >>>>>>./check_snmp -H 10.30.129.30 -o .1.3.6.1.4.1.2012.1.1.1.4.2.0 -w 80 -c >>>>>>85 -C public -v -m >>>>>>i get ./check_snmp: option requires an argument -- m >>>>>> >>>>>>how do i find out what the miblist is???? >>>>>> >>>>>>WHEN I RUN: >>>>>>./check_snmp -H 10.30.129.30 -o .1.3.6.1.4.1.2012.1.1.1.4.2.0 -w 80 -c >>>>>>85 -C public -v >>>>>> >>>>>>i get: >>>>>>/usr/bin/snmpget -t 1 -r 5 -m ALL -v 1 -c public 10.30.129.30:161 >>>>>>.1.3.6.1.4.1.2012.1.1.1.4.2.0 >>>>>>SNMPv2-SMI::enterprises.2012.1.1.1.4.2.0 = INTEGER: 69 >>>>>> >>>>>>SNMP WARNING - 69 >>>>>> >>>>>> >>>>>>NOTE if it is of any use, there is a line space between SNMP WARNING - >>>>>>69 and INTEGER 69 >>>>>> >>>>>> >>>>>> >>>>>>>From: Subhendu Ghosh >>>>>>>To: HP Geeza >>>>>>>CC: nagios-users at lists.sourceforge.net >>>>>>>Subject: RE: [Nagios-users] snmp not working >>>>>>>Date: Wed, 16 Nov 2005 10:03:05 -0500 (EST) >>>>>>> >>>>>>>On Wed, 16 Nov 2005, HP Geeza wrote: >>>>>>> >>>>>>>>Hi >>>>>>>> >>>>>>>>Thanks for the info, but im affraid it still isn't working :-( >>>>>>>> >>>>>>>>FYI >>>>>>>>Usage: check_snmp -H -o [-w warn_range] [-c >>>>>>>>crit_range] >>>>>>>> [-C community] [-s string] [-r regex] [-R regexi] >>>>>>>> [-t timeout] [-e retries] >>>>>>>> [-l label] [-u units] [-p port-number] [-d >>>>>>>>delimiter] >>>>>>>> [-D output-delimiter] [-m miblist] [-P snmp >>>>>>>>version] >>>>>>>> [-L seclevel] [-U secname] [-a authproto] [-A >>>>>>>>authpasswd] >>>>>>>> [-X privpasswd] >>>>>>>> >>>>>>>>i try running the command: ./check_snmp -H 10.30.129.30 -o >>>>>>>>.1.3.6.1.4.1.2012.1.1.1.4.2.0 -w 80 -c 85 -C public >>>>>>>> >>>>>>>>and still get a value of "SNMP WARNING - 69" back >>>>>>>> >>>>>>>>accoring to the command im running should the waring only come up >>>>>>>>when the -w parameter is met? - i.e 80 and critical when its 85?? >>>>>>>> >>>>>>>>Any help would be great >>>>>>>> >>>>>>> >>>>>>>Add a "-m:" >>>>>>> >>>>>>>Also please post the result of tagging on a "-v" option >>>>>>> >>>>>>>-sg >>>>>>> >>>>>>> >>>>>>>>>From: "Marc Powell" >>>>>>>>>To: >>>>>>>>>Subject: RE: [Nagios-users] snmp not working >>>>>>>>>Date: Tue, 15 Nov 2005 12:55:15 -0600 >>>>>>>>> >>>>>>>>> >>>>>>>>> >>>>>>>>> > -----Original Message----- >>>>>>>>> > From: nagios-users-admin at lists.sourceforge.net >>>>>>>>>[mailto:nagios-users- >>>>>>>>> > admin at lists.sourceforge.net] On Behalf Of HP Geeza >>>>>>>>> > Sent: Tuesday, November 15, 2005 11:26 AM >>>>>>>>> > To: nagios-users at lists.sourceforge.net >>>>>>>>> > Subject: [Nagios-users] snmp not working >>>>>>>>> > >>>>>>>>> > Hi All, >>>>>>>>> > >>>>>>>>> > I was hoping that somebody might be able to help me with a snmp >>>>>>>>>monitoring >>>>>>>>> > issue on my nagios box. I am running the following command on >>>>>>>>>the >>>>>>>>>command >>>>>>>>> > line on the nagios box: >>>>>>>>> > >>>>>>>>> > /usr/local/nagios/libexec/./check_snmp >>>>>>>>in >>>>>>>>>our >>>>>>>>> > lab) >>>>>>>>> > -o .1.3.6.1.4.1.2012.1.1.1.4.2.0 -C public >>>>>>>>> > >>>>>>>>> > and get a value of SNMP "WARNING - 68" back >>>>>>>>> > >>>>>>>>> > however i dont think that this value is correct and as a reult >>>>>>>>>the >>>>>>>>> > check_snmp plugin seems to be obtaining the wrong result as i >>>>>>>>>dont >>>>>>>>>expect >>>>>>>>> > this to be a warning. For example if i run: >>>>>>>>> >>>>>>>>>Well, you haven't told check_snmp if that's OK or CRITICAL so it >>>>>>>>>doesn't >>>>>>>>>know what to report it as, hence WARNING. Remember the OIDs can >>>>>>>>>contain >>>>>>>>>just about any kind of data and check_snmp has no idea what it is >>>>>>>>>you're >>>>>>>>>querying, it just has an SNMP 'address'. You have to add in the >>>>>>>>>status >>>>>>>>>intelligence. >>>>>>>>> >>>>>>>>> > ./check_snmp 10.30.129.30 -o .1.3.6.1.4.1.2012.1.1.1.4.2.0 -C >>>>>>>>>public >>>>>>>>>-wv >>>>>>>>> > 80 >>>>>>>>> > -cv 85 >>>>>>>>> > >>>>>>>>> > i still get a value of "WARNING - 68" >>>>>>>>> >>>>>>>>>I'm not sure what version of check_snmp you're using but -wv and >>>>>>>>>-cv >>>>>>>>>aren't valid command line args, at least with 1.4 and prior. >>>>>>>>> >>>>>>>>> > is there a different check_snmp plugin i could use? or am i just >>>>>>>>>running >>>>>>>>> > the >>>>>>>>> > command wrong? I dont want the service to show up as a warning >>>>>>>>>when >>>>>>>>>the >>>>>>>>> > temperature is 68F...hence the reason for doing -wv 80 -cv 85 >>>>>>>>> >>>>>>>>>You just need to tell check_snmp what to expect for each range. >>>>>>>>>Check_snmp (and a couple other plugins) behave differently than >>>>>>>>>other >>>>>>>>>plugins WRT warning and critical detection as the results of the >>>>>>>>>SNMP >>>>>>>>>query are highly variable. Here are a couple of examples -- >>>>>>>>> >>>>>>>>>To test for a very specific value where anything but that value is >>>>>>>>>bad >>>>>>>>>you might use something like - >>>>>>>>>define command{ >>>>>>>>> command_name check_bgp_peer_state >>>>>>>>> command_line $USER1$/check_snmp -H $HOSTADDRESS$ -o >>>>>>>>>.1.3.6.1.2.1.15.3.1.2.$ARG1$ -s 6 -C $USER3$ -l 'BGP Peer $ARG1$ >>>>>>>>>State' >>>>>>>>> } >>>>>>>>> >>>>>>>>>The above will be OK if the value of that OID is 6 and CRITICAL if >>>>>>>>>it's >>>>>>>>>anything else. >>>>>>>>> >>>>>>>>>To check for a range of values you might use the following - >>>>>>>>> >>>>>>>>>define command{ >>>>>>>>> command_name check_temperature_server_sites >>>>>>>>> command_line $USER1$/check_snmp -H $HOSTADDRESS$ -u >>>>>>>>>'Degrees >>>>>>>>>Celsius' -o .1.3.6.1.4.1.9.9.13.1.3.1.3.2 -C $USER3$ -w 37:32 -c >>>>>>>>>99:38 >>>>>>>>>-l ' >>>>>>>>>Temperature is' >>>>>>>>> } >>>>>>>>> >>>>>>>>>The above will result in WARNING if the value of the OID is between >>>>>>>>>32 >>>>>>>>>and 37 (inclusive), CRITICAL if it's between 38 and 99 (inclusive) >>>>>>>>>and >>>>>>>>>OK for all other values. >>>>>>>>> >>>>>>>>>Hope that helps. Use 'check_snmp --help' for other command line >>>>>>>>>args and >>>>>>>>>their description. >>>>>>>>> >>>>>>>>>-- >>>>>>>>>Marc >>>>>>>>> >>>>>>>>> >>>>>>>>>------------------------------------------------------- >>>>>>>>>This SF.Net email is sponsored by the JBoss Inc. Get Certified >>>>>>>>>Today >>>>>>>>>Register for a JBoss Training Course. Free Certification Exam >>>>>>>>>for All Training Attendees Through End of 2005. For more info >>>>>>>>>visit: >>>>>>>>>http://ads.osdn.com/?ad_idv28&alloc_id845&op=click >>>>>>>>>_______________________________________________ >>>>>>>>>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 >>>>>>>> >>>>>>>>_________________________________________________________________ >>>>>>>>MSN Messenger 7.5 is now out. Download it for FREE here. >>>>>>>>http://messenger.msn.co.uk >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>>------------------------------------------------------- >>>>>>>>This SF.Net email is sponsored by the JBoss Inc. Get Certified >>>>>>>>Today >>>>>>>>Register for a JBoss Training Course. Free Certification Exam >>>>>>>>for All Training Attendees Through End of 2005. For more info visit: >>>>>>>>http://ads.osdn.com/?ad_id=7628&alloc_id=16845&op=click >>>>>>>>_______________________________________________ >>>>>>>>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 >>>>>>>> >>>>>>> >>>>>>>-- >>>>>>> >>>>>> >>>>>>_________________________________________________________________ >>>>>>Be the first to hear what's new at MSN - sign up to our free >>>>>>newsletters! http://www.msn.co.uk/newsletters >>>>>> >>>>> >>>>>-- >>>>> >>>> >>>>_________________________________________________________________ >>>>MSN Messenger 7.5 is now out. Download it for FREE here. >>>>http://messenger.msn.co.uk >>>> >>> >>>-- >>> >> >>_________________________________________________________________ >>MSN Messenger 7.5 is now out. Download it for FREE here. >>http://messenger.msn.co.uk >> > >-- > _________________________________________________________________ Be the first to hear what's new at MSN - sign up to our free newsletters! http://www.msn.co.uk/newsletters ------------------------------------------------------- This SF.Net email is sponsored by the JBoss Inc. Get Certified Today Register for a JBoss Training Course. Free Certification Exam for All Training Attendees Through End of 2005. For more info visit: http://ads.osdn.com/?ad_id=7628&alloc_id=16845&op=click _______________________________________________ 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 sghosh at sghosh.org Wed Nov 16 17:22:18 2005 From: sghosh at sghosh.org (Subhendu Ghosh) Date: Wed, 16 Nov 2005 11:22:18 -0500 (EST) Subject: snmp not working In-Reply-To: References: Message-ID: Try upgrading the plugins. On Wed, 16 Nov 2005, HP Geeza wrote: > ./check_snmp -V > > returns: > > check_snmp (nagios-plugins 1.4) 1.53 > > >> From: Subhendu Ghosh >> To: HP Geeza >> CC: nagios-users at lists.sourceforge.net >> Subject: RE: [Nagios-users] snmp not working >> Date: Wed, 16 Nov 2005 11:17:22 -0500 (EST) >> >> >> All plugins -V provides version info. >> >> On Wed, 16 Nov 2005, HP Geeza wrote: >> >>> how do i find out which version of the check_snmp plugin im using? - sorry >>> for yet another silly question!!! - im having one of those daysssssss >>> >>> >>>> From: Subhendu Ghosh >>>> To: HP Geeza >>>> CC: nagios-users at lists.sourceforge.net >>>> Subject: RE: [Nagios-users] snmp not working >>>> Date: Wed, 16 Nov 2005 11:10:19 -0500 (EST) >>>> >>>> >>>> Ok - what version of check_snmp? >>>> >>>> On Wed, 16 Nov 2005, HP Geeza wrote: >>>> >>>>> the result of running: >>>>> >>>>> snmpget -v 1 -c public 10.30.129.30 .1.3.6.1.4.1.2012.1.1.1.4.2.0 >>>>> >>>>> is: >>>>> >>>>> SNMPv2-SMI::enterprises.2012.1.1.1.4.2.0 = INTEGER: 68 >>>>> >>>>> >>>>> >>>>> >>>>>> From: Subhendu Ghosh >>>>>> To: HP Geeza >>>>>> CC: nagios-users at lists.sourceforge.net >>>>>> Subject: RE: [Nagios-users] snmp not working >>>>>> Date: Wed, 16 Nov 2005 11:03:01 -0500 (EST) >>>>>> >>>>>> On Wed, 16 Nov 2005, HP Geeza wrote: >>>>>> >>>>>>> Hi Subhendu, >>>>>>> >>>>>>> Appologies for the silly question but what do you mean add a -m? >>>>>>> >>>>>> >>>>>> Add a "-m:" >>>>>> The colon after the -m option indicates an empty miblist. You don't >>>>>> need a miblist if you are providing a numeric OID. >>>>>> A normal miblist is a colon separated list of directories containing >>>>>> mib files. It is used by the snmpget utility to translate to a numeric >>>>>> OID. e.g. system.sysDescr.0 ==> .1.3.6.1.2.1.1.1.0 >>>>>> >>>>>> Also please post the result of the following: >>>>>> snmpget -v 1 -c public 10.30.129.30 .1.3.6.1.4.1.2012.1.1.1.4.2.0 >>>>>> >>>>>> If you see data other than >>>>>> SNMPv2-SMI::enterprises.2012.1.1.1.4.2.0 = INTEGER: 69 >>>>>> >>>>>> then you may have some local mib files that don't have the correct >>>>>> syntax. >>>>>> >>>>>> The WARNING is then the result of output seen on STDERR where it was >>>>>> not expected. >>>>>> >>>>>>> when i run: >>>>>>> ./check_snmp -H 10.30.129.30 -o .1.3.6.1.4.1.2012.1.1.1.4.2.0 -w 80 -c >>>>>>> 85 -C public -v -m >>>>>>> i get ./check_snmp: option requires an argument -- m >>>>>>> >>>>>>> how do i find out what the miblist is???? >>>>>>> >>>>>>> WHEN I RUN: >>>>>>> ./check_snmp -H 10.30.129.30 -o .1.3.6.1.4.1.2012.1.1.1.4.2.0 -w 80 -c >>>>>>> 85 -C public -v >>>>>>> >>>>>>> i get: >>>>>>> /usr/bin/snmpget -t 1 -r 5 -m ALL -v 1 -c public 10.30.129.30:161 >>>>>>> .1.3.6.1.4.1.2012.1.1.1.4.2.0 >>>>>>> SNMPv2-SMI::enterprises.2012.1.1.1.4.2.0 = INTEGER: 69 >>>>>>> >>>>>>> SNMP WARNING - 69 >>>>>>> >>>>>>> >>>>>>> NOTE if it is of any use, there is a line space between SNMP WARNING - >>>>>>> 69 and INTEGER 69 >>>>>>> >>>>>>> >>>>>>> >>>>>>>> From: Subhendu Ghosh >>>>>>>> To: HP Geeza >>>>>>>> CC: nagios-users at lists.sourceforge.net >>>>>>>> Subject: RE: [Nagios-users] snmp not working >>>>>>>> Date: Wed, 16 Nov 2005 10:03:05 -0500 (EST) >>>>>>>> >>>>>>>> On Wed, 16 Nov 2005, HP Geeza wrote: >>>>>>>> >>>>>>>>> Hi >>>>>>>>> >>>>>>>>> Thanks for the info, but im affraid it still isn't working :-( >>>>>>>>> >>>>>>>>> FYI >>>>>>>>> Usage: check_snmp -H -o [-w warn_range] [-c >>>>>>>>> crit_range] >>>>>>>>> [-C community] [-s string] [-r regex] [-R regexi] >>>>>>>>> [-t timeout] [-e retries] >>>>>>>>> [-l label] [-u units] [-p port-number] [-d >>>>>>>>> delimiter] >>>>>>>>> [-D output-delimiter] [-m miblist] [-P snmp version] >>>>>>>>> [-L seclevel] [-U secname] [-a authproto] [-A >>>>>>>>> authpasswd] >>>>>>>>> [-X privpasswd] >>>>>>>>> >>>>>>>>> i try running the command: ./check_snmp -H 10.30.129.30 -o >>>>>>>>> .1.3.6.1.4.1.2012.1.1.1.4.2.0 -w 80 -c 85 -C public >>>>>>>>> >>>>>>>>> and still get a value of "SNMP WARNING - 69" back >>>>>>>>> >>>>>>>>> accoring to the command im running should the waring only come up >>>>>>>>> when the -w parameter is met? - i.e 80 and critical when its 85?? >>>>>>>>> >>>>>>>>> Any help would be great >>>>>>>>> >>>>>>>> >>>>>>>> Add a "-m:" >>>>>>>> >>>>>>>> Also please post the result of tagging on a "-v" option >>>>>>>> >>>>>>>> -sg >>>>>>>> >>>>>>>> >>>>>>>>>> From: "Marc Powell" >>>>>>>>>> To: >>>>>>>>>> Subject: RE: [Nagios-users] snmp not working >>>>>>>>>> Date: Tue, 15 Nov 2005 12:55:15 -0600 >>>>>>>>>> >>>>>>>>>> >>>>>>>>>> >>>>>>>>>> > -----Original Message----- >>>>>>>>>> > From: nagios-users-admin at lists.sourceforge.net >>>>>>>>>> [mailto:nagios-users- >>>>>>>>>> > admin at lists.sourceforge.net] On Behalf Of HP Geeza >>>>>>>>>> > Sent: Tuesday, November 15, 2005 11:26 AM >>>>>>>>>> > To: nagios-users at lists.sourceforge.net >>>>>>>>>> > Subject: [Nagios-users] snmp not working >>>>>>>>>> > >>>>>>>>>> > Hi All, >>>>>>>>>> > >>>>>>>>>> > I was hoping that somebody might be able to help me with a snmp >>>>>>>>>> monitoring >>>>>>>>>> > issue on my nagios box. I am running the following command on >>>>>>>>>> the >>>>>>>>>> command >>>>>>>>>> > line on the nagios box: >>>>>>>>>> > >>>>>>>>>> > /usr/local/nagios/libexec/./check_snmp >>>>>>>>> in >>>>>>>>>> our >>>>>>>>>> > lab) >>>>>>>>>> > -o .1.3.6.1.4.1.2012.1.1.1.4.2.0 -C public >>>>>>>>>> > >>>>>>>>>> > and get a value of SNMP "WARNING - 68" back >>>>>>>>>> > >>>>>>>>>> > however i dont think that this value is correct and as a reult >>>>>>>>>> the >>>>>>>>>> > check_snmp plugin seems to be obtaining the wrong result as i >>>>>>>>>> dont >>>>>>>>>> expect >>>>>>>>>> > this to be a warning. For example if i run: >>>>>>>>>> >>>>>>>>>> Well, you haven't told check_snmp if that's OK or CRITICAL so it >>>>>>>>>> doesn't >>>>>>>>>> know what to report it as, hence WARNING. Remember the OIDs can >>>>>>>>>> contain >>>>>>>>>> just about any kind of data and check_snmp has no idea what it is >>>>>>>>>> you're >>>>>>>>>> querying, it just has an SNMP 'address'. You have to add in the >>>>>>>>>> status >>>>>>>>>> intelligence. >>>>>>>>>> >>>>>>>>>> > ./check_snmp 10.30.129.30 -o .1.3.6.1.4.1.2012.1.1.1.4.2.0 -C >>>>>>>>>> public >>>>>>>>>> -wv >>>>>>>>>> > 80 >>>>>>>>>> > -cv 85 >>>>>>>>>> > >>>>>>>>>> > i still get a value of "WARNING - 68" >>>>>>>>>> >>>>>>>>>> I'm not sure what version of check_snmp you're using but -wv and >>>>>>>>>> -cv >>>>>>>>>> aren't valid command line args, at least with 1.4 and prior. >>>>>>>>>> >>>>>>>>>> > is there a different check_snmp plugin i could use? or am i just >>>>>>>>>> running >>>>>>>>>> > the >>>>>>>>>> > command wrong? I dont want the service to show up as a warning >>>>>>>>>> when >>>>>>>>>> the >>>>>>>>>> > temperature is 68F...hence the reason for doing -wv 80 -cv 85 >>>>>>>>>> >>>>>>>>>> You just need to tell check_snmp what to expect for each range. >>>>>>>>>> Check_snmp (and a couple other plugins) behave differently than >>>>>>>>>> other >>>>>>>>>> plugins WRT warning and critical detection as the results of the >>>>>>>>>> SNMP >>>>>>>>>> query are highly variable. Here are a couple of examples -- >>>>>>>>>> >>>>>>>>>> To test for a very specific value where anything but that value is >>>>>>>>>> bad >>>>>>>>>> you might use something like - >>>>>>>>>> define command{ >>>>>>>>>> command_name check_bgp_peer_state >>>>>>>>>> command_line $USER1$/check_snmp -H $HOSTADDRESS$ -o >>>>>>>>>> .1.3.6.1.2.1.15.3.1.2.$ARG1$ -s 6 -C $USER3$ -l 'BGP Peer $ARG1$ >>>>>>>>>> State' >>>>>>>>>> } >>>>>>>>>> >>>>>>>>>> The above will be OK if the value of that OID is 6 and CRITICAL if >>>>>>>>>> it's >>>>>>>>>> anything else. >>>>>>>>>> >>>>>>>>>> To check for a range of values you might use the following - >>>>>>>>>> >>>>>>>>>> define command{ >>>>>>>>>> command_name check_temperature_server_sites >>>>>>>>>> command_line $USER1$/check_snmp -H $HOSTADDRESS$ -u >>>>>>>>>> 'Degrees >>>>>>>>>> Celsius' -o .1.3.6.1.4.1.9.9.13.1.3.1.3.2 -C $USER3$ -w 37:32 -c >>>>>>>>>> 99:38 >>>>>>>>>> -l ' >>>>>>>>>> Temperature is' >>>>>>>>>> } >>>>>>>>>> >>>>>>>>>> The above will result in WARNING if the value of the OID is between >>>>>>>>>> 32 >>>>>>>>>> and 37 (inclusive), CRITICAL if it's between 38 and 99 (inclusive) >>>>>>>>>> and >>>>>>>>>> OK for all other values. >>>>>>>>>> >>>>>>>>>> Hope that helps. Use 'check_snmp --help' for other command line >>>>>>>>>> args and >>>>>>>>>> their description. >>>>>>>>>> >>>>>>>>>> -- >>>>>>>>>> Marc >>>>>>>>>> >>>>>>>>>> >>>>>>>>>> ------------------------------------------------------- >>>>>>>>>> This SF.Net email is sponsored by the JBoss Inc. Get Certified >>>>>>>>>> Today >>>>>>>>>> Register for a JBoss Training Course. Free Certification Exam >>>>>>>>>> for All Training Attendees Through End of 2005. For more info >>>>>>>>>> visit: >>>>>>>>>> http://ads.osdn.com/?ad_idv28&alloc_id845&op=click >>>>>>>>>> _______________________________________________ >>>>>>>>>> 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 >>>>>>>>> >>>>>>>>> _________________________________________________________________ >>>>>>>>> MSN Messenger 7.5 is now out. Download it for FREE here. >>>>>>>>> http://messenger.msn.co.uk >>>>>>>>> >>>>>>>>> >>>>>>>>> >>>>>>>>> ------------------------------------------------------- >>>>>>>>> This SF.Net email is sponsored by the JBoss Inc. Get Certified >>>>>>>>> Today >>>>>>>>> Register for a JBoss Training Course. Free Certification Exam >>>>>>>>> for All Training Attendees Through End of 2005. For more info visit: >>>>>>>>> http://ads.osdn.com/?ad_id=7628&alloc_id=16845&op=click >>>>>>>>> _______________________________________________ >>>>>>>>> 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 >>>>>>>>> >>>>>>>> >>>>>>>> -- >>>>>>>> >>>>>>> >>>>>>> _________________________________________________________________ >>>>>>> Be the first to hear what's new at MSN - sign up to our free >>>>>>> newsletters! http://www.msn.co.uk/newsletters >>>>>>> >>>>>> >>>>>> -- >>>>>> >>>>> >>>>> _________________________________________________________________ >>>>> MSN Messenger 7.5 is now out. Download it for FREE here. >>>>> http://messenger.msn.co.uk >>>>> >>>> >>>> -- >>>> >>> >>> _________________________________________________________________ >>> MSN Messenger 7.5 is now out. Download it for FREE here. >>> http://messenger.msn.co.uk >>> >> >> -- >> > > _________________________________________________________________ > Be the first to hear what's new at MSN - sign up to our free newsletters! > http://www.msn.co.uk/newsletters > -- ------------------------------------------------------- This SF.Net email is sponsored by the JBoss Inc. Get Certified Today Register for a JBoss Training Course. Free Certification Exam for All Training Attendees Through End of 2005. For more info visit: http://ads.osdn.com/?ad_id=7628&alloc_id=16845&op=click _______________________________________________ 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 sghosh at sghosh.org Wed Nov 16 17:17:22 2005 From: sghosh at sghosh.org (Subhendu Ghosh) Date: Wed, 16 Nov 2005 11:17:22 -0500 (EST) Subject: snmp not working In-Reply-To: References: Message-ID: All plugins -V provides version info. On Wed, 16 Nov 2005, HP Geeza wrote: > how do i find out which version of the check_snmp plugin im using? - sorry > for yet another silly question!!! - im having one of those daysssssss > > >> From: Subhendu Ghosh >> To: HP Geeza >> CC: nagios-users at lists.sourceforge.net >> Subject: RE: [Nagios-users] snmp not working >> Date: Wed, 16 Nov 2005 11:10:19 -0500 (EST) >> >> >> Ok - what version of check_snmp? >> >> On Wed, 16 Nov 2005, HP Geeza wrote: >> >>> the result of running: >>> >>> snmpget -v 1 -c public 10.30.129.30 .1.3.6.1.4.1.2012.1.1.1.4.2.0 >>> >>> is: >>> >>> SNMPv2-SMI::enterprises.2012.1.1.1.4.2.0 = INTEGER: 68 >>> >>> >>> >>> >>>> From: Subhendu Ghosh >>>> To: HP Geeza >>>> CC: nagios-users at lists.sourceforge.net >>>> Subject: RE: [Nagios-users] snmp not working >>>> Date: Wed, 16 Nov 2005 11:03:01 -0500 (EST) >>>> >>>> On Wed, 16 Nov 2005, HP Geeza wrote: >>>> >>>>> Hi Subhendu, >>>>> >>>>> Appologies for the silly question but what do you mean add a -m? >>>>> >>>> >>>> Add a "-m:" >>>> The colon after the -m option indicates an empty miblist. You don't need >>>> a miblist if you are providing a numeric OID. >>>> A normal miblist is a colon separated list of directories containing mib >>>> files. It is used by the snmpget utility to translate to a numeric OID. >>>> e.g. system.sysDescr.0 ==> .1.3.6.1.2.1.1.1.0 >>>> >>>> Also please post the result of the following: >>>> snmpget -v 1 -c public 10.30.129.30 .1.3.6.1.4.1.2012.1.1.1.4.2.0 >>>> >>>> If you see data other than >>>> SNMPv2-SMI::enterprises.2012.1.1.1.4.2.0 = INTEGER: 69 >>>> >>>> then you may have some local mib files that don't have the correct >>>> syntax. >>>> >>>> The WARNING is then the result of output seen on STDERR where it was not >>>> expected. >>>> >>>>> when i run: >>>>> ./check_snmp -H 10.30.129.30 -o .1.3.6.1.4.1.2012.1.1.1.4.2.0 -w 80 -c >>>>> 85 -C public -v -m >>>>> i get ./check_snmp: option requires an argument -- m >>>>> >>>>> how do i find out what the miblist is???? >>>>> >>>>> WHEN I RUN: >>>>> ./check_snmp -H 10.30.129.30 -o .1.3.6.1.4.1.2012.1.1.1.4.2.0 -w 80 -c >>>>> 85 -C public -v >>>>> >>>>> i get: >>>>> /usr/bin/snmpget -t 1 -r 5 -m ALL -v 1 -c public 10.30.129.30:161 >>>>> .1.3.6.1.4.1.2012.1.1.1.4.2.0 >>>>> SNMPv2-SMI::enterprises.2012.1.1.1.4.2.0 = INTEGER: 69 >>>>> >>>>> SNMP WARNING - 69 >>>>> >>>>> >>>>> NOTE if it is of any use, there is a line space between SNMP WARNING - >>>>> 69 and INTEGER 69 >>>>> >>>>> >>>>> >>>>>> From: Subhendu Ghosh >>>>>> To: HP Geeza >>>>>> CC: nagios-users at lists.sourceforge.net >>>>>> Subject: RE: [Nagios-users] snmp not working >>>>>> Date: Wed, 16 Nov 2005 10:03:05 -0500 (EST) >>>>>> >>>>>> On Wed, 16 Nov 2005, HP Geeza wrote: >>>>>> >>>>>>> Hi >>>>>>> >>>>>>> Thanks for the info, but im affraid it still isn't working :-( >>>>>>> >>>>>>> FYI >>>>>>> Usage: check_snmp -H -o [-w warn_range] [-c >>>>>>> crit_range] >>>>>>> [-C community] [-s string] [-r regex] [-R regexi] >>>>>>> [-t timeout] [-e retries] >>>>>>> [-l label] [-u units] [-p port-number] [-d delimiter] >>>>>>> [-D output-delimiter] [-m miblist] [-P snmp version] >>>>>>> [-L seclevel] [-U secname] [-a authproto] [-A >>>>>>> authpasswd] >>>>>>> [-X privpasswd] >>>>>>> >>>>>>> i try running the command: ./check_snmp -H 10.30.129.30 -o >>>>>>> .1.3.6.1.4.1.2012.1.1.1.4.2.0 -w 80 -c 85 -C public >>>>>>> >>>>>>> and still get a value of "SNMP WARNING - 69" back >>>>>>> >>>>>>> accoring to the command im running should the waring only come up when >>>>>>> the -w parameter is met? - i.e 80 and critical when its 85?? >>>>>>> >>>>>>> Any help would be great >>>>>>> >>>>>> >>>>>> Add a "-m:" >>>>>> >>>>>> Also please post the result of tagging on a "-v" option >>>>>> >>>>>> -sg >>>>>> >>>>>> >>>>>>>> From: "Marc Powell" >>>>>>>> To: >>>>>>>> Subject: RE: [Nagios-users] snmp not working >>>>>>>> Date: Tue, 15 Nov 2005 12:55:15 -0600 >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> > -----Original Message----- >>>>>>>> > From: nagios-users-admin at lists.sourceforge.net >>>>>>>> [mailto:nagios-users- >>>>>>>> > admin at lists.sourceforge.net] On Behalf Of HP Geeza >>>>>>>> > Sent: Tuesday, November 15, 2005 11:26 AM >>>>>>>> > To: nagios-users at lists.sourceforge.net >>>>>>>> > Subject: [Nagios-users] snmp not working >>>>>>>> > >>>>>>>> > Hi All, >>>>>>>> > >>>>>>>> > I was hoping that somebody might be able to help me with a snmp >>>>>>>> monitoring >>>>>>>> > issue on my nagios box. I am running the following command on the >>>>>>>> command >>>>>>>> > line on the nagios box: >>>>>>>> > >>>>>>>> > /usr/local/nagios/libexec/./check_snmp >>>>>>> our >>>>>>>> > lab) >>>>>>>> > -o .1.3.6.1.4.1.2012.1.1.1.4.2.0 -C public >>>>>>>> > >>>>>>>> > and get a value of SNMP "WARNING - 68" back >>>>>>>> > >>>>>>>> > however i dont think that this value is correct and as a reult the >>>>>>>> > check_snmp plugin seems to be obtaining the wrong result as i dont >>>>>>>> expect >>>>>>>> > this to be a warning. For example if i run: >>>>>>>> >>>>>>>> Well, you haven't told check_snmp if that's OK or CRITICAL so it >>>>>>>> doesn't >>>>>>>> know what to report it as, hence WARNING. Remember the OIDs can >>>>>>>> contain >>>>>>>> just about any kind of data and check_snmp has no idea what it is >>>>>>>> you're >>>>>>>> querying, it just has an SNMP 'address'. You have to add in the >>>>>>>> status >>>>>>>> intelligence. >>>>>>>> >>>>>>>> > ./check_snmp 10.30.129.30 -o .1.3.6.1.4.1.2012.1.1.1.4.2.0 -C >>>>>>>> public >>>>>>>> -wv >>>>>>>> > 80 >>>>>>>> > -cv 85 >>>>>>>> > >>>>>>>> > i still get a value of "WARNING - 68" >>>>>>>> >>>>>>>> I'm not sure what version of check_snmp you're using but -wv and -cv >>>>>>>> aren't valid command line args, at least with 1.4 and prior. >>>>>>>> >>>>>>>> > is there a different check_snmp plugin i could use? or am i just >>>>>>>> running >>>>>>>> > the >>>>>>>> > command wrong? I dont want the service to show up as a warning >>>>>>>> when >>>>>>>> the >>>>>>>> > temperature is 68F...hence the reason for doing -wv 80 -cv 85 >>>>>>>> >>>>>>>> You just need to tell check_snmp what to expect for each range. >>>>>>>> Check_snmp (and a couple other plugins) behave differently than other >>>>>>>> plugins WRT warning and critical detection as the results of the SNMP >>>>>>>> query are highly variable. Here are a couple of examples -- >>>>>>>> >>>>>>>> To test for a very specific value where anything but that value is >>>>>>>> bad >>>>>>>> you might use something like - >>>>>>>> define command{ >>>>>>>> command_name check_bgp_peer_state >>>>>>>> command_line $USER1$/check_snmp -H $HOSTADDRESS$ -o >>>>>>>> .1.3.6.1.2.1.15.3.1.2.$ARG1$ -s 6 -C $USER3$ -l 'BGP Peer $ARG1$ >>>>>>>> State' >>>>>>>> } >>>>>>>> >>>>>>>> The above will be OK if the value of that OID is 6 and CRITICAL if >>>>>>>> it's >>>>>>>> anything else. >>>>>>>> >>>>>>>> To check for a range of values you might use the following - >>>>>>>> >>>>>>>> define command{ >>>>>>>> command_name check_temperature_server_sites >>>>>>>> command_line $USER1$/check_snmp -H $HOSTADDRESS$ -u >>>>>>>> 'Degrees >>>>>>>> Celsius' -o .1.3.6.1.4.1.9.9.13.1.3.1.3.2 -C $USER3$ -w 37:32 -c >>>>>>>> 99:38 >>>>>>>> -l ' >>>>>>>> Temperature is' >>>>>>>> } >>>>>>>> >>>>>>>> The above will result in WARNING if the value of the OID is between >>>>>>>> 32 >>>>>>>> and 37 (inclusive), CRITICAL if it's between 38 and 99 (inclusive) >>>>>>>> and >>>>>>>> OK for all other values. >>>>>>>> >>>>>>>> Hope that helps. Use 'check_snmp --help' for other command line args >>>>>>>> and >>>>>>>> their description. >>>>>>>> >>>>>>>> -- >>>>>>>> Marc >>>>>>>> >>>>>>>> >>>>>>>> ------------------------------------------------------- >>>>>>>> This SF.Net email is sponsored by the JBoss Inc. Get Certified Today >>>>>>>> Register for a JBoss Training Course. Free Certification Exam >>>>>>>> for All Training Attendees Through End of 2005. For more info visit: >>>>>>>> http://ads.osdn.com/?ad_idv28&alloc_id845&op=click >>>>>>>> _______________________________________________ >>>>>>>> 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 >>>>>>> >>>>>>> _________________________________________________________________ >>>>>>> MSN Messenger 7.5 is now out. Download it for FREE here. >>>>>>> http://messenger.msn.co.uk >>>>>>> >>>>>>> >>>>>>> >>>>>>> ------------------------------------------------------- >>>>>>> This SF.Net email is sponsored by the JBoss Inc. Get Certified Today >>>>>>> Register for a JBoss Training Course. Free Certification Exam >>>>>>> for All Training Attendees Through End of 2005. For more info visit: >>>>>>> http://ads.osdn.com/?ad_id=7628&alloc_id=16845&op=click >>>>>>> _______________________________________________ >>>>>>> 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 >>>>>>> >>>>>> >>>>>> -- >>>>>> >>>>> >>>>> _________________________________________________________________ >>>>> Be the first to hear what's new at MSN - sign up to our free >>>>> newsletters! http://www.msn.co.uk/newsletters >>>>> >>>> >>>> -- >>>> >>> >>> _________________________________________________________________ >>> MSN Messenger 7.5 is now out. Download it for FREE here. >>> http://messenger.msn.co.uk >>> >> >> -- >> > > _________________________________________________________________ > MSN Messenger 7.5 is now out. Download it for FREE here. > http://messenger.msn.co.uk > -- ------------------------------------------------------- This SF.Net email is sponsored by the JBoss Inc. Get Certified Today Register for a JBoss Training Course. Free Certification Exam for All Training Attendees Through End of 2005. For more info visit: http://ads.osdn.com/?ad_id=7628&alloc_id=16845&op=click _______________________________________________ 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 miguelfa at eu.skechers.com Wed Nov 16 17:29:51 2005 From: miguelfa at eu.skechers.com (Miguel Faria) Date: Wed, 16 Nov 2005 16:29:51 -0000 Subject: test email In-Reply-To: References: Message-ID: <20051116162952.BD4C9358009@mail.eu.skechers.com> Who would the mail-list admin be? He has that power to remove/block at least The email address. -----Original Message----- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Andrew Cruse Sent: 16 November 2005 16:16 To: 'Subhendu Ghosh'; nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] test email nagios-users-admin at lists.sourceforge.net wrote: > Q. > > Is anyone other than me getting these back for the list on posting? YES! Can we unsubscribe that guy? > > > ------------------------------------------------------- > This SF.Net email is sponsored by the JBoss Inc. Get Certified Today > Register for a JBoss Training Course. Free Certification Exam > for All Training Attendees Through End of 2005. For more info visit: > http://ads.osdn.com/?ad_id=7628&alloc_id=16845&op=click > _______________________________________________ > 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 the JBoss Inc. Get Certified Today Register for a JBoss Training Course. Free Certification Exam for All Training Attendees Through End of 2005. For more info visit: http://ads.osdn.com/?ad_id=7628&alloc_id=16845&op=click _______________________________________________ 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 the JBoss Inc. Get Certified Today Register for a JBoss Training Course. Free Certification Exam for All Training Attendees Through End of 2005. For more info visit: http://ads.osdn.com/?ad_id=7628&alloc_id=16845&op=click _______________________________________________ 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 sghosh at sghosh.org Wed Nov 16 17:46:26 2005 From: sghosh at sghosh.org (Subhendu Ghosh) Date: Wed, 16 Nov 2005 11:46:26 -0500 (EST) Subject: test email In-Reply-To: <20051116162952.BD4C9358009@mail.eu.skechers.com> References: <20051116162952.BD4C9358009@mail.eu.skechers.com> Message-ID: I don't know who the subscriber is. - the message headers don't indicate anything. However, I've added "received: .*server-web.com" to the mailman filters that should help. If you want to adjust your own filters or send complaints: GMail.COM.AU resolves to the allocation 202.189.64/20 server-web.com resolves to allocation 203.147.160.0/19 -sg On Wed, 16 Nov 2005, Miguel Faria wrote: > Who would the mail-list admin be? He has that power to remove/block at least > The email address. > > > > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net > [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Andrew Cruse > Sent: 16 November 2005 16:16 > To: 'Subhendu Ghosh'; nagios-users at lists.sourceforge.net > Subject: RE: [Nagios-users] test email > > nagios-users-admin at lists.sourceforge.net wrote: >> Q. >> >> Is anyone other than me getting these back for the list on posting? > > YES! Can we unsubscribe that guy? > >> >> >> ------------------------------------------------------- >> This SF.Net email is sponsored by the JBoss Inc. Get Certified Today >> Register for a JBoss Training Course. Free Certification Exam >> for All Training Attendees Through End of 2005. For more info visit: >> http://ads.osdn.com/?ad_id=7628&alloc_id=16845&op=click >> _______________________________________________ >> 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 the JBoss Inc. Get Certified Today > Register for a JBoss Training Course. Free Certification Exam > for All Training Attendees Through End of 2005. For more info visit: > http://ads.osdn.com/?ad_id=7628&alloc_id=16845&op=click > _______________________________________________ > 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 the JBoss Inc. Get Certified Today Register for a JBoss Training Course. Free Certification Exam for All Training Attendees Through End of 2005. For more info visit: http://ads.osdn.com/?ad_id=7628&alloc_id=16845&op=click _______________________________________________ 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 btmanmeh at verizon.net Wed Nov 16 17:59:58 2005 From: btmanmeh at verizon.net (Max) Date: Wed, 16 Nov 2005 11:59:58 -0500 Subject: check disks by remote In-Reply-To: References: Message-ID: <437B658E.6060302@verizon.net> Ian Marlier wrote: > > > On 11/16/05 8:38 AM, "Miguel Faria" wrote: > > >>Hi, >> >>I am wondering if you could give me a clue to which plugin I need to check >>disk free space on another UNIX servers. Your help is much appreciated. > > > SNMP -- I don't know that the check_snmp plugin does this cleanly, because > it means grabbing a couple of different OIDs and matching them, but writing > a plugin of your own isn't all that hard. > > It's got the advantage of being cross-platform, too. The same plugin can > monitor a Windows box, a Mac box, or a *nix machine. I had asked the same question awhile back. Sean pointed me to "check_snmp_disk.pl". Do a search on the list for "Check diskspace on remote machines" to read the previous post. It works great for myself with 'nix machines. You just have to setup SNMP on the hosts. Also you'll need to define a command in Nagios such as: define command{ command_name snmp_disk command_line $USER1$/check_snmp_disk.pl -H $HOSTADDRESS$ -C public -w $ARG1$ -c $ARG2$ } That's about all there is to it. Max ------------------------------------------------------- This SF.Net email is sponsored by the JBoss Inc. Get Certified Today Register for a JBoss Training Course. Free Certification Exam for All Training Attendees Through End of 2005. For more info visit: http://ads.osdn.com/?ad_id=7628&alloc_id=16845&op=click _______________________________________________ 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 mfatihakbulut at gmail.com Wed Nov 16 19:04:38 2005 From: mfatihakbulut at gmail.com (Mehmet Fatih AKBULUT) Date: Wed, 16 Nov 2005 20:04:38 +0200 Subject: Logged in as ? In-Reply-To: References: Message-ID: first create a .htaccess file both in your nagios and in cgi-bin directories. and put the datas below in it *AuthName "Nagios Access" AuthType Basic AuthUserFile /usr/local/nagios/etc/htpasswd.users require valid-user *then create a htpasswd.users file with the command below : *htpasswd -c /usr/local/nagios/etc/htpasswd.users nagiosadmin* and after creating this file u can add as many users as u want. by the way, pay attention to the directories!!! it may be different on your system. (i mean /usr/local/nagios/etc ... etc) (ps: these are all written in the documentation. u should read all the pages again :p) On 11/16/05, Lori Adams wrote: > > It appears that authentication is setup correctly with nagios.2.04b and > apache 1. I'm able to use authentication to log in, yet in the top corner, > it says "Logged in as ?". > > Has anyone seen this and remember how to fix it? > > -Lori > -------------- next part -------------- An HTML attachment was scrubbed... URL: From marc at ena.com Wed Nov 16 19:37:55 2005 From: marc at ena.com (Marc Powell) Date: Wed, 16 Nov 2005 12:37:55 -0600 Subject: snmp not working Message-ID: > -----Original Message----- > From: HP Geeza [mailto:getbacktome3 at hotmail.com] > Sent: Wednesday, November 16, 2005 5:22 AM > To: Marc Powell; nagios-users at lists.sourceforge.net > Subject: RE: [Nagios-users] snmp not working > > Hi > > Thanks for the info, but im affraid it still isn't working :-( > > FYI > Usage: check_snmp -H -o [-w warn_range] [-c crit_range] > [-C community] [-s string] [-r regex] [-R regexi] > [-t timeout] [-e retries] > [-l label] [-u units] [-p port-number] [-d delimiter] > [-D output-delimiter] [-m miblist] [-P snmp version] > [-L seclevel] [-U secname] [-a authproto] [-A > authpasswd] > [-X privpasswd] > > i try running the command: ./check_snmp -H 10.30.129.30 -o > .1.3.6.1.4.1.2012.1.1.1.4.2.0 -w 80 -c 85 -C public > > and still get a value of "SNMP WARNING - 69" back > > accoring to the command im running should the waring only come up when the > -w parameter is met? - i.e 80 and critical when its 85?? No. As I indicated below, and from the check_snmp help, the -c and -w parameters expect a _range_ not single values as you supplied. They do not act like other check commands in this regard. The help and my examples show you what you need to do. -- Marc > >From: "Marc Powell" > >To: > >Subject: RE: [Nagios-users] snmp not working > >Date: Tue, 15 Nov 2005 12:55:15 -0600 > > > > > > > > > -----Original Message----- > > > From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users- > > > admin at lists.sourceforge.net] On Behalf Of HP Geeza > > > Sent: Tuesday, November 15, 2005 11:26 AM > > > To: nagios-users at lists.sourceforge.net > > > Subject: [Nagios-users] snmp not working > > > > > > Hi All, > > > > > > I was hoping that somebody might be able to help me with a snmp > >monitoring > > > issue on my nagios box. I am running the following command on the > >command > > > line on the nagios box: > > > > > > /usr/local/nagios/libexec/./check_snmp >our > > > lab) > > > -o .1.3.6.1.4.1.2012.1.1.1.4.2.0 -C public > > > > > > and get a value of SNMP "WARNING - 68" back > > > > > > however i dont think that this value is correct and as a reult the > > > check_snmp plugin seems to be obtaining the wrong result as i dont > >expect > > > this to be a warning. For example if i run: > > > >Well, you haven't told check_snmp if that's OK or CRITICAL so it doesn't > >know what to report it as, hence WARNING. Remember the OIDs can contain > >just about any kind of data and check_snmp has no idea what it is you're > >querying, it just has an SNMP 'address'. You have to add in the status > >intelligence. > > > > > ./check_snmp 10.30.129.30 -o .1.3.6.1.4.1.2012.1.1.1.4.2.0 -C public > >-wv > > > 80 > > > -cv 85 > > > > > > i still get a value of "WARNING - 68" > > > >I'm not sure what version of check_snmp you're using but -wv and -cv > >aren't valid command line args, at least with 1.4 and prior. > > > > > is there a different check_snmp plugin i could use? or am i just > >running > > > the > > > command wrong? I dont want the service to show up as a warning when > >the > > > temperature is 68F...hence the reason for doing -wv 80 -cv 85 > > > >You just need to tell check_snmp what to expect for each range. > >Check_snmp (and a couple other plugins) behave differently than other > >plugins WRT warning and critical detection as the results of the SNMP > >query are highly variable. Here are a couple of examples -- > > > >To test for a very specific value where anything but that value is bad > >you might use something like - > >define command{ > > command_name check_bgp_peer_state > > command_line $USER1$/check_snmp -H $HOSTADDRESS$ -o > >.1.3.6.1.2.1.15.3.1.2.$ARG1$ -s 6 -C $USER3$ -l 'BGP Peer $ARG1$ State' > > } > > > >The above will be OK if the value of that OID is 6 and CRITICAL if it's > >anything else. > > > >To check for a range of values you might use the following - > > > >define command{ > > command_name check_temperature_server_sites > > command_line $USER1$/check_snmp -H $HOSTADDRESS$ -u 'Degrees > >Celsius' -o .1.3.6.1.4.1.9.9.13.1.3.1.3.2 -C $USER3$ -w 37:32 -c 99:38 > >-l ' > >Temperature is' > > } > > > >The above will result in WARNING if the value of the OID is between 32 > >and 37 (inclusive), CRITICAL if it's between 38 and 99 (inclusive) and > >OK for all other values. > > > >Hope that helps. Use 'check_snmp --help' for other command line args and > >their description. > > ------------------------------------------------------- This SF.Net email is sponsored by the JBoss Inc. Get Certified Today Register for a JBoss Training Course. Free Certification Exam for All Training Attendees Through End of 2005. For more info visit: http://ads.osdn.com/?ad_idv28&alloc_id845&op=click _______________________________________________ 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 ae at op5.se Wed Nov 16 21:30:57 2005 From: ae at op5.se (Andreas Ericsson) Date: Wed, 16 Nov 2005 21:30:57 +0100 Subject: snmp not working In-Reply-To: References: Message-ID: <437B9701.7000402@op5.se> Subhendu Ghosh wrote: > On Wed, 16 Nov 2005, HP Geeza wrote: > >> Hi Subhendu, >> >> Appologies for the silly question but what do you mean add a -m? >> > > Add a "-m:" > The colon after the -m option indicates an empty miblist. You don't > need a miblist if you are providing a numeric OID. This isn't required with 1.4.2, since check_snmp figures out for itself if the OID is numeric or not. > > Also please post the result of the following: > snmpget -v 1 -c public 10.30.129.30 .1.3.6.1.4.1.2012.1.1.1.4.2.0 > Or, preferrably check_snmp -vvv > If you see data other than > SNMPv2-SMI::enterprises.2012.1.1.1.4.2.0 = INTEGER: 69 > > then you may have some local mib files that don't have the correct syntax. > > The WARNING is then the result of output seen on STDERR where it was not > expected. > Which should show up when run with -vvv. -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Tel: +46 8-230225 Fax: +46 8-230231 ------------------------------------------------------- This SF.Net email is sponsored by the JBoss Inc. Get Certified Today Register for a JBoss Training Course. Free Certification Exam for All Training Attendees Through End of 2005. For more info visit: http://ads.osdn.com/?ad_id=7628&alloc_id=16845&op=click _______________________________________________ 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 jeffwilliams05 at gmail.com Wed Nov 16 21:36:37 2005 From: jeffwilliams05 at gmail.com (Jeff Williams) Date: Wed, 16 Nov 2005 14:36:37 -0600 Subject: Nagios notifies indefinitely Message-ID: <17e351010511161236i66b448e4n1eb82c73cd3670ff@mail.gmail.com> I feel like I'm losing my mind here. I am using nagios 2.0b4 and for some reason, Nagios notifies indefinitely even on services that have a specified last notification. I don't know what changed, because I have completely restored from a backup copy when this strangeness wasn't happening and it still happens. Here is an example escalation and service file: define serviceescalation{ host_name myserver service_description /VAR first_notification 3 last_notification 5 notification_interval 5 contact_groups oncall,backup } define service{ use generic-service host_name myserver service_description /VAR is_volatile 0 check_period 24x7 retry_check_interval 1 contact_groups ulsysadmins notification_interval 5 notification_period 24x7 notification_options w,u,c,r check_command check_nrpe!check_disk6 } What this used to do is notify 'ulsysadmins' for the first two notifications, then escalate to 'oncall' and 'backup' for the third through fifth notifications. Right now it does that, but then for the sixth through infinite notification, it goes back to notifying ulsysadmins. I thought this was enough to tell it to stop at 5 notifications. It used to be, but now I need to change the escalation to: define serviceescalation{ host_name myserver service_description /VAR first_notification 3 last_notification 4 notification_interval 5 contact_groups oncall,backup } define serviceescalation{ host_name myserver service_description /VAR first_notification 5 last_notification 5 notification_interval 0 contact_groups oncall,backup } Please advise. Let me know if what I'm saying is not clear. Thanks. Jeff Williams ------------------------------------------------------- This SF.Net email is sponsored by the JBoss Inc. Get Certified Today Register for a JBoss Training Course. Free Certification Exam for All Training Attendees Through End of 2005. For more info visit: http://ads.osdn.com/?ad_idv28&alloc_id845&op=click _______________________________________________ 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 tim at infostream.com.au Wed Nov 16 23:24:55 2005 From: tim at infostream.com.au (Timothy O'Hare) Date: Thu, 17 Nov 2005 09:24:55 +1100 Subject: No data displayed in webview In-Reply-To: <49AE1B79542B094CAF5C60333CC8347DF55B60@WVHQMAIL.tmctechnologies.com> References: <49AE1B79542B094CAF5C60333CC8347DF55B60@WVHQMAIL.tmctechnologies.com> Message-ID: <437BB1B7.7010002@infostream.com.au> Macros have changed from 1.2 to 2.0. See http://nagios.sourceforge.net/docs/2_0/whatsnew.html e.g. You will have to update most of your command definitions to match the new macros. Kevin Alford wrote: > I have recently upgraded from Nagios 1.2 to Nagios 2.0. I am running on > Fedora Core 3 now, I was running on Fedora Core 2. Nagios starts up > fine, and when I look in my nagios.log file, I see the data for each of > my clients. When I bring up the web page, No data is being displayed > for any of my hosts? The web page comes up fine. I can go to the > documents page, but any of the status pages don't display any data. I > have never upgraded nagios before. What I did was just keep all my > configuration files, and move them into the new location after I > installed the new version of nagios. I used the default settings for > both. I would appreciate any help provided. > > Kevin > ------------------------------------------------------- This SF.Net email is sponsored by the JBoss Inc. Get Certified Today Register for a JBoss Training Course. Free Certification Exam for All Training Attendees Through End of 2005. For more info visit: http://ads.osdn.com/?ad_id=7628&alloc_id=16845&op=click _______________________________________________ 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 tim at infostream.com.au Wed Nov 16 23:36:54 2005 From: tim at infostream.com.au (Timothy O'Hare) Date: Thu, 17 Nov 2005 09:36:54 +1100 Subject: Service notification only on hosts in a specific host group In-Reply-To: References: Message-ID: <437BB486.7010905@infostream.com.au> Hi, One way to do it would be to create a second service that is used to only check the hosts you want to be paged for e.g. NTP-paged. The downside to this is that these hosts would have 2 NTP checks against them. Tim Borgstr?m Georg wrote: > Hi, > > I have a few services that are checked on every host. The service are > defined as follow: > > define service{ > service_description NTP > servicegroups NTP > use generic-service > check_command check_ntp > host_name * > } > > Today I get notifications by mail when NTP goes down on any > host. Now I want to add a notification to my pager when NTP goes down, > but only on hosts in a specific host group. Is this possible? I have > tried to RTFM but so far I can't see how to do it. > > Any help is greatly appreciated. > > /Georg > > > ------------------------------------------------------- > This SF.Net email is sponsored by the JBoss Inc. Get Certified Today > Register for a JBoss Training Course. Free Certification Exam > for All Training Attendees Through End of 2005. For more info visit: > http://ads.osdn.com/?ad_idv28&alloc_id845&op=click > _______________________________________________ > 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 the JBoss Inc. Get Certified Today Register for a JBoss Training Course. Free Certification Exam for All Training Attendees Through End of 2005. For more info visit: http://ads.osdn.com/?ad_idv28&alloc_id845&op=click _______________________________________________ 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 sghosh at sghosh.org Wed Nov 16 23:45:37 2005 From: sghosh at sghosh.org (Subhendu Ghosh) Date: Wed, 16 Nov 2005 17:45:37 -0500 (EST) Subject: snmp not working In-Reply-To: <437B9701.7000402@op5.se> References: <437B9701.7000402@op5.se> Message-ID: On Wed, 16 Nov 2005, Andreas Ericsson wrote: > Subhendu Ghosh wrote: >> On Wed, 16 Nov 2005, HP Geeza wrote: >> >>> Hi Subhendu, >>> >>> Appologies for the silly question but what do you mean add a -m? >>> >> >> Add a "-m:" >> The colon after the -m option indicates an empty miblist. You don't need a >> miblist if you are providing a numeric OID. > > This isn't required with 1.4.2, since check_snmp figures out for itself if > the OID is numeric or not. just to close the thread - he as running v 1.4 after upgrade to current - works fine. > >> >> Also please post the result of the following: >> snmpget -v 1 -c public 10.30.129.30 .1.3.6.1.4.1.2012.1.1.1.4.2.0 >> > > Or, preferrably > check_snmp -vvv > >> If you see data other than >> SNMPv2-SMI::enterprises.2012.1.1.1.4.2.0 = INTEGER: 69 >> >> then you may have some local mib files that don't have the correct syntax. >> >> The WARNING is then the result of output seen on STDERR where it was not >> expected. >> > > Which should show up when run with -vvv. > > -- ------------------------------------------------------- This SF.Net email is sponsored by the JBoss Inc. Get Certified Today Register for a JBoss Training Course. Free Certification Exam for All Training Attendees Through End of 2005. For more info visit: http://ads.osdn.com/?ad_id=7628&alloc_id=16845&op=click _______________________________________________ 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 VINAY_SHARMA at advanex.co.jp Thu Nov 17 01:08:12 2005 From: VINAY_SHARMA at advanex.co.jp (VINAY_SHARMA at advanex.co.jp) Date: Thu, 17 Nov 2005 09:08:12 +0900 Subject: test email Message-ID: Hi Subhendu, i also getting this auto mail when i send any post or reply.can anyone delete this email. Thanks & regards ************************************** Vinay Sharma Information Systems and Solutions-Associates Advanex Inc (www.advanex.co.jp) Fon : 813-3822-5863 Fax : 813-5815-7881 Email : vinay_sharma at advanex.co.jp Subhendu Ghosh ??: nagios-users at lists.sourceforge.net ???: cc: nagios-users-admin at lists.sour ??: [Nagios-users] test email ceforge.net 2005/11/17 01:11 Q. Is anyone other than me getting these back for the list on posting? -- -sg ---------- Forwarded message ---------- Date: 16 Nov 2005 16:04:35 -0000 From: junk To: sghosh at sghosh.org Subject: Re: RE: [Nagios-users] snmp not working Hey You got the wrong address but maybe you should check out http://www.GMAIL.COM.AU ------------------------------------------------------- This SF.Net email is sponsored by the JBoss Inc. Get Certified Today Register for a JBoss Training Course. Free Certification Exam for All Training Attendees Through End of 2005. For more info visit: http://ads.osdn.com/?ad_id=7628&alloc_id=16845&op=click _______________________________________________ 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 the JBoss Inc. Get Certified Today Register for a JBoss Training Course. Free Certification Exam for All Training Attendees Through End of 2005. For more info visit: http://ads.osdn.com/?ad_id=7628&alloc_id=16845&op=click _______________________________________________ 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 arif.snort at gmail.com Thu Nov 17 01:26:33 2005 From: arif.snort at gmail.com (Arif Snort) Date: Thu, 17 Nov 2005 07:26:33 +0700 Subject: Nagios-users digest, Vol 1 #2868 - 10 msgs In-Reply-To: <20051023031530.74282124E7@sc8-sf-spam2.sourceforge.net> References: <20051023031530.74282124E7@sc8-sf-spam2.sourceforge.net> Message-ID: <198c54470511161626t5fb7da52j78386719e59c9f48@mail.gmail.com> On 10/23/05, nagios-users-request at lists.sourceforge.net < nagios-users-request at lists.sourceforge.net> wrote: > > Send Nagios-users mailing list submissions to > nagios-users at lists.sourceforge.net > > To subscribe or unsubscribe via the World Wide Web, visit > https://lists.sourceforge.net/lists/listinfo/nagios-users > or, via email, send a message with subject or body 'help' to > nagios-users-request at lists.sourceforge.net > > You can reach the person managing the list at > nagios-users-admin at lists.sourceforge.net > > When replying, please edit your Subject line so it is more specific > than "Re: Contents of Nagios-users digest..." > > > Today's Topics: > > 1. Re: Question about NEB (Hendrik Baecker) > 2. measuring throughput with Nagios (=?ISO-8859-15?Q?G=FCnther_Orth?=) > 3. Re: NagiosQL (Andreas Ericsson) > 4. nagios problem with include (Interdedicados) > 5. nagios andi include problem (Interdedicados) > 6. Re: nagios andi include problem (Arno Lehmann) > 7. Re: parent/child pains (Holger Weiss) > 8. Working VRML Plugin? (Carl Davis) > 9. Re: Nagios-users digest, Vol 1 #2863 - 26 msgs (Arif Snort) > 10. Error linking against MySQL (was: Nagios-users digest, Vol 1 #2863 - > 26 msgs) (Holger Weiss) > > --__--__-- > > Message: 1 > Date: Sat, 22 Oct 2005 07:46:24 +0200 > From: Hendrik Baecker > To: Andreas Ericsson > CC: nagios-users > Subject: Re: [Nagios-users] Question about NEB > > Hi all, > > Guess what... I've got it!! > > I've never thougt about the nebstruct_service_check_data---->> type that > tolds me if a Service Check was just initiated or processed. > > I belive your eyes are roling because of my stupid error. > > @Andreas: Thanks a lot for just showing me the right way and not the > right code. > > Best wishes for the further working > > Your crazy dancing > Hendrik ;)) > > > Andreas Ericsson schrieb: > > > Hendrik Baecker wrote: > > > >> Hi, > >> > >> OCSP negative. > >> > >> obsess_over_services=0 > >> #ocsp_command=somecommand > >> > >> Since, at first step, I want only to log the things that nrpe must > >> have, in my nagios.log (which you can see in my last post) there is > >> no single executed nsca (at the moment) just logging... > >> > >> I am sorry, but I don't understood your second part... > >> I am not quiet family with neb and c-coding... just figguring out > >> what can be done and learning... > >> > >> I thought, that my "neb_register_callback" tells the Nagios Core, > >> that my module want to have service_check_data and that the core > >> should call my module function "nsca_neb_handle_data". > >> > >> AFAIR, there is no way for my module to tell the core, that I just > >> want to have service_data after the check... or am I missing something? > >> > > > > There isn't, but you're missing something. Check the type of the > > callback struct. It's supposed to equal the proper *_PROCESSED macro > > in broker.h. > > > >> " and AFAIR it should segfault if you try to use the plugin output > >> before the check is run. " > >> > >> I think, please correct me: > >> > >> 1. Nagios-Core executes a service check. > >> 2. Nagios-Core reaper gets the result. > >> 3. Nagios-Core gives callback to my module and fills out the struct > >> nebstruct_service_check_data which my mods just reading out and plays > >> with. > >> > > > > 0: core tells modules it's time to run a check > > 1: core runs the check > > 2: reaper reaps (it always does...) > > 3: core calls module with the completed check result > > > >> When I am missing something in the logic, please tell me and I will > >> go back to my attic for study the source and come back with more > >> (hopefully better) ideas. > >> > > > > Since you're mentioning it, you might want to just add a callback for > > a service check and then rely on the fact that Nagios passes the > > proper value rather than adding the switch() case thingie. > > > >> Regards > >> Hendrik > >> > >> Andreas Ericsson schrieb: > >> > >>> Hendrik Baecker wrote: > >>> > >>>> Hi List, > >>>> > >>>> now I've changed some code from Ethan's helloworld.c NEB to give me > >>>> NEB Callbacks from Nagios Core. > >>>> > >>>> I've registered a callback for Service Check data like this: > >>>> > >>>> > >>>> > neb_register_callback(NEBCALLBACK_SERVICE_CHECK_DATA,nsca_neb_module_handle,0,nsca_neb_handle_data); > >>>> > >>>> > >>>> and I am processing this Service Checkdata just in that way, that I > >>>> want to see them in the log: > >>>> > >>>> ### > >>>> > >>>> case NEBCALLBACK_SERVICE_CHECK_DATA: > >>>> if((scdata=(nebstruct_service_check_data *)data)){ > >>>> > >>>> > snprintf(temp_buffer,sizeof(temp_buffer)-1,"nsca_neb:%s\t%s\t%d\t%s",(scdata->host_name), > >>>> > >>>> (scdata->service_description), > >>>> (scdata->return_code), (scdata->output)); > >>>> temp_buffer[sizeof(temp_buffer)-1]='\x0'; > >>>> > >>>> write_to_all_logs(temp_buffer,NSLOG_INFO_MESSAGE); > >>>> } > >>>> break; > >>>> > >>>> ..... > >>>> > >>>> ### > >>>> > >>>> I am a little confused, cause I am getting two (different) Log > >>>> entries for each service check! > >>>> > >>>> Log-Output: > >>>> > >>>> [1129892835] nsca_neb:Nagios_Slave Disk /usr 0 > >>>> DISK OK - free space: /usr 3425 MB (57%): > >>>> [1129892836] nsca_neb:Nagios_Slave Disk /usr 0 > >>>> DISK OK - free space: /usr 3425 MB (57%): > >>>> [1129892854] nsca_neb:Nagios_Master Disk /var 0 > >>>> DISK OK - free space: /var 2865 MB (57%): > >>>> [1129892855] nsca_neb:Nagios_Master Disk /var 0 > >>>> DISK OK - free space: /var 2865 MB (57%): > >>>> > >>>> On the other side I have perfdata enabled and just see one entry > >>>> for each check. > >>>> > >>>> Can anyone explain? > >>>> > >>>> Is it a feature? Is it a bug? > >>>> > >>> > >>> I think you've still got the ocsp-command (or oscp or something) > >>> enabled, so that the Nagios core and the module are both running > >>> send_nsca. > >>> > >>> You also need to watch out for Nagios calling the module twice for > >>> each check it does. Once before and once after. This isn't likely to > >>> be what you're seeing though, because the two entries that are > >>> temporally close to each other have identical plugin output and > >>> AFAIR it should segfault if you try to use the plugin output before > >>> the check is run. > >>> > >> > >> > > > > > > > --__--__-- > > Message: 2 > Date: Sat, 22 Oct 2005 10:25:17 +0200 > From: =?ISO-8859-15?Q?G=FCnther_Orth?= > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] measuring throughput with Nagios > > Hi! > > Is it possible to measuring the monthly throughput through a router=20 > (Enterasys XSR 1805)? > > And how can I monitor this throughput with nagios? > > Thanks a lot! > > G=FCnther > > > --__--__-- > > Message: 3 > Date: Sat, 22 Oct 2005 11:05:44 +0200 > From: Andreas Ericsson > To: nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] NagiosQL > > Tao Yaoning wrote: > > How do you configure your apache server and Mysql? > > > > > By carefully reading the manual, faq and readme's of the various > projects and then doing what those docs say. It often involves some > trial and error in the end. > > -- > Andreas Ericsson andreas.ericsson at op5.se > OP5 AB www.op5.se > Tel: +46 8-230225 Fax: +46 8-230231 > > > --__--__-- > > Message: 4 > From: Interdedicados > To: nagios-users at lists.sourceforge.net > Date: Sat, 22 Oct 2005 12:03:40 +0100 > Subject: [Nagios-users] nagios problem with include > > Hi ALL: > > > Im installing nagios and when I put this line in httpd.conf : > > Include /usr/local/nagios/etc/apache.conf > > > to apache.conf: > > > ScriptAlias /cgi-bin/nagios /usr/local/nagios/sbin > ScriptAlias /nagios/cgi-bin /usr/local/nagios/sbin > > Options ExecCGI > > AllowOverride AuthConfig > Order Allow,Deny > Allow From All > > AuthName "Acceso a Nagios" > AuthType Basic > AuthUserFile /usr/local/nagios/etc/htpasswd.users > require valid-user > > > Alias /nagios/stylesheets /usr/local/nagios/share/stylesheets > > Alias /netsaint /usr/local/nagios/share > Alias /nagios /usr/local/nagios/share > > Options FollowSymLinks > > AllowOverride AuthConfig > Order Allow,Deny > Allow From All > > AuthName "Acceso a Nagios" > AuthType Basic > AuthUserFile /usr/local/nagios/etc/htpasswd.users > require valid-user > > > > Then httpd doesn't start and I do a /etc/init.d/httpd configtest and it > > says: > > AllowOverride not allowed here > > > or > > > ScriptAlias not allowed here > > > and if I comment those lines error goes to next line. > > > Can you help me? > > Thank you > > > > > > > --__--__-- > > Message: 5 > From: Interdedicados > To: nagios-users at lists.sourceforge.net > Date: Sat, 22 Oct 2005 12:21:17 +0100 > Subject: [Nagios-users] nagios andi include problem > > Hi ALL: > > > Im installing nagios and when I put this line in httpd.conf : > > Include /usr/local/nagios/etc/apache.conf > > > to apache.conf: > > > ScriptAlias /cgi-bin/nagios /usr/local/nagios/sbin > ScriptAlias /nagios/cgi-bin /usr/local/nagios/sbin > > Options ExecCGI > > AllowOverride AuthConfig > Order Allow,Deny > Allow From All > > AuthName "Acceso a Nagios" > AuthType Basic > AuthUserFile /usr/local/nagios/etc/htpasswd.users > require valid-user > > > Alias /nagios/stylesheets /usr/local/nagios/share/stylesheets > > Alias /netsaint /usr/local/nagios/share > Alias /nagios /usr/local/nagios/share > > Options FollowSymLinks > > AllowOverride AuthConfig > Order Allow,Deny > Allow From All > > AuthName "Acceso a Nagios" > AuthType Basic > AuthUserFile /usr/local/nagios/etc/htpasswd.users > require valid-user > > > > Then httpd doesn't start and I do a /etc/init.d/httpd configtest and it > > says: > > AllowOverride not allowed here > > > or > > > ScriptAlias not allowed here > > > and if I comment those lines error goes to next line. > > I use fedora 4, nagios-1.2 and nagios-plugins-1.3.1 > > > Can you help me? > > Thank you > > > > > --__--__-- > > Message: 6 > Date: Sat, 22 Oct 2005 14:00:23 +0200 > From: Arno Lehmann > To: Interdedicados > Cc: nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] nagios andi include problem > > You sent this mail twice. > > On 22.10.2005 13:21, Interdedicados wrote: > > > Hi ALL: > > > > > > Im installing nagios and when I put this line in httpd.conf : > > > > Include /usr/local/nagios/etc/apache.conf > > > > > > to apache.conf: > > > > > > ScriptAlias /cgi-bin/nagios /usr/local/nagios/sbin > > ScriptAlias /nagios/cgi-bin /usr/local/nagios/sbin > > That needs to be put in the proper location or directory directives. The > apache Manual has lots of explanations, and, assuming you've got apache > installed from some sort of package, the existing configuration can also > be used as a template. > > Arno > > > Options ExecCGI > > > > AllowOverride AuthConfig > > Order Allow,Deny > > Allow From All > > > > AuthName "Acceso a Nagios" > > AuthType Basic > > AuthUserFile /usr/local/nagios/etc/htpasswd.users > > require valid-user > > > > > > Alias /nagios/stylesheets /usr/local/nagios/share/stylesheets > > > > Alias /netsaint /usr/local/nagios/share > > Alias /nagios /usr/local/nagios/share > > > > Options FollowSymLinks > > > > AllowOverride AuthConfig > > Order Allow,Deny > > Allow From All > > > > AuthName "Acceso a Nagios" > > AuthType Basic > > AuthUserFile /usr/local/nagios/etc/htpasswd.users > > require valid-user > > > > > > > > Then httpd doesn't start and I do a /etc/init.d/httpd configtest and it > > > > says: > > > > AllowOverride not allowed here > > > > > > or > > > > > > ScriptAlias not allowed here > > > > > > and if I comment those lines error goes to next line. > > > > I use fedora 4, nagios-1.2 and nagios-plugins-1.3.1 > > > > > > Can you help me? > > > > Thank you > > > > > > > > > > ------------------------------------------------------- > > This SF.Net email is sponsored by: > > Power Architecture Resource Center: Free content, downloads, > discussions, > > and more. http://solutions.newsforge.com/ibmarch.tmpl > > _______________________________________________ > > 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 > > > > -- > IT-Service Lehmann al at its-lehmann.de > Arno Lehmann http://www.its-lehmann.de > > > --__--__-- > > Message: 7 > Date: Sun, 23 Oct 2005 02:50:49 +0200 > From: Holger Weiss > To: Nagios Users > Subject: Re: [Nagios-users] parent/child pains > > * Rossz Vamos-Wentworth [2005-10-21 11:56]: > > I definately need to get this mess done right because in a week I start > > a new job and one of the things I will be taking care of is setting up a > > Nagios system for a large number of hosts and services. Doing it wrong > > will multiple this morning's alert problems by a thousand fold! :( > > FWIW, I set "parents" simply by tracerouting to the hosts specified in > the Nagios configuration via "address" and then using (the first part > of) the name of the last hop prior to the host: > > #!/usr/bin/perl -w > # > # $ cp hosts.cfg hosts.cfg.bak > # $ setparents.pl < hosts.cfg.bak > hosts.cfg > # > sub traceroute ($) { > my $host = shift; > my @hops = `/usr/bin/traceroute -I $host 2>/dev/null`; > die "traceroute -I $host failed" if $? >> 8 != 0; > return undef unless @hops > 1; # ignore local hosts > die "parse error" unless $hops[-2] =~ /\s+\d+\s+([\w-]+)/; > $1; > } > for (<>) { > print unless /^\s*parents/; > if (/^\s*address\s+([\w\.-]+)/) { > if (defined (my $parent = traceroute($1))) { > print "\tparents $parent\n"; > } > } > } > > Whether this works and whether it makes sense depends on the network > layout, of course. > > Holger > > -- > PGP fingerprint: F1F0 9071 8084 A426 DD59 9839 59D3 F3A1 B8B5 D3DE > > > --__--__-- > > Message: 8 > From: Carl Davis > To: Nagios Users > Date: Sat, 22 Oct 2005 20:25:03 -0500 > Subject: [Nagios-users] Working VRML Plugin? > > What plugin is everyone using with Linux and Firefox? I am using FC4. > > I have traced my problems with the 3d status map to the plugin because > it seems to work fine on a windows machine. I tried some VRML sites to > see if I could see anything with the openvrml plugin and it does work > sometimes, so I don't think it is a situation of my not having it > installed or installed correctly. > > > > --__--__-- > > Message: 9 > Date: Sun, 23 Oct 2005 09:03:26 +0700 > From: Arif Snort > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Re: Nagios-users digest, Vol 1 #2863 - 26 msgs > > ------=_Part_7499_9141084.1130033006914 > Content-Type: text/plain; charset=ISO-8859-1 > Content-Transfer-Encoding: quoted-printable > Content-Disposition: inline > > hello,..everybody..please can you help me..!!!! > i have a problem when installed nagios with mysql.. > that process are : configure,make all , so i found error like this : > (I hope solution from you are) > > > ///////////////////////////////////////////////////////////////////////////= > /////////////////////////////////////////////////////////////// > gcc -g -O2 -DHAVE_CONFIG_H -DNSCORE -c -o checks.o checks.c > gcc -g -O2 -DHAVE_CONFIG_H -DNSCORE -c -o config.o config.c > gcc -g -O2 -DHAVE_CONFIG_H -DNSCORE -c -o commands.o commands.c > gcc -g -O2 -DHAVE_CONFIG_H -DNSCORE -c -o flapping.o flapping.c > gcc -g -O2 -DHAVE_CONFIG_H -DNSCORE -c -o logging.o logging.c > gcc -g -O2 -DHAVE_CONFIG_H -DNSCORE -c -o notifications.o notifications.c > gcc -g -O2 -DHAVE_CONFIG_H -DNSCORE -c -o sehandlers.o sehandlers.c > gcc -g -O2 -DHAVE_CONFIG_H -DNSCORE -c -o utils.o utils.c > gcc -g -O2 -DHAVE_CONFIG_H -DNSCORE -c -o sretention.o sretention.c > gcc -g -O2 -DHAVE_CONFIG_H -DNSCORE -c -o perfdata.o perfdata.c > gcc -g -O2 -DHAVE_CONFIG_H -DNSCORE nagios.c checks.o config.o commands.o > flapping.o logging.o notifications.o sehandlers.o utils.o > sretention.o../xdata/xrddb.c ../common/comments.c ../xdata/xcddb.c > ../common/objects.c > ../xdata/xodtemplate.c ../common/statusdata.c ../xdata/xsddb.c > perfdata.o../xdata/xpddefault.c ../common/downtime.c ../xdata/xdddb.c > -lm -o nagios > /tmp/ccyNKzvy.o(.text+0xf3): In function `xrddb_query': > ../xdata/xrddb.c:329: undefined reference to `mysql_query' > /tmp/ccyNKzvy.o(.text+0x158): In function > `xrddb_read_service_information': > ../xdata/xrddb.c:1129: undefined reference to `mysql_store_result' > /tmp/ccyNKzvy.o(.text+0x3b2):../xdata/xrddb.c:1191: undefined reference to > `mysql_fetch_row' > /tmp/ccyNKzvy.o(.text+0x3f8):../xdata/xrddb.c:1195: undefined reference to > `mysql_free_result' > /tmp/ccyNKzvy.o(.text+0x488): In function `xrddb_read_host_information': > ../xdata/xrddb.c:951: undefined reference to `mysql_store_result' > /tmp/ccyNKzvy.o(.text+0x67a):../xdata/xrddb.c:999: undefined reference to > `mysql_fetch_row' > /tmp/ccyNKzvy.o(.text+0x696):../xdata/xrddb.c:1004: undefined reference to > `mysql_free_result' > /tmp/ccyNKzvy.o(.text+0x728): In function > `xrddb_read_program_information': > ../xdata/xrddb.c:850: undefined reference to `mysql_store_result' > /tmp/ccyNKzvy.o(.text+0x753):../xdata/xrddb.c:854: undefined reference to > `mysql_fetch_row' > /tmp/ccyNKzvy.o(.text+0x822):../xdata/xrddb.c:867: undefined reference to > `mysql_free_result' > /tmp/ccyNKzvy.o(.text+0x10ac): In function `xrddb_disconnect': > ../xdata/xrddb.c:299: undefined reference to `mysql_close' > /tmp/ccyNKzvy.o(.text+0x10ef): In function `xrddb_connect': > ../xdata/xrddb.c:252: undefined reference to `mysql_real_connect' > /tmp/ccyNKzvy.o(.text+0x1112):../xdata/xrddb.c:254: undefined reference to > `mysql_close' > /tmp/ccyNKzvy.o(.text+0x11a0): In function `xrddb_initialize': > ../xdata/xrddb.c:215: undefined reference to `mysql_init' > /tmp/ccwK5qVS.o(.text+0x103): In function `xcddb_query': > ../xdata/xcddb.c:329: undefined reference to `mysql_query' > /tmp/ccwK5qVS.o(.text+0x12c): In function `xcddb_disconnect': > ../xdata/xcddb.c:303: undefined reference to `mysql_close' > /tmp/ccwK5qVS.o(.text+0x16f): In function `xcddb_connect': > ../xdata/xcddb.c:259: undefined reference to `mysql_real_connect' > /tmp/ccwK5qVS.o(.text+0x192):../xdata/xcddb.c:261: undefined reference to > `mysql_close' > /tmp/ccwK5qVS.o(.text+0x418): In function > `xcddb_validate_service_comments'= > : > ../xdata/xcddb.c:566: undefined reference to `mysql_store_result' > /tmp/ccwK5qVS.o(.text+0x44c):../xdata/xcddb.c:576: undefined reference to > `mysql_fetch_row' > /tmp/ccwK5qVS.o(.text+0x588): In function `xcddb_validate_host_comments': > ../xdata/xcddb.c:477: undefined reference to `mysql_store_result' > /tmp/ccwK5qVS.o(.text+0x5b9):../xdata/xcddb.c:487: undefined reference to > `mysql_fetch_row' > /tmp/ccwK5qVS.o(.text+0x797): In function `xcddb_save_service_comment': > ../xdata/xcddb.c:847: undefined reference to `mysql_insert_id' > /tmp/ccwK5qVS.o(.text+0x90d): In function `xcddb_save_host_comment': > ../xdata/xcddb.c:748: undefined reference to `mysql_insert_id' > /tmp/ccwK5qVS.o(.text+0x990): In function `xcddb_initialize': > ../xdata/xcddb.c:234: undefined reference to `mysql_init' > /tmp/ccRpqzDd.o(.text+0x123): In function `xsddb_query': > ../xdata/xsddb.c:463: undefined reference to `mysql_query' > /tmp/ccRpqzDd.o(.text+0x1e0): In function `xsddb_check_connection': > ../xdata/xsddb.c:363: undefined reference to `mysql_errno' > /tmp/ccRpqzDd.o(.text+0x215):../xdata/xsddb.c:369: undefined reference to > `mysql_close' > /tmp/ccRpqzDd.o(.text+0x27c): In function `xsddb_disconnect': > ../xdata/xsddb.c:335: undefined reference to `mysql_close' > /tmp/ccRpqzDd.o(.text+0x36e): In function `xsddb_connect': > ../xdata/xsddb.c:286: undefined reference to `mysql_real_connect' > /tmp/ccRpqzDd.o(.text+0x38b):../xdata/xsddb.c:288: undefined reference to > `mysql_close' > /tmp/ccRpqzDd.o(.text+0x1150): In function `xsddb_initialize': > ../xdata/xsddb.c:253: undefined reference to `mysql_init' > /tmp/ccViuojp.o(.text+0x103): In function `xdddb_query': > ../xdata/xdddb.c:329: undefined reference to `mysql_query' > /tmp/ccViuojp.o(.text+0x16d): In function `xdddb_read_service_downtime': > ../xdata/xdddb.c:1238: undefined reference to `mysql_store_result' > /tmp/ccViuojp.o(.text+0x192):../xdata/xdddb.c:1238: undefined reference to > `mysql_fetch_row' > /tmp/ccViuojp.o(.text+0x282):../xdata/xdddb.c:1275: undefined reference to > `mysql_fetch_row' > /tmp/ccViuojp.o(.text+0x2a0):../xdata/xdddb.c:1280: undefined reference to > `mysql_free_result' > /tmp/ccViuojp.o(.text+0x2bb):../xdata/xdddb.c:1247: undefined reference to > `mysql_free_result' > /tmp/ccViuojp.o(.text+0x31d): In function `xdddb_read_host_downtime': > ../xdata/xdddb.c:1107: undefined reference to `mysql_store_result' > /tmp/ccViuojp.o(.text+0x342):../xdata/xdddb.c:1107: undefined reference to > `mysql_fetch_row' > /tmp/ccViuojp.o(.text+0x42d):../xdata/xdddb.c:1144: undefined reference to > `mysql_fetch_row' > /tmp/ccViuojp.o(.text+0x44b):../xdata/xdddb.c:1149: undefined reference to > `mysql_free_result' > /tmp/ccViuojp.o(.text+0x466):../xdata/xdddb.c:1116: undefined reference to > `mysql_free_result' > /tmp/ccViuojp.o(.text+0x4ac): In function `xdddb_disconnect': > ../xdata/xdddb.c:303: undefined reference to `mysql_close' > /tmp/ccViuojp.o(.text+0x4ee): In function `xdddb_connect': > ../xdata/xdddb.c:259: undefined reference to `mysql_real_connect' > /tmp/ccViuojp.o(.text+0x511):../xdata/xdddb.c:261: undefined reference to > `mysql_close' > /tmp/ccViuojp.o(.text+0x65d): In function > `xdddb_validate_service_downtime'= > : > ../xdata/xdddb.c:587: undefined reference to `mysql_store_result' > /tmp/ccViuojp.o(.text+0x678):../xdata/xdddb.c:587: undefined reference to > `mysql_fetch_row' > /tmp/ccViuojp.o(.text+0x6e0): In function > `xdddb_validate_service_downtime'= > : > /usr/include/stdlib.h:398: undefined reference to `mysql_fetch_row' > /tmp/ccViuojp.o(.text+0x7fd): In function `xdddb_validate_host_downtime': > ../xdata/xdddb.c:473: undefined reference to `mysql_store_result' > /tmp/ccViuojp.o(.text+0x815):../xdata/xdddb.c:473: undefined reference to > `mysql_fetch_row' > /tmp/ccViuojp.o(.text+0x87a): In function `xdddb_validate_host_downtime': > /usr/include/stdlib.h:398: undefined reference to `mysql_fetch_row' > /tmp/ccViuojp.o(.text+0xa02): In function `xdddb_save_service_downtime': > ../xdata/xdddb.c:887: undefined reference to `mysql_insert_id' > /tmp/ccViuojp.o(.text+0xb87): In function `xdddb_save_host_downtime': > ../xdata/xdddb.c:788: undefined reference to `mysql_insert_id' > /tmp/ccViuojp.o(.text+0xc10): In function `xdddb_initialize': > ../xdata/xdddb.c:234: undefined reference to `mysql_init' > collect2: ld returned 1 exit status > make[1]: *** [nagios] Error 1 > make[1]: Leaving directory `/home/ans/Feri/nagios-1.2/base' > make: *** [all] Error 2 > > > ///////////////////////////////////////////////////////////////////////////= > /////////////////////////////////////////////////////// > > ------=_Part_7499_9141084.1130033006914 > Content-Type: text/html; charset=ISO-8859-1 > Content-Transfer-Encoding: quoted-printable > Content-Disposition: inline > >
hello,..everybody..please can you help me..!!!!
>
i have a problem when installed nagios with mysql..
>
that process are : configure,make all , so  i found error like > th= > is :
>
(I hope solution from you are)
>
 
> >
//////////////////////////////////////////////////////////////////////= > ////////////////////////////////////////////////////////////////////
>
gcc -g -O2 -DHAVE_CONFIG_H -DNSCORE   -c -o checks.ochecks.= > c
gcc -g -O2 -DHAVE_CONFIG_H -DNSCORE   -c -o config.oconfig.= > c
gcc -g -O2 -DHAVE_CONFIG_H -DNSCORE   -c -o commands.ocomma= > nds.c
gcc -g -O2 -DHAVE_CONFIG_H -DNSCORE   -c -o=20 > flapping.o flapping.c
gcc -g -O2 -DHAVE_CONFIG_H -DNSCORE   > -c= > -o logging.o logging.c
gcc -g -O2 -DHAVE_CONFIG_H -DNSCORE   > = > -c -o notifications.o notifications.c
gcc -g -O2 -DHAVE_CONFIG_H > -DNSCOR= > E   -c -o sehandlers.o > sehandlers.c
gcc -g -O2 -DHAVE_CONFIG_H -DNSCORE   -c -o > util= > s.o utils.c
gcc -g -O2 -DHAVE_CONFIG_H -DNSCORE   -c -o > sreten= > tion.o sretention.c
gcc -g -O2 -DHAVE_CONFIG_H -DNSCORE   -c > -= > o perfdata.o perfdata.c
> gcc -g -O2 -DHAVE_CONFIG_H -DNSCORE  nagios.c checks.o config.ocomman= > ds.o flapping.o logging.o notifications.o sehandlers.o utils.o > sretention.o= > ../xdata/xrddb.c ../common/comments.c ../xdata/xcddb.c > ../common/objects.c= > ../xdata/xodtemplate.c ../common/statusdata.c ../xdata/xsddb.c=20 > perfdata.o ../xdata/xpddefault.c ../common/downtime.c > ../xdata/xdddb.c = > ;   -lm -o nagios
/tmp/ccyNKzvy.o(.text+0xf3): In function > `xr= > ddb_query':
../xdata/xrddb.c:329: undefined reference to > `mysql_query' r>/tmp/ccyNKzvy.o(.text+0x158): In function > `xrddb_read_service_information= > ': >
../xdata/xrddb.c:1129: undefined reference to > `mysql_store_result'
/= > tmp/ccyNKzvy.o(.text+0x3b2):../xdata/xrddb.c:1191: undefined reference to > `= > mysql_fetch_row'
/tmp/ccyNKzvy.o(.text+0x3f8):../xdata/xrddb.c:1195: > und= > efined reference to `mysql_free_result' >
/tmp/ccyNKzvy.o(.text+0x488): In function > `xrddb_read_host_information'= > :
../xdata/xrddb.c:951: undefined reference to > `mysql_store_result'
/= > tmp/ccyNKzvy.o(.text+0x67a):../xdata/xrddb.c:999: undefined reference to > `m= > ysql_fetch_row' >
/tmp/ccyNKzvy.o(.text+0x696):../xdata/xrddb.c:1004: undefined > reference= > to `mysql_free_result'
/tmp/ccyNKzvy.o(.text+0x728): In function > `xrddb= > _read_program_information':
../xdata/xrddb.c:850: undefined reference > to= > `mysql_store_result' >
/tmp/ccyNKzvy.o(.text+0x753):../xdata/xrddb.c:854: undefined reference > = > to `mysql_fetch_row'
/tmp/ccyNKzvy.o(.text+0x822):../xdata/xrddb.c:867: > = > undefined reference to > `mysql_free_result'
/tmp/ccyNKzvy.o(.text+0x10ac)= > : In function `xrddb_disconnect': >
../xdata/xrddb.c:299: undefined reference to > `mysql_close'
/tmp/ccyN= > Kzvy.o(.text+0x10ef): In function > `xrddb_connect':
../xdata/xrddb.c:252:= > undefined reference to > `mysql_real_connect'
/tmp/ccyNKzvy.o(.text+0x111= > 2):../xdata/xrddb.c:254: undefined reference to `mysql_close' >
/tmp/ccyNKzvy.o(.text+0x11a0): In function > `xrddb_initialize':
../xd= > ata/xrddb.c:215: undefined reference to > `mysql_init'
/tmp/ccwK5qVS.o(.te= > xt+0x103): In function `xcddb_query':
../xdata/xcddb.c:329: undefined > re= > ference to `mysql_query' >
/tmp/ccwK5qVS.o(.text+0x12c): In function > `xcddb_disconnect':
../xda= > ta/xcddb.c:303: undefined reference to > `mysql_close'
/tmp/ccwK5qVS.o(.te= > xt+0x16f): In function `xcddb_connect':
../xdata/xcddb.c:259: undefined > = > reference to `mysql_real_connect' >
/tmp/ccwK5qVS.o(.text+0x192):../xdata/xcddb.c:261: undefined reference > = > to `mysql_close'
/tmp/ccwK5qVS.o(.text+0x418): In function > `xcddb_valida= > te_service_comments':
../xdata/xcddb.c:566: undefined reference to > `mysq= > l_store_result' >
/tmp/ccwK5qVS.o(.text+0x44c):../xdata/xcddb.c:576: undefined reference > = > to `mysql_fetch_row'
/tmp/ccwK5qVS.o(.text+0x588): In function > `xcddb_va= > lidate_host_comments':
../xdata/xcddb.c:477: undefined reference to > `mys= > ql_store_result' >
/tmp/ccwK5qVS.o(.text+0x5b9):../xdata/xcddb.c:487: undefined reference > = > to `mysql_fetch_row'
/tmp/ccwK5qVS.o(.text+0x797): In function > `xcddb_sa= > ve_service_comment':
../xdata/xcddb.c:847: undefined reference to > `mysql= > _insert_id' >
/tmp/ccwK5qVS.o(.text+0x90d): In function > `xcddb_save_host_comment': >../xdata/xcddb.c:748: undefined reference to > `mysql_insert_id'
/tmp/ccw= > K5qVS.o(.text+0x990): In function > `xcddb_initialize':
../xdata/xcddb.c:2= > 34: undefined reference to `mysql_init' >
/tmp/ccRpqzDd.o(.text+0x123): In function > `xsddb_query':
../xdata/xs= > ddb.c:463: undefined reference to > `mysql_query'
/tmp/ccRpqzDd.o(.text+0x= > 1e0): In function `xsddb_check_connection':
../xdata/xsddb.c:363: > undefi= > ned reference to `mysql_errno' >
/tmp/ccRpqzDd.o(.text+0x215):../xdata/xsddb.c:369: undefined reference > = > to `mysql_close'
/tmp/ccRpqzDd.o(.text+0x27c): In function > `xsddb_discon= > nect':
../xdata/xsddb.c:335: undefined reference to `mysql_close'
> /tmp/ccRpqzDd.o(.text+0x36e): In function > `xsddb_connect':
../xdata/xsdd= > b.c:286: undefined reference to > `mysql_real_connect'
/tmp/ccRpqzDd.o(.te= > xt+0x38b):../xdata/xsddb.c:288: undefined reference to `mysql_close'
> /tmp/ccRpqzDd.o(.text+0x1150): In function > `xsddb_initialize':
../xdata/= > xsddb.c:253: undefined reference to > `mysql_init'
/tmp/ccViuojp.o(.text+0= > x103): In function `xdddb_query':
../xdata/xdddb.c:329: undefined > refere= > nce to `mysql_query' >
/tmp/ccViuojp.o(.text+0x16d): In function > `xdddb_read_service_downtime'= > :
../xdata/xdddb.c:1238: undefined reference to > `mysql_store_result'
= > /tmp/ccViuojp.o(.text+0x192):../xdata/xdddb.c:1238: undefined reference to > = > `mysql_fetch_row' >
/tmp/ccViuojp.o(.text+0x282):../xdata/xdddb.c:1275: undefined > reference= > to > `mysql_fetch_row'
/tmp/ccViuojp.o(.text+0x2a0):../xdata/xdddb.c:1280= > : undefined reference to > `mysql_free_result'
/tmp/ccViuojp.o(.text+0x2bb= > ):../xdata/xdddb.c:1247: undefined reference to `mysql_free_result' >
/tmp/ccViuojp.o(.text+0x31d): In function > `xdddb_read_host_downtime': r>../xdata/xdddb.c:1107: undefined reference to > `mysql_store_result'
/tm= > p/ccViuojp.o(.text+0x342):../xdata/xdddb.c:1107: undefined reference to > `my= > sql_fetch_row' >
/tmp/ccViuojp.o(.text+0x42d):../xdata/xdddb.c:1144: undefined > reference= > to > `mysql_fetch_row'
/tmp/ccViuojp.o(.text+0x44b):../xdata/xdddb.c:1149= > : undefined reference to > `mysql_free_result'
/tmp/ccViuojp.o(.text+0x466= > ):../xdata/xdddb.c:1116: undefined reference to `mysql_free_result' >
/tmp/ccViuojp.o(.text+0x4ac): In function > `xdddb_disconnect':
../xda= > ta/xdddb.c:303: undefined reference to > `mysql_close'
/tmp/ccViuojp.o(.te= > xt+0x4ee): In function `xdddb_connect':
../xdata/xdddb.c:259: undefined > = > reference to `mysql_real_connect' >
/tmp/ccViuojp.o(.text+0x511):../xdata/xdddb.c:261: undefined reference > = > to `mysql_close'
/tmp/ccViuojp.o(.text+0x65d): In function > `xdddb_valida= > te_service_downtime':
../xdata/xdddb.c:587: undefined reference to > `mysq= > l_store_result' >
/tmp/ccViuojp.o(.text+0x678):../xdata/xdddb.c:587: undefined reference > = > to `mysql_fetch_row'
/tmp/ccViuojp.o(.text+0x6e0): In function > `xdddb_va= > lidate_service_downtime':
/usr/include/stdlib.h:398: undefined > reference= > to `mysql_fetch_row' >
/tmp/ccViuojp.o(.text+0x7fd): In function > `xdddb_validate_host_downtime= > ':
../xdata/xdddb.c:473: undefined reference to > `mysql_store_result'
= > /tmp/ccViuojp.o(.text+0x815):../xdata/xdddb.c:473: undefined reference to > `= > mysql_fetch_row' >
/tmp/ccViuojp.o(.text+0x87a): In function > `xdddb_validate_host_downtime= > ':
/usr/include/stdlib.h:398: undefined reference to > `mysql_fetch_row' r>/tmp/ccViuojp.o(.text+0xa02): In function `xdddb_save_service_downtime': >
../xdata/xdddb.c:887: undefined reference to > `mysql_insert_id'
/tmp/= > ccViuojp.o(.text+0xb87): In function > `xdddb_save_host_downtime':
../xdat= > a/xdddb.c:788: undefined reference to > `mysql_insert_id'
/tmp/ccViuojp.o(= > .text+0xc10): In function `xdddb_initialize': >
../xdata/xdddb.c:234: undefined reference to `mysql_init'
collect2: > = > ld returned 1 exit status
make[1]: *** [nagios] Error 1
make[1]: > Leav= > ing directory `/home/ans/Feri/nagios-1.2/base'
make: *** [all] Error 2 >
>
 
> >
//////////////////////////////////////////////////////////////////////= > ////////////////////////////////////////////////////////////
> > ------=_Part_7499_9141084.1130033006914-- > > > --__--__-- > > Message: 10 > Date: Sun, 23 Oct 2005 04:49:19 +0200 > From: Holger Weiss > To: Nagios Users > Subject: [Nagios-users] Error linking against MySQL (was: Nagios-users > digest, Vol 1 #2863 - 26 msgs) > > * Arif Snort [2005-10-23 09:03]: > > gcc -g -O2 -DHAVE_CONFIG_H -DNSCORE nagios.c checks.o config.o > commands.o > > flapping.o logging.o notifications.o sehandlers.o utils.o > > sretention.o../xdata/xrddb.c ../common/comments.c ../xdata/xcddb.c > > ../common/objects.c > > ../xdata/xodtemplate.c ../common/statusdata.c ../xdata/xsddb.c > > perfdata.o../xdata/xpddefault.c ../common/downtime.c ../xdata/xdddb.c > > -lm -o nagios > > /tmp/ccyNKzvy.o(.text+0xf3): In function `xrddb_query': > > ../xdata/xrddb.c:329: undefined reference to `mysql_query' > > What's the path to your MySQL installation? How did you call Nagios' > configure? Did you specify "--with-mysql-lib=/path/to/mysql/lib"? > > Holger > > PS: Please choose a better subject next time. > > -- > PGP fingerprint: F1F0 9071 8084 A426 DD59 9839 59D3 F3A1 B8B5 D3DE > > > > --__--__-- > > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > > > End of Nagios-users Digest i call nagios configure; --with-mysql-lib=/usr/lib/mysql --with-mysql-inc=/usr/include/php/ext/mysql/libmysql --with-gd-lib=/usr/lib --with-gd-inc=/usr/include/php/ext/mysql/gd/libgd are the specify true? and the point librarys is: /usr/lib/mysql = libmysql.so.14 ... /libmysqlclient.so.14.0.0 root# la/usr/lib =libgd.so.2 .. libgd.so.2.0.0 root# la/usr/include .. .../libmysql =errmsg.h mysql.h root# la/usr/include ...../gd/libgd =gd.h are the directory is true? -------------- next part -------------- An HTML attachment was scrubbed... URL: From jlin at myvest.com Thu Nov 17 01:38:12 2005 From: jlin at myvest.com (Julie S. Lin) Date: Wed, 16 Nov 2005 16:38:12 -0800 Subject: nagios web interface not working In-Reply-To: <20051117002809.BE8ED12DB7@sc8-sf-spam2.sourceforge.net> References: <20051117002809.BE8ED12DB7@sc8-sf-spam2.sourceforge.net> Message-ID: <437BD0F4.9050009@myvest.com> Hi I'm running nagios 1.2 on redhat linux everything was working fine for a while, then the web interface seemed to drop out for some reason nagios.log shows nothing useful, can someone point me in the right direction to fix this? i'd greatly appreciate it as I'm a relative newbie to nagios. --jsl > > > > > >> >> >> >> >>>>>>>>> >>>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> >> >> >> ------------------------------------------------------- This SF.Net email is sponsored by the JBoss Inc. Get Certified Today Register for a JBoss Training Course. Free Certification Exam for All Training Attendees Through End of 2005. For more info visit: http://ads.osdn.com/?ad_id=7628&alloc_id=16845&op=click _______________________________________________ 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 ladams at cloudmark.com Thu Nov 17 01:38:39 2005 From: ladams at cloudmark.com (Lori Adams) Date: Wed, 16 Nov 2005 16:38:39 -0800 Subject: Logged in as ? Message-ID: Actually that was all fine. The user was in the htpasswd.users file. It turned out to be a permissions issue on the directories themselves. -Lori ________________________________ From: Mehmet Fatih AKBULUT [mailto:mfatihakbulut at gmail.com] Sent: Wednesday, November 16, 2005 10:05 AM To: nagios-users at lists.sourceforge.net Cc: Lori Adams Subject: Re: [Nagios-users] Logged in as ? first create a .htaccess file both in your nagios and in cgi-bin directories. and put the datas below in it AuthName "Nagios Access" AuthType Basic AuthUserFile /usr/local/nagios/etc/htpasswd.users require valid-user then create a htpasswd.users file with the command below : htpasswd -c /usr/local/nagios/etc/htpasswd.users nagiosadmin and after creating this file u can add as many users as u want. by the way, pay attention to the directories!!! it may be different on your system. (i mean /usr/local/nagios/etc ... etc) (ps: these are all written in the documentation. u should read all the pages again :p) On 11/16/05, Lori Adams < ladams at cloudmark.com > wrote: It appears that authentication is setup correctly with nagios.2.04b and apache 1. I'm able to use authentication to log in, yet in the top corner, it says "Logged in as ?". Has anyone seen this and remember how to fix it? -Lori -------------- next part -------------- An HTML attachment was scrubbed... URL: From brooke.84 at hotmail.com Thu Nov 17 03:47:16 2005 From: brooke.84 at hotmail.com (Brooke Landers) Date: Wed, 16 Nov 2005 18:47:16 -0800 Subject: Email notify for local host Message-ID: i have just got nagios fully working but i am only getting email notifies for other hosts and checks. should i be getting email alerts for local checking like check_procs and check_users? the event log shows that they are logged as alerts but not notifications. i have looked at the config and i cant see anything different. thank you for any ideas. Brooke. _________________________________________________________________ Express yourself instantly with MSN Messenger! Download today - it's FREE! http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/ ------------------------------------------------------- This SF.Net email is sponsored by the JBoss Inc. Get Certified Today Register for a JBoss Training Course. Free Certification Exam for All Training Attendees Through End of 2005. For more info visit: http://ads.osdn.com/?ad_id=7628&alloc_id=16845&op=click _______________________________________________ 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 Thu Nov 17 04:49:01 2005 From: askarali at beaconet.net (Askar Ali) Date: Thu, 17 Nov 2005 08:49:01 +0500 Subject: test email In-Reply-To: References: Message-ID: <437BFDAD.10008@beaconet.net> Subhendu Ghosh wrote: > Q. > > Is anyone other than me getting these back for the list on posting? > Yes ------------------------------------------------------- This SF.Net email is sponsored by the JBoss Inc. Get Certified Today Register for a JBoss Training Course. Free Certification Exam for All Training Attendees Through End of 2005. For more info visit: http://ads.osdn.com/?ad_id=7628&alloc_id=16845&op=click _______________________________________________ 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 mark.limburg at gmail.com Thu Nov 17 05:03:44 2005 From: mark.limburg at gmail.com (Mark Limburg) Date: Thu, 17 Nov 2005 14:33:44 +1030 Subject: test email In-Reply-To: <437BFDAD.10008@beaconet.net> References: <437BFDAD.10008@beaconet.net> Message-ID: /me puts his hand up as well .. Damn I hate these guys -------------- next part -------------- An HTML attachment was scrubbed... URL: From mfatihakbulut at gmail.com Thu Nov 17 05:18:14 2005 From: mfatihakbulut at gmail.com (Mehmet Fatih AKBULUT) Date: Thu, 17 Nov 2005 06:18:14 +0200 Subject: nagios web interface not working In-Reply-To: <437BD0F4.9050009@myvest.com> References: <20051117002809.BE8ED12DB7@sc8-sf-spam2.sourceforge.net> <437BD0F4.9050009@myvest.com> Message-ID: are you sure nagios works ??? check this : # /usr/local/etc/rc.d/nagios.sh status whats the output ??? and what you get when u try to run nagios with -s , -d or -v options ??? are you sure that nagios works fine ? and did u change anything in your httpd.conf file ? try running : nagios -v nagios.cfg nagios -d nagios.cfg nagios -s nagios.cfg and share the outputs with us. and check your httpd.conf again. -------------- next part -------------- An HTML attachment was scrubbed... URL: From mark.limburg at gmail.com Thu Nov 17 06:03:20 2005 From: mark.limburg at gmail.com (Mark Limburg) Date: Thu, 17 Nov 2005 15:33:20 +1030 Subject: getting complicated with nagiosgraph Message-ID: Howdy, Well, I finally got nagiosgraph to work (man I just love it when the solution is really simple and continually overlooked), and now I'm thinking of what to do next. So, here's my ideas and was wondering if anyone else in Nagios List Land has done or seen anything simular. Is it possible to take pre-existing data and combine it? For example, to be able to get the #Users, #Procs, System Load, etc .. from multiple machines, and combine them into one graph. In my specific case, I have five machines running in a production environment, and would like to see the like data on one graph. One graph, five lines, giving a quick overview of each machine and whats doing. I'm making a html page linked from side.html which will display these graphs, reloading each 5 mins, to give our staff and management a single point of view as to what is doing what in production. You know, once I get this thing done, I think I'll start a web journal on all this ... M -------------- next part -------------- An HTML attachment was scrubbed... URL: From mark.limburg at gmail.com Thu Nov 17 07:19:17 2005 From: mark.limburg at gmail.com (Mark Limburg) Date: Thu, 17 Nov 2005 16:49:17 +1030 Subject: getting complicated with nagiosgraph In-Reply-To: References: Message-ID: Further on this .. here is a link to a screenie on my daily view of the world. http://img490.imageshack.us/img490/3055/nagiosgraphs2ha.jpg Each graph links through to the 1 day/week/month/year page, and I'm thinking about how to perhaps have a link to the specific machine page as well. One thing also, I'd love to be able to trim down some of these graphs, so you see current load for 1m rather than the default 1,5,15 .. but I'm not sure how to go about that. M -------------- next part -------------- An HTML attachment was scrubbed... URL: From jrhett at meer.net Thu Nov 17 07:18:59 2005 From: jrhett at meer.net (Joe Rhett) Date: Wed, 16 Nov 2005 22:18:59 -0800 Subject: Selective email/paging notifications In-Reply-To: <43688113.5060203@op5.se> References: <20051102063045.GC28404@meer.net> <43688113.5060203@op5.se> Message-ID: <20051117061859.GA83180@svcolo.com> > Joe Rhett wrote: > >So how do you solve the visibility in the nagios interface problem? > >(without allowing everyone to see everything) > > > >The problem is that a given person really only wants to have a single > >nagios login to see everything they own, but need to customize the alerts > >they receive. On Wed, Nov 02, 2005 at 10:04:19AM +0100, Andreas Ericsson wrote: > Make a third contact with the login-name and set its > notification-options to 'n'. Make it a member of all contactgroups where > any of its notification aliases is a member. This doesn't scale beyond 2-3 people before trying to track all the references become mindboggling. How about using a separator character in the name? Nagios itself treats all contacts as normal. The WebUI drops the separator and everything after it in the calculation of 'visible'. For example: jrhett#mailonly jrhett#only9-5 jrhett#emergencies The normal notification routines are unmodified, and treat these as three separate entities. But the WebUI drops #.... and thus 'jrhett' can see anything that any of the three are assigned? This is a VERY common F-A-Q. If I found a way to code this, would it be accepted as a feature? -- Joe Rhett senior geek SVcolo : Silicon Valley Colocation ------------------------------------------------------- This SF.Net email is sponsored by the JBoss Inc. Get Certified Today Register for a JBoss Training Course. Free Certification Exam for All Training Attendees Through End of 2005. For more info visit: http://ads.osdn.com/?ad_id=7628&alloc_id=16845&op=click _______________________________________________ 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 rmayhew at mweb.com Thu Nov 17 09:01:37 2005 From: rmayhew at mweb.com (Richard Mayhew) Date: Thu, 17 Nov 2005 10:01:37 +0200 Subject: MSN Notifications Message-ID: Hi, Anyone been able to send notifictions via MSN to MSN Users? If so... what do I need to setup to get it working? -- Regards Richard Mayhew Unix Specialist -------------- next part -------------- An HTML attachment was scrubbed... URL: From askarali at beaconet.net Thu Nov 17 09:06:51 2005 From: askarali at beaconet.net (Askar Ali) Date: Thu, 17 Nov 2005 13:06:51 +0500 Subject: check_radius Message-ID: <437C3A1B.1000705@beaconet.net> hi list, i'm using Nagios 2.0b2, and there is no check_radius plugin in /libexec, where from should i get it. regards askar ------------------------------------------------------- This SF.Net email is sponsored by the JBoss Inc. Get Certified Today Register for a JBoss Training Course. Free Certification Exam for All Training Attendees Through End of 2005. For more info visit: http://ads.osdn.com/?ad_id=7628&alloc_id=16845&op=click _______________________________________________ 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 rmayhew at mweb.com Thu Nov 17 09:15:13 2005 From: rmayhew at mweb.com (Richard Mayhew) Date: Thu, 17 Nov 2005 10:15:13 +0200 Subject: check_radius Message-ID: Hi, Check that you have radius installed on the nagios server where you are compiling the plugin and check the configure script for output regarding why it didn't include it for compilation. Its included in your nagios-plugings tar archive. -- Regards Richard Mayhew Unix Specialist MWEB Business Tel: + 27 11 340 7200 Fax: + 27 11 340 7288 Website: www.mwebbusiness.co.za -----Original Message----- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Askar Ali Sent: 17 November 2005 10:07 AM To: Nagios-users at lists.sourceforge.net Subject: [Nagios-users] check_radius hi list, i'm using Nagios 2.0b2, and there is no check_radius plugin in /libexec, where from should i get it. regards askar ------------------------------------------------------- This SF.Net email is sponsored by the JBoss Inc. Get Certified Today Register for a JBoss Training Course. Free Certification Exam for All Training Attendees Through End of 2005. For more info visit: http://ads.osdn.com/?ad_id=7628&alloc_id=16845&op=click _______________________________________________ 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 the JBoss Inc. Get Certified Today Register for a JBoss Training Course. Free Certification Exam for All Training Attendees Through End of 2005. For more info visit: http://ads.osdn.com/?ad_idv28&alloc_id845&op=click _______________________________________________ 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 ae at op5.se Thu Nov 17 09:39:24 2005 From: ae at op5.se (Andreas Ericsson) Date: Thu, 17 Nov 2005 09:39:24 +0100 Subject: Nagios-users digest, Vol 1 #2868 - 10 msgs In-Reply-To: <198c54470511161626t5fb7da52j78386719e59c9f48@mail.gmail.com> References: <20051023031530.74282124E7@sc8-sf-spam2.sourceforge.net> <198c54470511161626t5fb7da52j78386719e59c9f48@mail.gmail.com> Message-ID: <437C41BC.4030805@op5.se> I'm sure you wrote something worth reading somewhere in there, but if you really expect us to browse thr