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 through all the emails of the day to find out what you want, you're dead wrong. There's no excuse what so ever for sending an 82kb email unless you were explicitly asked to for a specific reason by someone on the list that's trying to help you. Don't do it again. Arif Snort wrote: Too much.... -- 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 ae at op5.se Thu Nov 17 09:42:38 2005 From: ae at op5.se (Andreas Ericsson) Date: Thu, 17 Nov 2005 09:42:38 +0100 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: <437C427E.3060600@op5.se> Julie S. Lin wrote: > 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 > From this extremely informative error report I can tell you that you'll save time and money by just paying a consultant whatever they ask to get this working again. No amount of email-based help will suffice. > 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. > The apache error-logs might hold something. If you post to this list again, I can warmly recommend reading the "How to ask questions" document found somewhere on catbert.org (don't ask me to look for the address, use google). -- 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 ae at op5.se Thu Nov 17 09:45:34 2005 From: ae at op5.se (Andreas Ericsson) Date: Thu, 17 Nov 2005 09:45:34 +0100 Subject: MSN Notifications In-Reply-To: References: Message-ID: <437C432E.9020601@op5.se> Richard Mayhew wrote: > Hi, > > Anyone been able to send notifictions via MSN to MSN Users? If so... > what do I need to setup to get it working? > There's a console-based IM-thingie that handles lots of protocols (MSN among them). I know it works on Linux, can't say for sure about others. You can send messages non-interactively through that. Can't remember the name now, but I'm sure google will provide. -- 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 rmayhew at mweb.com Thu Nov 17 09:47:48 2005 From: rmayhew at mweb.com (Richard Mayhew) Date: Thu, 17 Nov 2005 10:47:48 +0200 Subject: MSN Notifications Message-ID: Great Thanks... Ill have alook around :) -- 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 Andreas Ericsson Sent: 17 November 2005 10:46 AM To: Richard Mayhew Cc: Nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] MSN Notifications Richard Mayhew wrote: > Hi, > > Anyone been able to send notifictions via MSN to MSN Users? If so... > what do I need to setup to get it working? > There's a console-based IM-thingie that handles lots of protocols (MSN among them). I know it works on Linux, can't say for sure about others. You can send messages non-interactively through that. Can't remember the name now, but I'm sure google will provide. -- 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 ------------------------------------------------------- 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 Thu Nov 17 10:38:15 2005 From: miguelfa at eu.skechers.com (Miguel Faria) Date: Thu, 17 Nov 2005 09:38:15 -0000 Subject: check disks by remote In-Reply-To: <437B658E.6060302@verizon.net> References: <437B658E.6060302@verizon.net> Message-ID: <20051117093816.7A0A635800A@mail.eu.skechers.com> Hi Ian/rest of the crew, Thanks a lot for your help. Your clues got me thinking, and I found a great solution: - First, you need to create and public key from the main server to another (see instructions http://www.arches.uga.edu/~pkeck/ssh/ in case you don't know how); - next you need to use the plugins check_by_ssh and check_disk and add the following on the checkcommands.cfg: ./check_by_ssh -t 15 -l user -i ~/.ssh/id_dsa -H host -C '/check_disk -w 10% -c 5% -p /dev/sdax' I added on the definition and services. Restarted Nagios. It works great!! -----Original Message----- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Max Sent: 16 November 2005 17:00 To: ian.marlier at studentuniverse.com; nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] check disks by remote 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 ------------------------------------------------------- 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 11:26:38 2005 From: askarali at beaconet.net (Askar Ali) Date: Thu, 17 Nov 2005 15:26:38 +0500 Subject: check_radius In-Reply-To: References: Message-ID: <437C5ADE.6070108@beaconet.net> Richard Mayhew wrote: >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 > > > > Richard, You mean i have to install the radius on the nagios machine also?, our radius is another separate machine for authenticating dialup users. radius stop authentication sometimes thats why I want to monitor is through nagios. So i will appreciate any help in this regards I also tried a "radauth" that i found on http://www.nagiosexchange.org with no luck , ./radauth -r xx.xx.xx.xx -s secret -u user -p password -t 10 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 11:37:20 2005 From: rmayhew at mweb.com (Richard Mayhew) Date: Thu, 17 Nov 2005 12:37:20 +0200 Subject: check_radius Message-ID: Hi, You need it so that the plugin can compile using the libs etc from the radius source. The plugin may require a radius binary to run. -- 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 12:27 PM To: Richard Mayhew Cc: Nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] check_radius Richard Mayhew wrote: >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 > > > > Richard, You mean i have to install the radius on the nagios machine also?, our radius is another separate machine for authenticating dialup users. radius stop authentication sometimes thats why I want to monitor is through nagios. So i will appreciate any help in this regards I also tried a "radauth" that i found on http://www.nagiosexchange.org with no luck , ./radauth -r xx.xx.xx.xx -s secret -u user -p password -t 10 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 wdh at belbone.be Thu Nov 17 14:18:33 2005 From: wdh at belbone.be (Wim) Date: Thu, 17 Nov 2005 14:18:33 +0100 Subject: Host/service comment with acknowledgements Message-ID: <20051117131833.GA21834@tyr.car.belbone.be> Hi, We're using Nagios 1.x and are quite happy with it. Now we have a small problem: When we acknowledge an alarm, we enter a trouble ticket number as comment. When the service or host comes back up, the comment stays on the host/service, which leads to a whole list of comments that are never cleaned up after some time. Is there a way that I can remove a comment (mostly the last one entered), when the host or service comes back up? -- Cheers! Wim De Hul ----------------------------------------- Belgacom International Carrier Services AS6774 ----------------------------------------- Tel: +32 2 547 5151 option 1-3 Mail: noc at belbone.be Peering: peering at belbone.be Abuse: abuse at belbone.be ----------------------------------------- My public key is available at: hkp://subkeys.pgp.net ----------------------------------------- -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 189 bytes Desc: not available URL: From chris at simplistix.co.uk Thu Nov 17 14:34:23 2005 From: chris at simplistix.co.uk (Chris Withers) Date: Thu, 17 Nov 2005 13:34:23 +0000 Subject: Scheduling Downtime based on ServiceGroup Message-ID: <437C86DF.2070502@simplistix.co.uk> Hi All, When we're doing a system upgrade, typically everything in the ServiceGroup is unavailable for the duration of the uptime. How can we schedule downtime based on the service group without having to go into each service in the group and manually set the downtime there? cheers, Chris -- Simplistix - Content Management, Zope & Python Consulting - http://www.simplistix.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 chris at simplistix.co.uk Thu Nov 17 14:37:24 2005 From: chris at simplistix.co.uk (Chris Withers) Date: Thu, 17 Nov 2005 13:37:24 +0000 Subject: wtf?! In-Reply-To: <20051117133516.25666.qmail@bne009m.server-mail.com> References: <20051117133516.25666.qmail@bne009m.server-mail.com> Message-ID: <437C8794.7010405@simplistix.co.uk> wtf is this? Chris junk wrote: > Hey You got the wrong address but maybe you should check out http://www.GMAIL.COM.AU > -- Simplistix - Content Management, Zope & Python Consulting - http://www.simplistix.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 Thu Nov 17 14:46:35 2005 From: Deborah.Martin at Kognitio.com (Deborah Martin) Date: Thu, 17 Nov 2005 13:46:35 -0000 Subject: wtf?! Message-ID: its junk mail which we are all getting - probably a subscriber that no longer exists hence the bounce. -----Original Message----- From: Chris Withers [mailto:chris at simplistix.co.uk] Sent: 17 November 2005 13:37 To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] wtf?! wtf is this? Chris junk wrote: > Hey You got the wrong address but maybe you should check out http://www.GMAIL.COM.AU > -- Simplistix - Content Management, Zope & Python Consulting - http://www.simplistix.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 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 chris at simplistix.co.uk Thu Nov 17 14:48:35 2005 From: chris at simplistix.co.uk (Chris Withers) Date: Thu, 17 Nov 2005 13:48:35 +0000 Subject: wtf?! In-Reply-To: References: Message-ID: <437C8A33.5030902@simplistix.co.uk> Actually looks like a spam bot spamming for some nasty spam source :-( Any list admin around to delete and block it? Chris PS: Did my question abotu scheduling downtime make it through to the list? Deborah Martin wrote: > its junk mail which we are all getting - probably a subscriber that no > longer exists hence the bounce. > > > -----Original Message----- > From: Chris Withers [mailto:chris at simplistix.co.uk] > Sent: 17 November 2005 13:37 > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] wtf?! > > > wtf is this? > > Chris > > junk wrote: > >>Hey You got the wrong address but maybe you should check out > > http://www.GMAIL.COM.AU > > -- Simplistix - Content Management, Zope & Python Consulting - http://www.simplistix.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 jeffwilliams05 at gmail.com Thu Nov 17 15:24:42 2005 From: jeffwilliams05 at gmail.com (Jeff Williams) Date: Thu, 17 Nov 2005 08:24:42 -0600 Subject: Nagios notifies indefinitely In-Reply-To: <17e351010511161236i66b448e4n1eb82c73cd3670ff@mail.gmail.com> References: <17e351010511161236i66b448e4n1eb82c73cd3670ff@mail.gmail.com> Message-ID: <17e351010511170624k40b3f4a5rbba078135c916989@mail.gmail.com> Just wondering if this made it to the list. Jeff On 11/16/05, Jeff Williams wrote: > 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 marc at ena.com Thu Nov 17 15:34:56 2005 From: marc at ena.com (Marc Powell) Date: Thu, 17 Nov 2005 08:34:56 -0600 Subject: Host/service comment with acknowledgements Message-ID: > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users- > admin at lists.sourceforge.net] On Behalf Of Wim > Sent: Thursday, November 17, 2005 7:19 AM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Host/service comment with acknowledgements > > Hi, > > We're using Nagios 1.x and are quite happy with it. > Now we have a small problem: When we acknowledge an alarm, we enter a > trouble ticket number as comment. > When the service or host comes back up, the comment stays on the > host/service, which leads to a whole list of comments that are never > cleaned up after some time. > Is there a way that I can remove a comment (mostly the last one entered), > when the host or service comes back up? Not within nagios unfortunately. Like you, we use ticket numbers for comments. We use a simple script that walks through comment.log and removes any comments for tickets that are closed in our system by sending the DEL_SVC_COMMENT to nagios via the external command pipe. -- 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 alias.krone at hotmail.com Thu Nov 17 16:50:40 2005 From: alias.krone at hotmail.com (nono nono) Date: Thu, 17 Nov 2005 10:50:40 -0500 Subject: host and services in pending state Message-ID: hi ive been working with nagios for couple of month now. and i lately encountered some strange problem. in 16/11/2005 23:59 nagios has stopped checking services and remebered the last state of the service. since we are not using retention i restarted nagios and all the hosts / services were in pending state and the next schedule check time was 17/11/2005 00:00. and no restart or reconfiguring or even recompiling the source again helped to this issue. i searched the forum and saw some incidents like that. but i couldnt find a solution. so maybe someone found the answer ? nagios is compiled with db support. and only one process. also the nagios -v checked gives no errors any advice would be appriciated. Alias _________________________________________________________________ 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 dschlecht at doit.nv.gov Thu Nov 17 17:13:39 2005 From: dschlecht at doit.nv.gov (David G. Schlecht) Date: Thu, 17 Nov 2005 08:13:39 -0800 Subject: Recurring Downtime misses notifications Message-ID: <6DB6E1ED582EFE45BE27468BD45B982F07C98995@MX1.STATE.NV.US> Hi, I'm having trouble getting notifications to work correctly when a host has recurring downtime. I'm using v2.0b4. I've set up notification periods for the host so notifications aren't sent out during routine downtime, but if the host fails to recover from the scheduled downtime, no notifications are sent out. It appears that Nagios thinks the notification was already sent out so it doesn't send again, when notification period has resumed. What's the solution to this? - David ------------------------------------------------------- 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 Thu Nov 17 18:26:47 2005 From: sghosh at sghosh.org (Subhendu Ghosh) Date: Thu, 17 Nov 2005 12:26:47 -0500 (EST) Subject: wtf?! In-Reply-To: <437C8794.7010405@simplistix.co.uk> References: <20051117133516.25666.qmail@bne009m.server-mail.com> <437C8794.7010405@simplistix.co.uk> Message-ID: On Thu, 17 Nov 2005, Chris Withers wrote: > wtf is this? > > Chris > > junk wrote: >> Hey You got the wrong address but maybe you should check out >> http://www.GMAIL.COM.AU >> > > This is a spambot that seems to have subcribed the the list. The messages were coming from *server-web.com. The site was added to the mailman filters yesterday. If this is a new site, need to adjust the filters again and find the rouge subscriber. -- -sg ------------------------------------------------------- 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 dhopp at GOCSC.com Thu Nov 17 19:18:21 2005 From: dhopp at GOCSC.com (Dennis Hopp) Date: Thu, 17 Nov 2005 12:18:21 -0600 Subject: Nagios notifies indefinitely Message-ID: <395D09D0C949AF40B9DDFEE9C93A47FF05289F5C@hudson.gocsc.com> > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net > [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf > Of Jeff Williams > Sent: Thursday, November 17, 2005 8:25 AM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Re: Nagios notifies indefinitely > > Just wondering if this made it to the list. > > Jeff > > On 11/16/05, Jeff Williams wrote: > > 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 Notification_interval is set to 5 minutes. Nagios will send out an alert every 5 minutes until the problem is resolved. Set this to 0 or take it out of the config. --Dennis ------------------------------------------------------- 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 Thu Nov 17 19:20:20 2005 From: ladams at cloudmark.com (Lori Adams) Date: Thu, 17 Nov 2005 10:20:20 -0800 Subject: check_netapp nagios plugin howto Message-ID: You don't quite have everything set up right for nrpe. It has nothing to do at this point with your netapp script. If you're using nrpe, then your checkcommand needs to reflect that: Right now, you're not even calling nrpe. define command { command_name check_nrpe command_line /usr/local/nagios/libexec/check_nrpe -H $HOSTADDRESS$ -c $ARG1$ } Your service config would then be: define service { ... check_command check_nrpe!check_netapp1 } Read the docs again about nrpe. -Lori ________________________________ From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Ayotunde Itayemi Sent: Friday, November 04, 2005 12:09 PM To: Ayotunde Itayemi; nagios-users at lists.sourceforge.net Subject: [Nagios-users] check_netapp nagios plugin howto 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 ae at op5.se Thu Nov 17 19:36:40 2005 From: ae at op5.se (Andreas Ericsson) Date: Thu, 17 Nov 2005 19:36:40 +0100 Subject: Help Nagios In-Reply-To: <00c401c5ebab$3e6d1b80$2a03a8c0@intra.daci.com.br> References: <00c401c5ebab$3e6d1b80$2a03a8c0@intra.daci.com.br> Message-ID: <437CCDB8.301@op5.se> I don't know why people still think I'm running a free support service for Nagios. Marcos, you'll get no help from me what so ever. I'm forwarding this to the nagios-users list where you should have posted your question in the first place. Perhaps someone will take pity on you and answer your questions for you. Then again, perhaps they won't. Frankly, I couldn't care less. Marcos Oliveira wrote: > Hi, can you help me with Nagios ? > > I'm running Nagios 2.0b4. Everything seems to be working ok except when I try to run a option "Scheduling Queue". > I receive the message: Sorry Dave, I can't let you do that... blah... blah... blah... > > I verified the permissions of the files and are Ok. what can i do ?^ > > Regards > > Marcos Oliveira > DACI Software > ( Fone: +55 (11) 5181-5233 > * marcos.oliveira at daci.com.br > > > -------------------------------------------------------------------------------- > > Comunica??o em tempo real via SMS ? Temos a solu??o: http://www.daci.com.br > -- 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 joseph.petrucci at ddiworld.com Thu Nov 17 19:47:02 2005 From: joseph.petrucci at ddiworld.com (Joe Petrucci) Date: Thu, 17 Nov 2005 13:47:02 -0500 Subject: Help Nagios In-Reply-To: <437CCDB8.301@op5.se> References: <00c401c5ebab$3e6d1b80$2a03a8c0@intra.daci.com.br> <437CCDB8.301@op5.se> Message-ID: <1132253222.10613.4.camel@localhost.localdomain> Marcos Look in the cgi.cfg file for all parameters that start with authorized_for* this is probably where your problem lies. and Andreas is right if you are not a member of the group you should join. On Thu, 2005-11-17 at 19:36 +0100, Andreas Ericsson wrote: > I don't know why people still think I'm running a free support service > for Nagios. > > Marcos, you'll get no help from me what so ever. I'm forwarding this to > the nagios-users list where you should have posted your question in the > first place. Perhaps someone will take pity on you and answer your > questions for you. Then again, perhaps they won't. Frankly, I couldn't > care less. > > Marcos Oliveira wrote: > > Hi, can you help me with Nagios ? > > > > I'm running Nagios 2.0b4. Everything seems to be working ok except when I try to run a option "Scheduling Queue". > > I receive the message: Sorry Dave, I can't let you do that... blah... blah... blah... > > > > I verified the permissions of the files and are Ok. what can i do ?^ > > > > Regards > > > > Marcos Oliveira > > DACI Software > > ( Fone: +55 (11) 5181-5233 > > * marcos.oliveira at daci.com.br > > > > > > -------------------------------------------------------------------------------- > > > > Comunica??o em tempo real via SMS ? Temos a solu??o: http://www.daci.com.br > > > ------------------------------------------------------- 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 msugano at uolinc.com Thu Nov 17 19:45:31 2005 From: msugano at uolinc.com (Marcel Mitsuto Fucatu Sugano) Date: Thu, 17 Nov 2005 16:45:31 -0200 Subject: Help Nagios In-Reply-To: <437CCDB8.301@op5.se> References: <00c401c5ebab$3e6d1b80$2a03a8c0@intra.daci.com.br> <437CCDB8.301@op5.se> Message-ID: <1132253132.17769.21.camel@localhost> I've received the same message. Also i am not taking pity of anyone. Marcos, you should RTFM in the first place. ahhh enough with this!! Give me your hand and we cross the street together. shall we? On Thu, 2005-11-17 at 19:36 +0100, Andreas Ericsson wrote: > I don't know why people still think I'm running a free support service > for Nagios. > > Marcos, you'll get no help from me what so ever. I'm forwarding this to > the nagios-users list where you should have posted your question in the > first place. Perhaps someone will take pity on you and answer your > questions for you. Then again, perhaps they won't. Frankly, I couldn't > care less. > > Marcos Oliveira wrote: > > Hi, can you help me with Nagios ? > > > > I'm running Nagios 2.0b4. Everything seems to be working ok except when I try to run a option "Scheduling Queue". > > I receive the message: Sorry Dave, I can't let you do that... blah... blah... blah... > > > > I verified the permissions of the files and are Ok. what can i do ?^ > > > > Regards > > > > Marcos Oliveira > > DACI Software > > ( Fone: +55 (11) 5181-5233 > > * marcos.oliveira at daci.com.br > > > > > > -------------------------------------------------------------------------------- > > > > Comunica??o em tempo real via SMS ? Temos a solu??o: http://www.daci.com.br > > > -- Marcel Mitsuto Fucatu Sugano Universo Online S.A. -- http://www.uol.com.br ------------------------------------------------------- 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 steve.wray at cwa.co.nz Thu Nov 17 20:00:34 2005 From: steve.wray at cwa.co.nz (Steve Wray) Date: Fri, 18 Nov 2005 08:00:34 +1300 Subject: passive checks; some work some don't Message-ID: <437CD352.7000408@cwa.co.nz> Hi there, I've been using nagios for quite some time, but never used passive checks or distributed monitoring. I've come across a very strange situation. This may take some explaining and I'm not sure how lucid this is going to be... We have many service checks being run on a central, active, nagios server which has been configured with the obsessive compulsive whatsits and a passive nagios server, with a web interface, configured for passive checks. Many of the checks seem to work just fine, but some don't. I have some services on some hosts with the passive checks working while others don't work. And no difference that I can make out between them, there seems to be nothing consistent that I can identify between the instances which work and those which don't work. In many cases, a service check on the active nagios server against a host group results in some services on some hosts in that group showing up as getting through to the passive nagios server, while other services on other hosts in the same host group are still showing as 'pending' on the passive nagios server. I've tried manually simulating sending passive alerts for the non-working services from the active server to the passive one from the commandline and this works fine. Any clues would be appreciated! ------------------------------------------------------- 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 dmourati at cm.math.uiuc.edu Thu Nov 17 20:12:32 2005 From: dmourati at cm.math.uiuc.edu (Demetri Mouratis) Date: Thu, 17 Nov 2005 13:12:32 -0600 (CST) Subject: passive checks; some work some don't In-Reply-To: <437CD352.7000408@cwa.co.nz> References: <437CD352.7000408@cwa.co.nz> Message-ID: On Fri, 18 Nov 2005, Steve Wray wrote: > Hi there, > > I've been using nagios for quite some time, but never used passive checks or > distributed monitoring. > > I've come across a very strange situation. > > This may take some explaining and I'm not sure how lucid this is going to > be... > > We have many service checks being run on a central, active, nagios server > which has been configured with the obsessive compulsive whatsits and a > passive nagios server, with a web interface, configured for passive checks. > > Many of the checks seem to work just fine, but some don't. > > I have some services on some hosts with the passive checks working while > others don't work. And no difference that I can make out between them, there > seems to be nothing consistent that I can identify between the instances > which work and those which don't work. > > In many cases, a service check on the active nagios server against a host > group results in some services on some hosts in that group showing up as > getting through to the passive nagios server, while other services on other > hosts in the same host group are still showing as 'pending' on the passive > nagios server. > > I've tried manually simulating sending passive alerts for the non-working > services from the active server to the passive one from the commandline and > this works fine. > > Any clues would be appreciated! Are you running the web interface on the distributed Nagios sites? If so, log into both Distributed and Central web interfaces and look at the results side by side. Then, try scheduling active checks through the web interface on the Distributed side. Are you using nsca to send the results from distributed to central? Is it configured out of inet on Central or running standalone? ------------------------------------------------------- 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 Thu Nov 17 20:20:27 2005 From: jeffwilliams05 at gmail.com (Jeff Williams) Date: Thu, 17 Nov 2005 13:20:27 -0600 Subject: Nagios notifies indefinitely In-Reply-To: <395D09D0C949AF40B9DDFEE9C93A47FF05289F5C@hudson.gocsc.com> References: <395D09D0C949AF40B9DDFEE9C93A47FF05289F5C@hudson.gocsc.com> Message-ID: <17e351010511171120l1672d2d4sd78bdae53e99c82d@mail.gmail.com> So then what will the notification interval be for notifications 3 through 5? Will they be the same as the default interval for the service? It seems weird that this used to work for me. I wonder what caused it to just start working how it's "supposed to." On 11/17/05, Dennis Hopp wrote: > > > > -----Original Message----- > > From: nagios-users-admin at lists.sourceforge.net > > [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf > > Of Jeff Williams > > Sent: Thursday, November 17, 2005 8:25 AM > > To: nagios-users at lists.sourceforge.net > > Subject: [Nagios-users] Re: Nagios notifies indefinitely > > > > Just wondering if this made it to the list. > > > > Jeff > > > > On 11/16/05, Jeff Williams wrote: > > > 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 > > > Notification_interval is set to 5 minutes. Nagios will send out an > alert every 5 minutes until the problem is resolved. Set this to 0 or > take it out of the config. > > --Dennis > ------------------------------------------------------- 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 steve.wray at cwa.co.nz Thu Nov 17 20:22:07 2005 From: steve.wray at cwa.co.nz (Steve Wray) Date: Fri, 18 Nov 2005 08:22:07 +1300 Subject: passive checks; some work some don't In-Reply-To: References: <437CD352.7000408@cwa.co.nz> Message-ID: <437CD85F.3040009@cwa.co.nz> Demetri Mouratis wrote: > On Fri, 18 Nov 2005, Steve Wray wrote: > >> Hi there, >> >> I've been using nagios for quite some time, but never used passive >> checks or distributed monitoring. >> >> I've come across a very strange situation. [big snip] >> Any clues would be appreciated! > > > Are you running the web interface on the distributed Nagios sites? If > so, log into both Distributed and Central web interfaces and look at the > results side by side. Yes... I've been pondering over this quite a bit! > Then, try scheduling active checks through the web interface on the > Distributed side. Done that... > Are you using nsca to send the results from distributed to central? Is > it configured out of inet on Central or running standalone? Yes, using nsca and configured out of inet. I've modified the script given in: http://nagios.sourceforge.net/docs/1_0/distributed.html so that it logs its actions into a file and found that it never *ever* sends a passive alert for anything other than my 'ping' checks, and even then only for some of them. I've been following the documentation quite closely. -- There is nothing more important to good government than good education. ------------------------------------------------------- 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 ae at op5.se Thu Nov 17 20:26:33 2005 From: ae at op5.se (Andreas Ericsson) Date: Thu, 17 Nov 2005 20:26:33 +0100 Subject: Help Nagios In-Reply-To: References: <00c401c5ebab$3e6d1b80$2a03a8c0@intra.daci.com.br> <437CCDB8.301@op5.se> Message-ID: <437CD969.8000805@op5.se> Another one that doesn't get the hint that I don't like email. I'll answer it though, just so everyone knows. Mehmet Fatih AKBULUT wrote: > hi andreas. > actually its not my business :p > and nothing to do with me ... > but dunno why u so pissed off ? I'm not. I'm just disgusted with people that make me lose time so they can keep their jobs (or time) without even trying themselves. > ur mails are soo bitter :) > knowledge of all people are not the same. True, but 1. People who can't read should learn. 2. People who *can* read should read the docs. 3. People who can't speak english should learn english (it's more or less a requirement for working with computers anyways), or pay someone to translate the docs for them. > its good to share what you know with the ones that really in need of help :p > this is of course my humble opinion. u care or not. It's my opinion too, but people who steal my time so they don't have to bother to learn anything are evil. They take resources from me that I could spend on something better, like writing software. > but please put yourself in others shoes. > understand us :) cos u may need help in one day too. > receiving such a bothering answer may not be welcomed so much :) > I frequently ask questions about things (although not on this mailing list), and I nearly always get very polite and detailed answers from people who are just like me. I think this is mainly because 1. I do much research to find out the problem myself before I ask anyone about it. 2. *When* I ask someone something, I ask "I want to accomplish this. Here's what I've tried. Am I on the right track or do I need to start looking elsewhere?". I.e, I tell those I expect to help me the big picture first and then go on by telling them the steps I've taken to accomplish it myself. This lets them know that I'm at least capable of using my brain and that I'm really interested in getting whatever the problem may be solved. 3. Whenever I find a solution to a non-trivial problem (or even a trivial one which I couldn't find an answer to someplace else), I post it back to the list where I asked for help. This makes list archives useful rather than a big cess-pool of repeated questions. 4. I never, *ever* send anyone anything off-list unless they explicitly ask me to. 5. I don't have any auto-spamming software that spews crap out to those on the list. 6. I never re-post the same question twice. If it wasn't interesting enough to get any responses I do some more research. If I make any progress with the problem then I *might* post again. > (ps: pls dont curse on me :p) > 7. I don't often curse and I never use multiple exclamation marks or ALL CAPS TO GET THE ATTENTION because I *know* that whatever help I get will be for free, which means it will cost someone else something (their time generally although I was once sent a laptop) which in turn means I can't expect anybody to do anything to solve *my* problems. > On 11/17/05, Andreas Ericsson wrote: > >>I don't know why people still think I'm running a free support service >>for Nagios. >> >>Marcos, you'll get no help from me what so ever. I'm forwarding this to >>the nagios-users list where you should have posted your question in the >>first place. Perhaps someone will take pity on you and answer your >>questions for you. Then again, perhaps they won't. Frankly, I couldn't >>care less. >> >>Marcos Oliveira wrote: >> >>>Hi, can you help me with Nagios ? >>> >>>I'm running Nagios 2.0b4. Everything seems to be working ok except when >> >>I try to run a option "Scheduling Queue". >> >>>I receive the message: Sorry Dave, I can't let you do that... blah... >> >>blah... blah... >> >>>I verified the permissions of the files and are Ok. what can i do ?^ >>> >>>Regards >>> >>>Marcos Oliveira >>>DACI Software >>>( Fone: +55 (11) 5181-5233 >>>* marcos.oliveira at daci.com.br >>> >>> >>> >> >>-------------------------------------------------------------------------------- >> >>>Comunica??o em tempo real via SMS ? Temos a solu??o: >> >>http://www.daci.com.br >> >>-- >>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 >> > > -- 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 joseph.petrucci at ddiworld.com Thu Nov 17 20:44:21 2005 From: joseph.petrucci at ddiworld.com (Joe Petrucci) Date: Thu, 17 Nov 2005 14:44:21 -0500 Subject: Help Nagios In-Reply-To: <437CD969.8000805@op5.se> References: <00c401c5ebab$3e6d1b80$2a03a8c0@intra.daci.com.br> <437CCDB8.301@op5.se> <437CD969.8000805@op5.se> Message-ID: <1132256661.15868.2.camel@localhost.localdomain> I run into this problem a lot in other area's (not in Nagios becauseI am just learning). I do not mind answering questions when it appears that the person is trying, but as in the last case even though I tried to point him in the write direction the answer is right in the manuals, so please read the manuals On Thu, 2005-11-17 at 20:26 +0100, Andreas Ericsson wrote: > Another one that doesn't get the hint that I don't like email. I'll > answer it though, just so everyone knows. > > Mehmet Fatih AKBULUT wrote: > > hi andreas. > > actually its not my business :p > > and nothing to do with me ... > > but dunno why u so pissed off ? > > I'm not. I'm just disgusted with people that make me lose time so they > can keep their jobs (or time) without even trying themselves. > > > ur mails are soo bitter :) > > knowledge of all people are not the same. > > True, but > 1. People who can't read should learn. > 2. People who *can* read should read the docs. > 3. People who can't speak english should learn english (it's more or > less a requirement for working with computers anyways), or pay someone > to translate the docs for them. > > > > its good to share what you know with the ones that really in need of help :p > > this is of course my humble opinion. u care or not. > > It's my opinion too, but people who steal my time so they don't have to > bother to learn anything are evil. They take resources from me that I > could spend on something better, like writing software. > > > but please put yourself in others shoes. > > understand us :) cos u may need help in one day too. > > receiving such a bothering answer may not be welcomed so much :) > > > > I frequently ask questions about things (although not on this mailing > list), and I nearly always get very polite and detailed answers from > people who are just like me. I think this is mainly because > > 1. I do much research to find out the problem myself before I ask anyone > about it. > > 2. *When* I ask someone something, I ask "I want to accomplish this. > Here's what I've tried. Am I on the right track or do I need to start > looking elsewhere?". I.e, I tell those I expect to help me the big > picture first and then go on by telling them the steps I've taken to > accomplish it myself. This lets them know that I'm at least capable of > using my brain and that I'm really interested in getting whatever the > problem may be solved. > > 3. Whenever I find a solution to a non-trivial problem (or even a > trivial one which I couldn't find an answer to someplace else), I post > it back to the list where I asked for help. This makes list archives > useful rather than a big cess-pool of repeated questions. > > 4. I never, *ever* send anyone anything off-list unless they explicitly > ask me to. > > 5. I don't have any auto-spamming software that spews crap out to those > on the list. > > 6. I never re-post the same question twice. If it wasn't interesting > enough to get any responses I do some more research. If I make any > progress with the problem then I *might* post again. > > > (ps: pls dont curse on me :p) > > > > 7. I don't often curse and I never use multiple exclamation marks or ALL > CAPS TO GET THE ATTENTION because I *know* that whatever help I get will > be for free, which means it will cost someone else something (their time > generally although I was once sent a laptop) which in turn means I can't > expect anybody to do anything to solve *my* problems. > > > On 11/17/05, Andreas Ericsson wrote: > > > >>I don't know why people still think I'm running a free support service > >>for Nagios. > >> > >>Marcos, you'll get no help from me what so ever. I'm forwarding this to > >>the nagios-users list where you should have posted your question in the > >>first place. Perhaps someone will take pity on you and answer your > >>questions for you. Then again, perhaps they won't. Frankly, I couldn't > >>care less. > >> > >>Marcos Oliveira wrote: > >> > >>>Hi, can you help me with Nagios ? > >>> > >>>I'm running Nagios 2.0b4. Everything seems to be working ok except when > >> > >>I try to run a option "Scheduling Queue". > >> > >>>I receive the message: Sorry Dave, I can't let you do that... blah... > >> > >>blah... blah... > >> > >>>I verified the permissions of the files and are Ok. what can i do ?^ > >>> > >>>Regards > >>> > >>>Marcos Oliveira > >>>DACI Software > >>>( Fone: +55 (11) 5181-5233 > >>>* marcos.oliveira at daci.com.br > >>> > >>> > >>> > >> > >>-------------------------------------------------------------------------------- > >> > >>>Comunica??o em tempo real via SMS ? Temos a solu??o: > >> > >>http://www.daci.com.br > >> > >>-- > >>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 > >> > > > > > ------------------------------------------------------- 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 Mark.Pearson at uftwf.org Thu Nov 17 21:13:29 2005 From: Mark.Pearson at uftwf.org (Mark Pearson) Date: Thu, 17 Nov 2005 15:13:29 -0500 Subject: How to debug NRPE Message-ID: <932A04DB269BFF4F886C2ACD54C62CAC02C6AD46@uftwfexchsvr.uftmaster.org> Hey everyone, I am trying to debug a problem that I will describe below, but for the life of me I cannot locate the debugging info for NRPE. I enabled debugging in the nrpe.cfg and I'm tailing the /var/log/messages but only the standard messages appear there. Here is what I am trying to do: On the Nagios Host I am running the following command manually. ./check_nrpe -H app-dev -p 5666 -c check_tcp -a 1 5 as400 449 On the Nagios Remote this the corresponding command in the nrpe.cfg. command[check_tcp]=/usr/local/nagios/libexec/check_tcp -w $ARG1$ -c $ARG2$ -H $ARG3$ -p $ARG$ On the Nagios Host I get the following error. CHECK_NRPE: Error receiving data from daemon. I am currently using the nrpe daemon to call other plugins (i.e. Check_disk & check_load) which work fine but I am not passing arguments. Now, I have reconfigured the nrpe daemon by running "./configure --enable-command-args" and I have set the "don't_blame_nrpe=1" to. After recompiling nrpe I replaced the check_nrpe on the Nagios host as well as replaced the /usr/sbin/nrpe with the newly built file. What else am I missing? Am I passing the arguments incorrectly? Thanks in advance for any help. Mark T. Pearson Senior Network Engineer UFT Welfare Fund 52 Broadway, 8th Floor New York, NY 10004 (212) 539-0605 ******************************************************************************* The views, opinions, and judgments expressed in this message are solely those of the author. The message contents have not been reviewed or approved by the UFT Welfare Fund. ******************************************************************************* -------------- next part -------------- An HTML attachment was scrubbed... URL: From Mark.Pearson at uftwf.org Thu Nov 17 21:31:43 2005 From: Mark.Pearson at uftwf.org (Mark Pearson) Date: Thu, 17 Nov 2005 15:31:43 -0500 Subject: How to debug NRPE Message-ID: <932A04DB269BFF4F886C2ACD54C62CAC02C6AD49@uftwfexchsvr.uftmaster.org> Disregard this email. It appears I had a brain cloud (Joe vs. the Volcano, lol) and left the "4" off my last argument on the remote host. UGH! Thanks anyway, Mark T. Pearson Senior Network Engineer UFT Welfare Fund 52 Broadway, 8th Floor New York, NY 10004 (212) 539-0605 _____ From: Mark Pearson [mailto:Mark.Pearson at uftwf.org] Sent: Thursday, November 17, 2005 3:13 PM To: 'nagios-users at lists.sourceforge.net' Subject: [Nagios-users] How to debug NRPE Hey everyone, I am trying to debug a problem that I will describe below, but for the life of me I cannot locate the debugging info for NRPE. I enabled debugging in the nrpe.cfg and I'm tailing the /var/log/messages but only the standard messages appear there. Here is what I am trying to do: On the Nagios Host I am running the following command manually. ./check_nrpe -H app-dev -p 5666 -c check_tcp -a 1 5 as400 449 On the Nagios Remote this the corresponding command in the nrpe.cfg. command[check_tcp]=/usr/local/nagios/libexec/check_tcp -w $ARG1$ -c $ARG2$ -H $ARG3$ -p $ARG$ On the Nagios Host I get the following error. CHECK_NRPE: Error receiving data from daemon. I am currently using the nrpe daemon to call other plugins (i.e. Check_disk & check_load) which work fine but I am not passing arguments. Now, I have reconfigured the nrpe daemon by running "./configure --enable-command-args" and I have set the "don't_blame_nrpe=1" to. After recompiling nrpe I replaced the check_nrpe on the Nagios host as well as replaced the /usr/sbin/nrpe with the newly built file. What else am I missing? Am I passing the arguments incorrectly? Thanks in advance for any help. Mark T. Pearson Senior Network Engineer UFT Welfare Fund 52 Broadway, 8th Floor New York, NY 10004 (212) 539-0605 **************************************************************************** *** The views, opinions, and judgments expressed in this message are solely those of the author. The message contents have not been reviewed or approved by the UFT Welfare Fund. **************************************************************************** *** ******************************************************************************* The views, opinions, and judgments expressed in this message are solely those of the author. The message contents have not been reviewed or approved by the UFT Welfare Fund. ******************************************************************************* -------------- next part -------------- An HTML attachment was scrubbed... URL: From dhopp at GOCSC.com Thu Nov 17 21:59:30 2005 From: dhopp at GOCSC.com (Dennis Hopp) Date: Thu, 17 Nov 2005 14:59:30 -0600 Subject: Nagios notifies indefinitely Message-ID: <395D09D0C949AF40B9DDFEE9C93A47FF0528A8C8@hudson.gocsc.com> > -----Original Message----- > From: Jeff Williams [mailto:jeffwilliams05 at gmail.com] > Sent: Thursday, November 17, 2005 1:20 PM > To: Dennis Hopp > Cc: nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] Re: Nagios notifies indefinitely > > So then what will the notification interval be for > notifications 3 through 5? Will they be the same as the > default interval for the service? It seems weird that this > used to work for me. I wonder what caused it to just start > working how it's "supposed to." Did you just upgrade nagios? The first_notification and last_notification aren't even in the 2.0 documentation (that I can find) so maybe they aren't supported any more??? --Dennis ------------------------------------------------------- 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 raema at osuosl.org Thu Nov 17 22:13:24 2005 From: raema at osuosl.org (Matt Rae) Date: Thu, 17 Nov 2005 13:13:24 -0800 Subject: MSN Notifications In-Reply-To: References: Message-ID: <437CF274.4040900@osuosl.org> bitlbee is probably what you're looking for. its an irc gateway to other IM networks. you could have an irc bot that is emailed nagios notifications then IM's everybody in your bitlebee channel. bitlbee.org Richard Mayhew wrote: > Great Thanks... Ill have alook around :) > > > -- > > 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 Andreas > Ericsson > Sent: 17 November 2005 10:46 AM > To: Richard Mayhew > Cc: Nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] MSN Notifications > > Richard Mayhew wrote: > >>Hi, >> >>Anyone been able to send notifictions via MSN to MSN Users? If so... >>what do I need to setup to get it working? >> > > > There's a console-based IM-thingie that handles lots of protocols (MSN > among them). I know it works on Linux, can't say for sure about others. > You can send messages non-interactively through that. Can't remember the > name now, but I'm sure google will provide. > -- 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 jeffwilliams05 at gmail.com Thu Nov 17 22:24:30 2005 From: jeffwilliams05 at gmail.com (Jeff Williams) Date: Thu, 17 Nov 2005 15:24:30 -0600 Subject: Nagios notifies indefinitely In-Reply-To: <395D09D0C949AF40B9DDFEE9C93A47FF0528A8C8@hudson.gocsc.com> References: <395D09D0C949AF40B9DDFEE9C93A47FF0528A8C8@hudson.gocsc.com> Message-ID: <17e351010511171324g33e17f28g8366a81aa5802aeb@mail.gmail.com> On 11/17/05, Dennis Hopp wrote: > > > > -----Original Message----- > > From: Jeff Williams [mailto:jeffwilliams05 at gmail.com] > > Sent: Thursday, November 17, 2005 1:20 PM > > To: Dennis Hopp > > Cc: nagios-users at lists.sourceforge.net > > Subject: Re: [Nagios-users] Re: Nagios notifies indefinitely > > > > So then what will the notification interval be for > > notifications 3 through 5? Will they be the same as the > > default interval for the service? It seems weird that this > > used to work for me. I wonder what caused it to just start > > working how it's "supposed to." > > Did you just upgrade nagios? The first_notification and > last_notification aren't even in the 2.0 documentation (that I can find) > so maybe they aren't supported any more??? > > --Dennis We have been using 2.0b4 for quite some time now. What documentation are you looking at? The docs included with 2.0b4 and the ones here http://nagios.sourceforge.net/docs/2_0/escalations.html have mention of first and last notification. Also, taking out the notification_interval causes Nagios to behave as if the notification_interval was set to 0. Upon escalating it only notifies once. Jeff ------------------------------------------------------- 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 dhopp at GOCSC.com Thu Nov 17 22:34:05 2005 From: dhopp at GOCSC.com (Dennis Hopp) Date: Thu, 17 Nov 2005 15:34:05 -0600 Subject: Nagios notifies indefinitely Message-ID: <395D09D0C949AF40B9DDFEE9C93A47FF0528AADA@hudson.gocsc.com> > -----Original Message----- > From: Jeff Williams [mailto:jeffwilliams05 at gmail.com] > Sent: Thursday, November 17, 2005 3:24 PM > To: Dennis Hopp > Cc: nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] Re: Nagios notifies indefinitely > > On 11/17/05, Dennis Hopp wrote: > > > > > > > -----Original Message----- > > > From: Jeff Williams [mailto:jeffwilliams05 at gmail.com] > > > Sent: Thursday, November 17, 2005 1:20 PM > > > To: Dennis Hopp > > > Cc: nagios-users at lists.sourceforge.net > > > Subject: Re: [Nagios-users] Re: Nagios notifies indefinitely > > > > > > So then what will the notification interval be for > notifications 3 > > > through 5? Will they be the same as the default interval for the > > > service? It seems weird that this used to work for me. I > wonder what > > > caused it to just start working how it's "supposed to." > > > > Did you just upgrade nagios? The first_notification and > > last_notification aren't even in the 2.0 documentation (that I can > > find) so maybe they aren't supported any more??? > > > > --Dennis > > We have been using 2.0b4 for quite some time now. What > documentation are you looking at? The docs included with > 2.0b4 and the ones here > http://nagios.sourceforge.net/docs/2_0/escalations.html have > mention of first and last notification. Also, taking out the > notification_interval causes Nagios to behave as if the > notification_interval was set to 0. Upon escalating it only > notifies once. > > Jeff > Oh sorry...I was looking at the host/service configuration not the escalation configuration. My understanding of the notifiation_interval is that tells nagios to send out a notification every x minutes until the problem is fixed (or maybe changes status?). So what you are currently experiencing would be what I would expect from nagios... Maybe somebody else that is familiar with escalations can chime in (I haven't gotten around to configuring escalations yet). --Dennis ------------------------------------------------------- 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 Mark.Pearson at uftwf.org Thu Nov 17 23:04:04 2005 From: Mark.Pearson at uftwf.org (Mark Pearson) Date: Thu, 17 Nov 2005 17:04:04 -0500 Subject: Customizing Notifications Message-ID: <932A04DB269BFF4F886C2ACD54C62CAC02C6AD5B@uftwfexchsvr.uftmaster.org> Does anyone know where in the documentation or know how to customize the notifications that are sent? I have searched all over and can't find anything. Then again I am a bit cross-eyed with the time I have spend setting up Nagios for all our hosts. Thanks, Mark T. Pearson Senior Network Engineer UFT Welfare Fund 52 Broadway, 8th Floor New York, NY 10004 (212) 539-0605 ******************************************************************************* The views, opinions, and judgments expressed in this message are solely those of the author. The message contents have not been reviewed or approved by the UFT Welfare Fund. ******************************************************************************* -------------- next part -------------- An HTML attachment was scrubbed... URL: From al at its-lehmann.de Thu Nov 17 23:16:53 2005 From: al at its-lehmann.de (Arno Lehmann) Date: Thu, 17 Nov 2005 23:16:53 +0100 Subject: Customizing Notifications In-Reply-To: <932A04DB269BFF4F886C2ACD54C62CAC02C6AD5B@uftwfexchsvr.uftmaster.org> References: <932A04DB269BFF4F886C2ACD54C62CAC02C6AD5B@uftwfexchsvr.uftmaster.org> Message-ID: <437D0155.40307@its-lehmann.de> Hello, On 17.11.2005 23:04, Mark Pearson wrote: > > > Does anyone know where in the documentation or know how to customize the > notifications that are sent? I have searched all over and can't find > anything. Then again I am a bit cross-eyed with the time I have spend > setting up Nagios for all our hosts. Look at the commands you use for notification... it's just a shell command with some Nagios variables in it. Arno > > > Thanks, > > > > Mark T. Pearson > / Senior Network Engineer > / UFT Welfare Fund > 52 Broadway, 8^th Floor > New York , NY 10004 > (212) 539-0605 > > > > > > ******************************************************************************* > The views, opinions, and judgments expressed in this message are solely > those of the author. The message contents have not been reviewed or > approved by the UFT Welfare Fund. > ******************************************************************************* -- IT-Service Lehmann al at its-lehmann.de Arno Lehmann http://www.its-lehmann.de ------------------------------------------------------- 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 Thu Nov 17 23:19:02 2005 From: marc at ena.com (Marc Powell) Date: Thu, 17 Nov 2005 16:19:02 -0600 Subject: Customizing Notifications Message-ID: > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users- > admin at lists.sourceforge.net] On Behalf Of Mark Pearson > Sent: Thursday, November 17, 2005 4:04 PM > To: 'nagios-users at lists.sourceforge.net' > Subject: [Nagios-users] Customizing Notifications > > Does anyone know where in the documentation or know how to customize the > notifications that are sent? I have searched all over and can't find > anything. Then again I am a bit cross-eyed with the time I have spend > setting up Nagios for all our hosts. Look at your notify-by-email command definitions. They should be pretty clear if you compare them to the notifications that you receive as they simply echo the appropriate text and send that to your mail program. -- 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 Mark.Pearson at uftwf.org Thu Nov 17 23:34:58 2005 From: Mark.Pearson at uftwf.org (Mark Pearson) Date: Thu, 17 Nov 2005 17:34:58 -0500 Subject: Customizing Notifications Message-ID: <932A04DB269BFF4F886C2ACD54C62CAC02C6AD61@uftwfexchsvr.uftmaster.org> Thanks. I located it in the minimal.cfg and I'm moving this into the commands.cfg. Eventually, I'll move everything into one cfg but for now I want to keep the separated until I understand this tool better. Thanks everyone for your help. Mark T. Pearson Senior Network Engineer UFT Welfare Fund 52 Broadway, 8th Floor New York, NY 10004 (212) 539-0605 -----Original Message----- From: Marc Powell [mailto:marc at ena.com] Sent: Thursday, November 17, 2005 5:19 PM To: nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] Customizing Notifications > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users- > admin at lists.sourceforge.net] On Behalf Of Mark Pearson > Sent: Thursday, November 17, 2005 4:04 PM > To: 'nagios-users at lists.sourceforge.net' > Subject: [Nagios-users] Customizing Notifications > > Does anyone know where in the documentation or know how to customize the > notifications that are sent? I have searched all over and can't find > anything. Then again I am a bit cross-eyed with the time I have spend > setting up Nagios for all our hosts. Look at your notify-by-email command definitions. They should be pretty clear if you compare them to the notifications that you receive as they simply echo the appropriate text and send that to your mail program. -- 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 ******************************************************************************* The views, opinions, and judgments expressed in this message are solely those of the author. The message contents have not been reviewed or approved by the UFT Welfare Fund. ******************************************************************************* ------------------------------------------------------- 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 dmourati at cm.math.uiuc.edu Thu Nov 17 23:41:14 2005 From: dmourati at cm.math.uiuc.edu (Demetri Mouratis) Date: Thu, 17 Nov 2005 16:41:14 -0600 (CST) Subject: passive checks; some work some don't In-Reply-To: <437CD85F.3040009@cwa.co.nz> References: <437CD352.7000408@cwa.co.nz> <437CD85F.3040009@cwa.co.nz> Message-ID: On Fri, 18 Nov 2005, Steve Wray wrote: > Demetri Mouratis wrote: >> On Fri, 18 Nov 2005, Steve Wray wrote: >> >>> Hi there, >>> >>> I've been using nagios for quite some time, but never used passive checks >>> or distributed monitoring. >>> >>> I've come across a very strange situation. > [big snip] >>> Any clues would be appreciated! >> >> >> Are you running the web interface on the distributed Nagios sites? If so, >> log into both Distributed and Central web interfaces and look at the >> results side by side. > > Yes... I've been pondering over this quite a bit! > >> Then, try scheduling active checks through the web interface on the >> Distributed side. > > Done that... > >> Are you using nsca to send the results from distributed to central? Is it >> configured out of inet on Central or running standalone? > > Yes, using nsca and configured out of inet. > > I've modified the script given in: > http://nagios.sourceforge.net/docs/1_0/distributed.html > > so that it logs its actions into a file and found that it never *ever* sends > a passive alert for anything other than my 'ping' checks, and even then only > for some of them. > > I've been following the documentation quite closely. So are you certain you have on distributed: obsess_over_services=1 ocsp_command=obsessive_service_handler Then, pick a host on distributed and schedule service checks for all services on that host. Watch the logs on distribued and central to see what is happening. ------------------------------------------------------- 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 renders at cknxradio.com Fri Nov 18 00:13:07 2005 From: renders at cknxradio.com (Rob Enders) Date: Thu, 17 Nov 2005 18:13:07 -0500 Subject: Email acknowledgements In-Reply-To: <20051117192803.428F18920F@sc8-sf-spam1.sourceforge.net> References: <20051117192803.428F18920F@sc8-sf-spam1.sourceforge.net> Message-ID: Hi all.. I would like to use email to acknowledge alerts.. This would prevent multiple alerts. It would work like follows, alert would showup on pager or telephone display. I would use my text messaging on my cellphone to send a preset response to the alert. The email would be received and a script run on the nagios server that would inform nagios that I have acknowledged the alert. Does anyone have a script that would do this or something like it? Thanks 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 chris at chrisburgess.com.au Fri Nov 18 00:37:21 2005 From: chris at chrisburgess.com.au (Chris Burgess) Date: Fri, 18 Nov 2005 10:37:21 +1100 Subject: Nagios Presentation Reviewers Message-ID: Hi All, I?m putting the final touches on a presentation that I?ll be delivering to The Australian Open Source Developers' Conference (http://www.osdc.com.au) in a few weeks. My presentation has been reviewed with some suggestions of making the slides *much* less wordy and making the focus of the talk clearer. I will try to address these comments and work on it a little before the final submission. I want it to be a really good talk! I would greatly appreciate any feedback from Nagios users. I?m particularly interested in examples of how Nagios is being integrated with security tools in the real world. Any unusual examples or screenshots would be very cool :-) I am happy to give full credit to all reviewers. The slides can be downloaded as a PDF from: http://www.chrisburgess.com.au/nagios/ The title of the talk is ?Monitoring Anything and Everything with Nagios? with the following description: ?Nagios is a popular Open Source monitoring framework that can be used to monitor pretty much anything you can dream of. This talk will give some practical examples of what can done with some working demonstrations. We will also cover how monitoring plays an essential part in maintaining a secure information systems environment. The aim of the talk is to point attendees in the right direction to go away implement their own powerful, custom monitoring solutions using Nagios.? If anyone has any use for the material in the slides, please feel free to use it as you wish. Cheers, Chris ------------------------------------------------------- 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 master at virtuosonetsolutions.com Fri Nov 18 13:06:13 2005 From: master at virtuosonetsolutions.com (Master Virtuoso) Date: Fri, 18 Nov 2005 07:06:13 -0500 Subject: Remove nagios Message-ID: <070501c5ec38$78555870$6401a8c0@Virtuoso> How do I completely uninstall Nagios from my Centos Linux box? I am getting the below errors and wish to remove it: Found this in the logs.... Nov 13 13:58:57 server3 pure-ftpd: (?@127.0.0.1) [INFO] New connection from 127.0.0.1 Nov 13 13:58:57 server3 pure-ftpd: (?@127.0.0.1) [INFO] Logout. Nov 13 13:59:42 server3 nagios: Warning: Return code of 127 for check of service 'Root Partition' on host 'localhost' was out of bounds. Make sure the plugin you're trying to run actually exists. Nov 13 14:00:42 server3 nagios: Warning: Return code of 127 for check of service 'Total Processes' on host 'localhost' was out of bounds. Make sure the plugin you're trying to run actually exists. Nov 13 14:01:42 server3 nagios: Warning: Return code of 127 for check of service 'Current Load' on host 'localhost' was out of bounds. Make sure the plugin you're trying to run actually exists. Nov 13 14:02:42 server3 nagios: Warning: Return code of 127 for check of service 'Current Users' on host 'localhost' was out of bounds. Make sure the plugin you're trying to run actually exists. Nov 13 14:03:42 server3 nagios: Warning: Return code of 127 for check of service 'PING' on host 'localhost' was out of bounds. Make sure the plugin you're trying to run actually exists. Nov 13 14:04:42 server3 nagios: Warning: Return code of 127 for check of service 'Root Partition' on host 'localhost' was out of bounds. Make sure the plugin you're trying to run actually exists. Nov 13 14:05:42 server3 nagios: Warning: Return code of 127 for check of service 'Total Processes' on host 'localhost' was out of bounds. Make sure the plugin you're trying to run actually exists. Nov 13 14:06:42 server3 nagios: Warning: Return code of 127 for check of service 'Current Load' on host 'localhost' was out of bounds. Make sure the plugin you're trying to run actually exists. Nov 13 14:07:19 server3 pure-ftpd: (?@127.0.0.1) [INFO] New connection from 127.0.0.1 Nov 13 14:07:19 server3 pure-ftpd: (?@127.0.0.1) [INFO] Logout. Nov 13 14:07:42 server3 nagios: Warning: Return code of 127 for check of service 'Current Users' on host 'localhost' was out of bounds. Make sure the plugin you're trying to run actually exists. Nov 13 14:08:42 server3 nagios: Warning: Return code of 127 for check of service 'PING' on host 'localhost' was out of bounds. Make sure the plugin you're trying to run actually exists. Nov 13 14:09:42 server3 nagios: Warning: Return code of 127 for check of service 'Root Partition' on host 'localhost' was out of bounds. Make sure the plugin you're trying to run actually exists. Nov 13 14:10:42 server3 nagios: Warning: Return code of 127 for check of service 'Total Processes' on host 'localhost' was out of bounds. Make sure the plugin you're trying to run actually exists. Nov 13 14:11:42 server3 nagios: Warning: Return code of 127 for check of service 'Current Load' on host 'localhost' was out of bounds. Make sure the plugin you're trying to run actually exists. Nov 13 14:12:42 server3 nagios: Warning: Return code of 127 for check of service 'Current Users' on host 'localhost' was out of bounds. Make sure the plugin you're trying to run actually exists. Nov 13 14:13:42 server3 nagios: Warning: Return code of 127 for check of service 'PING' on host 'localhost' was out of bounds. Make sure the plugin you're trying to run actually exists. Nov 13 14:14:42 server3 nagios: Warning: Return code of 127 for check of service 'Root Partition' on host 'localhost' was out of bounds. Make sure the plugin you're trying to run actually exists. Truly Yours, Chad Abizeid Founder / Owner Virtuoso Net Solutions, Inc. Virtuoso Net SolutionsT...Sophisticated & DedicatedT Prepare to be VirtuotizedT Sales. 631.968.4151 Fax. 717.326.4149 Domains. www.virtuosodomains.com Sales. sales at virtuosonetsolutions.com Support. support at virtuosonetsolutions.com Reboot. reboot at virtuosonetsolutions.com Click here to speak to a live representative -------------- next part -------------- An HTML attachment was scrubbed... URL: From steve.wray at cwa.co.nz Fri Nov 18 01:08:50 2005 From: steve.wray at cwa.co.nz (Steve Wray) Date: Fri, 18 Nov 2005 13:08:50 +1300 Subject: passive checks; some work some don't In-Reply-To: References: <437CD352.7000408@cwa.co.nz> <437CD85F.3040009@cwa.co.nz> Message-ID: <437D1B92.10001@cwa.co.nz> Demetri Mouratis wrote: > On Fri, 18 Nov 2005, Steve Wray wrote: > >> Demetri Mouratis wrote: >> >>> On Fri, 18 Nov 2005, Steve Wray wrote: >>> >>>> Hi there, >>>> >>>> I've been using nagios for quite some time, but never used passive >>>> checks or distributed monitoring. >>>> >>>> I've come across a very strange situation. >> >> [big snip] >> >>>> Any clues would be appreciated! Ah well, I found what the problem was. some of the services were using a template with: notifications_enabled 0 even though these hosts had been configured through the nagios front-end on the distributed (ie active) nagios server to send notifications, this didn't appear to be sufficient for the obsessive compulsive gadget! Fixed now :) Thanks for the help though! ------------------------------------------------------- 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 Fri Nov 18 04:19:31 2005 From: nagios at nagios.org (Ethan Galstad) Date: Thu, 17 Nov 2005 21:19:31 -0600 Subject: wtf?! In-Reply-To: References: <437C8794.7010405@simplistix.co.uk> Message-ID: <437CF3E3.12261.258911E@nagios.nagios.org> This is going to be a real pain to track down, as the originating address isn't subscribed to any of the lists. I imagine that someone signed up using a different address and is feeding list postings into a spam engine. After getting my own personal spam from the same bot, I turned to spamcop.com and pasted in the full headers. Spamcot indicates that abuse reports should be sent to ABUSE at SBCGLOBAL.NET. If enough people complain, mabye we'll get some results. I'm not expecting too much though... Hope that helps. On 17 Nov 2005 at 12:26, Subhendu Ghosh wrote: > On Thu, 17 Nov 2005, Chris Withers wrote: > > > wtf is this? > > > > Chris > > > > junk wrote: > >> Hey You got the wrong address but maybe you should check out > >> http://www.GMAIL.COM.AU > >> > > > > > > This is a spambot that seems to have subcribed the the list. > The messages were coming from *server-web.com. The site was added to the > mailman filters yesterday. If this is a new site, need to adjust the > filters again and find the rouge subscriber. > > -- > -sg > > > ------------------------------------------------------- > 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 > > 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_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 jperrin at gmail.com Fri Nov 18 04:28:50 2005 From: jperrin at gmail.com (Jim Perrin) Date: Thu, 17 Nov 2005 22:28:50 -0500 Subject: Remove nagios In-Reply-To: <070501c5ec38$78555870$6401a8c0@Virtuoso> References: <070501c5ec38$78555870$6401a8c0@Virtuoso> Message-ID: <302ce8b50511171928m7828484bh1d7f89a688ca08d@mail.gmail.com> On 11/18/05, Master Virtuoso wrote: > > > > How do I completely uninstall Nagios from my Centos Linux box? I am getting > the below errors > > and wish to remove it: > Depends entirely on how you installed it. Assuming you did it the "Right Way" on an rpm based system like centos/rhel... you can do "service nagios stop" followed by 'rpm -e nagios' If you installed from source, you'll have to kill the process and remove the files from where ever you told the installer to put them. > > > Found this in the logs.... > Good for you. Shows you're reading. > > > Nov 13 13:58:57 server3 pure-ftpd: (?@127.0.0.1) [INFO] New connection from > 127.0.0.1 > > Nov 13 13:58:57 server3 pure-ftpd: (?@127.0.0.1) [INFO] Logout. > > Nov 13 13:59:42 server3 nagios: Warning: Return code of 127 for check of > service 'Root Partition' on host 'localhost' was out of bounds. Make sure > the plugin you're trying to run actually exists. > > Nov 13 14:00:42 server3 nagios: Warning: Return code of 127 for check of > service 'Total Processes' on host 'localhost' was out of bounds. Make sure > the plugin you're trying to run actually exists. > > Nov 13 14:01:42 server3 nagios: Warning: Return code of 127 for check of > service 'Current Load' on host 'localhost' was out of bounds. Make sure the > plugin you're trying to run actually exists. > > Nov 13 14:02:42 server3 nagios: Warning: Return code of 127 for check of > service 'Current Users' on host 'localhost' was out of bounds. Make sure the > plugin you're trying to run actually exists. > > Nov 13 14:03:42 server3 nagios: Warning: Return code of 127 for check of > service 'PING' on host 'localhost' was out of bounds. Make sure the plugin > you're trying to run actually exists. > > Nov 13 14:04:42 server3 nagios: Warning: Return code of 127 for check of > service 'Root Partition' on host 'localhost' was out of bounds. Make sure > the plugin you're trying to run actually exists. > > Nov 13 14:05:42 server3 nagios: Warning: Return code of 127 for check of > service 'Total Processes' on host 'localhost' was out of bounds. Make sure > the plugin you're trying to run actually exists. > > Nov 13 14:06:42 server3 nagios: Warning: Return code of 127 for check of > service 'Current Load' on host 'localhost' was out of bounds. Make sure the > plugin you're trying to run actually exists. > > Nov 13 14:07:19 server3 pure-ftpd: (?@127.0.0.1) [INFO] New connection from > 127.0.0.1 > > Nov 13 14:07:19 server3 pure-ftpd: (?@127.0.0.1) [INFO] Logout. > > Nov 13 14:07:42 server3 nagios: Warning: Return code of 127 for check of > service 'Current Users' on host 'localhost' was out of bounds. Make sure the > plugin you're trying to run actually exists. > > Nov 13 14:08:42 server3 nagios: Warning: Return code of 127 for check of > service 'PING' on host 'localhost' was out of bounds. Make sure the plugin > you're trying to run actually exists. > > Nov 13 14:09:42 server3 nagios: Warning: Return code of 127 for check of > service 'Root Partition' on host 'localhost' was out of bounds. Make sure > the plugin you're trying to run actually exists. > > Nov 13 14:10:42 server3 nagios: Warning: Return code of 127 for check of > service 'Total Processes' on host 'localhost' was out of bounds. Make sure > the plugin you're trying to run actually exists. > > Nov 13 14:11:42 server3 nagios: Warning: Return code of 127 for check of > service 'Current Load' on host 'localhost' was out of bounds. Make sure the > plugin you're trying to run actually exists. > > Nov 13 14:12:42 server3 nagios: Warning: Return code of 127 for check of > service 'Current Users' on host 'localhost' was out of bounds. Make sure the > plugin you're trying to run actually exists. > > Nov 13 14:13:42 server3 nagios: Warning: Return code of 127 for check of > service 'PING' on host 'localhost' was out of bounds. Make sure the plugin > you're trying to run actually exists. > > Nov 13 14:14:42 server3 nagios: Warning: Return code of 127 for check of > service 'Root Partition' on host 'localhost' was out of bounds. Make sure > the plugin you're trying to run actually exists. > > I really hope you're not removing it because you couldn't configure it properly...... > Prepare to be Virtuotized? I don't think I want to know what that means. > Reboot. reboot at virtuosonetsolutions.com Since when do commands get their own email addresses? > Click here to speak to a live representative If I click it, will I have to help the representative too? -- Jim Perrin System Architect - UIT Ft Gordon & US Army Signal Center From mark.limburg at gmail.com Fri Nov 18 05:08:43 2005 From: mark.limburg at gmail.com (Mark Limburg) Date: Fri, 18 Nov 2005 14:38:43 +1030 Subject: Remove nagios In-Reply-To: <302ce8b50511171928m7828484bh1d7f89a688ca08d@mail.gmail.com> References: <070501c5ec38$78555870$6401a8c0@Virtuoso> <302ce8b50511171928m7828484bh1d7f89a688ca08d@mail.gmail.com> Message-ID: On 11/18/05, Jim Perrin wrote: > > > > Click here to speak to a live representative > > If I click it, will I have to help the representative too? ROFL Thank you. You have really made my day here. M -------------- next part -------------- An HTML attachment was scrubbed... URL: From e.fanti at pointercom.it Fri Nov 18 11:54:35 2005 From: e.fanti at pointercom.it (enrico fanti) Date: Fri, 18 Nov 2005 11:54:35 +0100 Subject: Nagios father, script son ?? Message-ID: <437DB2EB.40106@pointercom.it> Hi to all I have this problem Nagios executes a script. This script have to restart the Nagios process in this way: /etc/init.d/nagios stop /etc/init.d/sendmail restart /etc/init.d/named /etc/init.d/nagios start The problem is that when the script execute this sequence, it executes only: /etc/init.d/nagios stop /etc/init.d/sendmail stop It seems that the father Nagios execute the son script, but this script dies when the father dies (Nagios). Is there a way to run the son script separately from the father Thak you Enrico -- ======================================= Enrico Fanti PointerCom s.p.a - http://www.pointercom.it Via Francesco De Sanctis, 9 00195 Roma - ITALY tel. +39-06-37591259 fax +39-06-37591202 e.fanti at pointercom.it ================================ -------------- next part -------------- A non-text attachment was scrubbed... Name: e.fanti.vcf Type: text/x-vcard Size: 238 bytes Desc: not available URL: From herve.rota at ens-lyon.fr Fri Nov 18 12:06:08 2005 From: herve.rota at ens-lyon.fr (Herve ROTA) Date: Fri, 18 Nov 2005 12:06:08 +0100 Subject: Error nagios... Message-ID: <437DB5A0.7080105@ens-lyon.fr> Hello everybody, Since this morning, i have in var/log/nagios/nagios.log this message... [1132304994] Error: Could not insert retention data for host 'servername' in table 'hostretention' But, when i stop or restart nagios, it seems to be better than before, but no... Http://servername/nagios don't work with this message : Whoops! *Error: Could not read host and service status information!* Could you help me please... Thanks a lot Herve ------------------------------------------------------- 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 e.fanti at pointercom.it Fri Nov 18 12:46:06 2005 From: e.fanti at pointercom.it (enrico fanti) Date: Fri, 18 Nov 2005 12:46:06 +0100 Subject: Nagios father, script son ?? In-Reply-To: References: <437DB2EB.40106@pointercom.it> Message-ID: <437DBEFE.8090702@pointercom.it> Hi, I tried that with same result. Any other hint ?? Bye Enrico t Mark Limburg wrote: > Howdy, > > Tried "nohup scriptname.sh &" ? > > M > >------------------------------------------------------------------------ > >No virus found in this incoming message. >Checked by AVG Free Edition. >Version: 7.1.362 / Virus Database: 267.13.3/174 - Release Date: 17/11/2005 > > -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: e.fanti.vcf Type: text/x-vcard Size: 238 bytes Desc: not available URL: From e.fanti at pointercom.it Fri Nov 18 13:18:47 2005 From: e.fanti at pointercom.it (enrico fanti) Date: Fri, 18 Nov 2005 13:18:47 +0100 Subject: Nagios father, script son ?? In-Reply-To: <437DC217.4070000@norwich.edu> References: <437DB2EB.40106@pointercom.it> <437DC217.4070000@norwich.edu> Message-ID: <437DC6A7.60007@pointercom.it> Hi, I tried that but it doesn't work.. It seems to be very stange case... Jamie Pratt wrote: > did you try tagging an & on the end of the command line to fork it off > into the background? sometimes this will help.. > > regards, > jamie > > -- > > James Pratt > Unix Systems Administrator > Norwich University - Information Technology > jpratt at norwich.edu | 1-802-485-2532 > > > > enrico fanti wrote: > >> Hi to all >> >> I have this problem >> >> Nagios executes a script. >> This script have to restart the Nagios process in this way: >> >> /etc/init.d/nagios stop >> /etc/init.d/sendmail restart >> /etc/init.d/named >> /etc/init.d/nagios start >> >> The problem is that when the script execute this sequence, it >> executes only: >> >> /etc/init.d/nagios stop >> /etc/init.d/sendmail stop >> >> It seems that the father Nagios execute the son script, but this >> script dies when the father dies (Nagios). >> >> >> Is there a way to run the son script separately from the father >> Thak you >> >> Enrico >> > > > -- ======================================= Enrico Fanti PointerCom s.p.a - http://www.pointercom.it Via Francesco De Sanctis, 9 00195 Roma - ITALY tel. +39-06-37591259 fax +39-06-37591202 e.fanti at pointercom.it ================================ -------------- next part -------------- A non-text attachment was scrubbed... Name: e.fanti.vcf Type: text/x-vcard Size: 238 bytes Desc: not available URL: From todd_barbera at wgbh.org Fri Nov 18 13:30:15 2005 From: todd_barbera at wgbh.org (Todd Barbera) Date: Fri, 18 Nov 2005 07:30:15 -0500 Subject: Nagios father, script son ?? References: <437DB2EB.40106@pointercom.it> <437DC217.4070000@norwich.edu> <437DC6A7.60007@pointercom.it> Message-ID: <009501c5ec3b$da140d60$0d7810ac@wgbh.org> Hi Enrico, Try putting in the following: /etc/init.d/nagios stop sleep 30 echo "now to stop sendmail" /etc/init.d/sendmail restart sleep 30 echo "now to call named" /etc/init.d/named This will help determine if the script is truly dying because the nagios process stops. 30 seconds should be far more time needed for nagios to shutdown, although I suppose you could put in a process grep in the script to verify. Todd ----- Original Message ----- From: "enrico fanti" To: ; Sent: Friday, November 18, 2005 7:18 AM Subject: Re: [Nagios-users] Nagios father, script son ?? > Hi, > I tried that but it doesn't work.. > > It seems to be very stange case... > > > > > Jamie Pratt wrote: > > > did you try tagging an & on the end of the command line to fork it off > > into the background? sometimes this will help.. > > > > regards, > > jamie > > > > -- > > > > James Pratt > > Unix Systems Administrator > > Norwich University - Information Technology > > jpratt at norwich.edu | 1-802-485-2532 > > > > > > > > enrico fanti wrote: > > > >> Hi to all > >> > >> I have this problem > >> > >> Nagios executes a script. > >> This script have to restart the Nagios process in this way: > >> > >> /etc/init.d/nagios stop > >> /etc/init.d/sendmail restart > >> /etc/init.d/named > >> /etc/init.d/nagios start > >> > >> The problem is that when the script execute this sequence, it > >> executes only: > >> > >> /etc/init.d/nagios stop > >> /etc/init.d/sendmail stop > >> > >> It seems that the father Nagios execute the son script, but this > >> script dies when the father dies (Nagios). > >> > >> > >> Is there a way to run the son script separately from the father > >> Thak you > >> > >> Enrico > >> > > > > > > > > -- > ======================================= > Enrico Fanti > PointerCom s.p.a - http://www.pointercom.it > Via Francesco De Sanctis, 9 > 00195 Roma - ITALY > tel. +39-06-37591259 > fax +39-06-37591202 > e.fanti at pointercom.it > ================================ > > > > ------------------------------------------------------- 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 Roberto.Balestra at getronics.com Fri Nov 18 13:32:43 2005 From: Roberto.Balestra at getronics.com (Balestra, Roberto) Date: Fri, 18 Nov 2005 13:32:43 +0100 Subject: FW: Nagios father, script son ?? Message-ID: Sorry I wrong the previous mail address -----Original Message----- From: Balestra, Roberto Sent: venerd? 18 novembre 2005 13.27 To: 'nagios-users-admin at lists.sourceforge.net' Subject: RE: [Nagios-users] Nagios father, script son ?? Hi, why don't you try nrpe on localhost. When your script stop nagios, check_nrpe end with an error, but your called script should go ahead > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net > [mailto:nagios-users-admin at lists.sourceforge.net]On Behalf Of enrico > fanti > Sent: venerd? 18 novembre 2005 13.19 > To: jpratt at norwich.edu; nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] Nagios father, script son ?? > > > Hi, > I tried that but it doesn't work.. > > It seems to be very stange case... > > > > > Jamie Pratt wrote: > > > did you try tagging an & on the end of the command line to > fork it off > > into the background? sometimes this will help.. > > > > regards, > > jamie > > > > -- > > > > James Pratt > > Unix Systems Administrator > > Norwich University - Information Technology > > jpratt at norwich.edu | 1-802-485-2532 > > > > > > > > enrico fanti wrote: > > > >> Hi to all > >> > >> I have this problem > >> > >> Nagios executes a script. > >> This script have to restart the Nagios process in this way: > >> > >> /etc/init.d/nagios stop > >> /etc/init.d/sendmail restart > >> /etc/init.d/named > >> /etc/init.d/nagios start > >> > >> The problem is that when the script execute this sequence, it > >> executes only: > >> > >> /etc/init.d/nagios stop > >> /etc/init.d/sendmail stop > >> > >> It seems that the father Nagios execute the son script, but this > >> script dies when the father dies (Nagios). > >> > >> > >> Is there a way to run the son script separately from the father > >> Thak you > >> > >> Enrico > >> > > > > > > > > -- > ======================================= > Enrico Fanti > PointerCom s.p.a - http://www.pointercom.it > Via Francesco De Sanctis, 9 > 00195 Roma - ITALY > tel. +39-06-37591259 > fax +39-06-37591202 > e.fanti at pointercom.it > ================================ > > > > ------------------------------------------------------- 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 moshesharon at gmail.com Fri Nov 18 13:36:30 2005 From: moshesharon at gmail.com (moshe sharon) Date: Fri, 18 Nov 2005 14:36:30 +0200 Subject: getting complicated with nagiosgraph In-Reply-To: References: Message-ID: <88ad29240511180436k3a7e6611hf720f87258ce740e@mail.gmail.com> Hello i did not try this(yet) but seems like this is the solution you are looking for. http://nagiosgraph.sourceforge.net/contrib/showhost/ let us know if its working Regards Moshe Sharon On 11/17/05, Mark Limburg wrote: > > 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 holger at CIS.FU-Berlin.DE Fri Nov 18 13:42:03 2005 From: holger at CIS.FU-Berlin.DE (Holger Weiss) Date: Fri, 18 Nov 2005 13:42:03 +0100 Subject: check_radius In-Reply-To: <437C5ADE.6070108@beaconet.net> References: <437C5ADE.6070108@beaconet.net> Message-ID: <20051118124203.GA18987262@CIS.FU-Berlin.DE> * Askar Ali [2005-11-17 15:26]: > You mean i have to install the radius on the nagios machine also?, our > radius is another separate machine for authenticating dialup users. Of course, you don't need a RADIUS server on the Nagios machine, but check_radius requires the radiusclient library. | check_radius: | - Requires the radiusclient library available from | http://www.cityline.net/~lf/radius/ | RPM (rpmfind): radiusclient-0.3.1-1, radiusclient-devel-0.3.1-1 [ nagios-plugins-1.4.2/REQUIREMENTS ] The above URL seems dead, but the radiusclient source is available at: ftp://ftp.cityline.net/pub/radiusclient/ The Debian packages are called "libradius1" and "libradius1-dev". Holger -- PGP fingerprint: F1F0 9071 8084 A426 DD59 9839 59D3 F3A1 B8B5 D3DE ------------------------------------------------------- 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 e.fanti at pointercom.it Fri Nov 18 14:19:27 2005 From: e.fanti at pointercom.it (enrico fanti) Date: Fri, 18 Nov 2005 14:19:27 +0100 Subject: Nagios father, script son ?? In-Reply-To: <009501c5ec3b$da140d60$0d7810ac@wgbh.org> References: <437DB2EB.40106@pointercom.it> <437DC217.4070000@norwich.edu> <437DC6A7.60007@pointercom.it> <009501c5ec3b$da140d60$0d7810ac@wgbh.org> Message-ID: <437DD4DF.7080406@pointercom.it> Hi Todd, I tried your hint, but isn't ok. Wath do you mean with "you could put in a process grep in the script" ? Thank you Enrico Todd Barbera wrote: >Hi Enrico, > >Try putting in the following: > >/etc/init.d/nagios stop >sleep 30 >echo "now to stop sendmail" >/etc/init.d/sendmail restart >sleep 30 >echo "now to call named" >/etc/init.d/named > >This will help determine if the script is truly dying because the nagios >process stops. 30 seconds should be far more time needed for nagios to >shutdown, although I suppose you could put in a process grep in the script >to verify. > >Todd > >----- Original Message ----- >From: "enrico fanti" >To: ; >Sent: Friday, November 18, 2005 7:18 AM >Subject: Re: [Nagios-users] Nagios father, script son ?? > > > > >>Hi, >>I tried that but it doesn't work.. >> >>It seems to be very stange case... >> >> >> >> >>Jamie Pratt wrote: >> >> >> >>>did you try tagging an & on the end of the command line to fork it off >>>into the background? sometimes this will help.. >>> >>>regards, >>>jamie >>> >>>-- >>> >>>James Pratt >>>Unix Systems Administrator >>>Norwich University - Information Technology >>>jpratt at norwich.edu | 1-802-485-2532 >>> >>> >>> >>>enrico fanti wrote: >>> >>> >>> >>>>Hi to all >>>> >>>>I have this problem >>>> >>>>Nagios executes a script. >>>>This script have to restart the Nagios process in this way: >>>> >>>>/etc/init.d/nagios stop >>>>/etc/init.d/sendmail restart >>>>/etc/init.d/named >>>>/etc/init.d/nagios start >>>> >>>>The problem is that when the script execute this sequence, it >>>>executes only: >>>> >>>>/etc/init.d/nagios stop >>>>/etc/init.d/sendmail stop >>>> >>>>It seems that the father Nagios execute the son script, but this >>>>script dies when the father dies (Nagios). >>>> >>>> >>>>Is there a way to run the son script separately from the father >>>>Thak you >>>> >>>>Enrico >>>> >>>> >>>> >>> >>> >>> >>-- >>======================================= >>Enrico Fanti >>PointerCom s.p.a - http://www.pointercom.it >>Via Francesco De Sanctis, 9 >>00195 Roma - ITALY >>tel. +39-06-37591259 >>fax +39-06-37591202 >>e.fanti at pointercom.it >>================================ >> >> >> >> >> >> > > > > > > -- ======================================= Enrico Fanti PointerCom s.p.a - http://www.pointercom.it Via Francesco De Sanctis, 9 00195 Roma - ITALY tel. +39-06-37591259 fax +39-06-37591202 e.fanti at pointercom.it ================================ -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: e.fanti.vcf Type: text/x-vcard Size: 238 bytes Desc: not available URL: From e.fanti at pointercom.it Fri Nov 18 14:31:37 2005 From: e.fanti at pointercom.it (enrico fanti) Date: Fri, 18 Nov 2005 14:31:37 +0100 Subject: Nagios father, script son ?? In-Reply-To: <437DD5C6.9080208@norwich.edu> References: <437DB2EB.40106@pointercom.it> <437DC217.4070000@norwich.edu> <437DC6A7.60007@pointercom.it> <009501c5ec3b$da140d60$0d7810ac@wgbh.org> <437DD4DF.7080406@pointercom.it> <437DD5C6.9080208@norwich.edu> Message-ID: <437DD7B9.2020309@pointercom.it> Ok, I monitoring what's happen by "tail -f /var/log/messges", and after with "ps -ef". regards enrico Jamie Pratt wrote: > He just meant to put a check in your script using something like `ps > -ef | grep nagios` to see/test if nagios is still running etc ... > > regards, > jamie > > -- > > Jamie Pratt > Unix Systems Administrator > Norwich University - Information Technology > http://www.norwich.edu > 1-802-485-2532 > > > > enrico fanti wrote: > >> Hi Todd, >> >> I tried your hint, but isn't ok. >> >> Wath do you mean with "you could put in a process grep in the script" ? >> >> Thank you >> >> Enrico >> >> >> Todd Barbera wrote: >> >>> Hi Enrico, >>> >>> Try putting in the following: >>> >>> /etc/init.d/nagios stop >>> sleep 30 >>> echo "now to stop sendmail" >>> /etc/init.d/sendmail restart >>> sleep 30 >>> echo "now to call named" >>> /etc/init.d/named >>> >>> This will help determine if the script is truly dying because the >>> nagios >>> process stops. 30 seconds should be far more time needed for nagios to >>> shutdown, although I suppose you could put in a process grep in the >>> script >>> to verify. >>> >>> Todd >>> >>> ----- Original Message ----- From: "enrico fanti" >>> >>> To: ; >>> Sent: Friday, November 18, 2005 7:18 AM >>> Subject: Re: [Nagios-users] Nagios father, script son ?? >>> >>> >>> >>> >>>> Hi, >>>> I tried that but it doesn't work.. >>>> >>>> It seems to be very stange case... >>>> >>>> >>>> >>>> >>>> Jamie Pratt wrote: >>>> >>>> >>>> >>>>> did you try tagging an & on the end of the command line to fork it >>>>> off >>>>> into the background? sometimes this will help.. >>>>> >>>>> regards, >>>>> jamie >>>>> >>>>> -- >>>>> >>>>> James Pratt >>>>> Unix Systems Administrator >>>>> Norwich University - Information Technology >>>>> jpratt at norwich.edu | 1-802-485-2532 >>>>> >>>>> >>>>> >>>>> enrico fanti wrote: >>>>> >>>>> >>>>> >>>>>> Hi to all >>>>>> >>>>>> I have this problem >>>>>> >>>>>> Nagios executes a script. >>>>>> This script have to restart the Nagios process in this way: >>>>>> >>>>>> /etc/init.d/nagios stop >>>>>> /etc/init.d/sendmail restart >>>>>> /etc/init.d/named >>>>>> /etc/init.d/nagios start >>>>>> >>>>>> The problem is that when the script execute this sequence, it >>>>>> executes only: >>>>>> >>>>>> /etc/init.d/nagios stop >>>>>> /etc/init.d/sendmail stop >>>>>> >>>>>> It seems that the father Nagios execute the son script, but this >>>>>> script dies when the father dies (Nagios). >>>>>> >>>>>> >>>>>> Is there a way to run the son script separately from the father >>>>>> Thak you >>>>>> >>>>>> Enrico >>>>>> >>>>>> >>>>> >>>>> >>>>> >>>> >>>> -- >>>> ======================================= >>>> Enrico Fanti >>>> PointerCom s.p.a - http://www.pointercom.it >>>> Via Francesco De Sanctis, 9 >>>> 00195 Roma - ITALY >>>> tel. +39-06-37591259 >>>> fax +39-06-37591202 >>>> e.fanti at pointercom.it >>>> ================================ >>>> >>>> >>>> >>>> >>>> >>> >>> >>> >>> >>> >>> >>> >> >> -- >> ======================================= >> Enrico Fanti >> PointerCom s.p.a - http://www.pointercom.it >> Via Francesco De Sanctis, 9 >> 00195 Roma - ITALY >> tel. +39-06-37591259 >> fax +39-06-37591202 >> e.fanti at pointercom.it >> ================================ >> >> > > > -- ======================================= Enrico Fanti PointerCom s.p.a - http://www.pointercom.it Via Francesco De Sanctis, 9 00195 Roma - ITALY tel. +39-06-37591259 fax +39-06-37591202 e.fanti at pointercom.it ================================ -------------- next part -------------- A non-text attachment was scrubbed... Name: e.fanti.vcf Type: text/x-vcard Size: 238 bytes Desc: not available URL: From jpratt at norwich.edu Fri Nov 18 14:42:57 2005 From: jpratt at norwich.edu (Jamie Pratt) Date: Fri, 18 Nov 2005 08:42:57 -0500 Subject: check_dhcp Message-ID: <437DDA61.1040406@norwich.edu> Hi. I have an environment with 4 MS Active Directory DNS servers running DHCP. The dhcp servers are "load-balanced" in two pairs, via a cabletron smart-switch router upstream which hands off two offers per dhcp request... So.. Herein lies my problem. Since the AD servers do not actually hand off the addresses (the switch does), the checks on the ad system IP's fail, even though two offers are recieved, it fails.... Anyhow, here is what I mean... (10.18.1.222, and 10.18.1.224 are the actual AD servers - the SSR is 10.2.1.1 - each ad controller hands off a different dhcp range/scope as you can see) -------------------------- [root at desktop libexec]# ./check_dhcp -s 10.18.1.222 -t 10 -v DHCP socket: 3 Hardware address: 000bdb75532c DHCPDISCOVER to 255.255.255.255 port 67 DHCPDISCOVER XID: 2134469954 (0x7F396D42) DHCDISCOVER ciaddr: 0.0.0.0 DHCDISCOVER yiaddr: 0.0.0.0 DHCDISCOVER siaddr: 0.0.0.0 DHCDISCOVER giaddr: 0.0.0.0 send_dhcp_packet result: 548 recv_result_1: 304 recv_result_2: 304 receive_dhcp_packet() result: 304 receive_dhcp_packet() source: 10.2.1.1 Result=OK DHCPOFFER from IP address 10.2.1.1 DHCPOFFER XID: 2134469954 (0x7F396D42) DHCPOFFER chaddr: 000BDB75532C DHCPOFFER ciaddr: 0.0.0.0 DHCPOFFER yiaddr: 10.5.14.18 DHCPOFFER siaddr: 10.18.1.224 DHCPOFFER giaddr: 10.2.1.1 Option: 53 (0x01) Option: 1 (0x04) Option: 58 (0x04) Option: 59 (0x04) Lease Time: 0 seconds Renewal Time: 21600 seconds Rebinding Time: 37800 seconds Added offer from server @ 10.2.1.1 of IP address 10.5.14.18 recv_result_1: 304 recv_result_2: 304 receive_dhcp_packet() result: 304 receive_dhcp_packet() source: 10.2.1.1 Result=OK DHCPOFFER from IP address 10.2.1.1 DHCPOFFER XID: 2134469954 (0x7F396D42) DHCPOFFER chaddr: 000BDB75532C DHCPOFFER ciaddr: 0.0.0.0 DHCPOFFER yiaddr: 10.5.7.42 DHCPOFFER siaddr: 10.18.1.222 DHCPOFFER giaddr: 10.2.1.1 Option: 53 (0x01) Option: 1 (0x04) Option: 58 (0x04) Option: 59 (0x04) Lease Time: 0 seconds Renewal Time: 21600 seconds Rebinding Time: 37800 seconds Added offer from server @ 10.2.1.1 of IP address 10.5.7.42 No (more) data received Result=ERROR Total responses seen on the wire: 2 Valid responses for this machine: 2 DHCP problem: Received 2 DHCPOFFER(s), 0 of 1 requested servers responded, max lease time = 0 sec. ------------- Obviously, if i monitor the 10.2.1.1 address with check_dhcp, it works fine, but defeats the purpose since the ssr router/switch is the parent of most of these devices, MS AD systems included... :-( So.. Any future option for specifying the oferring server, and the actual requested server, or any workarounds available here? I dug around extensively for a "workaround" or something but have found nothing.. any ideas/thoughts appreciated... THanks, Jamie ------------------------------------------------------- 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 e.fanti at pointercom.it Fri Nov 18 14:54:01 2005 From: e.fanti at pointercom.it (enrico fanti) Date: Fri, 18 Nov 2005 14:54:01 +0100 Subject: Nagios father, script son ?? In-Reply-To: <437DD7B9.2020309@pointercom.it> References: <437DB2EB.40106@pointercom.it> <437DC217.4070000@norwich.edu> <437DC6A7.60007@pointercom.it> <009501c5ec3b$da140d60$0d7810ac@wgbh.org> <437DD4DF.7080406@pointercom.it> <437DD5C6.9080208@norwich.edu> <437DD7B9.2020309@pointercom.it> Message-ID: <437DDCF9.3040006@pointercom.it> Im thinking.... It's possible to put the nagios process in standby, restart some application and after to run nagios normally, without restart it ?? enrico fanti wrote: >Ok, > >I monitoring what's happen by "tail -f /var/log/messges", and after with >"ps -ef". > >regards > >enrico > > >Jamie Pratt wrote: > > > >>He just meant to put a check in your script using something like `ps >>-ef | grep nagios` to see/test if nagios is still running etc ... >> >>regards, >>jamie >> >>-- >> >>Jamie Pratt >>Unix Systems Administrator >>Norwich University - Information Technology >>http://www.norwich.edu >>1-802-485-2532 >> >> >> >>enrico fanti wrote: >> >> >> >>>Hi Todd, >>> >>>I tried your hint, but isn't ok. >>> >>>Wath do you mean with "you could put in a process grep in the script" ? >>> >>>Thank you >>> >>>Enrico >>> >>> >>>Todd Barbera wrote: >>> >>> >>> >>>>Hi Enrico, >>>> >>>>Try putting in the following: >>>> >>>>/etc/init.d/nagios stop >>>>sleep 30 >>>>echo "now to stop sendmail" >>>>/etc/init.d/sendmail restart >>>>sleep 30 >>>>echo "now to call named" >>>>/etc/init.d/named >>>> >>>>This will help determine if the script is truly dying because the >>>>nagios >>>>process stops. 30 seconds should be far more time needed for nagios to >>>>shutdown, although I suppose you could put in a process grep in the >>>>script >>>>to verify. >>>> >>>>Todd >>>> >>>>----- Original Message ----- From: "enrico fanti" >>>> >>>>To: ; >>>>Sent: Friday, November 18, 2005 7:18 AM >>>>Subject: Re: [Nagios-users] Nagios father, script son ?? >>>> >>>> >>>> >>>> >>>> >>>> >>>>>Hi, >>>>>I tried that but it doesn't work.. >>>>> >>>>>It seems to be very stange case... >>>>> >>>>> >>>>> >>>>> >>>>>Jamie Pratt wrote: >>>>> >>>>> >>>>> >>>>> >>>>> >>>>>>did you try tagging an & on the end of the command line to fork it >>>>>>off >>>>>>into the background? sometimes this will help.. >>>>>> >>>>>>regards, >>>>>>jamie >>>>>> >>>>>>-- >>>>>> >>>>>>James Pratt >>>>>>Unix Systems Administrator >>>>>>Norwich University - Information Technology >>>>>>jpratt at norwich.edu | 1-802-485-2532 >>>>>> >>>>>> >>>>>> >>>>>>enrico fanti wrote: >>>>>> >>>>>> >>>>>> >>>>>> >>>>>> >>>>>>>Hi to all >>>>>>> >>>>>>>I have this problem >>>>>>> >>>>>>>Nagios executes a script. >>>>>>>This script have to restart the Nagios process in this way: >>>>>>> >>>>>>>/etc/init.d/nagios stop >>>>>>>/etc/init.d/sendmail restart >>>>>>>/etc/init.d/named >>>>>>>/etc/init.d/nagios start >>>>>>> >>>>>>>The problem is that when the script execute this sequence, it >>>>>>>executes only: >>>>>>> >>>>>>>/etc/init.d/nagios stop >>>>>>>/etc/init.d/sendmail stop >>>>>>> >>>>>>>It seems that the father Nagios execute the son script, but this >>>>>>>script dies when the father dies (Nagios). >>>>>>> >>>>>>> >>>>>>>Is there a way to run the son script separately from the father >>>>>>>Thak you >>>>>>> >>>>>>>Enrico >>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>> >>>>>> >>>>>> >>>>>-- >>>>>======================================= >>>>>Enrico Fanti >>>>>PointerCom s.p.a - http://www.pointercom.it >>>>>Via Francesco De Sanctis, 9 >>>>>00195 Roma - ITALY >>>>>tel. +39-06-37591259 >>>>>fax +39-06-37591202 >>>>>e.fanti at pointercom.it >>>>>================================ >>>>> >>>>> >>>>> >>>>> >>>>> >>>>> >>>>> >>>> >>>> >>>> >>>> >>>> >>>> >>>> >>>-- >>>======================================= >>>Enrico Fanti >>>PointerCom s.p.a - http://www.pointercom.it >>>Via Francesco De Sanctis, 9 >>>00195 Roma - ITALY >>>tel. +39-06-37591259 >>>fax +39-06-37591202 >>>e.fanti at pointercom.it >>>================================ >>> >>> >>> >>> >> >> >> > > > -- ======================================= Enrico Fanti PointerCom s.p.a - http://www.pointercom.it Via Francesco De Sanctis, 9 00195 Roma - ITALY tel. +39-06-37591259 fax +39-06-37591202 e.fanti at pointercom.it ================================ -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: e.fanti.vcf Type: text/x-vcard Size: 238 bytes Desc: not available URL: From m.borsani at it.net Fri Nov 18 14:53:49 2005 From: m.borsani at it.net (Marco Borsani) Date: Fri, 18 Nov 2005 14:53:49 +0100 Subject: radiomodem Message-ID: <009101c5ec47$812ed390$0900d40a@intranet.it.net> Hi all! Actually I am using nagios with one radiomodem (for sms/pager notifications) via serial port on a HP-UX 11.0. I need to install and configure same SW/HW on a Linux RedHat , but I have not idea : - what linux command to use (now I am using a string like: cu -l /dev/cul0p2 dir < $FILE) - what device to use (now I am using /dev/cul0p2) Unfortunately I am not a Linux expert so I have not idea how to proceed. Marco Borsani Hp 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) ------------------------------------------------------- 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 todd_barbera at wgbh.org Fri Nov 18 15:24:12 2005 From: todd_barbera at wgbh.org (Todd Barbera) Date: Fri, 18 Nov 2005 09:24:12 -0500 Subject: Nagios father, script son ?? In-Reply-To: <437DD4DF.7080406@pointercom.it> References: <437DD4DF.7080406@pointercom.it> Message-ID: <001301c5ec4b$bf714120$620a010a@GRAPEAPE> /etc/init.d/nagios stop sleep 30 ps -ef|grep nagios echo "now stopping sendmail" /etc/init.d/sendmail restart sleep 30 echo "now calling named" /etc/init.d/named echo "now starting nagios" /etc/init.d/nagios start This should give you a pretty good idea as to where the script is failing, based on what echo statements get processed. If you're not running the script interactively then redirect the output to a log, i.e., /usr/local/nagios/bin/mynagios_script > /usr/local/nagios/tmp/mynagios_script.log. These are basic script debugging techniques. You may do well getting yourself a good shell scripting reference guide. Todd -----Original Message----- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of enrico fanti Sent: Friday, November 18, 2005 8:19 AM To: Todd Barbera Cc: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Nagios father, script son ?? Hi Todd, I tried your hint, but isn't ok. Wath do you mean with "you could put in a process grep in the script" ? Thank you Enrico Todd Barbera wrote: Hi Enrico, Try putting in the following: /etc/init.d/nagios stop sleep 30 echo "now to stop sendmail" /etc/init.d/sendmail restart sleep 30 echo "now to call named" /etc/init.d/named This will help determine if the script is truly dying because the nagios process stops. 30 seconds should be far more time needed for nagios to shutdown, although I suppose you could put in a process grep in the script to verify. Todd ----- Original Message ----- From: "enrico fanti" To: ; Sent: Friday, November 18, 2005 7:18 AM Subject: Re: [Nagios-users] Nagios father, script son ?? Hi, I tried that but it doesn't work.. It seems to be very stange case... Jamie Pratt wrote: did you try tagging an & on the end of the command line to fork it off into the background? sometimes this will help.. regards, jamie -- James Pratt Unix Systems Administrator Norwich University - Information Technology jpratt at norwich.edu | 1-802-485-2532 enrico fanti wrote: Hi to all I have this problem Nagios executes a script. This script have to restart the Nagios process in this way: /etc/init.d/nagios stop /etc/init.d/sendmail restart /etc/init.d/named /etc/init.d/nagios start The problem is that when the script execute this sequence, it executes only: /etc/init.d/nagios stop /etc/init.d/sendmail stop It seems that the father Nagios execute the son script, but this script dies when the father dies (Nagios). Is there a way to run the son script separately from the father Thak you Enrico -- ======================================= Enrico Fanti PointerCom s.p.a - http://www.pointercom.it Via Francesco De Sanctis, 9 00195 Roma - ITALY tel. +39-06-37591259 fax +39-06-37591202 e.fanti at pointercom.it ================================ -- ======================================= Enrico Fanti PointerCom s.p.a - http://www.pointercom.it Via Francesco De Sanctis, 9 00195 Roma - ITALY tel. +39-06-37591259 fax +39-06-37591202 e.fanti at pointercom.it ================================ -------------- next part -------------- An HTML attachment was scrubbed... URL: From Andrew.Laden at tudor.com Fri Nov 18 15:37:44 2005 From: Andrew.Laden at tudor.com (Andrew Laden) Date: Fri, 18 Nov 2005 09:37:44 -0500 Subject: Nagios father, script son ?? Message-ID: <56EAA5BC64E6C34F8C9EE6725D4A2DFA024DE786@tudor.com> When the parent dies (actaully gets a sigkill from the nagios stop) it forwards that signal to all its children. You need to ignore that signal in your script. How you do it depends on the shell. "man trap" for more info. > -----Original Message----- > From: enrico fanti [mailto:e.fanti at pointercom.it] > Sent: Friday, November 18, 2005 7:19 AM > To: jpratt at norwich.edu; nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] Nagios father, script son ?? > > Hi, > I tried that but it doesn't work.. > > It seems to be very stange case... > > > > > Jamie Pratt wrote: > > > did you try tagging an & on the end of the command line to > fork it off > > into the background? sometimes this will help.. > > > > regards, > > jamie > > > > -- > > > > James Pratt > > Unix Systems Administrator > > Norwich University - Information Technology jpratt at norwich.edu | > > 1-802-485-2532 > > > > > > > > enrico fanti wrote: > > > >> Hi to all > >> > >> I have this problem > >> > >> Nagios executes a script. > >> This script have to restart the Nagios process in this way: > >> > >> /etc/init.d/nagios stop > >> /etc/init.d/sendmail restart > >> /etc/init.d/named > >> /etc/init.d/nagios start > >> > >> The problem is that when the script execute this sequence, it > >> executes only: > >> > >> /etc/init.d/nagios stop > >> /etc/init.d/sendmail stop > >> > >> It seems that the father Nagios execute the son script, but this > >> script dies when the father dies (Nagios). > >> > >> > >> Is there a way to run the son script separately from the > father Thak > >> you > >> > >> Enrico > >> > > > > > > > > -- > ======================================= > Enrico Fanti > PointerCom s.p.a - http://www.pointercom.it Via Francesco De > Sanctis, 9 > 00195 Roma - ITALY > tel. +39-06-37591259 > fax +39-06-37591202 > e.fanti at pointercom.it > ================================ > > > > > *** eSafe scanned this email for malicious content *** > *** IMPORTANT: Do not open attachments from unrecognized senders *** > ------------------------------------------------------- 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 e.fanti at pointercom.it Fri Nov 18 15:51:57 2005 From: e.fanti at pointercom.it (enrico fanti) Date: Fri, 18 Nov 2005 15:51:57 +0100 Subject: Nagios father, script son ?? In-Reply-To: <001301c5ec4b$bf714120$620a010a@GRAPEAPE> References: <001301c5ec4b$bf714120$620a010a@GRAPEAPE> Message-ID: <437DEA8D.5030301@pointercom.it> Hi, I obtain the same result. What do you think if would be possible to put nagios process in stand by mode while the scrpt restart the applications and after to put in normal mode the nagios process ?? It's really possible to put agenerally process in stanby end after to put it in normal mode ? (Pheraps with the kill command ??) Thanks enrico Todd Barbera wrote: > /etc/init.d/nagios stop > > sleep 30 > > ps -ef|grep nagios > > echo "now stopping sendmail" > > /etc/init.d/sendmail restart > > sleep 30 > > echo "now calling named" > > /etc/init.d/named > > echo "now starting nagios" > > /etc/init.d/nagios start > > > > This should give you a pretty good idea as to where the script is > failing, based on what echo statements get processed. If you're not > running the script interactively then redirect the output to a log, > i.e., /usr/local/nagios/bin/mynagios_script > > /usr/local/nagios/tmp/mynagios_script.log. These are basic script > debugging techniques. You may do well getting yourself a good shell > scripting reference guide. > > > > Todd > > > > -----Original Message----- > *From:* nagios-users-admin at lists.sourceforge.net > [mailto:nagios-users-admin at lists.sourceforge.net] *On Behalf Of > *enrico fanti > *Sent:* Friday, November 18, 2005 8:19 AM > *To:* Todd Barbera > *Cc:* nagios-users at lists.sourceforge.net > *Subject:* Re: [Nagios-users] Nagios father, script son ?? > > > > Hi Todd, > > I tried your hint, but isn't ok. > > Wath do you mean with "you could put in a process grep in the script" ? > > Thank you > > Enrico > > > Todd Barbera wrote: > >Hi Enrico, > > > >Try putting in the following: > > > >/etc/init.d/nagios stop > >sleep 30 > >echo "now to stop sendmail" > >/etc/init.d/sendmail restart > >sleep 30 > >echo "now to call named" > >/etc/init.d/named > > > >This will help determine if the script is truly dying because the nagios > >process stops. 30 seconds should be far more time needed for nagios to > >shutdown, although I suppose you could put in a process grep in the script > >to verify. > > > >Todd > > > >----- Original Message ----- > >From: "enrico fanti" > >To: ; > >Sent: Friday, November 18, 2005 7:18 AM > >Subject: Re: [Nagios-users] Nagios father, script son ?? > > > > > > > >>Hi, >> >>I tried that but it doesn't work.. >> >> >> >>It seems to be very stange case... >> >> >> >> >> >> >> >> >> >>Jamie Pratt wrote: >> >> >> >> >> >>>did you try tagging an & on the end of the command line to fork it off >>> >>>into the background? sometimes this will help.. >>> >>> >>> >>>regards, >>> >>>jamie >>> >>> >>> >>>-- >>> >>> >>> >>>James Pratt >>> >>>Unix Systems Administrator >>> >>>Norwich University - Information Technology >>> >>>jpratt at norwich.edu | 1-802-485-2532 >>> >>> >>> >>> >>> >>> >>> >>>enrico fanti wrote: >>> >>> >>> >>> >>> >>>>Hi to all >>>> >>>> >>>> >>>>I have this problem >>>> >>>> >>>> >>>>Nagios executes a script. >>>> >>>>This script have to restart the Nagios process in this way: >>>> >>>> >>>> >>>>/etc/init.d/nagios stop >>>> >>>>/etc/init.d/sendmail restart >>>> >>>>/etc/init.d/named >>>> >>>>/etc/init.d/nagios start >>>> >>>> >>>> >>>>The problem is that when the script execute this sequence, it >>>> >>>>executes only: >>>> >>>> >>>> >>>>/etc/init.d/nagios stop >>>> >>>>/etc/init.d/sendmail stop >>>> >>>> >>>> >>>>It seems that the father Nagios execute the son script, but this >>>> >>>>script dies when the father dies (Nagios). >>>> >>>> >>>> >>>> >>>> >>>>Is there a way to run the son script separately from the father >>>> >>>>Thak you >>>> >>>> >>>> >>>>Enrico >>>> >>>> >>>> >>>> >>>> >>> >>> >>> >>> >>> >>> >>-- >> >>======================================= >> >>Enrico Fanti >> >>PointerCom s.p.a - http://www.pointercom.it >> >>Via Francesco De Sanctis, 9 >> >>00195 Roma - ITALY >> >>tel. +39-06-37591259 >> >>fax +39-06-37591202 >> >>e.fanti at pointercom.it >> >>================================ >> >> >> >> >> >> >> >> >> >> >> > > > > > > > > > > > > >-- > >======================================= > >Enrico Fanti > >PointerCom s.p.a - http://www.pointercom.it > >Via Francesco De Sanctis, 9 > >00195 Roma - ITALY > >tel. +39-06-37591259 > >fax +39-06-37591202 > >e.fanti at pointercom.it > >================================ > > > > > >------------------------------------------------------------------------ > >No virus found in this incoming message. >Checked by AVG Free Edition. >Version: 7.1.362 / Virus Database: 267.13.3/174 - Release Date: 17/11/2005 > > -- ======================================= Enrico Fanti PointerCom s.p.a - http://www.pointercom.it Via Francesco De Sanctis, 9 00195 Roma - ITALY tel. +39-06-37591259 fax +39-06-37591202 e.fanti at pointercom.it ================================ -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: e.fanti.vcf Type: text/x-vcard Size: 238 bytes Desc: not available URL: From seppy at chartermi.net Fri Nov 18 15:51:51 2005 From: seppy at chartermi.net (Brian E. Seppanen) Date: Fri, 18 Nov 2005 09:51:51 -0500 (EST) Subject: radiomodem In-Reply-To: <009101c5ec47$812ed390$0900d40a@intranet.it.net> References: <009101c5ec47$812ed390$0900d40a@intranet.it.net> Message-ID: On Fri, 18 Nov 2005, Marco Borsani wrote: > Hi all! > > Actually I am using nagios with one radiomodem (for sms/pager notifications) > via serial port on a HP-UX 11.0. > > I need to install and configure same SW/HW on a Linux RedHat , but I have > not idea : > - what linux command to use (now I am using a string like: cu -l /dev/cul0p2 > dir < $FILE) > - what device to use (now I am using /dev/cul0p2) serial ports on linux are usually /dev/ttyS0 onward... so do dmesg | grep ttyS and you'll get something like ttyS0 at I/O 0x3f8 (irq = 4) is a NS16550A I'm not sure of the cu syntax but that I believe is provided by the uucp package, so as long as that's installed you should be able to use it, but have to modify the syntax. Hope that helps. Brian Seppanen 608.826.1464 ------------------------------------------------------- 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 e.fanti at pointercom.it Fri Nov 18 16:28:57 2005 From: e.fanti at pointercom.it (enrico fanti) Date: Fri, 18 Nov 2005 16:28:57 +0100 Subject: Nagios father, script son ?? In-Reply-To: <437DEA8D.5030301@pointercom.it> References: <001301c5ec4b$bf714120$620a010a@GRAPEAPE> <437DEA8D.5030301@pointercom.it> Message-ID: <437DF339.60800@pointercom.it> Hi to all. Now my script works. I added some kill signal to my script: Instead of "/etc/init.d/nagios stop", I wrote "kill -s SIGSTOP $nagiospid", and instead of "/etc/init.d/nagios start", I wrote "kill -s SIGCONT $nagiospid" Thank you to all for your help Enrico enrico fanti wrote: > Hi, > > I obtain the same result. > > What do you think if would be possible > to put nagios process in stand by mode > while the scrpt restart the applications > and after > to put in normal mode the nagios process ?? > > It's really possible to put agenerally process in stanby end after to > put it in normal mode ? > (Pheraps with the kill command ??) > > Thanks > > enrico > > > Todd Barbera wrote: > >> /etc/init.d/nagios stop >> >> sleep 30 >> >> ps -ef|grep nagios >> >> echo "now stopping sendmail" >> >> /etc/init.d/sendmail restart >> >> sleep 30 >> >> echo "now calling named" >> >> /etc/init.d/named >> >> echo "now starting nagios" >> >> /etc/init.d/nagios start >> >> >> >> This should give you a pretty good idea as to where the script is >> failing, based on what echo statements get processed. If you're not >> running the script interactively then redirect the output to a log, >> i.e., /usr/local/nagios/bin/mynagios_script > >> /usr/local/nagios/tmp/mynagios_script.log. These are basic script >> debugging techniques. You may do well getting yourself a good shell >> scripting reference guide. >> >> >> >> Todd >> >> >> >> -----Original Message----- >> *From:* nagios-users-admin at lists.sourceforge.net >> [mailto:nagios-users-admin at lists.sourceforge.net] *On Behalf Of >> *enrico fanti >> *Sent:* Friday, November 18, 2005 8:19 AM >> *To:* Todd Barbera >> *Cc:* nagios-users at lists.sourceforge.net >> *Subject:* Re: [Nagios-users] Nagios father, script son ?? >> >> >> >> Hi Todd, >> >> I tried your hint, but isn't ok. >> >> Wath do you mean with "you could put in a process grep in the script" ? >> >> Thank you >> >> Enrico >> >> >> Todd Barbera wrote: >> >>Hi Enrico, >> >> >> >>Try putting in the following: >> >> >> >>/etc/init.d/nagios stop >> >>sleep 30 >> >>echo "now to stop sendmail" >> >>/etc/init.d/sendmail restart >> >>sleep 30 >> >>echo "now to call named" >> >>/etc/init.d/named >> >> >> >>This will help determine if the script is truly dying because the nagios >> >>process stops. 30 seconds should be far more time needed for nagios to >> >>shutdown, although I suppose you could put in a process grep in the script >> >>to verify. >> >> >> >>Todd >> >> >> >>----- Original Message ----- >> >>From: "enrico fanti" >> >>To: ; >> >>Sent: Friday, November 18, 2005 7:18 AM >> >>Subject: Re: [Nagios-users] Nagios father, script son ?? >> >> >> >> >> >> >> >>>Hi, >>> >>>I tried that but it doesn't work.. >>> >>> >>> >>>It seems to be very stange case... >>> >>> >>> >>> >>> >>> >>> >>> >>> >>>Jamie Pratt wrote: >>> >>> >>> >>> >>> >>>>did you try tagging an & on the end of the command line to fork it off >>>> >>>>into the background? sometimes this will help.. >>>> >>>> >>>> >>>>regards, >>>> >>>>jamie >>>> >>>> >>>> >>>>-- >>>> >>>> >>>> >>>>James Pratt >>>> >>>>Unix Systems Administrator >>>> >>>>Norwich University - Information Technology >>>> >>>>jpratt at norwich.edu | 1-802-485-2532 >>>> >>>> >>>> >>>> >>>> >>>> >>>> >>>>enrico fanti wrote: >>>> >>>> >>>> >>>> >>>> >>>>>Hi to all >>>>> >>>>> >>>>> >>>>>I have this problem >>>>> >>>>> >>>>> >>>>>Nagios executes a script. >>>>> >>>>>This script have to restart the Nagios process in this way: >>>>> >>>>> >>>>> >>>>>/etc/init.d/nagios stop >>>>> >>>>>/etc/init.d/sendmail restart >>>>> >>>>>/etc/init.d/named >>>>> >>>>>/etc/init.d/nagios start >>>>> >>>>> >>>>> >>>>>The problem is that when the script execute this sequence, it >>>>> >>>>>executes only: >>>>> >>>>> >>>>> >>>>>/etc/init.d/nagios stop >>>>> >>>>>/etc/init.d/sendmail stop >>>>> >>>>> >>>>> >>>>>It seems that the father Nagios execute the son script, but this >>>>> >>>>>script dies when the father dies (Nagios). >>>>> >>>>> >>>>> >>>>> >>>>> >>>>>Is there a way to run the son script separately from the father >>>>> >>>>>Thak you >>>>> >>>>> >>>>> >>>>>Enrico >>>>> >>>>> >>>>> >>>>> >>>>> >>>> >>>> >>>> >>>> >>>> >>>> >>>-- >>> >>>======================================= >>> >>>Enrico Fanti >>> >>>PointerCom s.p.a - http://www.pointercom.it >>> >>>Via Francesco De Sanctis, 9 >>> >>>00195 Roma - ITALY >>> >>>tel. +39-06-37591259 >>> >>>fax +39-06-37591202 >>> >>>e.fanti at pointercom.it >>> >>>================================ >>> >>> >>> >>> >>> >>> >>> >>> >>> >>> >>> >> >> >> >> >> >> >> >> >> >> >> >> >>-- >> >>======================================= >> >>Enrico Fanti >> >>PointerCom s.p.a - http://www.pointercom.it >> >>Via Francesco De Sanctis, 9 >> >>00195 Roma - ITALY >> >>tel. +39-06-37591259 >> >>fax +39-06-37591202 >> >>e.fanti at pointercom.it >> >>================================ >> >> >> >> >> >>------------------------------------------------------------------------ >> >>No virus found in this incoming message. >>Checked by AVG Free Edition. >>Version: 7.1.362 / Virus Database: 267.13.3/174 - Release Date: 17/11/2005 >> >> > >-- >======================================= >Enrico Fanti >PointerCom s.p.a - http://www.pointercom.it >Via Francesco De Sanctis, 9 >00195 Roma - ITALY >tel. +39-06-37591259 >fax +39-06-37591202 >e.fanti at pointercom.it >================================ > > > > >No virus found in this incoming message. >Checked by AVG Free Edition. >Version: 7.1.362 / Virus Database: 267.13.4/175 - Release Date: 18/11/2005 > > -- ======================================= Enrico Fanti PointerCom s.p.a - http://www.pointercom.it Via Francesco De Sanctis, 9 00195 Roma - ITALY tel. +39-06-37591259 fax +39-06-37591202 e.fanti at pointercom.it ================================ -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: e.fanti.vcf Type: text/x-vcard Size: 238 bytes Desc: not available URL: From scotjenkins at gmail.com Fri Nov 18 18:47:32 2005 From: scotjenkins at gmail.com (Scot Jenkins) Date: Fri, 18 Nov 2005 11:47:32 -0600 Subject: Nagios father, script son ?? In-Reply-To: <437DB2EB.40106@pointercom.it> References: <437DB2EB.40106@pointercom.it> Message-ID: On 11/18/05, enrico fanti wrote: > Hi to all > > I have this problem > > Nagios executes a script. > > This script have to restart the Nagios process in this way: > > /etc/init.d/nagios stop > /etc/init.d/sendmail restart > /etc/init.d/named > /etc/init.d/nagios start > > The problem is that when the script execute this sequence, it executes only: > > /etc/init.d/nagios stop > /etc/init.d/sendmail stop > > It seems that the father Nagios execute the son script, but this script dies when the father dies (Nagios). > So named and sendmail are not started at all when your script runs? It's possible you have a bad init script for sendmail. Typically a "restart" option simply runs "$0 stop; $0 start". If the "stop" option is not coded properly, it will kill off the init script you're trying to run. Here's an example: ... stop) # bad grep! kill -9 `ps -ef |grep sendmail |awk '{print $2}'` ;; ... The grep command will find and match the init script (/etc/init.d/sendmail) and kill it too. Better ways to do this include: a) Typically on startup processes will write their PID to a file under /var/run. On my Debian system it is /var/run/sendmail/mta/sendmail.pid. Send a kill signal to the pid in this file: kill -9 `cat /var/run/sendmail/mta/sendmail.pid | head -1` b) Ignore the "grep" command in the init script when grepping: kill -9 `ps -ef |grep sendmail |grep -v grep | awk '{print $2}'` Hope that helps. Scot ------------------------------------------------------- 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 dschlecht at doit.nv.gov Fri Nov 18 18:49:08 2005 From: dschlecht at doit.nv.gov (David Schlecht) Date: Fri, 18 Nov 2005 18:49:08 +0100 (CET) Subject: Recurring Downtime misses notifications In-Reply-To: <6DB6E1ED582EFE45BE27468BD45B982F07C98995@MX1.STATE.NV.US> References: <6DB6E1ED582EFE45BE27468BD45B982F07C98995@MX1.STATE.NV.US> Message-ID: <20051118174908.1820D4F415D@desire.netways.de> > I've set up notification periods for the host so notifications aren't sent out > during routine downtime, but if the host fails to recover from the scheduled > downtime, no notifications are sent out. It appears that Nagios thinks the > notification was already sent out so it doesn't send again, when notification > period has resumed. Does anyone know if this same problem affects the Scheduled Downtime feature? Maybe it's better to use that. -David ------------------------------------------------------- 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 Fri Nov 18 19:35:43 2005 From: ladams at cloudmark.com (Lori Adams) Date: Fri, 18 Nov 2005 10:35:43 -0800 Subject: retention issue Message-ID: Nagios 1.2 Linux I'm using a couple of templates for this particular check. There are many services checks using this template. When one of these checks becomes critical, the status in status.log changes to say it's critical. If I stop/start nagios, then the status saved in status.sav is incorrect, and says "No data yet (service was in a soft problem state during state retention)". Here are the templates, before everyone tells me to turn on state retention: define service{ name generic-service-template ... retain_status_information 1 ; Retain status information across program restarts retain_nonstatus_information 1 ; Retain non-status information across program restarts ... register 0 ; DONT REGISTER THIS DEFINITION - ITS NOT A REAL SERVICE, JUST A TEMPLATE! } define service { use generic-service-template name server-template host_name server contact_groups admins register 0 } define service { use server-template name server-spool-template normal_check_interval 60 retry_check_interval 30 check_period workhours_with_weekend register 0 } define service { use server-spool-template service_description check check_command check_spool_nrpe!"-d /srv/smtp/Maildir/check -w 24hours -c 36hours -m 35000 -W 10000000 -C 20000000" } >From nagios.cfg: retain_state_information=1 retention_update_interval=60 use_retained_program_state=1 I ran these commands all immediately one after the other, to show what is happening. root at aspire(var)# date; grep check status.log; /etc/init.d/nagios-prod stop; date; grep check status.sav; /etc/init.d/nagios-prod start; date; grep check status.log Fri Nov 18 10:23:24 PST 2005 [1132338202] SERVICE;server;spool-check;CRITICAL;1/4;SOFT;1132338029;1132339829;ACTIV E;1;1;1;1132338037;0;OK;4225413;0;0;0;0;0;1;3;0;1;0;0.00;0;1;1;1;/srv/sm tp/Maildir/check last modified 11/14/05 16:49:00 Stopping network monitor: nagios Fri Nov 18 10:23:24 PST 2005 Starting network monitor: nagios 21897 ? 00:00:00 nagios-prod Fri Nov 18 10:23:26 PST 2005 [1132338205] SERVICE;server;spool-check;OK;1/4;HARD;1132338029;1132338377;ACTIVE;1;1; 1;1132338037;0;OK;4225581;0;0;0;0;0;1;0;0;1;0;0.00;0;1;1;1;No data yet (service was in a soft problem state during state retention) This is only happening when the checks using server-spool-template are in a critical state. Thanks, -Lori -------------- next part -------------- An HTML attachment was scrubbed... URL: From ladams at cloudmark.com Fri Nov 18 20:25:13 2005 From: ladams at cloudmark.com (Lori Adams) Date: Fri, 18 Nov 2005 11:25:13 -0800 Subject: Remove nagios Message-ID: Looks to me like nagios is still running. Those are errors you get from the daemon when trying to run a check and the plugin doesn't exist. killall nagios should do the trick. -Lori ________________________________ From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Master Virtuoso Sent: Friday, November 18, 2005 9:28 PM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] RE: Remove nagios I installed it exactly as was in the official documentation. I don't wish to use it anymore that is why I won't to remove it. The remove process is giving me errors also. root at server [~]# service nagios stop nagios: unrecognized service root at server [~]# rpm -e nagios error: package nagios is not installed What exactly am I to do now? I've already deleted the files themselves. root at server [~]# locate nagios root at server [~]# More logs: Nov 17 21:50:42 server3 nagios: Warning: Return code of 127 for check of service 'Total Processes' on host 'localhost' was out of bounds. Make sure the plugin you're trying to run actually exists. Nov 17 21:51:42 server3 nagios: Warning: Return code of 127 for check of service 'Current Load' on host 'localhost' was out of bounds. Make sure the plugin you're trying to run actually exists. Nov 17 21:52:42 server3 nagios: Warning: Return code of 127 for check of service 'Current Users' on host 'localhost' was out of bounds. Make sure the plugin you're trying to run actually exists. Nov 17 21:53:42 server3 nagios: Warning: Return code of 127 for check of service 'PING' on host 'localhost' was out of bounds. Make sure the plugin you're trying to run actually exists. Nov 17 21:54:42 server3 nagios: Warning: Return code of 127 for check of service 'Root Partition' on host 'localhost' was out of bounds. Make sure the plugin you're trying to run actually exists. Nov 17 21:55:42 server3 nagios: Warning: Return code of 127 for check of service 'Total Processes' on host 'localhost' was out of bounds. Make sure the plugin you're trying to run actually exists. Nov 17 21:56:42 server3 nagios: Warning: Return code of 127 for check of service 'Current Load' on host 'localhost' was out of bounds. Make sure the plugin you're trying to run actually exists. Nov 17 21:57:42 server3 nagios: Warning: Return code of 127 for check of service 'Current Users' on host 'localhost' was out of bounds. Make sure the plugin you're trying to run actually exists. Nov 17 21:58:16 server3 pure-ftpd: (?@127.0.0.1) [INFO] New connection from 127.0.0.1 Nov 17 21:58:16 server3 pure-ftpd: (?@127.0.0.1) [INFO] Logout. Nov 17 21:58:42 server3 nagios: Warning: Return code of 127 for check of service 'PING' on host 'localhost' was out of bounds. Make sure the plugin you're trying to run actually exists. Nov 17 21:59:42 server3 nagios: Warning: Return code of 127 for check of service 'Root Partition' on host 'localhost' was out of bounds. Make sure the plugin you're trying to run actually exists. Nov 17 22:00:42 server3 nagios: Warning: Return code of 127 for check of service 'Total Processes' on host 'localhost' was out of bounds. Make sure the plugin you're trying to run actually exists. Nov 17 22:01:42 server3 nagios: Warning: Return code of 127 for check of service 'Current Load' on host 'localhost' was out of bounds. Make sure the plugin you're trying to run actually exists. Truly Yours, Chad Abizeid Founder / Owner Virtuoso Net Solutions, Inc. Virtuoso Net Solutions(tm)...Sophisticated & Dedicated(tm) Prepare to be Virtuotized(tm) Sales. 631.968.4151 Fax. 717.326.4149 Domains. www.virtuosodomains.com Sales. sales at virtuosonetsolutions.com Support. support at virtuosonetsolutions.com Reboot. reboot at virtuosonetsolutions.com Click here to speak to a live representative ________________________________ From: Master Virtuoso [mailto:master at virtuosonetsolutions.com] Sent: Friday, November 18, 2005 7:06 AM To: 'nagios-users at lists.sourceforge.net' Subject: Remove nagios How do I completely uninstall Nagios from my Centos Linux box? I am getting the below errors and wish to remove it: Found this in the logs.... Nov 13 13:58:57 server3 pure-ftpd: (?@127.0.0.1) [INFO] New connection from 127.0.0.1 Nov 13 13:58:57 server3 pure-ftpd: (?@127.0.0.1) [INFO] Logout. Nov 13 13:59:42 server3 nagios: Warning: Return code of 127 for check of service 'Root Partition' on host 'localhost' was out of bounds. Make sure the plugin you're trying to run actually exists. Nov 13 14:00:42 server3 nagios: Warning: Return code of 127 for check of service 'Total Processes' on host 'localhost' was out of bounds. Make sure the plugin you're trying to run actually exists. Nov 13 14:01:42 server3 nagios: Warning: Return code of 127 for check of service 'Current Load' on host 'localhost' was out of bounds. Make sure the plugin you're trying to run actually exists. Nov 13 14:02:42 server3 nagios: Warning: Return code of 127 for check of service 'Current Users' on host 'localhost' was out of bounds. Make sure the plugin you're trying to run actually exists. Nov 13 14:03:42 server3 nagios: Warning: Return code of 127 for check of service 'PING' on host 'localhost' was out of bounds. Make sure the plugin you're trying to run actually exists. Nov 13 14:04:42 server3 nagios: Warning: Return code of 127 for check of service 'Root Partition' on host 'localhost' was out of bounds. Make sure the plugin you're trying to run actually exists. Nov 13 14:05:42 server3 nagios: Warning: Return code of 127 for check of service 'Total Processes' on host 'localhost' was out of bounds. Make sure the plugin you're trying to run actually exists. Nov 13 14:06:42 server3 nagios: Warning: Return code of 127 for check of service 'Current Load' on host 'localhost' was out of bounds. Make sure the plugin you're trying to run actually exists. Nov 13 14:07:19 server3 pure-ftpd: (?@127.0.0.1) [INFO] New connection from 127.0.0.1 Nov 13 14:07:19 server3 pure-ftpd: (?@127.0.0.1) [INFO] Logout. Nov 13 14:07:42 server3 nagios: Warning: Return code of 127 for check of service 'Current Users' on host 'localhost' was out of bounds. Make sure the plugin you're trying to run actually exists. Nov 13 14:08:42 server3 nagios: Warning: Return code of 127 for check of service 'PING' on host 'localhost' was out of bounds. Make sure the plugin you're trying to run actually exists. Nov 13 14:09:42 server3 nagios: Warning: Return code of 127 for check of service 'Root Partition' on host 'localhost' was out of bounds. Make sure the plugin you're trying to run actually exists. Nov 13 14:10:42 server3 nagios: Warning: Return code of 127 for check of service 'Total Processes' on host 'localhost' was out of bounds. Make sure the plugin you're trying to run actually exists. Nov 13 14:11:42 server3 nagios: Warning: Return code of 127 for check of service 'Current Load' on host 'localhost' was out of bounds. Make sure the plugin you're trying to run actually exists. Nov 13 14:12:42 server3 nagios: Warning: Return code of 127 for check of service 'Current Users' on host 'localhost' was out of bounds. Make sure the plugin you're trying to run actually exists. Nov 13 14:13:42 server3 nagios: Warning: Return code of 127 for check of service 'PING' on host 'localhost' was out of bounds. Make sure the plugin you're trying to run actually exists. Nov 13 14:14:42 server3 nagios: Warning: Return code of 127 for check of service 'Root Partition' on host 'localhost' was out of bounds. Make sure the plugin you're trying to run actually exists. Truly Yours, Chad Abizeid Founder / Owner Virtuoso Net Solutions, Inc. Virtuoso Net Solutions(tm)...Sophisticated & Dedicated(tm) Prepare to be Virtuotized(tm) Sales. 631.968.4151 Fax. 717.326.4149 Domains. www.virtuosodomains.com Sales. sales at virtuosonetsolutions.com Support. support at virtuosonetsolutions.com Reboot. reboot at virtuosonetsolutions.com Click here to speak to a live representative -------------- next part -------------- An HTML attachment was scrubbed... URL: From ladams at cloudmark.com Fri Nov 18 20:41:29 2005 From: ladams at cloudmark.com (Lori Adams) Date: Fri, 18 Nov 2005 11:41:29 -0800 Subject: retention issue Message-ID: Are you saying that soft states are not retained? Is this in the docs? Everything I read says, status/states are retained. Soft states are just as important as hard states, in my opinion. -Lori > -----Original Message----- > From: Tedman Eng [mailto:teng at dataway.com] > Sent: Friday, November 18, 2005 11:25 AM > To: Lori Adams; nagios-users at lists.sourceforge.net > Subject: RE: [Nagios-users] retention issue > > This is related to your max_check_attempts setting. > > If the service hasn't reached the max_checks yet, it's still 'soft' state. > Once it hits the max_checks, it'll be hard state (and will get retained > between restarts) > > > > -----Original Message----- > From: Lori Adams [mailto:ladams at cloudmark.com] > Sent: Friday, November 18, 2005 10:36 AM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] retention issue > > > Nagios 1.2 > Linux > > I'm using a couple of templates for this particular check. There are many > services checks using this template. When one of these checks becomes > critical, the status in status.log changes to say it's critical. If I > stop/start nagios, then the status saved in status.sav is incorrect, and > says "No data yet (service was in a soft problem state during state > retention)". > > Here are the templates, before everyone tells me to turn on state > retention: > define service{ > name generic-service-template > ... > retain_status_information 1 ; Retain status > information > across program restarts > retain_nonstatus_information 1 ; Retain non-status > information across program restarts > ... > register 0 ; DONT REGISTER THIS > DEFINITION - ITS NOT A REAL SERVICE, JUST A TEMPLATE! > } > > define service { > use generic-service-template > name server-template > host_name server > contact_groups admins > register 0 > } > > define service { > use server-template > name server-spool-template > normal_check_interval 60 > retry_check_interval 30 > check_period workhours_with_weekend > register 0 > } > > define service { > use server-spool-template > service_description check > check_command check_spool_nrpe!"-d > /srv/smtp/Maildir/check -w 24hours -c 36hours -m 35000 -W 10000000 -C > 20000000" > } > > From nagios.cfg: > retain_state_information=1 > retention_update_interval=60 > use_retained_program_state=1 > > I ran these commands all immediately one after the other, to show what is > happening. > > root at aspire(var)# date; grep check status.log; /etc/init.d/nagios-prod > stop; > date; grep check status.sav; /etc/init.d/nagios-prod start; date; grep > check > status.log > Fri Nov 18 10:23:24 PST 2005 > [1132338202] > SERVICE;server;spool- > check;CRITICAL;1/4;SOFT;1132338029;1132339829;ACTIVE;1; > 1;1;1132338037;0;OK;4225413;0;0;0;0;0;1;3;0;1;0;0.00;0;1;1;1;/srv/smtp/M ai > ld > ir/check last modified 11/14/05 16:49:00 > > Stopping network monitor: nagios > Fri Nov 18 10:23:24 PST 2005 > Starting network monitor: nagios > 21897 ? 00:00:00 nagios-prod > > Fri Nov 18 10:23:26 PST 2005 > [1132338205] > SERVICE;server;spool- > check;OK;1/4;HARD;1132338029;1132338377;ACTIVE;1;1;1;11 > 32338037;0;OK;4225581;0;0;0;0;0;1;0;0;1;0;0.00;0;1;1;1;No data yet > (service > was in a soft problem state during state retention) > > This is only happening when the checks using server-spool-template are in > a > critical state. > > Thanks, > -Lori ------------------------------------------------------- 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 teng at dataway.com Fri Nov 18 21:51:39 2005 From: teng at dataway.com (Tedman Eng) Date: Fri, 18 Nov 2005 12:51:39 -0800 Subject: retention issue Message-ID: <37ED92F9890FAF4BB947613C66FF8B1A08BB2C35@dw-mail.dataway.com> I don't think "current check attempt #" is retained Since soft states are not considered 'real' errors yet, when a nagios restart occurs it must count up from the beginning again. This is my understanding, though only from personal experience, not from docs I've read somewhere. I agree it would be useful to retain soft states as well. (maybe changed in 2.0, I haven't migrated yet so I don't know) -----Original Message----- From: Lori Adams [mailto:ladams at cloudmark.com] Sent: Friday, November 18, 2005 11:41 AM To: Tedman Eng; nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] retention issue Are you saying that soft states are not retained? Is this in the docs? Everything I read says, status/states are retained. Soft states are just as important as hard states, in my opinion. -Lori > -----Original Message----- > From: Tedman Eng [mailto:teng at dataway.com] > Sent: Friday, November 18, 2005 11:25 AM > To: Lori Adams; nagios-users at lists.sourceforge.net > Subject: RE: [Nagios-users] retention issue > > This is related to your max_check_attempts setting. > > If the service hasn't reached the max_checks yet, it's still 'soft' state. > Once it hits the max_checks, it'll be hard state (and will get retained > between restarts) > > > > -----Original Message----- > From: Lori Adams [mailto:ladams at cloudmark.com] > Sent: Friday, November 18, 2005 10:36 AM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] retention issue > > > Nagios 1.2 > Linux > > I'm using a couple of templates for this particular check. There are many > services checks using this template. When one of these checks becomes > critical, the status in status.log changes to say it's critical. If I > stop/start nagios, then the status saved in status.sav is incorrect, and > says "No data yet (service was in a soft problem state during state > retention)". > > Here are the templates, before everyone tells me to turn on state > retention: > define service{ > name generic-service-template > ... > retain_status_information 1 ; Retain status > information > across program restarts > retain_nonstatus_information 1 ; Retain non-status > information across program restarts > ... > register 0 ; DONT REGISTER THIS > DEFINITION - ITS NOT A REAL SERVICE, JUST A TEMPLATE! > } > > define service { > use generic-service-template > name server-template > host_name server > contact_groups admins > register 0 > } > > define service { > use server-template > name server-spool-template > normal_check_interval 60 > retry_check_interval 30 > check_period workhours_with_weekend > register 0 > } > > define service { > use server-spool-template > service_description check > check_command check_spool_nrpe!"-d > /srv/smtp/Maildir/check -w 24hours -c 36hours -m 35000 -W 10000000 -C > 20000000" > } > > From nagios.cfg: > retain_state_information=1 > retention_update_interval=60 > use_retained_program_state=1 > > I ran these commands all immediately one after the other, to show what is > happening. > > root at aspire(var)# date; grep check status.log; /etc/init.d/nagios-prod > stop; > date; grep check status.sav; /etc/init.d/nagios-prod start; date; grep > check > status.log > Fri Nov 18 10:23:24 PST 2005 > [1132338202] > SERVICE;server;spool- > check;CRITICAL;1/4;SOFT;1132338029;1132339829;ACTIVE;1; > 1;1;1132338037;0;OK;4225413;0;0;0;0;0;1;3;0;1;0;0.00;0;1;1;1;/srv/smtp/M ai > ld > ir/check last modified 11/14/05 16:49:00 > > Stopping network monitor: nagios > Fri Nov 18 10:23:24 PST 2005 > Starting network monitor: nagios > 21897 ? 00:00:00 nagios-prod > > Fri Nov 18 10:23:26 PST 2005 > [1132338205] > SERVICE;server;spool- > check;OK;1/4;HARD;1132338029;1132338377;ACTIVE;1;1;1;11 > 32338037;0;OK;4225581;0;0;0;0;0;1;0;0;1;0;0.00;0;1;1;1;No data yet > (service > was in a soft problem state during state retention) > > This is only happening when the checks using server-spool-template are in > a > critical state. > > Thanks, > -Lori ------------------------------------------------------- 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 teng at dataway.com Fri Nov 18 20:25:25 2005 From: teng at dataway.com (Tedman Eng) Date: Fri, 18 Nov 2005 11:25:25 -0800 Subject: retention issue Message-ID: <37ED92F9890FAF4BB947613C66FF8B1A08BB2C34@dw-mail.dataway.com> This is related to your max_check_attempts setting. If the service hasn't reached the max_checks yet, it's still 'soft' state. Once it hits the max_checks, it'll be hard state (and will get retained between restarts) -----Original Message----- From: Lori Adams [mailto:ladams at cloudmark.com] Sent: Friday, November 18, 2005 10:36 AM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] retention issue Nagios 1.2 Linux I'm using a couple of templates for this particular check. There are many services checks using this template. When one of these checks becomes critical, the status in status.log changes to say it's critical. If I stop/start nagios, then the status saved in status.sav is incorrect, and says "No data yet (service was in a soft problem state during state retention)". Here are the templates, before everyone tells me to turn on state retention: define service{ name generic-service-template ... retain_status_information 1 ; Retain status information across program restarts retain_nonstatus_information 1 ; Retain non-status information across program restarts ... register 0 ; DONT REGISTER THIS DEFINITION - ITS NOT A REAL SERVICE, JUST A TEMPLATE! } define service { use generic-service-template name server-template host_name server contact_groups admins register 0 } define service { use server-template name server-spool-template normal_check_interval 60 retry_check_interval 30 check_period workhours_with_weekend register 0 } define service { use server-spool-template service_description check check_command check_spool_nrpe!"-d /srv/smtp/Maildir/check -w 24hours -c 36hours -m 35000 -W 10000000 -C 20000000" } >From nagios.cfg: retain_state_information=1 retention_update_interval=60 use_retained_program_state=1 I ran these commands all immediately one after the other, to show what is happening. root at aspire(var)# date; grep check status.log; /etc/init.d/nagios-prod stop; date; grep check status.sav; /etc/init.d/nagios-prod start; date; grep check status.log Fri Nov 18 10:23:24 PST 2005 [1132338202] SERVICE;server;spool-check;CRITICAL;1/4;SOFT;1132338029;1132339829;ACTIVE;1; 1;1;1132338037;0;OK;4225413;0;0;0;0;0;1;3;0;1;0;0.00;0;1;1;1;/srv/smtp/Maild ir/check last modified 11/14/05 16:49:00 Stopping network monitor: nagios Fri Nov 18 10:23:24 PST 2005 Starting network monitor: nagios 21897 ? 00:00:00 nagios-prod Fri Nov 18 10:23:26 PST 2005 [1132338205] SERVICE;server;spool-check;OK;1/4;HARD;1132338029;1132338377;ACTIVE;1;1;1;11 32338037;0;OK;4225581;0;0;0;0;0;1;0;0;1;0;0.00;0;1;1;1;No data yet (service was in a soft problem state during state retention) This is only happening when the checks using server-spool-template are in a critical state. Thanks, -Lori ------------------------------------------------------- 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 Fri Nov 18 19:22:31 2005 From: jeffwilliams05 at gmail.com (Jeff Williams) Date: Fri, 18 Nov 2005 12:22:31 -0600 Subject: Nagios notifies indefinitely In-Reply-To: <395D09D0C949AF40B9DDFEE9C93A47FF0528AADA@hudson.gocsc.com> References: <395D09D0C949AF40B9DDFEE9C93A47FF0528AADA@hudson.gocsc.com> Message-ID: <17e351010511181022s6247a58cm722f2d9698b13411@mail.gmail.com> I guess it's possible that something was wrong in my configs in the backup I restored to, but I sure haven't been able to find it. I have to say I am pretty confused about this whole thing. On 11/17/05, Dennis Hopp wrote: > > > > -----Original Message----- > > From: Jeff Williams [mailto:jeffwilliams05 at gmail.com] > > Sent: Thursday, November 17, 2005 3:24 PM > > To: Dennis Hopp > > Cc: nagios-users at lists.sourceforge.net > > Subject: Re: [Nagios-users] Re: Nagios notifies indefinitely > > > > On 11/17/05, Dennis Hopp wrote: > > > > > > > > > > -----Original Message----- > > > > From: Jeff Williams [mailto:jeffwilliams05 at gmail.com] > > > > Sent: Thursday, November 17, 2005 1:20 PM > > > > To: Dennis Hopp > > > > Cc: nagios-users at lists.sourceforge.net > > > > Subject: Re: [Nagios-users] Re: Nagios notifies indefinitely > > > > > > > > So then what will the notification interval be for > > notifications 3 > > > > through 5? Will they be the same as the default interval for the > > > > service? It seems weird that this used to work for me. I > > wonder what > > > > caused it to just start working how it's "supposed to." > > > > > > Did you just upgrade nagios? The first_notification and > > > last_notification aren't even in the 2.0 documentation (that I can > > > find) so maybe they aren't supported any more??? > > > > > > --Dennis > > > > We have been using 2.0b4 for quite some time now. What > > documentation are you looking at? The docs included with > > 2.0b4 and the ones here > > http://nagios.sourceforge.net/docs/2_0/escalations.html have > > mention of first and last notification. Also, taking out the > > notification_interval causes Nagios to behave as if the > > notification_interval was set to 0. Upon escalating it only > > notifies once. > > > > Jeff > > > > Oh sorry...I was looking at the host/service configuration not the > escalation configuration. My understanding of the notifiation_interval > is that tells nagios to send out a notification every x minutes until > the problem is fixed (or maybe changes status?). So what you are > currently experiencing would be what I would expect from nagios... > > Maybe somebody else that is familiar with escalations can chime in (I > haven't gotten around to configuring escalations yet). > > --Dennis > ------------------------------------------------------- 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 guy at extragalactic.net Fri Nov 18 19:13:49 2005 From: guy at extragalactic.net (Guy B. Purcell) Date: Fri, 18 Nov 2005 10:13:49 -0800 Subject: Nagios father, script son ?? In-Reply-To: <437DB2EB.40106@pointercom.it> References: <437DB2EB.40106@pointercom.it> Message-ID: <89E60C80-2561-437F-B19D-F38252D24A1C@extragalactic.net> On Nov 18, 2005, at 02:54, enrico fanti wrote: > I have this problem > > Nagios executes a script. > > This script have to restart the Nagios process in this way: > > /etc/init.d/nagios stop > /etc/init.d/sendmail restart > /etc/init.d/named > /etc/init.d/nagios start Perhaps I'm being a bit dense (hey, it's Friday), but I don't understand why you would even want to do such a thing. It seems like quite a hack for no gain. If you're just trying to make sure you don't get notified during sendmail & BIND log rotations, Nagios has a far better provision built right in with the max_check_attempts parameter. -Guy (must... stamp out... gratuitous hackery...!) ------------------------------------------------------- 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 master at virtuosonetsolutions.com Sat Nov 19 06:28:15 2005 From: master at virtuosonetsolutions.com (Master Virtuoso) Date: Sat, 19 Nov 2005 00:28:15 -0500 Subject: Remove nagios Message-ID: <027501c5ecca$0ac1d030$6401a8c0@Virtuoso> I installed it exactly as was in the official documentation. I don't wish to use it anymore that is why I won't to remove it. The remove process is giving me errors also. root at server [~]# service nagios stop nagios: unrecognized service root at server [~]# rpm -e nagios error: package nagios is not installed What exactly am I to do now? I've already deleted the files themselves. root at server [~]# locate nagios root at server [~]# More logs: Nov 17 21:50:42 server3 nagios: Warning: Return code of 127 for check of service 'Total Processes' on host 'localhost' was out of bounds. Make sure the plugin you're trying to run actually exists. Nov 17 21:51:42 server3 nagios: Warning: Return code of 127 for check of service 'Current Load' on host 'localhost' was out of bounds. Make sure the plugin you're trying to run actually exists. Nov 17 21:52:42 server3 nagios: Warning: Return code of 127 for check of service 'Current Users' on host 'localhost' was out of bounds. Make sure the plugin you're trying to run actually exists. Nov 17 21:53:42 server3 nagios: Warning: Return code of 127 for check of service 'PING' on host 'localhost' was out of bounds. Make sure the plugin you're trying to run actually exists. Nov 17 21:54:42 server3 nagios: Warning: Return code of 127 for check of service 'Root Partition' on host 'localhost' was out of bounds. Make sure the plugin you're trying to run actually exists. Nov 17 21:55:42 server3 nagios: Warning: Return code of 127 for check of service 'Total Processes' on host 'localhost' was out of bounds. Make sure the plugin you're trying to run actually exists. Nov 17 21:56:42 server3 nagios: Warning: Return code of 127 for check of service 'Current Load' on host 'localhost' was out of bounds. Make sure the plugin you're trying to run actually exists. Nov 17 21:57:42 server3 nagios: Warning: Return code of 127 for check of service 'Current Users' on host 'localhost' was out of bounds. Make sure the plugin you're trying to run actually exists. Nov 17 21:58:16 server3 pure-ftpd: (?@127.0.0.1) [INFO] New connection from 127.0.0.1 Nov 17 21:58:16 server3 pure-ftpd: (?@127.0.0.1) [INFO] Logout. Nov 17 21:58:42 server3 nagios: Warning: Return code of 127 for check of service 'PING' on host 'localhost' was out of bounds. Make sure the plugin you're trying to run actually exists. Nov 17 21:59:42 server3 nagios: Warning: Return code of 127 for check of service 'Root Partition' on host 'localhost' was out of bounds. Make sure the plugin you're trying to run actually exists. Nov 17 22:00:42 server3 nagios: Warning: Return code of 127 for check of service 'Total Processes' on host 'localhost' was out of bounds. Make sure the plugin you're trying to run actually exists. Nov 17 22:01:42 server3 nagios: Warning: Return code of 127 for check of service 'Current Load' on host 'localhost' was out of bounds. Make sure the plugin you're trying to run actually exists. Truly Yours, Chad Abizeid Founder / Owner Virtuoso Net Solutions, Inc. Virtuoso Net SolutionsT...Sophisticated & DedicatedT Prepare to be VirtuotizedT Sales. 631.968.4151 Fax. 717.326.4149 Domains. www.virtuosodomains.com Sales. sales at virtuosonetsolutions.com Support. support at virtuosonetsolutions.com Reboot. reboot at virtuosonetsolutions.com Click here to speak to a live representative _____ From: Master Virtuoso [mailto:master at virtuosonetsolutions.com] Sent: Friday, November 18, 2005 7:06 AM To: 'nagios-users at lists.sourceforge.net' Subject: Remove nagios How do I completely uninstall Nagios from my Centos Linux box? I am getting the below errors and wish to remove it: Found this in the logs.... Nov 13 13:58:57 server3 pure-ftpd: (?@127.0.0.1) [INFO] New connection from 127.0.0.1 Nov 13 13:58:57 server3 pure-ftpd: (?@127.0.0.1) [INFO] Logout. Nov 13 13:59:42 server3 nagios: Warning: Return code of 127 for check of service 'Root Partition' on host 'localhost' was out of bounds. Make sure the plugin you're trying to run actually exists. Nov 13 14:00:42 server3 nagios: Warning: Return code of 127 for check of service 'Total Processes' on host 'localhost' was out of bounds. Make sure the plugin you're trying to run actually exists. Nov 13 14:01:42 server3 nagios: Warning: Return code of 127 for check of service 'Current Load' on host 'localhost' was out of bounds. Make sure the plugin you're trying to run actually exists. Nov 13 14:02:42 server3 nagios: Warning: Return code of 127 for check of service 'Current Users' on host 'localhost' was out of bounds. Make sure the plugin you're trying to run actually exists. Nov 13 14:03:42 server3 nagios: Warning: Return code of 127 for check of service 'PING' on host 'localhost' was out of bounds. Make sure the plugin you're trying to run actually exists. Nov 13 14:04:42 server3 nagios: Warning: Return code of 127 for check of service 'Root Partition' on host 'localhost' was out of bounds. Make sure the plugin you're trying to run actually exists. Nov 13 14:05:42 server3 nagios: Warning: Return code of 127 for check of service 'Total Processes' on host 'localhost' was out of bounds. Make sure the plugin you're trying to run actually exists. Nov 13 14:06:42 server3 nagios: Warning: Return code of 127 for check of service 'Current Load' on host 'localhost' was out of bounds. Make sure the plugin you're trying to run actually exists. Nov 13 14:07:19 server3 pure-ftpd: (?@127.0.0.1) [INFO] New connection from 127.0.0.1 Nov 13 14:07:19 server3 pure-ftpd: (?@127.0.0.1) [INFO] Logout. Nov 13 14:07:42 server3 nagios: Warning: Return code of 127 for check of service 'Current Users' on host 'localhost' was out of bounds. Make sure the plugin you're trying to run actually exists. Nov 13 14:08:42 server3 nagios: Warning: Return code of 127 for check of service 'PING' on host 'localhost' was out of bounds. Make sure the plugin you're trying to run actually exists. Nov 13 14:09:42 server3 nagios: Warning: Return code of 127 for check of service 'Root Partition' on host 'localhost' was out of bounds. Make sure the plugin you're trying to run actually exists. Nov 13 14:10:42 server3 nagios: Warning: Return code of 127 for check of service 'Total Processes' on host 'localhost' was out of bounds. Make sure the plugin you're trying to run actually exists. Nov 13 14:11:42 server3 nagios: Warning: Return code of 127 for check of service 'Current Load' on host 'localhost' was out of bounds. Make sure the plugin you're trying to run actually exists. Nov 13 14:12:42 server3 nagios: Warning: Return code of 127 for check of service 'Current Users' on host 'localhost' was out of bounds. Make sure the plugin you're trying to run actually exists. Nov 13 14:13:42 server3 nagios: Warning: Return code of 127 for check of service 'PING' on host 'localhost' was out of bounds. Make sure the plugin you're trying to run actually exists. Nov 13 14:14:42 server3 nagios: Warning: Return code of 127 for check of service 'Root Partition' on host 'localhost' was out of bounds. Make sure the plugin you're trying to run actually exists. Truly Yours, Chad Abizeid Founder / Owner Virtuoso Net Solutions, Inc. Virtuoso Net SolutionsT...Sophisticated & DedicatedT Prepare to be VirtuotizedT Sales. 631.968.4151 Fax. 717.326.4149 Domains. www.virtuosodomains.com Sales. sales at virtuosonetsolutions.com Support. support at virtuosonetsolutions.com Reboot. reboot at virtuosonetsolutions.com Click here to speak to a live representative -------------- next part -------------- An HTML attachment was scrubbed... URL: From guy at extragalactic.net Fri Nov 18 18:24:59 2005 From: guy at extragalactic.net (Guy B. Purcell) Date: Fri, 18 Nov 2005 09:24:59 -0800 Subject: check_dhcp In-Reply-To: <437DDA61.1040406@norwich.edu> References: <437DDA61.1040406@norwich.edu> Message-ID: On Nov 18, 2005, at 05:42, Jamie Pratt wrote: > I have an environment with 4 MS Active Directory DNS servers > running DHCP. The dhcp servers are "load-balanced" in two pairs, > via a cabletron smart-switch router upstream which hands off two > offers per dhcp request... > > So.. Herein lies my problem. Since the AD servers do not actually > hand off the addresses (the switch does), the checks on the ad > system IP's fail, even though two offers are recieved, it fails.... [...details of the failuer...] > Obviously, if i monitor the 10.2.1.1 address with check_dhcp, it > works fine, but defeats the purpose since the ssr router/switch is > the parent of most of these devices, MS AD systems included... :-( > > So.. Any future option for specifying the oferring server, and the > actual requested server, or any workarounds available here? I dug > around extensively for a "workaround" or something but have found > nothing.. any ideas/thoughts appreciated... For load-balanced services, I normally monitor the service on each host in the pool individually, with the results of those monitors monitored by the special "cluster monitor"; however, you have hardware interfering with that, so you can't do it. Unless you can somehow program the SSR to return the DHCP replies with the source addresses of the AD servers, you'll just have to monitor it as if it were a single DHCP server. -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 From moshesharon at gmail.com Sat Nov 19 00:43:03 2005 From: moshesharon at gmail.com (moshe sharon) Date: Sat, 19 Nov 2005 01:43:03 +0200 Subject: check_radius In-Reply-To: <20051118124203.GA18987262@CIS.FU-Berlin.DE> References: <437C5ADE.6070108@beaconet.net> <20051118124203.GA18987262@CIS.FU-Berlin.DE> Message-ID: <88ad29240511181543n3089bd71s68f61bd80b07d6e7@mail.gmail.com> Hello download from www.nagiosexchange.org check_radius plugin. http://www.nagiosexchange.org/Networking.53.0.html?&tx_netnagext_pi1[p_view]=345 and follow the instructions it will be more easier to config Moshe On 11/18/05, Holger Weiss wrote: > > * Askar Ali [2005-11-17 15:26]: > > You mean i have to install the radius on the nagios machine also?, our > > radius is another separate machine for authenticating dialup users. > > Of course, you don't need a RADIUS server on the Nagios machine, but > check_radius requires the radiusclient library. > > | check_radius: > | - Requires the radiusclient library available from > | http://www.cityline.net/~lf/radius/ > | RPM (rpmfind): radiusclient-0.3.1-1, radiusclient-devel-0.3.1-1 > > [ nagios-plugins-1.4.2/REQUIREMENTS ] > > The above URL seems dead, but the radiusclient source is available at: > > ftp://ftp.cityline.net/pub/radiusclient/ > > The Debian packages are called "libradius1" and "libradius1-dev". > > Holger > > -- > PGP fingerprint: F1F0 9071 8084 A426 DD59 9839 59D3 F3A1 B8B5 D3DE > > > ------------------------------------------------------- > 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 > -------------- next part -------------- An HTML attachment was scrubbed... URL: From johnwelch at kclife.com Fri Nov 18 23:33:33 2005 From: johnwelch at kclife.com (John C. Welch) Date: Fri, 18 Nov 2005 16:33:33 -0600 Subject: Help with Nagiosgraph Message-ID: Running .5, since I'm still on Nagios 1.2 So everything looks right, but I'm not getting any data. I think the reason for this is that the RRD files aren't being created. Not sure why. Set the log level to 5, and I get: Fri Nov 18 16:31:42 2005 CGI info: Listing xserve02_PING db files in /usr/local/nagios/nagiosgraph/rrd/: Fri Nov 18 16:31:42 2005 CGI info: System /usr/bin/rrdtool graph - -a PNG --start -3024000 Fri Nov 18 16:31:42 2005 CGI info: System returncode 0 message Fri Nov 18 16:31:42 2005 CGI debug: @db= Fri Nov 18 16:31:42 2005 CGI info: Listing xserve02_PING db files in /usr/local/nagios/nagiosgraph/rrd/: Fri Nov 18 16:31:42 2005 CGI info: System /usr/bin/rrdtool graph - -a PNG --start -34560000 Fri Nov 18 16:31:42 2005 CGI debug: @db= Fri Nov 18 16:31:42 2005 CGI info: Listing xserve02_PING db files in /usr/local/nagios/nagiosgraph/rrd/: Fri Nov 18 16:31:42 2005 CGI info: System /usr/bin/rrdtool graph - -a PNG --start -118800 Fri Nov 18 16:31:42 2005 CGI info: System returncode 0 message Fri Nov 18 16:31:42 2005 CGI info: System returncode 0 message Fri Nov 18 16:31:42 2005 CGI debug: @db= Fri Nov 18 16:31:42 2005 CGI info: Listing xserve02_PING db files in /usr/local/nagios/nagiosgraph/rrd/: Fri Nov 18 16:31:42 2005 CGI info: System /usr/bin/rrdtool graph - -a PNG --start -777600 Fri Nov 18 16:31:42 2005 CGI info: System returncode 0 message There's never a file in /usr/local/nagios/nagiosgraph/rrd/, but I'm not sure why that's not happening. Ideas, tips, smacks to the head appreciated -- John C. Welch CIS johnwelch at kclife.com (816) 753-7299 x8473 ------------------------------------------------------- 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 rogerb at mytechsupport.com Sat Nov 19 00:53:30 2005 From: rogerb at mytechsupport.com (Roger L. Brown) Date: Fri, 18 Nov 2005 16:53:30 -0700 Subject: pros/cons of using MySQL? Message-ID: <437E697A.1050105@mytechsupport.com> I see I have all these possible options for compiling with MySQL support: --with-mysql-xdata --with-mysql-downtime --with-mysql-comments --with-mysql-status --with-mysql-retention --with-mysql-extinfo Are there any cons to using Nagios with MySQL? What are the benefits? I searched through the archives -- couldn't find a thread discussing the pros/cons(if there's any). Thanks, Roger Brown http://www.mytechsupport.com ------------------------------------------------------- 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 jperrin at gmail.com Sat Nov 19 01:04:20 2005 From: jperrin at gmail.com (Jim Perrin) Date: Fri, 18 Nov 2005 19:04:20 -0500 Subject: pros/cons of using MySQL? In-Reply-To: <437E697A.1050105@mytechsupport.com> References: <437E697A.1050105@mytechsupport.com> Message-ID: <302ce8b50511181604i445ce1bag3d410142780213e2@mail.gmail.com> On 11/18/05, Roger L. Brown wrote: > I see I have all these possible options for compiling with MySQL support: > > --with-mysql-xdata > --with-mysql-downtime > --with-mysql-comments > --with-mysql-status > --with-mysql-retention > --with-mysql-extinfo > > Are there any cons to using Nagios with MySQL? What are the benefits? > > I searched through the archives -- couldn't find a thread discussing the > pros/cons(if there's any). > > Thanks, > > Roger Brown > http://www.mytechsupport.com Database support is deprecated for nagios 2.0, so it won't really be possible to use mysql without using an external plugin available at nagios-exchange. I'm assuming since you didn't mention a version number that you're talking about 2.0 -- Jim Perrin System Architect - UIT Ft Gordon & US Army Signal Center ------------------------------------------------------- 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 rogerb at mytechsupport.com Sat Nov 19 01:08:36 2005 From: rogerb at mytechsupport.com (Roger L. Brown) Date: Fri, 18 Nov 2005 17:08:36 -0700 Subject: pros/cons of using MySQL? In-Reply-To: <302ce8b50511181604i445ce1bag3d410142780213e2@mail.gmail.com> References: <437E697A.1050105@mytechsupport.com> <302ce8b50511181604i445ce1bag3d410142780213e2@mail.gmail.com> Message-ID: <437E6D04.4090004@mytechsupport.com> Jim Perrin wrote: >On 11/18/05, Roger L. Brown wrote: > > >>I see I have all these possible options for compiling with MySQL support: >> >>--with-mysql-xdata >>--with-mysql-downtime >>--with-mysql-comments >>--with-mysql-status >>--with-mysql-retention >>--with-mysql-extinfo >> >>Are there any cons to using Nagios with MySQL? What are the benefits? >> >>I searched through the archives -- couldn't find a thread discussing the >>pros/cons(if there's any). >> >>Thanks, >> >>Roger Brown >>http://www.mytechsupport.com >> >> > >Database support is deprecated for nagios 2.0, so it won't really be >possible to use mysql without using an external plugin available at >nagios-exchange. I'm assuming since you didn't mention a version >number that you're talking about 2.0 > > >-- >Jim Perrin > > I'm going with the latest stable release -- 1.3. Roger ------------------------------------------------------- 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 jperrin at gmail.com Sat Nov 19 01:23:03 2005 From: jperrin at gmail.com (Jim Perrin) Date: Fri, 18 Nov 2005 19:23:03 -0500 Subject: pros/cons of using MySQL? In-Reply-To: <437E6D04.4090004@mytechsupport.com> References: <437E697A.1050105@mytechsupport.com> <302ce8b50511181604i445ce1bag3d410142780213e2@mail.gmail.com> <437E6D04.4090004@mytechsupport.com> Message-ID: <302ce8b50511181623hd3024c4sc0ba9df094987852@mail.gmail.com> > I'm going with the latest stable release -- 1.3. > > Roger > No clue then. haven't touched it. -- Jim Perrin System Architect - UIT Ft Gordon & US Army Signal Center ------------------------------------------------------- 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 drussell at mpifix.com Sat Nov 19 01:40:59 2005 From: drussell at mpifix.com (Danny Russell) Date: Fri, 18 Nov 2005 17:40:59 -0700 Subject: pros/cons of using MySQL? Message-ID: <028B223BB24E5443A9784BBE1CC5EBE06F51AB@Lisa.mpifix.com> For version 2.0 do you mean using perf-parse to get the log files into a mySQL data base? What plugin on Nagios-exchange are you talking about? Thanks! -----Original Message----- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Jim Perrin Sent: Friday, November 18, 2005 5:23 PM To: Roger L. Brown Cc: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] pros/cons of using MySQL? > I'm going with the latest stable release -- 1.3. > > Roger > No clue then. haven't touched it. -- Jim Perrin System Architect - UIT Ft Gordon & US Army Signal Center ------------------------------------------------------- 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=ick _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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 andrew at profitability.net Sat Nov 19 02:25:28 2005 From: andrew at profitability.net (Andrew Cruse) Date: Fri, 18 Nov 2005 20:25:28 -0500 Subject: pros/cons of using MySQL? In-Reply-To: <437E697A.1050105@mytechsupport.com> References: <437E697A.1050105@mytechsupport.com> Message-ID: nagios-users-admin at lists.sourceforge.net wrote: > I see I have all these possible options for compiling with > MySQL support: > > --with-mysql-xdata > --with-mysql-downtime > --with-mysql-comments > --with-mysql-status > --with-mysql-retention > --with-mysql-extinfo > > Are there any cons to using Nagios with MySQL? What are the benefits? > > I searched through the archives -- couldn't find a thread > discussing the pros/cons(if there's any). I looked at that also when I first got started with Nagios. Couldn't really any see any major benefit to doing it. Add the fact that with the 2.0 release, MySQL support is now deprecated and I think that paints a pretty clear picture of the usefulness of the MySQL support. Andrew ------------------------------------------------------- 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 jperrin at gmail.com Sat Nov 19 02:27:20 2005 From: jperrin at gmail.com (Jim Perrin) Date: Fri, 18 Nov 2005 20:27:20 -0500 Subject: pros/cons of using MySQL? In-Reply-To: <028B223BB24E5443A9784BBE1CC5EBE06F51AB@Lisa.mpifix.com> References: <028B223BB24E5443A9784BBE1CC5EBE06F51AB@Lisa.mpifix.com> Message-ID: <302ce8b50511181727x7e31cfa3r5476d161be71f94d@mail.gmail.com> On 11/18/05, Danny Russell wrote: > For version 2.0 do you mean using perf-parse to get the log files into a > mySQL data base? What plugin on Nagios-exchange are you talking about? > This one http://sourceforge.net/projects/nagios-db/ forgive the link not being on nagios-exchange.. for some reason nagios-exchange is blocked by a work proxy I don't have access to alter, and I'm far too lazy to set up an ssh tunnel to get it. -- Jim Perrin System Architect - UIT Ft Gordon & US Army Signal Center ------------------------------------------------------- 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 jperrin at gmail.com Sat Nov 19 02:32:54 2005 From: jperrin at gmail.com (Jim Perrin) Date: Fri, 18 Nov 2005 20:32:54 -0500 Subject: pros/cons of using MySQL? In-Reply-To: References: <437E697A.1050105@mytechsupport.com> Message-ID: <302ce8b50511181732p793b42carb1ff8b76881aeeb0@mail.gmail.com> > I looked at that also when I first got started with Nagios. Couldn't > really any see any major benefit to doing it. Add the fact that with > the 2.0 release, MySQL support is now deprecated and I think that paints > a pretty clear picture of the usefulness of the MySQL support. > > Andrew In that implementation yes I agree completely. But I can see areas where db support would be useful within nagios. For example the ability to store/file/categorize acknowledgements of problems, or outage messages/notes etc about a given system would be quite handy and would allow for them to be kept, but not immediately visible. Or linking host/service extra info in a database with configurable feilds. date purchased, warranty info, POC, etc. I think these would all be good ties with nagios, but I'm not smart enough yet to code them in or submit patches. -- Jim Perrin System Architect - UIT Ft Gordon & US Army Signal Center ------------------------------------------------------- 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 jhmartin at toger.us Sat Nov 19 03:38:44 2005 From: jhmartin at toger.us (Jason Martin) Date: Fri, 18 Nov 2005 21:38:44 -0500 Subject: pros/cons of using MySQL? In-Reply-To: <302ce8b50511181732p793b42carb1ff8b76881aeeb0@mail.gmail.com> References: <437E697A.1050105@mytechsupport.com> <302ce8b50511181732p793b42carb1ff8b76881aeeb0@mail.gmail.com> Message-ID: <20051119023844.GG30217@mal.members.linode.com> On Fri, Nov 18, 2005 at 08:32:54PM -0500, Jim Perrin wrote: > linking host/service extra info in a database with configurable > feilds. date purchased, warranty info, POC, etc. I think these would That would probably be better in an Asset database. Instead of growing Nagios to be a Asset DB, instead have it link to the Asset record. -Jason Martin -- On a radiator repair shop: Best place to take a leak. 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 moshesharon at gmail.com Sat Nov 19 15:31:07 2005 From: moshesharon at gmail.com (moshe sharon) Date: Sat, 19 Nov 2005 16:31:07 +0200 Subject: pros/cons of using MySQL? In-Reply-To: <20051119023844.GG30217@mal.members.linode.com> References: <437E697A.1050105@mytechsupport.com> <302ce8b50511181732p793b42carb1ff8b76881aeeb0@mail.gmail.com> <20051119023844.GG30217@mal.members.linode.com> Message-ID: <88ad29240511190631w4d86fc11m7d9095913ecb6a94@mail.gmail.com> Hello DB support has advantage over flat file. entries can be accessed and processed faster. reduce read write I/O on disks. new web interfaces are much easier to build. and of course data report manipulations via db are more effective. although not all historical data kept in db you still have advantage with status / comments / retention etc. as far as i know db support is standard in the enterprise / smb programs like hpov / ca / tivoli. even whats up gold uses an internal db and not just flat file. we are using nagios 1.3 with db support and from our tests in larger enviroments the results are better with db support as for Nagios 2 it is bad that db support dropped. although you can achieve the functionality with Neb module (nagios-db) there is still the unnecessary write I/O of the status.log and im not sure it can be disabled. Moshe -------------- next part -------------- An HTML attachment was scrubbed... URL: From scotjenkins at gmail.com Sun Nov 20 05:34:48 2005 From: scotjenkins at gmail.com (Scot Jenkins) Date: Sat, 19 Nov 2005 22:34:48 -0600 Subject: Help with Nagiosgraph In-Reply-To: References: Message-ID: On 11/18/05, John C. Welch wrote: > Running .5, since I'm still on Nagios 1.2 > > So everything looks right, but I'm not getting any data. I think the reason > for this is that the RRD files aren't being created. Not sure why. > > There's never a file in /usr/local/nagios/nagiosgraph/rrd/, but I'm not sure > why that's not happening. Check ownership/permissions on the /usr/local/nagios/nagiosgraph/rrd directory. The user nagios is running as (typically "nagios") needs write permission to that directory and the parent (nagiosgraph) directory in order to write the nagiosgraph.log file. The webserver user needs to be able to read files in the rrd directory. You might want to create a group "nagiosgraph" and add the nagios and apache users to it, then set permissions as follows: chown -R nagios:nagiosgraph /usr/local/nagios/nagiosgraph chmod 775 /usr/local/nagios/nagiosgraph Hope that helps. Scot ------------------------------------------------------- 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 bjd at compudentsystems.com Sun Nov 20 22:52:30 2005 From: bjd at compudentsystems.com (Brian J. Dent) Date: Sun, 20 Nov 2005 13:52:30 -0800 Subject: Checking remote servers & tunnels Message-ID: <003e01c5ee1c$b4929f10$1904a8c0@AUGUSTINE> Nagios Users, I've been using NAGIOS for several years to monitor my client's networks and Windows servers. Many of these clients have IPSec tunnels to their remote offices. I've always been able to monitor the remote locations but never the status of the tunnel. Since my NAGIOS server is remote to their location, it's like coming in from the outside and making a left turn to check if the tunnel is up or down. Reading through some code snippets gave me this idea using the NRPE_NT plug-in. Obviously there are permutations but the basics work. 1) Duplicate the nrpe_nt_check_cmd in checkcommands.cfg and change the suffix to _remote. 2) Add this line to your nrpe.cfg file: command[nrpe_nt_check_remote]=c:\nrpe_nt\ping_remote.cmd 192.168.2.10 # where 192.168.2.10 is the remote server 3) Create a ping_remote.cmd file in the nrpe_nt folder: @ECHO OFF PING -n 1 %1 | FIND "TTL=" > NUL IF ERRORLEVEL 0 GOTO REMOTE_FOUND PING -n 1 -w 3000 %1 | FIND "TTL=" > NUL IF ERRORLEVEL 1 GOTO REMOTE_DOWN ECHO REMOTE CONNECTION TO %1 IS SLOW EXIT 1 :REMOTE_DOWN ECHO REMOTE CONNECTION TO %1 IS DOWN EXIT 2 :REMOTE_FOUND ECHO REMOTE CONNECTION TO %1 IS UP EXIT 0 REM OK = 0; REM WARNING = 1; REM CRITICAL = 2; REM UNKNOWN = 3; Regards, bjd ~Brian J. Dent -------------- next part -------------- An HTML attachment was scrubbed... URL: From gupta_karan at yahoo.com Sun Nov 20 22:52:21 2005 From: gupta_karan at yahoo.com (karan gupta) Date: Sun, 20 Nov 2005 13:52:21 -0800 (PST) Subject: (no subject) Message-ID: <20051120215221.52350.qmail@web53311.mail.yahoo.com> Hello Nagios Guru's! I have setup Nagios1.2 server on a Gentoo linux box. I need it to monitor Windows 2000/2003 server for a couple of things 1. CPU, load, hard disk etc. 2. Whether the windows machine can connect to remote IPs (telnet x.x.x.x xx) This info needs to be relayed back to Nagios central sever (Gentoo linux machine) which should generate alerts based on the thresholds i specify. I looked at the documentation & am confused how to set this up - NSClient or NSCA. Any help will be greatly appreciated! __________________________________ Start your day with Yahoo! - Make it your home page! http://www.yahoo.com/r/hs ------------------------------------------------------- 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 Sun Nov 20 23:57:23 2005 From: s.shipway at auckland.ac.nz (Steve Shipway) Date: Mon, 21 Nov 2005 11:57:23 +1300 Subject: retention issue In-Reply-To: <37ED92F9890FAF4BB947613C66FF8B1A08BB2C35@dw-mail.dataway.com> References: <37ED92F9890FAF4BB947613C66FF8B1A08BB2C35@dw-mail.dataway.com> Message-ID: <02b301c5ee25$c56db870$01fea8c0@itss.auckland.ac.nz> >I don't think "current check attempt #" is retained > >Since soft states are not considered 'real' errors yet, when a >nagios restart occurs it must count up from the beginning again. This is the way I understand it as well. A few tests here seem to indicate that this is the case in 1.2, at least. The check attempts are used to count the number of criticals *over a specified period* so you wouldn't want these to be retained - the system doesn't know how long its been down, so it starts the soft count from zero again. Since you should have your max_checks and check_intervals set to something sensible, it should only be a few minutes before things are back to normal. If you are restarting nagios every hour or so, then you have a different problem... 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_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 VINAY_SHARMA at advanex.co.jp Mon Nov 21 01:03:12 2005 From: VINAY_SHARMA at advanex.co.jp (VINAY_SHARMA at advanex.co.jp) Date: Mon, 21 Nov 2005 09:03:12 +0900 Subject: (no subject) Message-ID: Use NSclient for windows its very good for monitoing many services... if need more help reply.. 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 karan gupta ??: nagios-users at lists.sourceforge.net ???: cc: nagios-users-admin at lists.sour ??: [Nagios-users] (no subject) ceforge.net 2005/11/21 06:52 Hello Nagios Guru's! I have setup Nagios1.2 server on a Gentoo linux box. I need it to monitor Windows 2000/2003 server for a couple of things 1. CPU, load, hard disk etc. 2. Whether the windows machine can connect to remote IPs (telnet x.x.x.x xx) This info needs to be relayed back to Nagios central sever (Gentoo linux machine) which should generate alerts based on the thresholds i specify. I looked at the documentation & am confused how to set this up - NSClient or NSCA. Any help will be greatly appreciated! __________________________________ Start your day with Yahoo! - Make it your home page! http://www.yahoo.com/r/hs ------------------------------------------------------- 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 craig.worthington at qld.gov.au Mon Nov 21 01:11:30 2005 From: craig.worthington at qld.gov.au (Craig Worthington) Date: Mon, 21 Nov 2005 10:11:30 +1000 Subject: nagios and MySQL Message-ID: <1132531890.697.36.camel@nch49100> I downloaded the nagios-db plugin for nagios-2. But there's no install instructions ! I can create the database but unsure of how to install the event processing routines. Is there install instruction or a howto ?? CraigW ------------------------------------------------------- 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 moshesharon at gmail.com Mon Nov 21 08:58:03 2005 From: moshesharon at gmail.com (moshe sharon) Date: Mon, 21 Nov 2005 09:58:03 +0200 Subject: retention issue In-Reply-To: <02b301c5ee25$c56db870$01fea8c0@itss.auckland.ac.nz> References: <37ED92F9890FAF4BB947613C66FF8B1A08BB2C35@dw-mail.dataway.com> <02b301c5ee25$c56db870$01fea8c0@itss.auckland.ac.nz> Message-ID: <88ad29240511202358p4955f6ddyd12b0da9181bfddb@mail.gmail.com> hello please note that the retention_update_interval=60 are in minutes. if you during this time restart nagios the retention state will not be saved. i would suggest to lower this to 5 minutes and to check if you still have this problem. also if you enable retention in the main config file you do not need to specify it per service (only if you want to disable retention for specfic service) Moshe -------------- next part -------------- An HTML attachment was scrubbed... URL: From amateo at um.es Mon Nov 21 12:41:59 2005 From: amateo at um.es (Angel L. Mateo) Date: Mon, 21 Nov 2005 12:41:59 +0100 Subject: Critical and warnings values for a snmp check Message-ID: <1132573319.20063.29.camel@joshua.atica.um.es> Hello all, I have been using nagios for a long time, but now is the first time I want to make something not usual (at least, for me). I want to check system healthy for some of my dell servers ask them for the status by snmp. The check I run answers me the values: 1 -> other 2 -> unknown 3 -> ok 4 -> nonCriticalUpper 5 -> criticalUpper 6 -> nonRecoverableUpper 7 -> nonCriticalLower 8 -> criticalLower 9 -> nonRecoverableLower 10 -> failed so I want that my nagios check (I run it with the check_snmp command) answer me "OK" for the value 3, "WARNING" for 1, 2, 4 and 7 and "CRITICAL" for the rest. So, how do I have to configure the -w and -c options for the check_snmp command? -- Angel L. Mateo Mart?nez Secci?n de Telem?tica ?rea de Tecnolog?as de la Informaci?n _o) y las Comunicaciones Aplicadas (ATICA) / \\ http://www.um.es/atica _(___V Tfo: 968367590 Fax: 968398337 ------------------------------------------------------- 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 tjl at topdanmark.dk Mon Nov 21 13:04:40 2005 From: tjl at topdanmark.dk (Thomas Jens Lauritsen) Date: Mon, 21 Nov 2005 13:04:40 +0100 Subject: Vedr.: Critical and warnings values for a snmp check Message-ID: Hi Angel, I would write a bash plugin script to solve the problem if I were in your shoes... You should need a working snmp installation to get it running. /Thomas |---------+----------------------------------------> | | "Angel L. Mateo" | | | | | | Sendt af: | | | nagios-users-admin at lists.sour| | | ceforge.net | | | | | | | | | 21-11-2005 12:41 | | | | |---------+----------------------------------------> >--------------------------------------------------------------------------------------------------------------| | | | Til: nagios-users at lists.sourceforge.net | | cc: | | Vedr.: [Nagios-users] Critical and warnings values for a snmp check | >--------------------------------------------------------------------------------------------------------------| Hello all, I have been using nagios for a long time, but now is the first time I want to make something not usual (at least, for me). I want to check system healthy for some of my dell servers ask them for the status by snmp. The check I run answers me the values: 1 -> other 2 -> unknown 3 -> ok 4 -> nonCriticalUpper 5 -> criticalUpper 6 -> nonRecoverableUpper 7 -> nonCriticalLower 8 -> criticalLower 9 -> nonRecoverableLower 10 -> failed so I want that my nagios check (I run it with the check_snmp command) answer me "OK" for the value 3, "WARNING" for 1, 2, 4 and 7 and "CRITICAL" for the rest. So, how do I have to configure the -w and -c options for the check_snmp command? -- Angel L. Mateo Mart?nez Secci?n de Telem?tica ?rea de Tecnolog?as de la Informaci?n _o) y las Comunicaciones Aplicadas (ATICA) / \\ http://www.um.es/atica _(___V Tfo: 968367590 Fax: 968398337 ------------------------------------------------------- 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 nagios_user at s1test1.it Mon Nov 21 14:33:00 2005 From: nagios_user at s1test1.it (nagios_user at s1test1.it) Date: Mon, 21 Nov 2005 14:33:00 +0100 Subject: check sip service Message-ID: <20051121143300.2s1i8g4e0sys8cgs@webmail.s1test1.it> Hello to all list, I have a little problem to issue. When I try to check sip service, through check_sip plugin, I receive the following error: ******************************************************************************* #./check_sip -u sip:root at hostname Invalid Extension # ******************************************************************************* instead when I try to check it on other host seem to run right: ******************************************************************************* #./check_sip -u sip:root at hostname_2 SIP 200 OK: 0.00 second response time # ******************************************************************************* Do you know what is the problem? p.s. sorry for my english... Thank you for your help. Best Regards Rodolfo Greco ------------------------------------------------------- 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 richard.gliebe at fhv.at Mon Nov 21 15:26:26 2005 From: richard.gliebe at fhv.at (Richard Gliebe) Date: Mon, 21 Nov 2005 15:26:26 +0100 Subject: check_snmp - UPS Message-ID: <1132583186.917.13.camel@glr-nb.dh.uclv.net> Hi, I have to monitor our Master-UPS via 'check_snmp'. I want to get an alert, when the capacity goes under 80 % like this. [...] # ./check_snmp -H ups.company.com -C uclvNOC-ro -o . \ -l "BATTERY (%)" -w 80 -c 60 [...] But when the retournvalue is 100 (%), I've get an critital alert. ## BATTERY (%) CRITICAL - *100* service alert.## Is it possible define reverse values in check_snmp ? thanks in advance. Richard -- Richard Gliebe Fachhochschule Vorarlberg GmbH / University for Applied Science Information Services ------------------------------------------------------- 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 Mon Nov 21 15:43:32 2005 From: sghosh at sghosh.org (Subhendu Ghosh) Date: Mon, 21 Nov 2005 09:43:32 -0500 (EST) Subject: check_snmp - UPS In-Reply-To: <1132583186.917.13.camel@glr-nb.dh.uclv.net> References: <1132583186.917.13.camel@glr-nb.dh.uclv.net> Message-ID: "negate" is a plugin that will change the return code of a plugin. with check_snmp - try -w 0:60 -c 0:80 you will get a warning above 60 and critical above 80 On Mon, 21 Nov 2005, Richard Gliebe wrote: > Hi, > > I have to monitor our Master-UPS via 'check_snmp'. > > I want to get an alert, when the capacity goes under 80 % like this. > > [...] > # ./check_snmp -H ups.company.com -C uclvNOC-ro -o . \ > -l "BATTERY (%)" -w 80 -c 60 > [...] > > But when the retournvalue is 100 (%), I've get an critital alert. > > ## BATTERY (%) CRITICAL - *100* service alert.## > > Is it possible define reverse values in check_snmp ? > > thanks in advance. > > Richard > > -- ------------------------------------------------------- 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 john at jolet.net Mon Nov 21 16:47:59 2005 From: john at jolet.net (John Jolet) Date: Mon, 21 Nov 2005 09:47:59 -0600 Subject: debug mode Message-ID: <200511210947.59229.john@jolet.net> I've written a check that seems to work just dandy from the command line, and I BELIEVE i've got the same syntax for it in checkcommands.cfg, but the return info from the check as run by nagios does not seem to be working right. Is there a way to see EXACTLY what the check command looked like when nagios ran it? Like a debug flag on the checks or something? I haven't found anything like that in the docs, but I can find no reason why my check works at the command line, but only partially works via nagios. This check is for checking the percent free on a filesystem of a remote box via snmp. -- John Jolet Your On-Demand IT Department 512-762-0729 www.jolet.net john at jolet.net ------------------------------------------------------- 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 Mon Nov 21 16:58:13 2005 From: marc at ena.com (Marc Powell) Date: Mon, 21 Nov 2005 09:58:13 -0600 Subject: debug mode Message-ID: > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users- > admin at lists.sourceforge.net] On Behalf Of John Jolet > Sent: Monday, November 21, 2005 9:48 AM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] debug mode > > I've written a check that seems to work just dandy from the command line, > and > I BELIEVE i've got the same syntax for it in checkcommands.cfg, but the > return info from the check as run by nagios does not seem to be working > right. Is there a way to see EXACTLY what the check command looked like > when > nagios ran it? Like a debug flag on the checks or something? I haven't > found anything like that in the docs, but I can find no reason why my > check > works at the command line, but only partially works via nagios. You could enable debug at compile time (./configure --help) or you could just wrap your command_line in an echo like -- # 'check_nrpe' command definition define command{ command_name check_nrpe command_line echo "$USER1$/check_nrpe $HOSTADDRESS$ -c $ARG1$ -to 30" >> /tmp/command.lines } -- 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 btmanmeh at verizon.net Mon Nov 21 17:02:10 2005 From: btmanmeh at verizon.net (Max) Date: Mon, 21 Nov 2005 11:02:10 -0500 Subject: Multiple links from serviceextinfo to graphs? Message-ID: <4381EF82.4030802@verizon.net> I have mrtg setup on my Nagios box to link to whatever graph I want specified in my serviceextinfo.cfg. I looked at the documentation but couldn't find the answer to my question. I'm thinking it's not possible, but I figured I would ask anyways. First an example of my serviceextinfo.cfg: define serviceextinfo{ host_name my-host-example service_description DISKS notes_url http://link-to-my-graph icon_image graph.gif icon_image_alt View graphs } Can I specify more than one pointer from within a container? For example, I have disks being monitored and I have say three graphs being generated from my mrtg configurations. With the current setup however I can only make a direct link to one of those graphs with only one little image showing up under that particular service. I would like to be able to show three images on the service DISKS with a link to each corresponding graph? If not no big deal, I can always just create a directory, point Apache to it, and have my image link open to that directory, where you can select the graph you want to look at. I was just trying to make it "pretty" looking from the Nagios interface though. Thanks for any replies. 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 bohara at gmail.com Mon Nov 21 17:07:22 2005 From: bohara at gmail.com (Ben O'Hara) Date: Mon, 21 Nov 2005 16:07:22 +0000 Subject: Multiple links from serviceextinfo to graphs? In-Reply-To: <4381EF82.4030802@verizon.net> References: <4381EF82.4030802@verizon.net> Message-ID: <2b36e660511210807p5e685362p4dde7782e74b3574@mail.gmail.com> On 11/21/05, Max wrote: > I have mrtg setup on my Nagios box to link to whatever graph I want > specified in my serviceextinfo.cfg. I looked at the documentation but > couldn't find the answer to my question. > > I'm thinking it's not possible, but I figured I would ask anyways. First > an example of my serviceextinfo.cfg: > > define serviceextinfo{ > host_name my-host-example > service_description DISKS > notes_url http://link-to-my-graph > icon_image graph.gif > icon_image_alt View graphs > } > > Can I specify more than one pointer from within a container? For > example, I have disks being monitored and I have say three graphs being > generated from my mrtg configurations. With the current setup however I > can only make a direct link to one of those graphs with only one little > image showing up under that particular service. I would like to be able > to show three images on the service DISKS with a link to each > corresponding graph? > > If not no big deal, I can always just create a directory, point Apache > to it, and have my image link open to that directory, where you can > select the graph you want to look at. I was just trying to make it > "pretty" looking from the Nagios interface though. Thanks for any replies. > Max, Not sure if this is possible, but it would be a nice addition. Id like to link to graphs and documentation. Addng a serviceextinfo definition for the service linking it to a wiki page seems a nice easy way to achieve although you can obviously create only one link per service. Ben ------------------------------------------------------- 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 john at jolet.net Mon Nov 21 17:08:37 2005 From: john at jolet.net (John Jolet) Date: Mon, 21 Nov 2005 10:08:37 -0600 Subject: debug mode In-Reply-To: References: Message-ID: <200511211008.37958.john@jolet.net> On Monday 21 November 2005 09:58, Marc Powell wrote: > You could enable debug at compile time (./configure --help) or you could > just wrap your command_line in an echo like -- > > # 'check_nrpe' command definition > define command{ > command_name check_nrpe > command_line echo "$USER1$/check_nrpe $HOSTADDRESS$ -c $ARG1$ > -to 30" >> /tmp/command.lines > } not using nrpe....using snmp direct from my monitoring box. > > -- > 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 -- John Jolet Your On-Demand IT Department 512-762-0729 www.jolet.net john at jolet.net ------------------------------------------------------- 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 Mon Nov 21 17:12:06 2005 From: btmanmeh at verizon.net (Max) Date: Mon, 21 Nov 2005 11:12:06 -0500 Subject: Multiple links from serviceextinfo to graphs? In-Reply-To: <2b36e660511210807p5e685362p4dde7782e74b3574@mail.gmail.com> References: <4381EF82.4030802@verizon.net> <2b36e660511210807p5e685362p4dde7782e74b3574@mail.gmail.com> Message-ID: <4381F1D6.3020507@verizon.net> Ben O'Hara wrote: > > Max, > > Not sure if this is possible, but it would be a nice addition. Id > like to link to graphs and documentation. Addng a serviceextinfo > definition for the service linking it to a wiki page seems a nice easy > way to achieve although you can obviously create only one link per > service. Ben, Ok, thanks. That answers my question. I assumed you could only link one image per service, but it was worth a shot. Thanks again. 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 dschlecht at doit.nv.gov Mon Nov 21 17:25:52 2005 From: dschlecht at doit.nv.gov (David G. Schlecht) Date: Mon, 21 Nov 2005 08:25:52 -0800 Subject: unrecoverable errors during non notification_periods Message-ID: <6DB6E1ED582EFE45BE27468BD45B982F07C9899C@MX1.STATE.NV.US> Hi All, I am having recurring problems with notifications not being sent when a service doesn't recover from a scheduled downtime. I'm using notification_periods to prevent notifications from going out during a host's nightly http service restart. However, if the service never restarts, Nagios doesn't send notifications at the start of the enabled notification period. notification_period is: 00:00-03:00,03:30-24:00 If the service goes down at 03:15 and never recovers, Nagios doesn't notify. I understand from the docs that: Note: If the time period filter is not passed, Nagios will reschedule the next notification for the host or service (if its in a non-OK state) for the next valid time present in the time period. This helps ensure that contacts are notified of problems as soon as possible when the next valid time in time period arrives. This is not the way it appears to be working. Has anyone else encountered this or is this a problem with my configuration? I'm using Nagios 2.0b4 on a SUSE Enterprise box. However, we had the same problems when using v1.2. Any ideas would be most appreciated. - David ------------------------------------------------------- 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 Mon Nov 21 17:58:04 2005 From: marc at ena.com (Marc Powell) Date: Mon, 21 Nov 2005 10:58:04 -0600 Subject: debug mode Message-ID: > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users- > admin at lists.sourceforge.net] On Behalf Of John Jolet > Sent: Monday, November 21, 2005 10:09 AM > To: nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] debug mode > > On Monday 21 November 2005 09:58, Marc Powell wrote: > > You could enable debug at compile time (./configure --help) or you could > > just wrap your command_line in an echo like -- > > > > # 'check_nrpe' command definition > > define command{ > > command_name check_nrpe > > command_line echo "$USER1$/check_nrpe $HOSTADDRESS$ -c $ARG1$ > > -to 30" >> /tmp/command.lines > > } > not using nrpe....using snmp direct from my monitoring box. It doesn't matter. It was just an example. You can do the same with any command. -- 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 RNathan at baxglobal.com Mon Nov 21 18:10:02 2005 From: RNathan at baxglobal.com (Ranga Nathan) Date: Mon, 21 Nov 2005 09:10:02 -0800 Subject: It appears as though Nagios is not running, so commands are temporarily unavailable Message-ID: Occasionally we get this message and the nagios displays go stale for days. However Nagios is running! On occasions I found that temporary directories used by nagios are deleted. I am not sure who deletes these. Perhaps some nagios clean up process? Perhaps Redhat's zealous clean-up process? I could relocate to a different set of temp directories. However it wont help if Nagios itself is responsible for the deletion. Any clues? Here is a piece of the nagios.cfg referencing this temporary directory: # TEMP FILE # This is a temporary file that is used as scratch space when Nagios # updates the status log, cleans the comment file, etc. This file # is created, used, and deleted throughout the time that Nagios is # running. temp_file=/var/tmp/nagios/nagios.tmp # STATE RETENTION FILE # This is the file that Nagios should use to store host and # service state information before it shuts down. The state # information in this file is also read immediately prior to # starting to monitor the network when Nagios is restarted. # This file is used only if the preserve_state_information # variable is set to 1. state_retention_file=/var/tmp/nagios/status.sav __________________________________________ Ranga Nathan / CSG Systems Programmer - Specialist; Technical Services; BAX Global Inc. Irvine-California Tel: 714-442-7591 Fax: 714-442-2840 -------------- next part -------------- An HTML attachment was scrubbed... URL: From gupta_karan at yahoo.com Mon Nov 21 18:41:04 2005 From: gupta_karan at yahoo.com (karan gupta) Date: Mon, 21 Nov 2005 09:41:04 -0800 (PST) Subject: check_ping for Windows? Message-ID: <20051121174104.32796.qmail@web53309.mail.yahoo.com> I was wondering if there is a check_ping plugin for Windows. Im running nrpe_nt on a windows 2000 server that reports back CPU/Disk data to a Linux box running Nagios server. I have vbs scripts on the windows machine to relay the data back to Nagios & am looking for similar script to do a ping check from the windows machine to a remote host & to relay the info back to Nagios. Any help will be appreciated. Thanks __________________________________ Yahoo! Mail - PC Magazine Editors' Choice 2005 http://mail.yahoo.com ------------------------------------------------------- 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 rtparies at gmail.com Mon Nov 21 18:48:05 2005 From: rtparies at gmail.com (Randy Paries) Date: Mon, 21 Nov 2005 11:48:05 -0600 Subject: what is the best web based console Message-ID: Hello, What is the most popular or best supported web based console? There are a number of them under the AddOn Projects and i would like to use the one that is most popular 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_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 rouilj at cs.umb.edu Mon Nov 21 20:38:20 2005 From: rouilj at cs.umb.edu (John P. Rouillard) Date: Mon, 21 Nov 2005 14:38:20 -0500 Subject: Multiple links from serviceextinfo to graphs? In-Reply-To: Your message of "Mon, 21 Nov 2005 16:07:22 GMT." <2b36e660511210807p5e685362p4dde7782e74b3574@mail.gmail.com> References: <2b36e660511210807p5e685362p4dde7782e74b3574@mail.gmail.com> Message-ID: <200511211938.jALJcKWH019505@mx1.cs.umb.edu> In message <2b36e660511210807p5e685362p4dde7782e74b3574 at mail.gmail.com>, "Ben O'Hara" writes: >On 11/21/05, Max wrote: >> I have mrtg setup on my Nagios box to link to whatever graph I want >> specified in my serviceextinfo.cfg. I looked at the documentation but >> couldn't find the answer to my question. >> >> I'm thinking it's not possible, but I figured I would ask anyways. First >> an example of my serviceextinfo.cfg: >> >> define serviceextinfo{ >> host_name my-host-example >> service_description DISKS >> notes_url http://link-to-my-graph >> icon_image graph.gif >> icon_image_alt View graphs >> } >> >> Can I specify more than one pointer from within a container? For >> example, I have disks being monitored and I have say three graphs being >> generated from my mrtg configurations. With the current setup however I >> can only make a direct link to one of those graphs with only one little >> image showing up under that particular service. I would like to be able >> to show three images on the service DISKS with a link to each >> corresponding graph? >Not sure if this is possible, but it would be a nice addition. Id >like to link to graphs and documentation. Addng a serviceextinfo >definition for the service linking it to a wiki page seems a nice easy >way to achieve although you can obviously create only one link per >service. In Nagios 2.0 you also have an action_url as well as notes_url. I link to a twiki page for the URL and uses passed in parameters (http://host/twiki/bin/view/ServicePing?host=...) to customize the offered links. I use a generic template to define all the links: # generic serviceextinfo entry template define serviceextinfo { register 0 name generic-service notes_url https://host.com/twiki/bin/view/Systems/NagSvc$SERVICEDESC$ action_url https://host.com/twiki/bin/view/Systems/NagSvc$SERVICEDESC$?host=$HOSTNAME$&service=$SERVICEDESC$&state=$SERVICESTATE$&output=$SERVICEOUTPUT$ } and the wiki page provides links to cactii graphs, create a trouble tickets etc. Note SERVICEDESC and SERVICESTATE don't actually expand sadly. Works well and allows other searches/actions to be only 2 clicks away. IMO the current mechanism doesn't scale well. Too much screen space is needed to provide a link to all the possible things you may want to link to. Would be nicer to have the ability to bind a menu (e.g. dropdown/select box) of items/links into the service information page. However using a wiki as an index of links is nice in that it can link to system information and tickets associated with the hosts and services. We will be including troubleshooting info in the wiki as well to make it easier to respond to problems. -- rouilj John Rouillard System Administrator Renesys Corporation ------------------------------------------------------- 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 Mon Nov 21 20:48:43 2005 From: btmanmeh at verizon.net (Max) Date: Mon, 21 Nov 2005 14:48:43 -0500 Subject: Multiple links from serviceextinfo to graphs? In-Reply-To: <200511211938.jALJcKWH019505@mx1.cs.umb.edu> References: <200511211938.jALJcKWH019505@mx1.cs.umb.edu> Message-ID: <4382249B.6050709@verizon.net> John P. Rouillard wrote: > In Nagios 2.0 you also have an action_url as well as notes_url. I link > to a twiki page for the URL and uses passed in parameters > (http://host/twiki/bin/view/ServicePing?host=...) to customize the > offered links. > > I use a generic template to define all the links: > > # generic serviceextinfo entry template > define serviceextinfo { > register 0 > name generic-service > notes_url https://host.com/twiki/bin/view/Systems/NagSvc$SERVICEDESC$ > action_url https://host.com/twiki/bin/view/Systems/NagSvc$SERVICEDESC$?host=$HOSTNAME$&service=$SERVICEDESC$&state=$SERVICESTATE$&output=$SERVICEOUTPUT$ > } > > and the wiki page provides links to cactii graphs, create a trouble > tickets etc. Note SERVICEDESC and SERVICESTATE don't actually expand > sadly. Works well and allows other searches/actions to be only 2 > clicks away. > > IMO the current mechanism doesn't scale well. Too much screen space is > needed to provide a link to all the possible things you may want to > link to. Would be nicer to have the ability to bind a menu (e.g. > dropdown/select box) of items/links into the service information page. > > However using a wiki as an index of links is nice in that it can link > to system information and tickets associated with the hosts and > services. We will be including troubleshooting info in the wiki as > well to make it easier to respond to problems. Ok, thanks for the input. I'm running Nagios 1.2, I guess I should have mentioned that before. For a few of the things I would like to do, that would work because I only have two different URL's I would to be able to get to. For some of my things however, that will not work because I'm linking to three, four, five or more. My one host I'm linking to almost 40 URL's. It's a switch which is graphing for each individual port that I want to view. Basically, I just created a generic html page, added all my different URL's that I need to be able to get to, and then just linked that to the one specific notes_url. My fellow IT members can then browse to that page, have a list of all the specific graphs they would like to see, and simply click on whatever they want to be displayed. This will work great for me because it's not something that is going to get a ton of looks. I like the sounds of a drop down box though, that would be great to have, but for now what I just did works just as great for myself. Thanks. 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 s.shipway at auckland.ac.nz Mon Nov 21 21:33:24 2005 From: s.shipway at auckland.ac.nz (Steve Shipway) Date: Tue, 22 Nov 2005 09:33:24 +1300 Subject: Multiple links from serviceextinfo to graphs? In-Reply-To: <4381EF82.4030802@verizon.net> References: <4381EF82.4030802@verizon.net> Message-ID: <02e301c5eeda$d23224f0$01fea8c0@itss.auckland.ac.nz> >I have mrtg setup on my Nagios box to link to whatever graph I want >specified in my serviceextinfo.cfg. I looked at the documentation but >couldn't find the answer to my question. We've done this (Nagios linking to MRTG, and also MRTG linking to Nagios). If you are using the routers2 web frontend for your MRTG, I have a plugin that will allow links back to Nagios in an embedded frame. >Can I specify more than one pointer from within a container? For As far as I know, no. However, if you are using the routers2 frontend to MRTG (I know, I'm plugging it a bit) then you can make the notes_url point to a summary page which contains all or a subset of the targets for that particular device. So, you can't have more than one link in Nagios, but you can have a MRTG frontend that gives you roughly the same ability. 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 Mark.Pearson at uftwf.org Mon Nov 21 22:42:11 2005 From: Mark.Pearson at uftwf.org (Mark Pearson) Date: Mon, 21 Nov 2005 16:42:11 -0500 Subject: Using NRPE to call remote event_handlers Message-ID: <932A04DB269BFF4F886C2ACD54C62CAC02C6ADF0@uftwfexchsvr.uftmaster.org> Anyone else using check_nrpe to run script on remote hosts for event handlers? It's a basic setup but just not sure what I missing. I have central box that monitors our web & db server farm. If a service fails I want an event to kick off on the remote machine that will restart the httpd or any other service. All the docs I see are for calling local event handlers. When I run the script locally it works and I have setup a sudoer file so that the scripts can be called. However, when I try to run the event handler manually, as seen below it does not work. Anything I am missing? /usr/local/nagios/libexec/check_nrpe -H app-dev -p 5666 -c eh_krang_failover -a CRITICAL SOFT 2 I receive the following, which happens to be an piece of the output that is seen when running the event handler on the actual host. Restarting Krang service (2rd soft critical state)...Loading configured skin: Any ideas? Mark T. Pearson Senior Network Engineer UFT Welfare Fund 52 Broadway, 8th Floor New York, NY 10004 (212) 539-0605 ******************************************************************************* The views, opinions, and judgments expressed in this message are solely those of the author. The message contents have not been reviewed or approved by the UFT Welfare Fund. ******************************************************************************* -------------- next part -------------- An HTML attachment was scrubbed... URL: From btmanmeh at verizon.net Mon Nov 21 23:01:05 2005 From: btmanmeh at verizon.net (Max) Date: Mon, 21 Nov 2005 17:01:05 -0500 Subject: Multiple links from serviceextinfo to graphs? In-Reply-To: <02e601c5eee5$83986010$01fea8c0@itss.auckland.ac.nz> References: <02e601c5eee5$83986010$01fea8c0@itss.auckland.ac.nz> Message-ID: <438243A1.5090408@verizon.net> Steve Shipway wrote: > First of all I have to admit that routers2 was written by me, so I'm > somewhat biased. However we've been using it for years here, and at my > previous employer too. > > You can see a demo on the website at > http://www.steveshipway.org/cgi-bin/routers2.pl > > The main website for downloading is at http://www.steveshipway.org/software > > The discussion and support forum is at http://www.steveshipway.org/forum > > You have to be running MRTG in RRDTool mode for this to work, but that's a > good idea to do anyway since it gives you about a 20x performance gain. > This frontend is of a similar vein to the 14all or mrtg-rrd frontends. Great! Thanks, I'll take a look and see what I can get out of it. I apologize for sending that last message to just you, I got a click ahead of myself and realized I hadn't added the list address on. 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 jcianfarani at rogers.com Tue Nov 22 01:23:39 2005 From: jcianfarani at rogers.com (John Cianfarani) Date: Mon, 21 Nov 2005 19:23:39 -0500 Subject: Multiple links from serviceextinfo to graphs? Message-ID: <92CE2E4190B83F439D36F64B076CA0A943D9@epyon.area85.johncianfarani.com> Reading this made me think of an off the wall way to do that. Just a shot in the dark here, so take it as you will. Maybe you could write some javascript code to be included into the html and have the url only contain data like, with an onlcik event. http://127.0.0.1/Name=Server1?Disk=C?Disk=D?Docs=/docs/server1 Now when clicked the javascript could process the data and open up a drop down or right click style menu for you to choose where to go. Either that or just another scripted page that could process a list of elements like that and present you options. Hope it sends you in the right direction. John -----Original Message----- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Max Sent: Monday, November 21, 2005 11:02 AM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Multiple links from serviceextinfo to graphs? I have mrtg setup on my Nagios box to link to whatever graph I want specified in my serviceextinfo.cfg. I looked at the documentation but couldn't find the answer to my question. I'm thinking it's not possible, but I figured I would ask anyways. First an example of my serviceextinfo.cfg: define serviceextinfo{ host_name my-host-example service_description DISKS notes_url http://link-to-my-graph icon_image graph.gif icon_image_alt View graphs } Can I specify more than one pointer from within a container? For example, I have disks being monitored and I have say three graphs being generated from my mrtg configurations. With the current setup however I can only make a direct link to one of those graphs with only one little image showing up under that particular service. I would like to be able to show three images on the service DISKS with a link to each corresponding graph? If not no big deal, I can always just create a directory, point Apache to it, and have my image link open to that directory, where you can select the graph you want to look at. I was just trying to make it "pretty" looking from the Nagios interface though. Thanks for any replies. 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 ------------------------------------------------------- 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 btmanmeh at verizon.net Tue Nov 22 01:46:10 2005 From: btmanmeh at verizon.net (Max) Date: Mon, 21 Nov 2005 19:46:10 -0500 Subject: Multiple links from serviceextinfo to graphs? In-Reply-To: <92CE2E4190B83F439D36F64B076CA0A943D9@epyon.area85.johncianfarani.com> References: <92CE2E4190B83F439D36F64B076CA0A943D9@epyon.area85.johncianfarani.com> Message-ID: <43826A52.3040204@verizon.net> John Cianfarani wrote: > Reading this made me think of an off the wall way to do that. > Just a shot in the dark here, so take it as you will. > > Maybe you could write some javascript code to be included into the html > and have the url only contain data like, with an onlcik event. > > http://127.0.0.1/Name=Server1?Disk=C?Disk=D?Docs=/docs/server1 > > Now when clicked the javascript could process the data and open up a > drop down or right click style menu for you to choose where to go. > > Either that or just another scripted page that could process a list of > elements like that and present you options. That is something that certainly could be done I'm sure, but for me that's probably not something I would do. The reason being, the graphs I produce are mainly only for informational purposes, that very rarely do or will get looked at. So for my purposes, that just seems like too much work for something that is very rarely going to be used or seen. Today I just generated a plain html page in the directory I'm dishing my images out of, and pointed my Nagios image icon link to that. That only took a few minutes to produce and when anyone looks at it, they are presented with a plain page for their choice of graph. Honestly I only have a few switches with like 50 ports each to graph. So it was just quicker to implement that for myself. I was just asking my original question because I didn't see anything in the documentation about it, so I figured I'd just ask. Plus, I was trying to make Nagios look pretty and be fancy, when I got to thinking that I really didn't need that. Not to say that your idea wouldn't be something someone else would perhaps like to use, so thanks your input. Also, Steve's post offered some tools to look out that already provides a frontend to do a similar thing, and his demo site looks really cool. Thanks! 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 richard.gliebe at fhv.at Tue Nov 22 07:06:39 2005 From: richard.gliebe at fhv.at (Richard Gliebe) Date: Tue, 22 Nov 2005 07:06:39 +0100 Subject: check_snmp - UPS In-Reply-To: References: <1132583186.917.13.camel@glr-nb.dh.uclv.net> Message-ID: <1132639600.971.7.camel@glr-nb.dh.uclv.net> On Mon, 2005-11-21 at 09:43 -0500, Subhendu Ghosh wrote: Hi, > "negate" is a plugin that will change the return code of a plugin. > > with check_snmp - try -w 0:60 -c 0:80 > > you will get a warning above 60 and critical above 80 Sorry, but it returns also an critical alert: # ./negate /usr/local/libexec/nagios/check_snmp -H ups.company.com \ -C -o -w 0:60 -c 0:80 SNMP CRITICAL - *100* What I want is, when the return value is below 100 (warning: 80 / critical: 60) I want to get an alert. thanks Richard > On Mon, 21 Nov 2005, Richard Gliebe wrote: > > > Hi, > > > > I have to monitor our Master-UPS via 'check_snmp'. > > > > I want to get an alert, when the capacity goes under 80 % like this. > > > > [...] > > # ./check_snmp -H ups.company.com -C uclvNOC-ro -o . \ > > -l "BATTERY (%)" -w 80 -c 60 > > [...] > > > > But when the retournvalue is 100 (%), I've get an critital alert. > > > > ## BATTERY (%) CRITICAL - *100* service alert.## > > > > Is it possible define reverse values in check_snmp ? > > > > thanks in advance. > > > > Richard > > > > > -- Richard Gliebe Fachhochschule Vorarlberg GmbH / University for Applied Science Information Services ------------------------------------------------------- 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 richard.gliebe at fhv.at Tue Nov 22 07:16:41 2005 From: richard.gliebe at fhv.at (Richard Gliebe) Date: Tue, 22 Nov 2005 07:16:41 +0100 Subject: check_snmp - UPS In-Reply-To: <1132639600.971.7.camel@glr-nb.dh.uclv.net> References: <1132583186.917.13.camel@glr-nb.dh.uclv.net> <1132639600.971.7.camel@glr-nb.dh.uclv.net> Message-ID: <1132640201.971.12.camel@glr-nb.dh.uclv.net> On Tue, 2005-11-22 at 07:06 +0100, Richard Gliebe wrote: > On Mon, 2005-11-21 at 09:43 -0500, Subhendu Ghosh wrote: > > Hi, > > > "negate" is a plugin that will change the return code of a plugin. > > > > with check_snmp - try -w 0:60 -c 0:80 > > > > you will get a warning above 60 and critical above 80 > > Sorry, but it returns also an critical alert: > > # ./negate /usr/local/libexec/nagios/check_snmp -H ups.company.com \ > -C -o -w 0:60 -c 0:80 > SNMP CRITICAL - *100* > > What I want is, when the return value is below 100 (warning: 80 / > critical: 60) I want to get an alert. I think I got it ;-) # /usr/local/libexec/nagios/check_snmp -H ups.company.com \ -C -o -w 99:80 -c 99:60 -l "Battery Status (%)" Battery Status (%) OK - 100 Is this the right syntacs ? thanks Richard -- Richard Gliebe Fachhochschule Vorarlberg GmbH / University for Applied Science Information Services ------------------------------------------------------- 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 moshesharon at gmail.com Tue Nov 22 07:44:25 2005 From: moshesharon at gmail.com (moshe sharon) Date: Tue, 22 Nov 2005 08:44:25 +0200 Subject: Using NRPE to call remote event_handlers In-Reply-To: <932A04DB269BFF4F886C2ACD54C62CAC02C6ADF0@uftwfexchsvr.uftmaster.org> References: <932A04DB269BFF4F886C2ACD54C62CAC02C6ADF0@uftwfexchsvr.uftmaster.org> Message-ID: <88ad29240511212244h568d505cta82b9db50b18c11a@mail.gmail.com> Hello First nrpe only returns one line from output so if your restarting procedure returns multiple lines you wont see all the lines from the check_nrpe. second i see you are passing arguments with -a did you enable nrpe with command arguments ? and final you can call sudo before your script "/usr/bin/sudo /usr/local/nagios/libexec/check_disk ..." other then that seems you doing it perfectly fine Moshe Sharon -------------- next part -------------- An HTML attachment was scrubbed... URL: From amontibello at gmail.com Tue Nov 22 08:38:09 2005 From: amontibello at gmail.com (Anthony Montibello) Date: Tue, 22 Nov 2005 02:38:09 -0500 Subject: [Nagiosplug-help] Nc_Net Event Log Check In-Reply-To: <20051110185948.939E133C097@mail.t-online.hu> References: <20051110185948.939E133C097@mail.t-online.hu> Message-ID: The NC_Net EventLogCheck Time field at a minimum should be set to a value greater than : THe Check interval + the average Latency This way it will catch events that happen right after the check happens. Please note depending on your monitoring preferences (For example retry interval) and procedures you may want to adjuct the Time to be even larger. Note: It is recomended to always use the latest version of NC_Net. Each version of NC_Net typically includes bug fixes and enhancements. Good luck Tony On 11/10/05, Horvath Tamas wrote: > > Hi! > > I'm going to install NC_Net V1_x on several Windows boxes and use it with > Nagios. I used in other sites an other plugin, but I would like to try > Nc_Net because it can be used instead of two or more separate plugin. But > I'm a bit confusing about Event Log Check behavior of Nc_Net. > > According to the documentation of the latest (2.28) version: "the third > parameter is for time interval in minutes (how old do you want the events > entry to check)". > > If I query event log via Nagios in every 10 minutes how does Nc_Net handle > service check latency? > I mean the following: query event log at time 't0' and give time > interval=normal_check_interval, for example 10 minutes. After 10 minutes > Nagios try to query the event log again, but due to latency the query is > sent at time 't0+610 second'. What happens if a log entry is written to > the > event log at 't0+602 second'? > > Thanks in advance, Tamas! > > > > > ------------------------------------------------------- > SF.Net email is sponsored by: > Tame your development challenges with Apache's Geronimo App Server. > Download > it for free - -and be entered to win a 42" plasma tv or your very own > Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php > _______________________________________________ > Nagiosplug-help mailing list > Nagiosplug-help at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagiosplug-help > ::: Please include plugins 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 Hans.Veneman at xb.nl Tue Nov 22 11:47:21 2005 From: Hans.Veneman at xb.nl (Hans Veneman) Date: Tue, 22 Nov 2005 11:47:21 +0100 Subject: CGI error in 2.0b4 & 2.0b5 Message-ID: <32F72C4D4D0EC8458CA5BFD76A6D6C68023EDE8A@gimli.xb.local> Hi, On a Fedora Core 3 system with the latest updates I compiled and installed Nagios 2.0b4 and (last week) Nagios 2.0b5. Everything seems to work great, except for the cgi-scripts once in a while: In about 3% of the requests (for any of the cgi's) they give an internal server error. Running them from the command line learned that it's a bus error that's causing this, and it happens right after the status log is opened (strace output): open("/opt/nagios/var/status.log", O_RDONLY) = 4 fstat64(4, {st_mode=S_IFREG|0644, st_size=4578196, ...}) = 0 mmap2(NULL, 4578196, PROT_READ, MAP_PRIVATE, 4, 0) = 0xf6b99000 --- SIGBUS (Bus error) @ 0 (0) --- +++ killed by SIGBUS +++ If you wonder why Nagios is in /opt, it's because i'm migrating our current Nagios master server from a Solaris server to a Fedora server. Does anybody have any idea what's causing this, and what can be done to prevent these errors? Thanks in advance, Hans -- Hans Veneman XB email: hans.veneman at xb.nl Televisieweg 2 tel: +31 36 5462400 1322 AC Almere fax: +31 36 5462424 The Netherlands ------------------------------------------------------- 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 mdash at juniper.net Tue Nov 22 15:40:28 2005 From: mdash at juniper.net (Mrutyunjaya Dash) Date: Tue, 22 Nov 2005 20:10:28 +0530 Subject: Problem in configuring the Nagios Message-ID: <0DB0FFEA6887E349861A3F6B40D71C3A1991BA@gaugeboson.jnpr.net> Hi Nagios Experts, I am very much new to nagios, I have just untared, compiled, make and installed. I would just let you all know how exactly I installed ./configure --prefix=/opt/nagios --with-cgiurl=/nagios/cgi-bin --with-htmurl=/nagios --with-nagios-user=nagios --with-nagios-group=nagios make all make install make install-init make install-commandmode make install-config Now when I trying to access the nagios interface, I am able to navigate to the nagios main page but the cgi file are not working. The configuration whatever I have made in apache configuration file for nagios is like as below. Alias /nagios /opt/nagios/share Options None AllowOverride AuthConfig Order allow,deny Allow from all ScriptAlias /nagios/cgi-bin/ "/opt/nagios/sbin/" AllowOverride None Options ExecCGI Order allow,deny Allow from all Please help me to resolve this issue. Regards, Mrutyunjaya Dash -------------- next part -------------- An HTML attachment was scrubbed... URL: From declan.mckay at eircom.net Tue Nov 22 15:53:26 2005 From: declan.mckay at eircom.net (Declan McKay) Date: Tue, 22 Nov 2005 14:53:26 -0000 Subject: Problem in configuring the Nagios References: <0DB0FFEA6887E349861A3F6B40D71C3A1991BA@gaugeboson.jnpr.net> Message-ID: <058b01c5ef74$7ec54730$2f44fc0a@pc234> Problem in configuring the NagiosI would check the cgi.cfg first..... Have you enabled Authentication in the cgi.cfg? grep ^us /usr/local/etc/nagios/cgi.cfg use_authentication=1 Have you assigned authorization access to any user? grep ^auth /usr/local/etc/nagios/cgi.cfg authorized_for_system_information=ops authorized_for_configuration_information=ops authorized_for_system_commands=ops authorized_for_all_services=ops authorized_for_all_hosts=ops authorized_for_all_service_commands=ops authorized_for_all_host_commands=ops You may need to also set up an Apacge User Name/Passwd using Apache's htaccess binary. Declan. ----- Original Message ----- From: Mrutyunjaya Dash To: nagios-users at lists.sourceforge.net Sent: Tuesday, November 22, 2005 2:40 PM Subject: [Nagios-users] Problem in configuring the Nagios Hi Nagios Experts, I am very much new to nagios, I have just untared, compiled, make and installed. I would just let you all know how exactly I installed ./configure --prefix=/opt/nagios --with-cgiurl=/nagios/cgi-bin --with-htmurl=/nagios --with-nagios-user=nagios --with-nagios-group=nagios make all make install make install-init make install-commandmode make install-config Now when I trying to access the nagios interface, I am able to navigate to the nagios main page but the cgi file are not working. The configuration whatever I have made in apache configuration file for nagios is like as below. Alias /nagios /opt/nagios/share Options None AllowOverride AuthConfig Order allow,deny Allow from all ScriptAlias /nagios/cgi-bin/ "/opt/nagios/sbin/" AllowOverride None Options ExecCGI Order allow,deny Allow from all Please help me to resolve this issue. Regards, Mrutyunjaya Dash ------------------------------------------------------------------------------ No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.1.362 / Virus Database: 267.13.5/177 - Release Date: 21/11/2005 -------------- next part -------------- An HTML attachment was scrubbed... URL: From Thomas.Zimmer at oppenheim.de Tue Nov 22 15:53:37 2005 From: Thomas.Zimmer at oppenheim.de (Thomas.Zimmer at oppenheim.de) Date: Tue, 22 Nov 2005 15:53:37 +0100 Subject: Problem in configuring the Nagios Message-ID: <9A834A8DCEC68648B20701E1CDE10925F848D7@OKWPMXS01.de.sal-opp.net> I assume you configured Nagios ,and started the process? Did you verify your config with '..../bin/nagios -v ....etc/nagios.cfg' ? Greetz. -----Urspr?ngliche Nachricht----- Von: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] Im Auftrag von Mrutyunjaya Dash Gesendet: Dienstag, 22. November 2005 15:40 An: nagios-users at lists.sourceforge.net Betreff: [Nagios-users] Problem in configuring the Nagios Hi Nagios Experts, I am very much new to nagios, I have just untared, compiled, make and installed. I would just let you all know how exactly I installed ./configure --prefix=/opt/nagios --with-cgiurl=/nagios/cgi-bin --with-htmurl=/nagios --with-nagios-user=nagios --with-nagios-group=nagios make all make install make install-init make install-commandmode make install-config Now when I trying to access the nagios interface, I am able to navigate to the nagios main page but the cgi file are not working. The configuration whatever I have made in apache configuration file for nagios is like as below. Alias /nagios /opt/nagios/share Options None AllowOverride AuthConfig Order allow,deny Allow from all ScriptAlias /nagios/cgi-bin/ "/opt/nagios/sbin/" AllowOverride None Options ExecCGI Order allow,deny Allow from all Please help me to resolve this issue. Regards, Mrutyunjaya Dash -------------- next part -------------- An HTML attachment was scrubbed... URL: From mdash at juniper.net Tue Nov 22 15:57:41 2005 From: mdash at juniper.net (Mrutyunjaya Dash) Date: Tue, 22 Nov 2005 20:27:41 +0530 Subject: Problem in configuring the Nagios Message-ID: <0DB0FFEA6887E349861A3F6B40D71C3A1991BE@gaugeboson.jnpr.net> Hi, This is the out put I got when I executed the command [root at cvtracker nagios]# bin/nagios -v etc/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: Command 'check-host-alive' has already been defined Error: Could not register command (config file '/opt/nagios/etc/minimal.cfg', starting on line 76) ***> 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. Regards, ________________________________ 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: Tuesday, November 22, 2005 8:24 PM To: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Problem in configuring the Nagios I assume you configured Nagios ,and started the process? Did you verify your config with '..../bin/nagios -v ....etc/nagios.cfg' ? Greetz. -----Urspr?ngliche Nachricht----- Von: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] Im Auftrag von Mrutyunjaya Dash Gesendet: Dienstag, 22. November 2005 15:40 An: nagios-users at lists.sourceforge.net Betreff: [Nagios-users] Problem in configuring the Nagios Hi Nagios Experts, I am very much new to nagios, I have just untared, compiled, make and installed. I would just let you all know how exactly I installed ./configure --prefix=/opt/nagios --with-cgiurl=/nagios/cgi-bin --with-htmurl=/nagios --with-nagios-user=nagios --with-nagios-group=nagios make all make install make install-init make install-commandmode make install-config Now when I trying to access the nagios interface, I am able to navigate to the nagios main page but the cgi file are not working. The configuration whatever I have made in apache configuration file for nagios is like as below. Alias /nagios /opt/nagios/share Options None AllowOverride AuthConfig Order allow,deny Allow from all ScriptAlias /nagios/cgi-bin/ "/opt/nagios/sbin/" AllowOverride None Options ExecCGI Order allow,deny Allow from all Please help me to resolve this issue. Regards, Mrutyunjaya Dash -------------- next part -------------- An HTML attachment was scrubbed... URL: From lee at effective-it.co.uk Tue Nov 22 16:01:35 2005 From: lee at effective-it.co.uk (Lee Ball) Date: Tue, 22 Nov 2005 15:01:35 +0000 Subject: Problem in configuring the Nagios In-Reply-To: <0DB0FFEA6887E349861A3F6B40D71C3A1991BE@gaugeboson.jnpr.net> References: <0DB0FFEA6887E349861A3F6B40D71C3A1991BE@gaugeboson.jnpr.net> Message-ID: <438332CF.1010400@effective-it.co.uk> An HTML attachment was scrubbed... URL: From marc at ena.com Tue Nov 22 16:08:23 2005 From: marc at ena.com (Marc Powell) Date: Tue, 22 Nov 2005 09:08:23 -0600 Subject: Problem in configuring the Nagios Message-ID: You have two command{} definitions in minimal.cfg named check-host-alive. command_name's must be unique. You can probably just remove the duplicate definition and be OK unless you've modified it in some way. -- Marc > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users- > admin at lists.sourceforge.net] On Behalf Of Lee Ball > Sent: Tuesday, November 22, 2005 9:02 AM > To: nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] Problem in configuring the Nagios > > Mrutyunjaya Dash wrote: > > Hi, > > > > This is the out put I got when I executed the command > > > > [root at cvtracker nagios]# bin/nagios -v etc/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: Command 'check-host-alive' has already been defined > > Error: Could not register command (config file > '/opt/nagios/etc/minimal.cfg', starting on line 76) > > > > ***> 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. > > > > > > Regards, > > > > > > > ________________________________ > > > 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: Tuesday, November 22, 2005 8:24 PM > To: nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] Problem in configuring the Nagios > > > > I assume you configured Nagios ,and started the process? > > > > Did you verify your config with '..../bin/nagios -v > ....etc/nagios.cfg' ? > > > > Greetz. > > -----Urspr?ngliche Nachricht----- > Von: nagios-users-admin at lists.sourceforge.net [mailto:nagios- > users-admin at lists.sourceforge.net] Im Auftrag von Mrutyunjaya Dash > Gesendet: Dienstag, 22. November 2005 15:40 > An: nagios-users at lists.sourceforge.net > Betreff: [Nagios-users] Problem in configuring the Nagios > > Hi Nagios Experts, > > I am very much new to nagios, I have just untared, compiled, > make and installed. I would just let you all know how exactly I installed > > ./configure --prefix=/opt/nagios --with-cgiurl=/nagios/cgi-bin > --with-htmurl=/nagios --with-nagios-user=nagios --with-nagios-group=nagios > > make all > > make install > > make install-init > > make install-commandmode > > make install-config > > Now when I trying to access the nagios interface, I am able to > navigate to the nagios main page but the cgi file are not working. > > The configuration whatever I have made in apache configuration > file for nagios is like as below. > > Alias /nagios /opt/nagios/share > > > > Options None > > AllowOverride AuthConfig > > Order allow,deny > > Allow from all > > > > ScriptAlias /nagios/cgi-bin/ "/opt/nagios/sbin/" > > > > AllowOverride None > > Options ExecCGI > > Order allow,deny > > Allow from all > > > > Please help me to resolve this issue. > > Regards, > > Mrutyunjaya Dash > > Ahhh, ok that helps. What is the contents of your minimal.cfg file > (removing the bits that are confidential). > > > -- > Lee Ball > 08707 45 87 14 > effective it > ------------------------------------------------------- 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 Thomas.Zimmer at oppenheim.de Tue Nov 22 16:08:11 2005 From: Thomas.Zimmer at oppenheim.de (Thomas.Zimmer at oppenheim.de) Date: Tue, 22 Nov 2005 16:08:11 +0100 Subject: AW: Problem in configuring the Nagios Message-ID: <9A834A8DCEC68648B20701E1CDE10925F848D8@OKWPMXS01.de.sal-opp.net> Perhaps you shold read the nagios docs and configure nagios correctly, before at least starting it with '...bin/nagios -d ...etc/nagios.cfg' The 'minimal' -configuration only shows how to configure nagios by example, you still have to set up the example-config files to get nagios working. Calculate some time to get an idea of how nagios is configured and how it runs. It wil NOT run "out-of-the-box"!! For your specific problem, it seems that the command is configured multiple, maybe you included more than one "check_command.cfg" -file in "nagios.cfg"?? Or you redefined this command? 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: Mrutyunjaya Dash [mailto:mdash at juniper.net] Gesendet: Dienstag, 22. November 2005 15:58 An: Zimmer, Thomas (BB) Frankfurt/M.; nagios-users at lists.sourceforge.net Betreff: RE: [Nagios-users] Problem in configuring the Nagios Hi, This is the out put I got when I executed the command [root at cvtracker nagios]# bin/nagios -v etc/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: Command 'check-host-alive' has already been defined Error: Could not register command (config file '/opt/nagios/etc/minimal.cfg', starting on line 76) ***> 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. Regards, _____ 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: Tuesday, November 22, 2005 8:24 PM To: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Problem in configuring the Nagios I assume you configured Nagios ,and started the process? Did you verify your config with '..../bin/nagios -v ....etc/nagios.cfg' ? Greetz. -----Urspr?ngliche Nachricht----- Von: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] Im Auftrag von Mrutyunjaya Dash Gesendet: Dienstag, 22. November 2005 15:40 An: nagios-users at lists.sourceforge.net Betreff: [Nagios-users] Problem in configuring the Nagios Hi Nagios Experts, I am very much new to nagios, I have just untared, compiled, make and installed. I would just let you all know how exactly I installed ./configure --prefix=/opt/nagios --with-cgiurl=/nagios/cgi-bin --with-htmurl=/nagios --with-nagios-user=nagios --with-nagios-group=nagios make all make install make install-init make install-commandmode make install-config Now when I trying to access the nagios interface, I am able to navigate to the nagios main page but the cgi file are not working. The configuration whatever I have made in apache configuration file for nagios is like as below. Alias /nagios /opt/nagios/share Options None AllowOverride AuthConfig Order allow,deny Allow from all ScriptAlias /nagios/cgi-bin/ "/opt/nagios/sbin/" AllowOverride None Options ExecCGI Order allow,deny Allow from all Please help me to resolve this issue. Regards, Mrutyunjaya Dash -------------- next part -------------- An HTML attachment was scrubbed... URL: From msugano at uolinc.com Tue Nov 22 16:13:13 2005 From: msugano at uolinc.com (Marcel Mitsuto Fucatu Sugano) Date: Tue, 22 Nov 2005 13:13:13 -0200 Subject: Problem in configuring the Nagios In-Reply-To: <0DB0FFEA6887E349861A3F6B40D71C3A1991BE@gaugeboson.jnpr.net> References: <0DB0FFEA6887E349861A3F6B40D71C3A1991BE@gaugeboson.jnpr.net> Message-ID: <1132672394.18773.5.camel@localhost> On Nagios 2.0b5 this should not bother anymore. As been new to it, You should consider trying the last version. On Changelog you should see the logged changes ;^) Good Luck. On Tue, 2005-11-22 at 20:27 +0530, Mrutyunjaya Dash wrote: > Hi, > > > > This is the out put I got when I executed the command > > > > [root at cvtracker nagios]# bin/nagios -v etc/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: Command 'check-host-alive' has already been defined > > Error: Could not register command (config file > '/opt/nagios/etc/minimal.cfg', starting on line 76) -- Marcel Mitsuto Fucatu Sugano Universo Online S.A. -- http://www.uol.com.br ------------------------------------------------------- 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 Tue Nov 22 16:20:52 2005 From: marc at ena.com (Marc Powell) Date: Tue, 22 Nov 2005 09:20:52 -0600 Subject: Problem in configuring the Nagios Message-ID: Upgrading will make no difference as this restriction is in all versions of Nagios, including 2.x. -- Marc > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users- > admin at lists.sourceforge.net] On Behalf Of Marcel Mitsuto Fucatu Sugano > Sent: Tuesday, November 22, 2005 9:13 AM > To: Mrutyunjaya Dash > Cc: nagios-users at lists.sourceforge.net; Thomas.Zimmer at oppenheim.de > Subject: RE: [Nagios-users] Problem in configuring the Nagios > > On Nagios 2.0b5 this should not bother anymore. > > As been new to it, You should consider trying the last version. > > On Changelog you should see the logged changes ;^) > > Good Luck. > > > On Tue, 2005-11-22 at 20:27 +0530, Mrutyunjaya Dash wrote: > > Hi, > > > > > > > > This is the out put I got when I executed the command > > > > > > > > [root at cvtracker nagios]# bin/nagios -v etc/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: Command 'check-host-alive' has already been defined > > > > Error: Could not register command (config file > > '/opt/nagios/etc/minimal.cfg', starting on line 76) > > -- > Marcel Mitsuto Fucatu Sugano > Universo Online S.A. -- http://www.uol.com.br > > > ------------------------------------------------------- > 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 frontin at irit.fr Tue Nov 22 16:27:39 2005 From: frontin at irit.fr (Jean Frontin) Date: Tue, 22 Nov 2005 16:27:39 +0100 Subject: check|imap Message-ID: <5.0.2.1.2.20051122162546.00b5ed30@mailhost.irit.fr> Hello everybody, do you use this plugin ? If yes what do you put for -s, -e and -q parameters ? Regards Jean Frontin System team I R I T Universit? Paul-Sabatier 118, rte de Narbonne 31062 Toulouse cedex 04 France tel (33)(0)5 61 55 63 03 mail frontin at irit.fr ------------------------------------------------------- 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 amitabh.mohanty at corporate.ge.com Tue Nov 22 16:28:00 2005 From: amitabh.mohanty at corporate.ge.com (Mohanty, Amitabh (Corporate, consultant)) Date: Tue, 22 Nov 2005 10:28:00 -0500 Subject: JVM Monitoring with Nagios Message-ID: <85B727A36F347D429DE46B5EE61E59881123DE99@STAMLVEM02.e2k.ad.ge.com> Hi, Doe any one know if we can monitor JVM using Nagios (using SNMP if possible). Thanks, Amitabh Mohanty GE - CIS (Corporate Communications) Tel: 203-944-6411 Dialcomm: 8*233-6411 Mobile: 203-223-9200 Email: amitabh.mohanty at corporate.ge.com ------------------------------------------------------- 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 johnwelch at kclife.com Tue Nov 22 16:34:38 2005 From: johnwelch at kclife.com (John C. Welch) Date: Tue, 22 Nov 2005 09:34:38 -0600 Subject: Help with Nagiosgraph In-Reply-To: References: Message-ID: On 11/19/05 22:34, "Scot Jenkins" wrote: > Check ownership/permissions on the /usr/local/nagios/nagiosgraph/rrd > directory. The user nagios is running as (typically "nagios") needs > write permission to that directory and the parent (nagiosgraph) > directory in order to write the nagiosgraph.log file. The webserver > user needs to be able to read files in the rrd directory. Permissions are set the way the should be for both nagios and the web server user. I think the problem is maybe that no RRD files are being created. -- John C. Welch CIS johnwelch at kclife.com (816) 753-7299 x8473 ------------------------------------------------------- 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 dhopp at GOCSC.com Tue Nov 22 16:36:38 2005 From: dhopp at GOCSC.com (Dennis Hopp) Date: Tue, 22 Nov 2005 09:36:38 -0600 Subject: Help with Nagiosgraph Message-ID: <395D09D0C949AF40B9DDFEE9C93A47FF05345F86@hudson.gocsc.com> > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net > [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf > Of John C. Welch > Sent: Tuesday, November 22, 2005 9:35 AM > To: Nagios Users > Subject: Re: [Nagios-users] Help with Nagiosgraph > > On 11/19/05 22:34, "Scot Jenkins" wrote: > > > Check ownership/permissions on the > /usr/local/nagios/nagiosgraph/rrd > > directory. The user nagios is running as (typically > "nagios") needs > > write permission to that directory and the parent (nagiosgraph) > > directory in order to write the nagiosgraph.log file. The > webserver > > user needs to be able to read files in the rrd directory. > > Permissions are set the way the should be for both nagios and > the web server user. > > I think the problem is maybe that no RRD files are being created. What does the nagiosgrapher log say? It's possible that your Regular Expression isn't catching the data, if so you'll see something like "No Matching Expression Found", in which case no RRD file will be created. --Dennis ------------------------------------------------------- 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 mail at razor.dk Tue Nov 22 17:02:27 2005 From: mail at razor.dk (Christian Joergensen) Date: Tue, 22 Nov 2005 17:02:27 +0100 Subject: check|imap In-Reply-To: <5.0.2.1.2.20051122162546.00b5ed30@mailhost.irit.fr> References: <5.0.2.1.2.20051122162546.00b5ed30@mailhost.irit.fr> Message-ID: <1132675347.9279.10.camel@localhost> On tir, 2005-11-22 at 16:27 +0100, Jean Frontin wrote: > do you use this plugin ? If yes what do you put for -s, -e and -q parameters ? It works fine without them. At least with courier imap. -- Christian Joergensen | void factorize_primes_in_linear_time () { http://www.razor.dk/ | // todo: implement function | } -------------- 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 niederha at us.ibm.com Tue Nov 22 17:17:53 2005 From: niederha at us.ibm.com (Kyle Niederhauser) Date: Tue, 22 Nov 2005 09:17:53 -0700 Subject: Kyle Niederhauser is out of the office. Message-ID: I will be out of the office starting 11/22/2005 and will not return until 11/29/2005. I will be out of the office Tuesday November, 22nd until Tuesday November, 29th. If you need assistance, please call the Solution Center at 918-573-2336 and ask for IBM UNIX support. -------------- next part -------------- An HTML attachment was scrubbed... URL: From amitabh.mohanty at corporate.ge.com Tue Nov 22 17:41:55 2005 From: amitabh.mohanty at corporate.ge.com (Mohanty, Amitabh (Corporate, consultant)) Date: Tue, 22 Nov 2005 11:41:55 -0500 Subject: Does Nagios monitor JVM? Message-ID: <85B727A36F347D429DE46B5EE61E59881123DE9E@STAMLVEM02.e2k.ad.ge.com> Hi, Doe any one know if we can monitor JVM using Nagios (using SNMP if possible). Thanks, Amitabh Mohanty GE - CIS (Corporate Communications) Tel: 203-944-6411 Dialcomm: 8*233-6411 Mobile: 203-223-9200 Email: amitabh.mohanty at corporate.ge.com ------------------------------------------------------- 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 lee at effective-it.co.uk Tue Nov 22 18:01:42 2005 From: lee at effective-it.co.uk (Lee Ball) Date: Tue, 22 Nov 2005 17:01:42 +0000 Subject: Does Nagios monitor JVM? In-Reply-To: <85B727A36F347D429DE46B5EE61E59881123DE9E@STAMLVEM02.e2k.ad.ge.com> References: <85B727A36F347D429DE46B5EE61E59881123DE9E@STAMLVEM02.e2k.ad.ge.com> Message-ID: <43834EF6.8070804@effective-it.co.uk> Have you tried google? All I did was type in a search for Monitoring JVM with Nagios and it brought back some interesting links. Here is my search: http://www.google.co.uk/search?hl=en&q=monitoring+JVM+with+Nagios&btnG=Google+Search There was a link to a presentation too, a little more interesting then a plain text webpage :) http://chariotsolutions.com/slides/osconf2005-monitoring-profiling.pdf Mohanty, Amitabh (Corporate, consultant) wrote: >Hi, > Doe any one know if we can monitor JVM using Nagios (using SNMP if possible). > >Thanks, >Amitabh Mohanty >GE - CIS (Corporate Communications) >Tel: 203-944-6411 Dialcomm: 8*233-6411 >Mobile: 203-223-9200 >Email: amitabh.mohanty at corporate.ge.com > > > >------------------------------------------------------- >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 > > -- Lee Ball 08707 45 87 14 effective it ------------------------------------------------------- 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 pgoslin at amtrex.com Tue Nov 22 19:30:03 2005 From: pgoslin at amtrex.com (Paul Goslin) Date: Tue, 22 Nov 2005 10:30:03 -0800 Subject: after host notification, service alert - then no escalation Message-ID: I am setting up escalations for my Nagios 1.2 with 1.3 plugins with RHEL 3 v6 I am able to get a HOST ALERT but after the first notification SERVICE ALERT pops up and no escalation occurs. I have gone down the RTFM road (a few times) and I think I am doing what it says, but to no avail. Below is the CGI Event log. Help would be greatly appreciated. Thanks, Paul [11-22-2005 09:37:32] SERVICE ALERT: ico01sec01N;HTTP;CRITICAL;HARD;1;No route to host Host Notification[11-22-2005 09:37:31] HOST NOTIFICATION: ico01sec01N;ico01sec01N;DOWN;host-notify-by-email1;CRITICAL - Host Unreachable (64.147.12.34) Host Down[11-22-2005 09:37:31] HOST ALERT: ico01sec01N;DOWN;HARD;10;CRITICAL - Host Unreachable (64.147.12.34) Host Down[11-22-2005 09:37:28] HOST ALERT: ico01sec01N;DOWN;SOFT;9;CRITICAL - Host Unreachable (64.147.12.34) Host Down[11-22-2005 09:37:25] HOST ALERT: ico01sec01N;DOWN;SOFT;8;CRITICAL - Host Unreachable (64.147.12.34) Host Down[11-22-2005 09:37:22] HOST ALERT: ico01sec01N;DOWN;SOFT;7;CRITICAL - Host Unreachable (64.147.12.34) Host Down[11-22-2005 09:37:19] HOST ALERT: ico01sec01N;DOWN;SOFT;6;CRITICAL - Host Unreachable (64.147.12.34) Host Down[11-22-2005 09:37:16] HOST ALERT: ico01sec01N;DOWN;SOFT;5;CRITICAL - Host Unreachable (64.147.12.34) Host Down[11-22-2005 09:37:13] HOST ALERT: ico01sec01N;DOWN;SOFT;4;CRITICAL - Host Unreachable (64.147.12.34) Host Down[11-22-2005 09:37:10] HOST ALERT: ico01sec01N;DOWN;SOFT;3;CRITICAL - Host Unreachable (64.147.12.34) Host Down[11-22-2005 09:37:07] HOST ALERT: ico01sec01N;DOWN;SOFT;2;CRITICAL - Host Unreachable (64.147.12.34) Host Down[11-22-2005 09:37:04] HOST ALERT: ico01sec01N;DOWN;SOFT;1;CRITICAL - Host Unreachable (64.147.12.34) Service Critical[11-22-2005 09:35:52] SERVICE ALERT: ico01sec01W;HTTP;CRITICAL;HARD;1;No route to host Host Notification[11-22-2005 09:35:51] HOST NOTIFICATION: ico01sec01W;ico01sec01W;DOWN;host-notify-by-email2;CRITICAL - Host Unreachable (64.147.12.34) Host Down[11-22-2005 09:35:51] HOST ALERT: ico01sec01W;DOWN;HARD;10;CRITICAL - Host Unreachable (64.147.12.34) Host Down[11-22-2005 09:35:48] HOST ALERT: ico01sec01W;DOWN;SOFT;9;CRITICAL - Host Unreachable (64.147.12.34) Host Down[11-22-2005 09:35:45] HOST ALERT: ico01sec01W;DOWN;SOFT;8;CRITICAL - Host Unreachable (64.147.12.34) Host Down[11-22-2005 09:35:42] HOST ALERT: ico01sec01W;DOWN;SOFT;7;CRITICAL - Host Unreachable (64.147.12.34) Host Down[11-22-2005 09:35:39] HOST ALERT: ico01sec01W;DOWN;SOFT;6;CRITICAL - Host Unreachable (64.147.12.34) Host Down[11-22-2005 09:35:36] HOST ALERT: ico01sec01W;DOWN;SOFT;5;CRITICAL - Host Unreachable (64.147.12.34) Host Down[11-22-2005 09:35:33] HOST ALERT: ico01sec01W;DOWN;SOFT;4;CRITICAL - Host Unreachable (64.147.12.34) Host Down[11-22-2005 09:35:30] HOST ALERT: ico01sec01W;DOWN;SOFT;3;CRITICAL - Host Unreachable (64.147.12.34) Host Down[11-22-2005 09:35:27] HOST ALERT: ico01sec01W;DOWN;SOFT;2;CRITICAL - Host Unreachable (64.147.12.34) Host Down[11-22-2005 09:35:24] HOST ALERT: ico01sec01W;DOWN;SOFT;1;CRITICAL - Host Unreachable (64.147.12.34) Service Critical[11-22-2005 09:35:10] SERVICE ALERT: ico01sec01A;HTTP;CRITICAL;HARD;1;CRITICAL - Socket timeout after 10 seconds Host Notification[11-22-2005 09:35:10] HOST NOTIFICATION: ico01sec01A;ico01sec01A;DOWN;host-notify-by-email3;CRITICAL - Host Unreachable (64.147.12.34) Host Down[11-22-2005 09:35:10] HOST ALERT: ico01sec01A;DOWN;HARD;10;CRITICAL - Host Unreachable (64.147.12.34) Host Down[11-22-2005 09:35:07] HOST ALERT: ico01sec01A;DOWN;SOFT;9;CRITICAL - Host Unreachable (64.147.12.34) Host Down[11-22-2005 09:35:04] HOST ALERT: ico01sec01A;DOWN;SOFT;8;CRITICAL - Host Unreachable (64.147.12.34) Host Down[11-22-2005 09:35:01] HOST ALERT: ico01sec01A;DOWN;SOFT;7;CRITICAL - Host Unreachable (64.147.12.34) Host Down[11-22-2005 09:34:58] HOST ALERT: ico01sec01A;DOWN;SOFT;6;CRITICAL - Host Unreachable (64.147.12.34) Host Down[11-22-2005 09:34:55] HOST ALERT: ico01sec01A;DOWN;SOFT;5;CRITICAL - Host Unreachable (64.147.12.34) Host Down[11-22-2005 09:34:52] HOST ALERT: ico01sec01A;DOWN;SOFT;4;CRITICAL - Host Unreachable (64.147.12.34) Host Down[11-22-2005 09:34:49] HOST ALERT: ico01sec01A;DOWN;SOFT;3;CRITICAL - Host Unreachable (64.147.12.34) Host Down[11-22-2005 09:34:46] HOST ALERT: ico01sec01A;DOWN;SOFT;2;CRITICAL - Host Unreachable (64.147.12.34) Host Down[11-22-2005 09:34:43] HOST ALERT: ico01sec01A;DOWN;SOFT;1;CRITICAL - Host Unreachable (64.147.12.34) ------------------------------------------------------- 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 23 01:26:49 2005 From: sghosh at sghosh.org (Subhendu Ghosh) Date: Tue, 22 Nov 2005 19:26:49 -0500 (EST) Subject: check_snmp - UPS In-Reply-To: <1132640201.971.12.camel@glr-nb.dh.uclv.net> References: <1132583186.917.13.camel@glr-nb.dh.uclv.net> <1132639600.971.7.camel@glr-nb.dh.uclv.net> <1132640201.971.12.camel@glr-nb.dh.uclv.net> Message-ID: On Tue, 22 Nov 2005, Richard Gliebe wrote: > On Tue, 2005-11-22 at 07:06 +0100, Richard Gliebe wrote: >> On Mon, 2005-11-21 at 09:43 -0500, Subhendu Ghosh wrote: >> >> Hi, >> >>> "negate" is a plugin that will change the return code of a plugin. >>> >>> with check_snmp - try -w 0:60 -c 0:80 >>> >>> you will get a warning above 60 and critical above 80 >> >> Sorry, but it returns also an critical alert: >> >> # ./negate /usr/local/libexec/nagios/check_snmp -H ups.company.com \ >> -C -o -w 0:60 -c 0:80 >> SNMP CRITICAL - *100* >> >> What I want is, when the return value is below 100 (warning: 80 / >> critical: 60) I want to get an alert. > > I think I got it ;-) > > # /usr/local/libexec/nagios/check_snmp -H ups.company.com \ > -C -o -w 99:80 -c 99:60 -l "Battery Status (%)" > Battery Status (%) OK - 100 > > Is this the right syntacs ? > > thanks > Richard > > Depends. The above will only give you a critical between 99% and 60%, an ok below 60% max:min - non-ok within range min:max - ok within range. -- -sg ------------------------------------------------------- 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 ewh at groupoliver.com Wed Nov 23 03:44:47 2005 From: ewh at groupoliver.com (Eric X. Holzapfel) Date: Tue, 22 Nov 2005 18:44:47 -0800 Subject: No Nagios web/apache display Message-ID: Hello Group, I have sucessfully installed Nagios on one system (Red hat Fedora Core 4). I have attempted to install Nagios on another system (identical, RC4, etc). I am trying nagios-2.0b5 now, the first system was the b4 verison. I get no errors from the nagios -v command (the nagios.cfg file is located in /usr/local/nagios) I get no errors in the log file. I get only the "Whoops" error message in apache, which is says "cannot read your config files" etc. Also, apache will not start without a warning about the Alias probably wont work because of an earlier alias. All i did was add the two code snippets from the sample-config into the httpd.conf file (this worked find on the first system I set up). As soon as i add those snippets that is when I get the apache warning. I have followed the documentation as to users, chown, etc. including the .htaccess stuff. Any ideas on where I can look for errors here??? I will guess something wrong with apache. Thanks eric -------------- next part -------------- An HTML attachment was scrubbed... URL: From jhmartin at toger.us Wed Nov 23 03:54:23 2005 From: jhmartin at toger.us (Jason Martin) Date: Tue, 22 Nov 2005 21:54:23 -0500 Subject: JVM Monitoring with Nagios In-Reply-To: <85B727A36F347D429DE46B5EE61E59881123DE99@STAMLVEM02.e2k.ad.ge.com> References: <85B727A36F347D429DE46B5EE61E59881123DE99@STAMLVEM02.e2k.ad.ge.com> Message-ID: <20051123025423.GA4259@mal.members.linode.com> On Tue, Nov 22, 2005 at 10:28:00AM -0500, Mohanty, Amitabh (Corporate, consultant) wrote: > Hi, > Doe any one know if we can monitor JVM using Nagios (using > SNMP if possible). If the JVM has a snmp daemon, sure. Check out check_snmp. No magic here. -Jason Martin -- Pet Store: "Buy one, get one flea." 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 VINAY_SHARMA at advanex.co.jp Wed Nov 23 07:19:04 2005 From: VINAY_SHARMA at advanex.co.jp (VINAY_SHARMA at advanex.co.jp) Date: Wed, 23 Nov 2005 15:19:04 +0900 Subject: Problem in configuring the Nagios In-Reply-To: <0DB0FFEA6887E349861A3F6B40D71C3A1991BE@gaugeboson.jnpr.net> References: <0DB0FFEA6887E349861A3F6B40D71C3A1991BE@gaugeboson.jnpr.net> Message-ID: hi, check your Error: Could not register command (config file '/opt/nagios/etc/minimal.cfg', starting on line 76) file minimal.cfg in nagios etc folder on that line.just make it comment and try to configure as like you. cheers 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 "Mrutyunjaya Dash" ???: nagios-users-admin at lists.sourceforge.net 2005/11/22 23:57 ??: , cc: ??: RE: [Nagios-users] Problem in configuring the Nagios Hi, This is the out put I got when I executed the command [root at cvtracker nagios]# bin/nagios -v etc/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: Command 'check-host-alive' has already been defined Error: Could not register command (config file '/opt/nagios/etc/minimal.cfg', starting on line 76) ***> 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. Regards, 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: Tuesday, November 22, 2005 8:24 PM To: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Problem in configuring the Nagios I assume you configured Nagios ,and started the process? Did you verify your config with '..../bin/nagios -v ....etc/nagios.cfg' ? Greetz. -----Urspr?ngliche Nachricht----- Von: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] Im Auftrag von Mrutyunjaya Dash Gesendet: Dienstag, 22. November 2005 15:40 An: nagios-users at lists.sourceforge.net Betreff: [Nagios-users] Problem in configuring the Nagios Hi Nagios Experts, I am very much new to nagios, I have just untared, compiled, make and installed. I would just let you all know how exactly I installed ./configure --prefix=/opt/nagios --with-cgiurl=/nagios/cgi-bin --with-htmurl=/nagios --with-nagios-user=nagios --with-nagios-group=nagios make all make install make install-init make install-commandmode make install-config Now when I trying to access the nagios interface, I am able to navigate to the nagios main page but the cgi file are not working. The configuration whatever I have made in apache configuration file for nagios is like as below. Alias /nagios /opt/nagios/share Options None AllowOverride AuthConfig Order allow,deny Allow from all ScriptAlias /nagios/cgi-bin/ "/opt/nagios/sbin/" AllowOverride None Options ExecCGI Order allow,deny Allow from all Please help me to resolve this issue. Regards, Mrutyunjaya Dash -------------- next part -------------- An HTML attachment was scrubbed... URL: From richard.gliebe at fhv.at Wed Nov 23 08:11:05 2005 From: richard.gliebe at fhv.at (Richard Gliebe) Date: Wed, 23 Nov 2005 08:11:05 +0100 Subject: check_snmp - UPS In-Reply-To: References: <1132583186.917.13.camel@glr-nb.dh.uclv.net> <1132639600.971.7.camel@glr-nb.dh.uclv.net> <1132640201.971.12.camel@glr-nb.dh.uclv.net> Message-ID: <1132729865.866.12.camel@glr-nb.dh.uclv.net> On Tue, 2005-11-22 at 19:26 -0500, Subhendu Ghosh wrote: Hi there, > >> # ./negate /usr/local/libexec/nagios/check_snmp -H ups.company.com \ > >> -C -o -w 0:60 -c 0:80 > >> SNMP CRITICAL - *100* > >> > >> What I want is, when the return value is below 100 (warning: 80 / > >> critical: 60) I want to get an alert. > > > > I think I got it ;-) > > > > # /usr/local/libexec/nagios/check_snmp -H ups.company.com \ > > -C -o -w 99:80 -c 99:60 -l "Battery Status (%)" > > Battery Status (%) OK - 100 > > > > Is this the right syntacs ? > Depends. The above will only give you a critical between 99% and 60%, an > ok below 60% > > max:min - non-ok within range > min:max - ok within range. I hope this will be OK now: # /usr/local/libexec/nagios/check_snmp -H ups.company.com \ C -o -w 99:80 -c 79:0 -l "Battery Status (%)" Battery Status (%) OK - 100 Thanks for some positive replies ;-) Richard -- Richard Gliebe Fachhochschule Vorarlberg GmbH / University for Applied Science Information Services ------------------------------------------------------- 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 Philipp.Sand at sycor.de Wed Nov 23 09:15:43 2005 From: Philipp.Sand at sycor.de (Sand Philipp) Date: Wed, 23 Nov 2005 09:15:43 +0100 Subject: triggert vs non-triggert Downtimes on Child Host Message-ID: <6943DE9E9934CD42BBE4A20E0E28E10E01FA4CFF@SYGOMAIL.GOE.AD.SYCOR.DE> Hi, I read the Docs, und played around with triggert vs. non-triggert downtime, but I think, that I'm missing something... the question is: What's the different between those two? Thanks in advance! Philipp _____________________________ Philipp Sand OC-CC-TEC-SYS SYCOR GmbH Heinrich-von-Stephan-Stra?e 1-5 D - 37073 G?ttingen Telefon +49 (0) 551 - 490 - 0 Telefax +49 (0) 551 - 490 - 232468 philipp.sand at sycor.de www.sycor.de ------------------------------------------------ ? ************************************************ sycor plastics - die neue Branchenloesung fuer die Kunststoffindustrie www.sycor-plastics.de ************************************************ Diese E-Mail ist vertraulich und kann darueber hinaus persoenliche Informationen beinhalten. Wenn Sie nicht der bestimmungsgemaesse Empfaenger sind, loeschen Sie bitte die E-Mail und deren Anhaenge sofort und benachrichtigen Sie uns darueber. Die Firma sycor willigt in keine Vertraege oder vertragliche Verpflichtungen ein oder uebermittelt rechtsverbindliche Angebote, die in Form von E-Mail versandt werden, sofern dies nicht ausdruecklich in schriftlicher Form zwischen den Parteien vereinbart wurde. This e-mail is confidential and may contain personal and/or privileged information. If you are not the intended recipient please delete this e-mail and all attachments immediately and inform us. The company sycor does not agree with contracts or contract obligations sent by e-mail, neither do we transmit legally binding offers by e-mail, unless this is not expressly agreed upon between the parties and documented in written form. ------------------------------------------------------- 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 Philipp.Sand at sycor.de Wed Nov 23 10:06:40 2005 From: Philipp.Sand at sycor.de (Sand Philipp) Date: Wed, 23 Nov 2005 10:06:40 +0100 Subject: check_cluster2 as host check command Message-ID: <6943DE9E9934CD42BBE4A20E0E28E10E01FA4D09@SYGOMAIL.GOE.AD.SYCOR.DE> Hi list, I'm trying to use thecheck_cluster2 as a check command in my host definition. As far as I understood the docs, you can simply use every check command as a check host command, right? Even though, check_cluster2 doesn't seem to work as a check host alive... everytime I'm runnig a check with it, Nagios returns a Critical and the Message "Invalid Arguments supplied". When I use the same command as a service check, it works just fine. Any suggestions? Thanks in advance, Philipp _____________________________ Philipp Sand OC-CC-TEC-SYS SYCOR GmbH Heinrich-von-Stephan-Stra?e 1-5 D - 37073 G?ttingen Telefon +49 (0) 551 - 490 - 0 Telefax +49 (0) 551 - 490 - 232468 philipp.sand at sycor.de www.sycor.de ------------------------------------------------ ? ************************************************ sycor plastics - die neue Branchenloesung fuer die Kunststoffindustrie www.sycor-plastics.de ************************************************ Diese E-Mail ist vertraulich und kann darueber hinaus persoenliche Informationen beinhalten. Wenn Sie nicht der bestimmungsgemaesse Empfaenger sind, loeschen Sie bitte die E-Mail und deren Anhaenge sofort und benachrichtigen Sie uns darueber. Die Firma sycor willigt in keine Vertraege oder vertragliche Verpflichtungen ein oder uebermittelt rechtsverbindliche Angebote, die in Form von E-Mail versandt werden, sofern dies nicht ausdruecklich in schriftlicher Form zwischen den Parteien vereinbart wurde. This e-mail is confidential and may contain personal and/or privileged information. If you are not the intended recipient please delete this e-mail and all attachments immediately and inform us. The company sycor does not agree with contracts or contract obligations sent by e-mail, neither do we transmit legally binding offers by e-mail, unless this is not expressly agreed upon between the parties and documented in written form. ------------------------------------------------------- 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 Philipp.Sand at sycor.de Wed Nov 23 10:49:23 2005 From: Philipp.Sand at sycor.de (Sand Philipp) Date: Wed, 23 Nov 2005 10:49:23 +0100 Subject: AW: check_cluster2 as host check command Message-ID: <6943DE9E9934CD42BBE4A20E0E28E10E01FA4D18@SYGOMAIL.GOE.AD.SYCOR.DE> Sorry for bothering, was just a little twist in the cfg. Works fine now! > -----Urspr?ngliche Nachricht----- > Von: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users- > admin at lists.sourceforge.net] Im Auftrag von Sand Philipp > Gesendet: Mittwoch, 23. November 2005 10:07 > An: nagios-users at lists.sourceforge.net > Betreff: [Nagios-users] check_cluster2 as host check command > > Hi list, > > I'm trying to use thecheck_cluster2 as a check command in my host > definition. As far as I understood the docs, you can simply use every > check command as a check host command, right? Even though, check_cluster2 > doesn't seem to work as a check host alive... everytime I'm runnig a check > with it, Nagios returns a Critical and the Message "Invalid Arguments > supplied". When I use the same command as a service check, it works just > fine. > Any suggestions? > > Thanks in advance, > Philipp > > _____________________________ > > Philipp Sand > OC-CC-TEC-SYS > > SYCOR GmbH > Heinrich-von-Stephan-Stra?e 1-5 > D - 37073 G?ttingen > > Telefon +49 (0) 551 - 490 - 0 > Telefax +49 (0) 551 - 490 - 232468 > > philipp.sand at sycor.de > www.sycor.de > ------------------------------------------------ > > > > > ************************************************ > > sycor plastics - die neue Branchenloesung fuer die Kunststoffindustrie > > www.sycor-plastics.de > > ************************************************ > > > > > Diese E-Mail ist vertraulich und kann darueber hinaus persoenliche > Informationen beinhalten. Wenn Sie nicht der bestimmungsgemaesse > Empfaenger sind, loeschen Sie bitte die E-Mail und deren Anhaenge sofort > und benachrichtigen Sie uns darueber. Die Firma sycor willigt in keine > Vertraege oder vertragliche Verpflichtungen ein oder uebermittelt > rechtsverbindliche Angebote, die in Form von E-Mail versandt werden, > sofern dies nicht ausdruecklich in schriftlicher Form zwischen den > Parteien vereinbart wurde. > > This e-mail is confidential and may contain personal and/or privileged > information. If you are not the intended recipient please delete this e- > mail and all attachments immediately and inform us. The company sycor does > not agree with contracts or contract obligations sent by e-mail, neither > do we transmit legally binding offers by e-mail, unless this is not > expressly agreed upon between the parties and documented in written form. > > > > ------------------------------------------------------- > 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=ick > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null ************************************************ sycor plastics - die neue Branchenloesung fuer die Kunststoffindustrie www.sycor-plastics.de ************************************************ Diese E-Mail ist vertraulich und kann darueber hinaus persoenliche Informationen beinhalten. Wenn Sie nicht der bestimmungsgemaesse Empfaenger sind, loeschen Sie bitte die E-Mail und deren Anhaenge sofort und benachrichtigen Sie uns darueber. Die Firma sycor willigt in keine Vertraege oder vertragliche Verpflichtungen ein oder uebermittelt rechtsverbindliche Angebote, die in Form von E-Mail versandt werden, sofern dies nicht ausdruecklich in schriftlicher Form zwischen den Parteien vereinbart wurde. This e-mail is confidential and may contain personal and/or privileged information. If you are not the intended recipient please delete this e-mail and all attachments immediately and inform us. The company sycor does not agree with contracts or contract obligations sent by e-mail, neither do we transmit legally binding offers by e-mail, unless this is not expressly agreed upon between the parties and documented in written form. ------------------------------------------------------- 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 wim at gekkos.org Wed Nov 23 11:52:00 2005 From: wim at gekkos.org (Wim De Geeter) Date: Wed, 23 Nov 2005 11:52:00 +0100 Subject: Can not check Debian host Message-ID: <20051123115200.964shremjeg444ks@if02.myvnc.com> Hi, I have installed nagios 1.2 on a linux Suse 9.3. Everything works fine, only I have also to check one Debian (3.1) host. Their is nrpe (Version 1.9) running as? a daemon. When I check locally (check_users -w 3 -c 5) its working fine. When I check this from the nagios server (check_nrpe -H 'hostname' -p 'port' -c check_users) I have this as output CHECK_NRPE: Socket timeout after 10 seconds On the Debian Server I become this as error nrpe: Could not read request from client, bailing out... Anyone an idea, I have no problems with all my other (not Debian) hosts.Thanks ---------------------------------------------------------------- http://www.karowim.org -------------- next part -------------- An HTML attachment was scrubbed... URL: From Hans.Veneman at xb.nl Wed Nov 23 12:06:24 2005 From: Hans.Veneman at xb.nl (Hans Veneman) Date: Wed, 23 Nov 2005 12:06:24 +0100 Subject: CGI error in 2.0b4 & 2.0b5 Message-ID: <32F72C4D4D0EC8458CA5BFD76A6D6C68023EE0C4@gimli.xb.local> > On 11/22/05, Hans Veneman wrote: > > Hi, > > > > On a Fedora Core 3 system with the latest updates I compiled and > > installed Nagios 2.0b4 and (last week) Nagios 2.0b5. > Everything seems > > to work great, except for the cgi-scripts once in a while: > > > > In about 3% of the requests (for any of the cgi's) they give an > > internal server error. Running them from the command line > learned that > > it's a bus error that's causing this, and it happens right > after the > > status log is opened (strace output): > > > > open("/opt/nagios/var/status.log", O_RDONLY) = 4 fstat64(4, > > {st_mode=S_IFREG|0644, st_size=4578196, ...}) = 0 > mmap2(NULL, 4578196, > > PROT_READ, MAP_PRIVATE, 4, 0) = 0xf6b99000 > > --- SIGBUS (Bus error) @ 0 (0) --- > > +++ killed by SIGBUS +++ > > > > If you wonder why Nagios is in /opt, it's because i'm migrating our > > current Nagios master server from a Solaris server to a > Fedora server. > > > > Does anybody have any idea what's causing this, and what > can be done > > to prevent these errors? > > > > Thanks in advance, > > Hans > > While I've not seen this error before, it may help to know > the options you built nagios with, and the hardware type for > the system(64bit, ppc, x86 etc). I'm using the rpms supplied > for nagios on a rhel4 machine, and I've had no such issues. It's an x86 machine. Nagios was configured with: --prefix=/opt/nagios --with-cgiurl=/cgi-bin/nagios --with-htmurl=/nagios --with-nagios-user=nagios --with-nagios-group=nagios --with-gd-lib=/usr/local/lib --with-gd-inc=/usr/local/include --disable-statusmap --disable-statuswrl > One piece of unrequested advice: Don't use fedora for servers > unless you're okay with the REALLY fast paced upgrade system, > and migration path. Instead I'd recommend something like the CentOS ( > http://centos.org) project, which is a free rebuild of rhel, > with the same life span rhel has. Thanks for the advice. We are currently using 2 Linux distributions: RHEL and Fedora, but we are looking into CentOS right now. Cheers, Hans -- Hans Veneman XB email: hans.veneman at xb.nl Televisieweg 2 tel: +31 36 5462400 1322 AC Almere fax: +31 36 5462424 The Netherlands ------------------------------------------------------- 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 msugano at uolinc.com Wed Nov 23 14:49:01 2005 From: msugano at uolinc.com (Marcel Mitsuto Fucatu Sugano) Date: Wed, 23 Nov 2005 11:49:01 -0200 Subject: CGI error in 2.0b4 & 2.0b5 In-Reply-To: <32F72C4D4D0EC8458CA5BFD76A6D6C68023EDE8A@gimli.xb.local> References: <32F72C4D4D0EC8458CA5BFD76A6D6C68023EDE8A@gimli.xb.local> Message-ID: <1132753742.29846.8.camel@localhost> On Tue, 2005-11-22 at 11:47 +0100, Hans Veneman wrote: > In about 3% of the requests (for any of the cgi's) they give an > internal server error. Same here. Not tried within all cgis, but status.cgi gives me this error sometimes. Not sure if it is about 3% of time, but i've seen this error before. SuSE9.3, x86, with practically the same configure options. cheers -- Marcel Mitsuto Fucatu Sugano Universo Online S.A. -- http://www.uol.com.br ------------------------------------------------------- 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 izotov at list.ru Wed Nov 23 15:20:57 2005 From: izotov at list.ru (Izotov Igor) Date: Wed, 23 Nov 2005 17:20:57 +0300 Subject: distributed and redundant monitoring Message-ID: Some time ago I asked the same question. Maybe something has changed ever since. I need to create the following monitoring process: A,B,C are monitoring servers, distributed all over the world, seeing each other. D is the monitored host. notifications should be sent only in case when D is not responding to all of them (A && B && C). Can it be done by means of Nagios? Say, can we build the system like http://websitepulse.com using Nagios? Thanks in advance. ------------------------------------------------------- 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 ton.voon at altinity.com Wed Nov 23 15:44:03 2005 From: ton.voon at altinity.com (Ton Voon) Date: Wed, 23 Nov 2005 14:44:03 +0000 Subject: CGI error in 2.0b4 & 2.0b5 In-Reply-To: <1132753742.29846.8.camel@localhost> References: <32F72C4D4D0EC8458CA5BFD76A6D6C68023EDE8A@gimli.xb.local> <1132753742.29846.8.camel@localhost> Message-ID: <083154D2-C07C-44F3-96D5-706599F36C2E@altinity.com> On 23 Nov 2005, at 13:49, Marcel Mitsuto Fucatu Sugano wrote: > On Tue, 2005-11-22 at 11:47 +0100, Hans Veneman wrote: >> In about 3% of the requests (for any of the cgi's) they give an >> internal server error. > > Same here. > > Not tried within all cgis, but status.cgi gives me this error > sometimes. > Not sure if it is about 3% of time, but i've seen this error before. > SuSE9.3, x86, with practically the same configure options. I've got a small Nagios 2.0b5 installation I am playing with, but haven't come across this. I've run a small loop to hammer the status.cgi but no errors after 1000 iterations: cd /usr/local/nagios/sbin i=0; while [[ $i -lt 1000 ]] ; do REQUEST_METHOD=GET REMOTE_USER=admin ./status.cgi > /dev/null; if [[ $? -ne 0 ]] ; then echo "Error"; break; fi; let i=$i+1; done I'm running on Debian 2.6.8-2-386. I notice that the error Hans got from the strace was for nagios.log. However, the sample configuration file for Nagios 2.0b5 has status_file=nagios.dat (used to be status.log). Could you be using a Nagios 1 config file for a Nagios 2 install? Ton http://www.altinity.com T: +44 (0)870 787 9243 F: +44 (0)845 280 1725 Skype: tonvoon ------------------------------------------------------- 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 23 15:53:35 2005 From: marc at ena.com (Marc Powell) Date: Wed, 23 Nov 2005 08:53:35 -0600 Subject: distributed and redundant monitoring Message-ID: > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users- > admin at lists.sourceforge.net] On Behalf Of Izotov Igor > Sent: Wednesday, November 23, 2005 8:21 AM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] distributed and redundant monitoring > > Some time ago I asked the same question. Maybe something has changed ever > since. > I need to create the following monitoring process: > A,B,C are monitoring servers, distributed all over the world, seeing each > other. > D is the monitored host. > notifications should be sent only in case when D is not responding to all > of > them (A && B && C). > Can it be done by means of Nagios? I can think of a couple ways this would be easily possible -- Easiest - A,B,C use a database backend and all monitor host D normally but without notification. Whichever is your notification machine has an additional service check for the device that queries each database for current status and sets its status appropriately. You would need to write this plugin but it should be very straightforward. Less Easy - Have A, B and C send their check results to a central host then use check_cluster2 to notify based on your criteria. http://nagios.sourceforge.net/docs/2_0/clusters.html -- 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 Deborah.Martin at Kognitio.com Wed Nov 23 15:52:02 2005 From: Deborah.Martin at Kognitio.com (Deborah Martin) Date: Wed, 23 Nov 2005 14:52:02 -0000 Subject: CGI error in 2.0b4 & 2.0b5 Message-ID: Actually, just looking at my 2.0b4 build directory under sample-config and nagios.cfg states log_file=@localstatedir@/nagios.log so i don't think that can be the issue. regards, deborah -----Original Message----- From: Ton Voon [mailto:ton.voon at altinity.com] Sent: 23 November 2005 14:44 To: Nagios Users Subject: Re: [Nagios-users] CGI error in 2.0b4 & 2.0b5 On 23 Nov 2005, at 13:49, Marcel Mitsuto Fucatu Sugano wrote: > On Tue, 2005-11-22 at 11:47 +0100, Hans Veneman wrote: >> In about 3% of the requests (for any of the cgi's) they give an >> internal server error. > > Same here. > > Not tried within all cgis, but status.cgi gives me this error > sometimes. > Not sure if it is about 3% of time, but i've seen this error before. > SuSE9.3, x86, with practically the same configure options. I've got a small Nagios 2.0b5 installation I am playing with, but haven't come across this. I've run a small loop to hammer the status.cgi but no errors after 1000 iterations: cd /usr/local/nagios/sbin i=0; while [[ $i -lt 1000 ]] ; do REQUEST_METHOD=GET REMOTE_USER=admin ./status.cgi > /dev/null; if [[ $? -ne 0 ]] ; then echo "Error"; break; fi; let i=$i+1; done I'm running on Debian 2.6.8-2-386. I notice that the error Hans got from the strace was for nagios.log. However, the sample configuration file for Nagios 2.0b5 has status_file=nagios.dat (used to be status.log). Could you be using a Nagios 1 config file for a Nagios 2 install? Ton http://www.altinity.com T: +44 (0)870 787 9243 F: +44 (0)845 280 1725 Skype: tonvoon ------------------------------------------------------- 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 msugano at uolinc.com Wed Nov 23 15:54:38 2005 From: msugano at uolinc.com (Marcel Mitsuto Fucatu Sugano) Date: Wed, 23 Nov 2005 12:54:38 -0200 Subject: distributed and redundant monitoring In-Reply-To: References: Message-ID: <1132757679.29837.22.camel@localhost> On Wed, 2005-11-23 at 17:20 +0300, Izotov Igor wrote: > Some time ago I asked the same question. Maybe something has changed ever > since. > I need to create the following monitoring process: > A,B,C are monitoring servers, distributed all over the world, seeing each > other. > D is the monitored host. > notifications should be sent only in case when D is not responding to all of > them (A && B && C). > Can it be done by means of Nagios? > Say, can we build the system like http://websitepulse.com using Nagios? I can be telling nothing but speculative stuff here, but... Nagios A, B & C, running active checks, and sending results passively to some other Central Nagios, let's say... Nagios X. On Nagios X, you will need to configure 3 services, one for each Distributed Nagios servers (A, B and C). Then you can configure only Nagios X to send notifications about host D going down, after made sure with a fourth active check made by Nagios X, after getting stale results from the distributed servers. It's how it came up to me, but other people can have other solutions aswell. Like configuring service dependencies, or service escalation, whatever solution you get. IMO, Nagios could do the job. cheers. -- Marcel Mitsuto Fucatu Sugano Universo Online S.A. -- http://www.uol.com.br ------------------------------------------------------- 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 Thomas.Zimmer at oppenheim.de Wed Nov 23 16:27:25 2005 From: Thomas.Zimmer at oppenheim.de (Thomas.Zimmer at oppenheim.de) Date: Wed, 23 Nov 2005 16:27:25 +0100 Subject: AW: distributed and redundant monitoring Message-ID: <9A834A8DCEC68648B20701E1CDE10925F848EC@OKWPMXS01.de.sal-opp.net> I think, I have an easy solution without any additional tools or nagios-monitors, pls. correct me if I?m wrong: Assuming that all three monitors send notifications: Monitors A, B, C check host D with, let?s name it service1. Service1 has deactivated notifications, but submits his results to the other both hosts. Each host (A,B,C) has two services accepting the passive results of the other two hosts. These two services, let?s name them service2 and service3, don?t send notifications as well. At least, each of the hosts A,B,C implement an additional active service (service4) which checks host D (again), and sends notifications. The only thing left is to set two service-dependencies, which supress notifications of the only active notification-sending service4, if one of the passive result-accepting services 2&3 is in an OK state. Perhaps you?ll have to implement service1 twice, depending on the possibilities of sending passive check results. I haven?t yet used passive checks. The execution (and sending) frequency of checks 1,2 and 3 should be higher than for service4. 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 Marcel Mitsuto Fucatu Sugano Gesendet: Mittwoch, 23. November 2005 15:55 An: Izotov Igor Cc: nagios-users at lists.sourceforge.net Betreff: Re: [Nagios-users] distributed and redundant monitoring On Wed, 2005-11-23 at 17:20 +0300, Izotov Igor wrote: > Some time ago I asked the same question. Maybe something has changed > ever since. I need to create the following monitoring process: > A,B,C are monitoring servers, distributed all over the world, seeing each > other. > D is the monitored host. > notifications should be sent only in case when D is not responding to all of > them (A && B && C). > Can it be done by means of Nagios? > Say, can we build the system like http://websitepulse.com using Nagios? I can be telling nothing but speculative stuff here, but... Nagios A, B & C, running active checks, and sending results passively to some other Central Nagios, let's say... Nagios X. On Nagios X, you will need to configure 3 services, one for each Distributed Nagios servers (A, B and C). Then you can configure only Nagios X to send notifications about host D going down, after made sure with a fourth active check made by Nagios X, after getting stale results from the distributed servers. It's how it came up to me, but other people can have other solutions aswell. Like configuring service dependencies, or service escalation, whatever solution you get. IMO, Nagios could do the job. cheers. -- Marcel Mitsuto Fucatu Sugano Universo Online S.A. -- http://www.uol.com.br ------------------------------------------------------- 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 -------------- 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 ian.chard at sers.ox.ac.uk Wed Nov 23 17:23:02 2005 From: ian.chard at sers.ox.ac.uk (Ian Chard) Date: Wed, 23 Nov 2005 16:23:02 +0000 Subject: Non-US date formats in CGIs Message-ID: <43849766.6070504@sers.ox.ac.uk> Hi, Is there any way to coax the CGIs, specifically when you set downtimes, so that they use the British date format (DD/MM/YYYY)? - Ian -- Ian Chard, Unix & Network Administrator | E: ian.chard at sers.ox.ac.uk Systems and Electronic Resources Service | T: 80587 / (01865) 280587 Oxford University Library Services | F: (01865) 242287 ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637&alloc_id=16865&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 23 17:24:00 2005 From: jeffwilliams05 at gmail.com (Jeff Williams) Date: Wed, 23 Nov 2005 10:24:00 -0600 Subject: Nagios doesn't stop notifying when it should Message-ID: <17e351010511230824p14e35dc2h564b2ff803a5a47b@mail.gmail.com> I know I've submitted this question before and I don't want to spam everyone, but someone has to be using escalations that can help me. Can someone please help me explain why the first example used to work for me and now would not? I am using 2.0b4 (and have been since well before having this problem) and now have to use the lines in the second example to get notifications to stop after 5. > 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 > } Thanks. Jeff Williams ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_idv37&alloc_id865&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 23 17:32:07 2005 From: Deborah.Martin at Kognitio.com (Deborah Martin) Date: Wed, 23 Nov 2005 16:32:07 -0000 Subject: Non-US date formats in CGIs Message-ID: Ian, On my version of nagios (2.0b4) in nagios.cfg there is the following set of options you can tweak for the date option. # DATE FORMAT OPTION # This option determines how short dates are displayed. Valid options # include: # us (MM-DD-YYYY HH:MM:SS) # euro (DD-MM-YYYY HH:MM:SS) # iso8601 (YYYY-MM-DD HH:MM:SS) # strict-iso8601 (YYYY-MM-DDTHH:MM:SS) # date_format=euro This might help although i've never used earlier versions of nagios.... regards, deborah -----Original Message----- From: Ian Chard [mailto:ian.chard at sers.ox.ac.uk] Sent: 23 November 2005 16:23 To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Non-US date formats in CGIs Hi, Is there any way to coax the CGIs, specifically when you set downtimes, so that they use the British date format (DD/MM/YYYY)? - Ian -- Ian Chard, Unix & Network Administrator | E: ian.chard at sers.ox.ac.uk Systems and Electronic Resources Service | T: 80587 / (01865) 280587 Oxford University Library Services | F: (01865) 242287 ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637&alloc_id=16865&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: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637&alloc_id=16865&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.chard at sers.ox.ac.uk Wed Nov 23 17:36:37 2005 From: ian.chard at sers.ox.ac.uk (Ian Chard) Date: Wed, 23 Nov 2005 16:36:37 +0000 Subject: Non-US date formats in CGIs In-Reply-To: <51899CD4-098C-49B9-B405-74141402E2C3@altinity.com> References: <43849766.6070504@sers.ox.ac.uk> <51899CD4-098C-49B9-B405-74141402E2C3@altinity.com> Message-ID: <43849A95.4040108@sers.ox.ac.uk> Ton Voon wrote: > > On 23 Nov 2005, at 16:23, Ian Chard wrote: > >> Is there any way to coax the CGIs, specifically when you set downtimes, >> so that they use the British date format (DD/MM/YYYY)? > > > Check nagios.cfg for the line: > > date_format=euro Hmm, at the moment I have "date_format=iso8601", but I still get dates of the form "11/23/2005" when I go to set downtime. AIUI iso8601 should give YYYY-MM-DD format. - Ian -- Ian Chard, Unix & Network Administrator | E: ian.chard at sers.ox.ac.uk Systems and Electronic Resources Service | T: 80587 / (01865) 280587 Oxford University Library Services | F: (01865) 242287 ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637&alloc_id=16865&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 rossz at vamos-wentworth.org Wed Nov 23 18:23:20 2005 From: rossz at vamos-wentworth.org (Ross Wentworth) Date: Wed, 23 Nov 2005 09:23:20 -0800 Subject: Can not check Debian host In-Reply-To: <20051123115200.964shremjeg444ks@if02.myvnc.com> References: <20051123115200.964shremjeg444ks@if02.myvnc.com> Message-ID: <4384A588.4070108@vamos-wentworth.org> Wim De Geeter wrote: > I have installed nagios 1.2 on a linux Suse 9.3. Everything wo rks > fine, only I have also to check one Debian (3.1) host. Their is nrpe > (Versi on 1.9) running as a daemon. When I check locally (check_users > -w 3 -c 5) i ts working fine. When I check this from the nagios server > (check_nrpe -H 'hostname' -p 'port' -c check_users) I have this as output > > CHECK_NRPE: Socket timeout after 10 seconds > > On the Debian Serv er I become this as error > > nrpe: Could not read request from client, bailin g out... > Check the "allowed_hosts" directive in nrpe.cfg on the debian box. Also check your firewall to make sure it's allowing stuff through (default port is 5666). -- Rossz God kills a kitten each time someone uses Internet Explorer ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637&alloc_id=16865&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 23 18:35:57 2005 From: Deborah.Martin at Kognitio.com (Deborah Martin) Date: Wed, 23 Nov 2005 17:35:57 -0000 Subject: Non-US date formats in CGIs Message-ID: You can change the format by hand btw. regards, deborah -----Original Message----- From: Ian Chard [mailto:ian.chard at sers.ox.ac.uk] Sent: 23 November 2005 16:37 To: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Non-US date formats in CGIs Ton Voon wrote: > > On 23 Nov 2005, at 16:23, Ian Chard wrote: > >> Is there any way to coax the CGIs, specifically when you set downtimes, >> so that they use the British date format (DD/MM/YYYY)? > > > Check nagios.cfg for the line: > > date_format=euro Hmm, at the moment I have "date_format=iso8601", but I still get dates of the form "11/23/2005" when I go to set downtime. AIUI iso8601 should give YYYY-MM-DD format. - Ian -- Ian Chard, Unix & Network Administrator | E: ian.chard at sers.ox.ac.uk Systems and Electronic Resources Service | T: 80587 / (01865) 280587 Oxford University Library Services | F: (01865) 242287 ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637&alloc_id=16865&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: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637&alloc_id=16865&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 wim at gekkos.org Wed Nov 23 19:21:07 2005 From: wim at gekkos.org (Wim) Date: Wed, 23 Nov 2005 19:21:07 +0100 Subject: Can not check Debian host In-Reply-To: <4384A588.4070108@vamos-wentworth.org> References: <20051123115200.964shremjeg444ks@if02.myvnc.com> <4384A588.4070108@vamos-wentworth.org> Message-ID: <4384B313.8020004@gekkos.org> Ross Wentworth wrote: > Wim wrote: > >> I have installed nagios 1.2 on a linux Suse 9.3. Everything works >> fine, only I have also to check one Debian (3.1) host. Their is nrpe >> (Version 1.9) running as a daemon. When I check locally (check_users >> -w 3 -c 5) its working fine. When I check this from the nagios server >> (check_nrpe -H 'hostname' -p 'port' -c check_users) I have this as >> output >> >> CHECK_NRPE: Socket timeout after 10 seconds >> >> On the Debian Serv er I become this as error >> >> nrpe: Could not read request from client, bailing out... >> > Check the "allowed_hosts" directive in nrpe.cfg on the debian box. > Also check your firewall to make sure it's allowing stuff through > (default port is 5666). > > Thanks, but this is not the problem, host is allowed and its behind the firewall, so nothing in between. Any other ideas?? --- avast! Antivirus: Ausgehende Nachricht sauber. Virus-Datenbank (VPS): 0547-2, 23.11.2005 Getestet um: 23.11.2005 19:21:08 avast! - copyright (c) 1988-2005 ALWIL Software. http://www.avast.com ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637&alloc_id=16865&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 Joseph.Petrucci at ddiworld.com Wed Nov 23 19:27:17 2005 From: Joseph.Petrucci at ddiworld.com (Petrucci, Joseph) Date: Wed, 23 Nov 2005 13:27:17 -0500 Subject: Can not check Debian host Message-ID: First try to telnet to port 5999 you will not get a logon but if you get a connection that port is opened. Are you running a firewall on the Debian machine (iptables, etc.....)? you might want to check that. >-----Original Message----- >From: nagios-users-admin at lists.sourceforge.net >[mailto:nagios-users-admin at lists.sourceforge.net]On Behalf Of Wim >Sent: Wednesday, November 23, 2005 1:21 PM >To: nagios-users at lists.sourceforge.net >Subject: Re: [Nagios-users] Can not check Debian host > > >Ross Wentworth wrote: > >> Wim wrote: >> >>> I have installed nagios 1.2 on a linux Suse 9.3. Everything works >>> fine, only I have also to check one Debian (3.1) host. >Their is nrpe >>> (Version 1.9) running as a daemon. When I check locally >(check_users >>> -w 3 -c 5) its working fine. When I check this from the >nagios server >>> (check_nrpe -H 'hostname' -p 'port' -c check_users) I have this as >>> output >>> >>> CHECK_NRPE: Socket timeout after 10 seconds >>> >>> On the Debian Serv er I become this as error >>> >>> nrpe: Could not read request from client, bailing out... >>> >> Check the "allowed_hosts" directive in nrpe.cfg on the debian box. >> Also check your firewall to make sure it's allowing stuff through >> (default port is 5666). >> >> >Thanks, but this is not the problem, host is allowed and its >behind the >firewall, so nothing in between. Any other ideas?? > > >--- >avast! Antivirus: Ausgehende Nachricht sauber. >Virus-Datenbank (VPS): 0547-2, 23.11.2005 >Getestet um: 23.11.2005 19:21:08 >avast! - copyright (c) 1988-2005 ALWIL Software. >http://www.avast.com > > > > > >------------------------------------------------------- >This SF.net email is sponsored by: Splunk Inc. Do you grep >through log files >for problems? Stop! Download the new AJAX search engine that makes >searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! >http://ads.osdn.com/?ad_id=7637&alloc_id=16865&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: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_idv37&alloc_id865&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 wim at gekkos.org Wed Nov 23 19:34:08 2005 From: wim at gekkos.org (Wim De Geeter) Date: Wed, 23 Nov 2005 19:34:08 +0100 Subject: Can not check Debian host In-Reply-To: References: Message-ID: <20051123193408.ohlu4jcau0kcsogg@if02.myvnc.com> Thanks, but I did this and I got the connection on port 5666 so I am sure I can make the connection with the nrpe daemon. But what about the error I got ( nrpe: Could not read request from client, bailing out...) on the debian server when I make the connection from the nagios server. uoting "Petrucci, Joseph" : > First try to telnet to port 5999 you will not get a logon but if you > get a connection that port is opened. Are you running a firewall on > the Debian machine (iptables, etc.....)? you might want to check that. > >> -----Original Message----- >> From: nagios-users-admin at lists.sourceforge.net >> [mailto:nagios-users-admin at lists.sourceforge.net]On Behalf Of Wim >> Sent: Wednesday, November 23, 2005 1:21 PM >> To: nagios-users at lists.sourceforge.net >> Subject: Re: [Nagios-users] Can not check Debian host >> >> >> Ross Wentworth wrote: >> >>> Wim wrote: >>> >>>> I have installed nagios 1.2 on a linux Suse 9.3. Everything works >>>> fine, only I have also to check one Debian (3.1) host. >> Their is nrpe >>>> (Version 1.9) running as? a daemon. When I check locally >> (check_users >>>> -w 3 -c 5) its working fine. When I check this from the >> nagios server >>>> (check_nrpe -H 'hostname' -p 'port' -c check_users) I have this as >>>> output >>>> >>>> CHECK_NRPE: Socket timeout after 10 seconds >>>> >>>> On the Debian Serv er I become this as error >>>> >>>> nrpe: Could not read request from client, bailing out... >>>> >>> Check the "allowed_hosts" directive in nrpe.cfg on the debian box. >>> Also check your firewall to make sure it's allowing stuff through >>> (default port is 5666). >>> >>> >> Thanks, but this is not the problem, host is allowed and its >> behind the >> firewall, so nothing in between. Any other ideas?? >> >> >> --- >> avast! Antivirus: Ausgehende Nachricht sauber. >> Virus-Datenbank (VPS): 0547-2, 23.11.2005 >> Getestet um: 23.11.2005 19:21:08 >> avast! - copyright (c) 1988-2005 ALWIL Software. >> http://www.avast.com >> >> >> >> >> >> ------------------------------------------------------- >> This SF.net email is sponsored by: Splunk Inc. Do you grep >> through log files >> for problems?? Stop!? Download the new AJAX search engine that makes >> searching your log files as easy as surfing the? web.? DOWNLOAD SPLUNK! >> http://ads.osdn.com/?ad_id=7637&alloc_id=16865&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 >> >> > > > > ---------------------------------------------------------------- http://www.karowim.org -------------- next part -------------- An HTML attachment was scrubbed... URL: From teng at dataway.com Wed Nov 23 19:35:24 2005 From: teng at dataway.com (Tedman Eng) Date: Wed, 23 Nov 2005 10:35:24 -0800 Subject: Nagios doesn't stop notifying when it should Message-ID: <37ED92F9890FAF4BB947613C66FF8B1A08BB2C3D@dw-mail.dataway.com> Think of service escalations as "in addition to" normal notifications For notification attempts for which there are no defined escalations, the normal contact group is used. If you want only notification attempts 1-5 to be sent, create a contact group called 'none' for the service definition and then notify using only escalation definitions. define service contact_groups none define serviceescalation first_notification 1 last_notification 5 contact_groups ulsysadmins define serviceescalation first_notification 3 last_notification 5 contact_groups oncall,backup -----Original Message----- From: Jeff Williams [mailto:jeffwilliams05 at gmail.com] Sent: Wednesday, November 23, 2005 8:24 AM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Nagios doesn't stop notifying when it should I know I've submitted this question before and I don't want to spam everyone, but someone has to be using escalations that can help me. Can someone please help me explain why the first example used to work for me and now would not? I am using 2.0b4 (and have been since well before having this problem) and now have to use the lines in the second example to get notifications to stop after 5. > 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 > } Thanks. Jeff Williams ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_idv37&alloc_id865&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: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637&alloc_id=16865&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 bhides at gmail.com Wed Nov 23 19:56:39 2005 From: bhides at gmail.com (S B) Date: Wed, 23 Nov 2005 12:56:39 -0600 Subject: Can not check Debian host In-Reply-To: <20051123193408.ohlu4jcau0kcsogg@if02.myvnc.com> References: <20051123193408.ohlu4jcau0kcsogg@if02.myvnc.com> Message-ID: <4f298f800511231056p7d33da8cj7fa882edbd1c3505@mail.gmail.com> >(check_users -w 3 -c 5) i ts > working fine. When I check this from the nagios server (check_nrpe -H > 'hostname' -p 'port' -c check_users) I have this as output > CHECK_NRPE: Socket timeout after 10 seconds >error > nrpe: Could not read request from client, bailin g out... May be you need -w3 -c5 ?( check_nrpe -H 'hostname' -p 'port' -c check_users -w3 -c5) HTH, -S ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_idv37&alloc_id865&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 23 20:07:15 2005 From: jeffwilliams05 at gmail.com (Jeff Williams) Date: Wed, 23 Nov 2005 13:07:15 -0600 Subject: Nagios doesn't stop notifying when it should In-Reply-To: <37ED92F9890FAF4BB947613C66FF8B1A08BB2C3D@dw-mail.dataway.com> References: <37ED92F9890FAF4BB947613C66FF8B1A08BB2C3D@dw-mail.dataway.com> Message-ID: <17e351010511231107r375d98fdk7ca728ac3292f1ae@mail.gmail.com> That makes sense, but I'm confused why I could get away with what I was doing before and not have it go past 5 notifications. Maybe I was just lucky or something. I've been using Nagios for a while and have never needed to set it up this way. Thanks for the response. Jeff On 11/23/05, Tedman Eng wrote: > Think of service escalations as "in addition to" normal notifications > > For notification attempts for which there are no defined escalations, the > normal contact group is used. If you want only notification attempts 1-5 to > be sent, create a contact group called 'none' for the service definition and > then notify using only escalation definitions. > > > define service > contact_groups none > > define serviceescalation > first_notification 1 > last_notification 5 > contact_groups ulsysadmins > > define serviceescalation > first_notification 3 > last_notification 5 > contact_groups oncall,backup > > > -----Original Message----- > From: Jeff Williams [mailto:jeffwilliams05 at gmail.com] > Sent: Wednesday, November 23, 2005 8:24 AM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Nagios doesn't stop notifying when it should > > > I know I've submitted this question before and I don't want to spam > everyone, but someone has to be using escalations that can help me. > Can someone please help me explain why the first example used to work > for me and now would not? I am using 2.0b4 (and have been since well > before having this problem) and now have to use the lines in the > second example to get notifications to stop after 5. > > > 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 > > } > > Thanks. > > Jeff Williams > > > ------------------------------------------------------- > This SF.net email is sponsored by: Splunk Inc. Do you grep through log files > for problems? Stop! Download the new AJAX search engine that makes > searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! > http://ads.osdn.com/?ad_idv37&alloc_id865&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: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_idv37&alloc_id865&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 wim at gekkos.org Wed Nov 23 20:20:11 2005 From: wim at gekkos.org (Wim) Date: Wed, 23 Nov 2005 20:20:11 +0100 Subject: Can not check Debian host In-Reply-To: <4f298f800511231056p7d33da8cj7fa882edbd1c3505@mail.gmail.com> References: <20051123193408.ohlu4jcau0kcsogg@if02.myvnc.com> <4f298f800511231056p7d33da8cj7fa882edbd1c3505@mail.gmail.com> Message-ID: <4384C0EB.9040400@gekkos.org> S B wrote: >>(check_users -w 3 -c 5) i ts >>working fine. When I check this from the nagios server (check_nrpe -H >>'hostname' -p 'port' -c check_users) I have this as output >>CHECK_NRPE: Socket timeout after 10 seconds >>error >>nrpe: Could not read request from client, bailin g out... >> >> > >May be you need -w3 -c5 ?( check_nrpe -H 'hostname' -p 'port' -c >check_users -w3 -c5) > >HTH, >-S > > > > Txs but the same error. I don't know anymore what else to check. Any other ideas --- avast! Antivirus: Ausgehende Nachricht sauber. Virus-Datenbank (VPS): 0547-2, 23.11.2005 Getestet um: 23.11.2005 20:20:12 avast! - copyright (c) 1988-2005 ALWIL Software. http://www.avast.com ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637&alloc_id=16865&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 ton.voon at altinity.com Wed Nov 23 22:17:01 2005 From: ton.voon at altinity.com (Ton Voon) Date: Wed, 23 Nov 2005 21:17:01 +0000 Subject: Non-US date formats in CGIs In-Reply-To: <43849A86.4050109@sers.ox.ac.uk> References: <43849766.6070504@sers.ox.ac.uk> <51899CD4-098C-49B9-B405-74141402E2C3@altinity.com> <43849A86.4050109@sers.ox.ac.uk> Message-ID: <669406AF-A586-425B-8F59-185A3D27B715@altinity.com> On 23 Nov 2005, at 16:36, Ian Chard wrote: > Ton Voon wrote: >> >> On 23 Nov 2005, at 16:23, Ian Chard wrote: >> >>> Is there any way to coax the CGIs, specifically when you set >>> downtimes, >>> so that they use the British date format (DD/MM/YYYY)? >> >> >> Check nagios.cfg for the line: >> >> date_format=euro > > Hmm, at the moment I have "date_format=iso8601", but I still get > dates of the form "11/23/2005" when I go to set downtime. AIUI > iso8601 should give YYYY-MM-DD format. > Looks like the cmd.cgi does not respect the date_format setting. Try this patch: -------------- next part -------------- A non-text attachment was scrubbed... Name: downtime.patch Type: application/octet-stream Size: 4848 bytes Desc: not available URL: -------------- next part -------------- Works for me, though I notice that the scheduled downtime comments do not respect the date_format parameter either. Ton http://www.altinity.com T: +44 (0)870 787 9243 F: +44 (0)845 280 1725 Skype: tonvoon From s.shipway at auckland.ac.nz Wed Nov 23 22:22:40 2005 From: s.shipway at auckland.ac.nz (Steve Shipway) Date: Thu, 24 Nov 2005 10:22:40 +1300 Subject: distributed and redundant monitoring In-Reply-To: References: Message-ID: <037901c5f074$09134ea0$01fea8c0@itss.auckland.ac.nz> >Some time ago I asked the same question. Maybe something has >changed ever since. I need to create the following monitoring >process: A,B,C are monitoring servers, distributed all over >the world, seeing each other. D is the monitored host. >notifications should be sent only in case when D is not >responding to all of them (A && B && C). Can it be done by >means of Nagios? How about this. On each of A, B and C you set up passive services corresponding to D on the other Nagios servers. Disable notifications on all. Set each of hosts A, B and C to use NSCA to send passive alerts for host D checks on to the other two nagios boxes. Then set up a pseudo cluster check -- such as check_cluster or check_calc -- to do a summary over the 'local' check and the other two passive checks, and go critical only if all are critical. So, on (nagios) host A, you have hosts and services: Host D (checked locally, sends passives to host B and C, no notifications) Host D on B (passive alerts via NSCA from host B, no notifications, freshness check) Host D on C (passive alerts via NSCA from host C, no notifications, freshness check) Host D cluster (calculated as best of Host D, Host B on B, Host D on C) only the last one will send notifications. Note that you will need to set the two passive checks to have a freshness check that sets them to 'critical' is no passive status is received for a set interval (eg, 10 mins) so that a downed Nagios server or network problem doesn't cause false OKs. Steve ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_idv37&alloc_id865&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 Wed Nov 23 22:24:12 2005 From: s.shipway at auckland.ac.nz (Steve Shipway) Date: Thu, 24 Nov 2005 10:24:12 +1300 Subject: Non-US date formats in CGIs In-Reply-To: <43849766.6070504@sers.ox.ac.uk> References: <43849766.6070504@sers.ox.ac.uk> Message-ID: <037a01c5f074$40523890$01fea8c0@itss.auckland.ac.nz> >Is there any way to coax the CGIs, specifically when you set >downtimes, so that they use the British date format (DD/MM/YYYY)? This irritated me, too. It's a very simple change to the cmd.c source code to correct this, I can send you our modified source code (v1.2) if you want? However, I believe that v2 fixes this Americanocentric bias and give you the option. Steve ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_idv37&alloc_id865&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.ahlstrom at managedmail.com Wed Nov 23 22:48:44 2005 From: mark.ahlstrom at managedmail.com (Mark Ahlstrom) Date: Wed, 23 Nov 2005 15:48:44 -0600 Subject: Escalation Question Message-ID: <1132782525.13412.28.camel@mediis> I inherited a nagios system w/ wild-carded escalations for services and hosts. This has helped us manage a nightmare: 300 hosts, 4000 services and 16,000 escalations. I can bring other groups into the mix by making them the primary contacts of the service. But my group will be brought into the pages when they don't answer them. Does anyone know of a good way I could remove my group from the pages all the while maintaining my administrative sanity? Here are my service escalations... define serviceescalation{ host_name * service_description * first_notification 2 last_notification 0 contact_groups oncall notification_interval 10 } define serviceescalation{ host_name * service_description * first_notification 3 last_notification 0 contact_groups backup notification_interval 10 } define serviceescalation{ host_name * service_description * first_notification 4 last_notification 0 contact_groups tertiary notification_interval 10 } define serviceescalation{ host_name * service_description * first_notification 5 last_notification 0 contact_groups admins notification_interval 10 } Mark ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637&alloc_id=16865&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 Wed Nov 23 23:18:11 2005 From: nagios at nagios.org (Ethan Galstad) Date: Wed, 23 Nov 2005 16:18:11 -0600 Subject: Non-US date formats in CGIs In-Reply-To: <669406AF-A586-425B-8F59-185A3D27B715@altinity.com> References: <43849A86.4050109@sers.ox.ac.uk> Message-ID: <43849643.9077.F512A5@nagios.nagios.org> Thanks all! This patch will be in CVS shortly. On 23 Nov 2005 at 21:17, Ton Voon wrote: > > On 23 Nov 2005, at 16:36, Ian Chard wrote: > > > Ton Voon wrote: > >> > >> On 23 Nov 2005, at 16:23, Ian Chard wrote: > >> > >>> Is there any way to coax the CGIs, specifically when you set > >>> downtimes, > >>> so that they use the British date format (DD/MM/YYYY)? > >> > >> > >> Check nagios.cfg for the line: > >> > >> date_format=euro > > > > Hmm, at the moment I have "date_format=iso8601", but I still get > > dates of the form "11/23/2005" when I go to set downtime. AIUI > > iso8601 should give YYYY-MM-DD format. > > > > Looks like the cmd.cgi does not respect the date_format setting. Try > this patch: > > Ethan Galstad, Nagios Developer --- Email: nagios at nagios.org Website: http://www.nagios.org ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637&alloc_id=16865&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 jerry at schieffer.us Wed Nov 23 23:59:11 2005 From: jerry at schieffer.us (Jerry K. Schieffer) Date: Wed, 23 Nov 2005 16:59:11 -0600 Subject: 3-D status map oddity Message-ID: I am seeing strange behaviour in the 3-D status map. Running Nagios 2.0b4 on FreeBSD 4.11 with defaults in the 3-D status map (circular layout - Nagios chooses locations). The alphabetically first and last host on the "local" subnet (i.e. no intervening hosts between them and the Nagios server system) seem to be occupying the same space. They show as an extra bright cube with the text for both hosts intermingled. If it matters, there are 24 hosts in 3 different levels of distance from the Nagios symbol. All works fine on the 2-D circular layout. Anyone else see this? Any suggested corrections (other than supplying my own coordinates)? I'm not much of a coder or I'd try to find the problems in the code (sigh!). Thanks, Jerry jerry at schieffer.us ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637&alloc_id=16865&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 amalarasan at yahoo.com Thu Nov 24 01:16:51 2005 From: amalarasan at yahoo.com (Amalarasan Jayaraman) Date: Wed, 23 Nov 2005 16:16:51 -0800 (PST) Subject: check_logs.pl question? Message-ID: <20051124001651.39800.qmail@web30409.mail.mud.yahoo.com> Hi Can anyone tell me how to use check_logs.pl to check for multiple patterns in a single file, in one pass. Thanks __________________________________ Yahoo! Mail - PC Magazine Editors' Choice 2005 http://mail.yahoo.com ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637&alloc_id=16865&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 rupen at netmagicsolutions.com Thu Nov 24 11:28:21 2005 From: rupen at netmagicsolutions.com (Rupen Momaya) Date: Thu, 24 Nov 2005 15:58:21 +0530 Subject: Can not check Debian host In-Reply-To: <4384C0EB.9040400@gekkos.org> References: <20051123193408.ohlu4jcau0kcsogg@if02.myvnc.com> <4f298f800511231056p7d33da8cj7fa882edbd1c3505@mail.gmail.com> <4384C0EB.9040400@gekkos.org> Message-ID: <438595C5.9020207@netmagicsolutions.com> Wim wrote: > S B wrote: > >>> (check_users -w 3 -c 5) i ts >>> working fine. When I check this from the nagios server (check_nrpe -H >>> 'hostname' -p 'port' -c check_users) I have this as output >>> CHECK_NRPE: Socket timeout after 10 seconds >>> error >>> nrpe: Could not read request from client, bailin g out... >>> >> >> >> May be you need -w3 -c5 ?( check_nrpe -H 'hostname' -p 'port' -c >> check_users -w3 -c5) >> >> HTH, >> -S >> >> >> > Txs but the same error. I don't know anymore what else to check. Any > other ideas > wim, Please go thru below 2 links carefully. it might help you. > http://forum.ev1servers.net/showthread.php?t=46610 http://www.nagios.org/faqs/viewfaq.php?faq_id=275 > -rupen. > > > ------------------------------------------------------- > This SF.net email is sponsored by: Splunk Inc. Do you grep through log > files > for problems? Stop! Download the new AJAX search engine that makes > searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! > http://ads.osdn.com/?ad_id=7637&alloc_id=16865&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: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637&alloc_id=16865&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 support-lists at petdoctors.co.uk Thu Nov 24 15:43:26 2005 From: support-lists at petdoctors.co.uk (Nigel kendrick) Date: Thu, 24 Nov 2005 14:43:26 -0000 Subject: Logged in as ? Message-ID: <00b901c5f105$6d774270$04000100@support01> I am having a similar problem to Lori: I have had Nagios 1.2 running for nearly two years on a CentOS 3.x installation but I have just downloaded 1.3, installed it on a new server running CentoS 4.2 (RHEL4) and copied over the .cfg files. All .htaccess and htpasswd files are in place and working properly, the ScriptAlias and Alias text is in place in /etc/httpd/conf.d/nk.conf (copied from the other server), yet I am always shown as 'logged in as ?' The nagios directory and all below are owned by apache:nagios The only way I can run Nagios is if I turn off authentication - in which case everything works fine. Any ideas? Thanks Nigel Kendrick ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637&alloc_id=16865&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 baz.bund.de Thu Nov 24 16:06:58 2005 From: nagios at baz.bund.de (Heinz Andernach) Date: Thu, 24 Nov 2005 16:06:58 +0100 Subject: plugin check_load Message-ID: <001201c5f108$b74768f0$165a1459@pc9022> Hi, I'm a new user of nagios and have the job to get things running testing the plugin check_load for example with ./check_load -w 10.0,8.0,5.0 -c 15.0,10.0,8.0 I get the response: Warning threshold must be float or float triplet i tried other (or no) delimiter with no effect Heinz -------------- next part -------------- An HTML attachment was scrubbed... URL: From mramos at co.sapo.pt Thu Nov 24 16:26:52 2005 From: mramos at co.sapo.pt (Marco Ramos) Date: Thu, 24 Nov 2005 15:26:52 +0000 Subject: plugin check_load In-Reply-To: <001201c5f108$b74768f0$165a1459@pc9022> References: <001201c5f108$b74768f0$165a1459@pc9022> Message-ID: <1132846013.3765.14.camel@localhost.localdomain> Hi, you should use integers instead of floats. $ ./check_load -w 10,10,10 -c 15,15,15 OK - load average: 1.51, 0.94, 1.04 This works but I suggest that you use SNMP for system metrics (load, cpu, disk space, etc). It's easy to work with and it's platform independent. Regards, Marco Ramos On Thu, 2005-11-24 at 16:06 +0100, Heinz Andernach wrote: > Hi, I'm a new user of nagios and have the job to get things running > > testing the plugin check_load > for example with > > ./check_load -w 10.0,8.0,5.0 -c 15.0,10.0,8.0 > > I get the response: Warning threshold must be float or > float triplet > i tried other (or no) delimiter with no effect > > Heinz ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637&alloc_id=16865&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 frontin at irit.fr Thu Nov 24 16:47:50 2005 From: frontin at irit.fr (Jean Frontin) Date: Thu, 24 Nov 2005 16:47:50 +0100 Subject: About check_by_ssh Message-ID: <5.0.2.1.2.20051124164226.00b149c8@mailhost.irit.fr> Hello, Is there anybody who runs this plugin within nagios. Please did you encounter that : in the "help" of this plugin One finds the options -w and -c, but when I insert them in command line I obtain an error message : argument unknown Regards Jean Frontin System team I R I T Universit? Paul-Sabatier 118, rte de Narbonne 31062 Toulouse cedex 04 France tel (33)(0)5 61 55 63 03 mail frontin at irit.fr ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_idv37&alloc_id865&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 m.borsani at it.net Thu Nov 24 16:53:16 2005 From: m.borsani at it.net (Marco Borsani) Date: Thu, 24 Nov 2005 16:53:16 +0100 Subject: Send SMS in Linux Message-ID: <016201c5f10f$2ff49a10$0900d40a@intranet.it.net> I all ! I should configure Nagios (on a RedHat Ent 3.0) to send SMS, using a radiomoden connected on a serial port. May someone give me an help ? I suppose that a script/programm is necessary to this porpuse, is it true? How do you send SMS from Nagios? Thanks a lot. Marco ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637&alloc_id=16865&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 creator at mindcreations.com Thu Nov 24 17:17:32 2005 From: creator at mindcreations.com (Stefano Coletta) Date: Thu, 24 Nov 2005 17:17:32 +0100 Subject: Send SMS in Linux In-Reply-To: <016201c5f10f$2ff49a10$0900d40a@intranet.it.net> References: <016201c5f10f$2ff49a10$0900d40a@intranet.it.net> Message-ID: <4385E79C.7020902@mindcreations.com> Use the SMS Server Tools http://smstools.meinemullemaus.de/ Add this to the misccommands.cfg define command { command_name notify-by-sms command_line /bin/echo "/usr/local/bin/sendnagiossms $CONTACTPAGER$ \"$NOTIFICATIONTYPE$: Service $SERVICEDESC$ on $HOSTALIAS$ is $SERVICESTATE$ ($OUTPUT$) - ?$DATETIME$\"" | ssh yourhost } Replace yourhost with your SMS host where you have to install SMS Server tools. Note: $CONTACTPAGER has to include country prefix number. Establish an ssh key trust between nagios user on the nagios host and the relative user on the sms server so it will not ask for a password. Then add the command /usr/local/bin/sendnagiossms on the SMS server: #!/bin/sh OLD_MSG_NODATE=`echo $2 | cut -d? -f 1` OLD_DATE=`echo $2 | cut -d? -f 2` NEW_DATE=`date -d "$OLD_DATE" +"%e-%b %H:%M"` TEXT="$OLD_MSG_NODATE$NEW_DATE" STRIPPED_TEXT=`echo $TEXT | sed -f /usr/local/bin/sendnagiossms.sed` /usr/local/bin/sendsms $1 "$STRIPPED_TEXT" and the file for sed /usr/local/bin/sendnagiossms.sed s/000000/0/g s/00000/0/g s/?//g Once you have tested that SMS Server tools is properly installed try configuring Nagios to send sms using this command instead of notify-by-email Enjoy Marco Borsani wrote: >I all ! > >I should configure Nagios (on a RedHat Ent 3.0) to send SMS, using a >radiomoden connected on a serial port. > >May someone give me an help ? > >I suppose that a script/programm is necessary to this porpuse, is it true? > >How do you send SMS from Nagios? > >Thanks a lot. > >Marco > > > >------------------------------------------------------- >This SF.net email is sponsored by: Splunk Inc. Do you grep through log files >for problems? Stop! Download the new AJAX search engine that makes >searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! >http://ads.osdn.com/?ad_id=7637&alloc_id=16865&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 > > -- Stefano Coletta http://www.mindcreations.com ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637&alloc_id=16865&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 wim at gekkos.org Thu Nov 24 18:50:28 2005 From: wim at gekkos.org (Wim) Date: Thu, 24 Nov 2005 18:50:28 +0100 Subject: Can not check Debian host In-Reply-To: <438595C5.9020207@netmagicsolutions.com> References: <20051123193408.ohlu4jcau0kcsogg@if02.myvnc.com> <4f298f800511231056p7d33da8cj7fa882edbd1c3505@mail.gmail.com> <4384C0EB.9040400@gekkos.org> <438595C5.9020207@netmagicsolutions.com> Message-ID: <4385FD64.4070607@gekkos.org> Rupen Momaya wrote: > Wim wrote: > >> S B wrote: >> >>>> (check_users -w 3 -c 5) i ts >>>> working fine. When I check this from the nagios server (check_nrpe -H >>>> 'hostname' -p 'port' -c check_users) I have this as output >>>> CHECK_NRPE: Socket timeout after 10 seconds >>>> error >>>> nrpe: Could not read request from client, bailin g out... >>>> >>> >>> >>> >>> May be you need -w3 -c5 ?( check_nrpe -H 'hostname' -p 'port' -c >>> check_users -w3 -c5) >>> >>> HTH, >>> -S >>> >>> >>> >> Txs but the same error. I don't know anymore what else to check. Any >> other ideas >> > wim, > Please go thru below 2 links carefully. it might help you. > >> http://forum.ev1servers.net/showthread.php?t=46610 > > > http://www.nagios.org/faqs/viewfaq.php?faq_id=275 > >> -rupen. >> >> Thanks Rupen indead it was an issue with the version, after installing version 2.0 everything worked fine. --- avast! Antivirus: Ausgehende Nachricht sauber. Virus-Datenbank (VPS): 0547-4, 24.11.2005 Getestet um: 24.11.2005 18:50:28 avast! - copyright (c) 1988-2005 ALWIL Software. http://www.avast.com ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637&alloc_id=16865&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 elze at bytemine.net Thu Nov 24 19:32:37 2005 From: elze at bytemine.net (David Elze) Date: Thu, 24 Nov 2005 19:32:37 +0100 Subject: About check_by_ssh In-Reply-To: <5.0.2.1.2.20051124164226.00b149c8@mailhost.irit.fr> References: <5.0.2.1.2.20051124164226.00b149c8@mailhost.irit.fr> Message-ID: <1132857157.5972.14.camel@aero64.datenschrott.de> Am Donnerstag, den 24.11.2005, 16:47 +0100 schrieb Jean Frontin: Hey, > Is there anybody who runs this plugin within nagios. Yes I do without any problems :-) > in the "help" of this plugin One finds the options -w and -c, but when I > insert them in command line I obtain an error message : argument unknown Well, if you use that plugin you certainly want to check some remote command via ssh. To do that, you can simply call check_by_ssh with a user (-l ) and the server (-H ) and then you add your command (-C '') that sould be run on the remote server. As an example, we've got server a.server.tld wich is the nagios machine and server b.server.tld that has installed the nagios-plugins only in, let's say, /home/nagios/libexec/ (if you use check_by_ssh you should use a not so priviliged user for that matter, here it could be 'nagios'). So to check the load of b.server.tld you could simply do the following: check_by_ssh -l nagios -H b.server.tld -C \ '/home/nagios/libexec/check_load -w 7,7,7 -c 10,10,10' As you can see, the '-w' and '-c' switch are used inside the command that is executed on the remote host and feeded back via the check_by_ssh-plugin to you nagios-server a.server.tld. So if that's something that helps you, perfect, if not (i.e. you really want to use check_by_ssh itself with '-w' and '-c') you should provide more info what exactly you try to do. CU David -------------- 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 james.mohr at elaxy.com Thu Nov 24 20:31:13 2005 From: james.mohr at elaxy.com (Mohr James) Date: Thu, 24 Nov 2005 20:31:13 +0100 Subject: Nagios-db mysql module not working Message-ID: Hi All! I have Nagios 2.0b5, nagios-db 0.91 and MySQL 4.1.15, including MySQL-MAX 4.1.15. When Nagios starts I see the module is loaded ("nagios-db: inserter locked into db") and the appropriate message when nagios shuts down. However, nothing is getting loaded into the database, and I do not see any error messages in /var/log/messages. I have changed inserted.c to reflect the user/password of the database (nagios/nagios) and I can log inusing the mysql command and insert data directly into the tables. I have also tried changing the values (i.e. nagios2/nagios) in the nebmodule_init function and it reports the error "nagios-db: inserter failed to connect to db". This convinces be that at least I am connecting to the database and the username/password are correct. The nagios.cfg has this: event_broker_options=-1 broker_module=/opt/INSTALL/nagios-db-0.91/neb/mysql/inserter.o And the path is correct. Near the top of the loadconfig function I added this: write_to_logs_and_console("Inside of loadconfig",NSLOG_INFO_MESSAGE,TRUE); As well as in a couple of other places. My assumption is that it should write an entry to /var/log/messages when this function is called. Perhaps the function is being called, but this line is not writing to where I expect. It seems that other than the init/deinit functions, nothing else is getting called. I loaded another NEB module that has this: snprintf(temp_buffer,sizeof(temp_buffer)-1,"EVENT: %d MESSAGE: %s",event_type,tmp_service->plugin_output); write_to_all_logs(temp_buffer,NSLOG_INFO_MESSAGE); These messages are getting writting to the /var/log/messages. I am at a loss as to where to look next. Any help is greatly appreaciated. Regards, Jim Mohr ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_idv37&alloc_id865&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 JoeRegular at gov.nl.ca Thu Nov 24 20:37:46 2005 From: JoeRegular at gov.nl.ca (Joe Regular) Date: Thu, 24 Nov 2005 16:07:46 -0330 Subject: Multiple hostextinfo.cfg files Message-ID: I currently have a Nagios system setup to monitor 1950 services on 450 hosts. For obvious reasons, we have multiple host.cfg and service.cfg files. Now the everything is being monitored, I've decided to "pretty up" the look of the system by adding images to the status map using the hostextinfo.cfg file. Is there any way to use multiple hostextinfo.cfg files? Joe ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_idv37&alloc_id865&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 james.mohr at elaxy.com Thu Nov 24 22:26:34 2005 From: james.mohr at elaxy.com (Mohr James) Date: Thu, 24 Nov 2005 22:26:34 +0100 Subject: AW: Nagios-db mysql module not working UPDATE Message-ID: I realized that I was actually compiling it against Nagios2.0b3. So I fixed the Makefile like this: gcc -g -O2 -Wall -o inserter.o inserter.c -shared -I/opt/INSTALL/nagios/nagios-2.0b5/include/ -I/usr/include/mysql -lmysqlclient -fPIC This gave me several messages like this: inserter.c: In function `loadconfig': inserter.c:345: warning: passing arg 3 of `neb_register_callback' makes integer from pointer without a cast inserter.c:345: error: too few arguments to function `neb_register_callback' There were only three arguments passed to neb_register_callback, although per nebmods.c it should be expecting 4: int neb_register_callback(int callback_type, void *mod_handle, int priority, int (*callback_func)(int,void *)){ So I changed inserter.c accordingly: neb_register_callback(NEBCALLBACK_TIMED_EVENT_DATA,loadconfig, 0, loadconfig); neb_register_callback(NEBCALLBACK_HOST_STATUS_DATA,processStatus, 0, processStatus); neb_register_callback(NEBCALLBACK_SERVICE_STATUS_DATA,processStatus, 0, processStatus); neb_register_callback(NEBCALLBACK_HOST_CHECK_DATA,processCheck, 0, processCheck); neb_register_callback(NEBCALLBACK_SERVICE_CHECK_DATA,processCheck, 0, processCheck); In all honesty, I have no idea if this change is correct. It *looks* right, but I am obviously not sure. Any help would be appreaciated. Regards, Jim Mohr -----Urspr?ngliche Nachricht----- Von: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] Im Auftrag von Mohr James Gesendet: Donnerstag, 24. November 2005 20:31 An: Nagios-users at lists.sourceforge.net Betreff: [Nagios-users] Nagios-db mysql module not working Hi All! I have Nagios 2.0b5, nagios-db 0.91 and MySQL 4.1.15, including MySQL-MAX 4.1.15. When Nagios starts I see the module is loaded ("nagios-db: inserter locked into db") and the appropriate message when nagios shuts down. However, nothing is getting loaded into the database, and I do not see any error messages in /var/log/messages. I have changed inserted.c to reflect the user/password of the database (nagios/nagios) and I can log inusing the mysql command and insert data directly into the tables. I have also tried changing the values (i.e. nagios2/nagios) in the nebmodule_init function and it reports the error "nagios-db: inserter failed to connect to db". This convinces be that at least I am connecting to the database and the username/password are correct. The nagios.cfg has this: event_broker_options=-1 broker_module=/opt/INSTALL/nagios-db-0.91/neb/mysql/inserter.o And the path is correct. Near the top of the loadconfig function I added this: write_to_logs_and_console("Inside of loadconfig",NSLOG_INFO_MESSAGE,TRUE); As well as in a couple of other places. My assumption is that it should write an entry to /var/log/messages when this function is called. Perhaps the function is being called, but this line is not writing to where I expect. It seems that other than the init/deinit functions, nothing else is getting called. I loaded another NEB module that has this: snprintf(temp_buffer,sizeof(temp_buffer)-1,"EVENT: %d MESSAGE: %s",event_type,tmp_service->plugin_output); write_to_all_logs(temp_buffer,NSLOG_INFO_MESSAGE); These messages are getting writting to the /var/log/messages. I am at a loss as to where to look next. Any help is greatly appreaciated. Regards, Jim Mohr ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_idv37&alloc_id865&op=ick _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_idv37&alloc_id865&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 barbereau at gmail.com Thu Nov 24 23:26:52 2005 From: barbereau at gmail.com (=?ISO-8859-1?Q?S=E9bastien_Barbereau?=) Date: Thu, 24 Nov 2005 23:26:52 +0100 Subject: Nagios-db mysql module not working UPDATE In-Reply-To: References: Message-ID: <4e0e33ee0511241426g4f416b75ydeb2ec5a9329578e@mail.gmail.com> hi, here is a patch to the current CVS revision of nagios-db for *postgres*. This patch does: * correct a bug on startup concerning neb_register_callback command change * add some logging messages to help debugging * correct a small typo in handling options (see "offset bugs in option parsing" http://sourceforge.net/mailarchive/message.php?msg_id=12557459 ) * modified neb initialisation so that 'processStart' is called when Nagios starts and not when we have a NEBCALLBACK_TIMED_EVENT_DATA . The problem was that processStart() was called berfore the nagios configuration was loaded and therefor processStart() did not have configuration data available. File is available here: http://www.barbich.net/websvn/wsvn/nagios/nagios/patches/nagios-db/inserter.c.patch?op=file&rev=0&sc=0 Good luck. Seb.B On 11/24/05, Mohr James wrote: > > > I realized that I was actually compiling it against Nagios2.0b3. So I > fixed the Makefile like this: > > gcc -g -O2 -Wall -o inserter.o inserter.c -shared > -I/opt/INSTALL/nagios/nagios-2.0b5/include/ -I/usr/include/mysql > -lmysqlclient -fPIC > > This gave me several messages like this: > > inserter.c: In function `loadconfig': > inserter.c:345: warning: passing arg 3 of `neb_register_callback' makes > integer from pointer without a cast > inserter.c:345: error: too few arguments to function > `neb_register_callback' > > There were only three arguments passed to neb_register_callback, although > per nebmods.c it should be expecting 4: > > int neb_register_callback(int callback_type, void *mod_handle, int > priority, int (*callback_func)(int,void *)){ > > So I changed inserter.c accordingly: > > neb_register_callback(NEBCALLBACK_TIMED_EVENT_DATA,loadconfig, 0, > loadconfig); > neb_register_callback(NEBCALLBACK_HOST_STATUS_DATA,processStatus, > 0, processStatus); > > neb_register_callback(NEBCALLBACK_SERVICE_STATUS_DATA,processStatus, 0, > processStatus); > neb_register_callback(NEBCALLBACK_HOST_CHECK_DATA,processCheck, 0, > processCheck); > neb_register_callback(NEBCALLBACK_SERVICE_CHECK_DATA,processCheck, > 0, processCheck); > > In all honesty, I have no idea if this change is correct. It *looks* > right, but I am obviously not sure. Any help would be appreaciated. > > Regards, > > Jim Mohr > > -----Urspr?ngliche Nachricht----- > Von: nagios-users-admin at lists.sourceforge.net [mailto: > nagios-users-admin at lists.sourceforge.net] Im Auftrag von Mohr James > Gesendet: Donnerstag, 24. November 2005 20:31 > An: Nagios-users at lists.sourceforge.net > Betreff: [Nagios-users] Nagios-db mysql module not working > > Hi All! > > I have Nagios 2.0b5, nagios-db 0.91 and MySQL 4.1.15, including MySQL-MAX > 4.1.15. When Nagios starts I see the module is loaded > ("nagios-db: inserter locked into db") and the appropriate message when > nagios shuts down. However, nothing is getting loaded into the database, and > I do not see any error messages in /var/log/messages. > > I have changed inserted.c to reflect the user/password of the database > (nagios/nagios) and I can log inusing the mysql command and insert data > directly into the tables. I have also tried changing the values (i.e. > nagios2/nagios) in the nebmodule_init function and it reports the error > "nagios-db: inserter failed to connect to db". This convinces be that at > least I am connecting to the database and the username/password are correct. > > The nagios.cfg has this: > > event_broker_options=-1 > broker_module=/opt/INSTALL/nagios-db-0.91/neb/mysql/inserter.o > > And the path is correct. > > Near the top of the loadconfig function I added this: > > write_to_logs_and_console("Inside of > loadconfig",NSLOG_INFO_MESSAGE,TRUE); > > As well as in a couple of other places. > > My assumption is that it should write an entry to /var/log/messages when > this function is called. Perhaps the function is being called, but this line > is not writing to where I expect. It seems that other than the init/deinit > functions, nothing else is getting called. > > I loaded another NEB module that has this: > > snprintf(temp_buffer,sizeof(temp_buffer)-1,"EVENT: %d MESSAGE: > %s",event_type,tmp_service->plugin_output); > write_to_all_logs(temp_buffer,NSLOG_INFO_MESSAGE); > > These messages are getting writting to the /var/log/messages. > > I am at a loss as to where to look next. Any help is greatly appreaciated. > > Regards, > > Jim Mohr > > ------------------------------------------------------- > This SF.net email is sponsored by: Splunk Inc. Do you grep through log > files for problems? Stop! Download the new AJAX search engine that makes > searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! > http://ads.osdn.com/?ad_idv37&alloc_id865&op=ick > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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: Splunk Inc. Do you grep through log > files > for problems? Stop! Download the new AJAX search engine that makes > searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! > http://ads.osdn.com/?ad_idv37&alloc_id865&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 > -------------- next part -------------- An HTML attachment was scrubbed... URL: From elze at bytemine.net Fri Nov 25 09:22:51 2005 From: elze at bytemine.net (David Elze) Date: Fri, 25 Nov 2005 09:22:51 +0100 Subject: About check_by_ssh In-Reply-To: <5.0.2.1.2.20051125074852.00b14f08@mailhost.irit.fr> References: <5.0.2.1.2.20051124164226.00b149c8@mailhost.irit.fr> <5.0.2.1.2.20051124164226.00b149c8@mailhost.irit.fr> <5.0.2.1.2.20051125074852.00b14f08@mailhost.irit.fr> Message-ID: <1132906971.3095.10.camel@aero64.datenschrott.de> Am Freitag, den 25.11.2005, 07:54 +0100 schrieb Jean Frontin: Hey, > check_by_ssh -H $HOSTADDRESS$ -l root -w 3 -C "ps -ef | grep nmbd | grep -v > grep" OK, this can't work out because "-w 3" isn't an argument for check_by_ssh. Just look at the exact output of this command, it will tell you that check_by_ssh can just use the following options: check_by_ssh [-f46] [-t timeout] [-i identity] [-l user] -H -C [-n name] [-s servicelist] [-O outputfile] [-p port] Things like "-w" or "-c" have to be inside the -C command like in the example I gave you last time. > It is false because I obtain a "unknowon argument" for -w. If I run the > same command line without -w 3 it's fine but I havae warnings or unknown > host, I know that it is not the case. Maybe you use some special version of ps but as far as I know -f is an argument that needs a file as parameter!? Anyway, if you want to check if "nmbd" is still running, use something like check_by_ssh -H $HOSTADDRESS$ -l root -C "$plugindir$/check_procs -w 1:2 -c1: -C nmbd" CU David -------------- 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 richard.gliebe at fhv.at Fri Nov 25 10:05:31 2005 From: richard.gliebe at fhv.at (Richard Gliebe) Date: Fri, 25 Nov 2005 10:05:31 +0100 Subject: change Hostnames Message-ID: <1132909531.1012.8.camel@glr-nb.dh.uclv.net> Hi there, I have to change some hostnames in Nagios Version 2.0b3, but I want to keep the histories from these servers. Where do I have to make this changes (we are NOT running Nagios with MySQL or another database which are keeping these informations) thanks Richard -- Richard Gliebe Fachhochschule Vorarlberg GmbH / University for Applied Science Information Services ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637&alloc_id=16865&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 Ludo.Bosmans at aureusim.be Fri Nov 25 10:39:11 2005 From: Ludo.Bosmans at aureusim.be (Ludo Bosmans) Date: Fri, 25 Nov 2005 10:39:11 +0100 Subject: change Hostnames Message-ID: <02769B432700E649B14C0847840DC83B37977A@becompanysrv020.consulting.becompany> Richard, Have a look in the archive log files from Nagios. If you replace the hostname in these archives, history will remain available. Kind regards, ludo -----Original Message----- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Richard Gliebe Sent: vrijdag 25 november 2005 10:06 To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] change Hostnames Hi there, I have to change some hostnames in Nagios Version 2.0b3, but I want to keep the histories from these servers. Where do I have to make this changes (we are NOT running Nagios with MySQL or another database which are keeping these informations) thanks Richard -- Richard Gliebe Fachhochschule Vorarlberg GmbH / University for Applied Science Information Services ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637&alloc_id=16865&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: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_idv37&alloc_id865&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 m.borsani at it.net Fri Nov 25 14:54:27 2005 From: m.borsani at it.net (Marco Borsani) Date: Fri, 25 Nov 2005 14:54:27 +0100 Subject: R: Send SMS in Linux In-Reply-To: <4385E79C.7020902@mindcreations.com> References: <4385E79C.7020902@mindcreations.com> Message-ID: <008801c5f1c7$c238dea0$0900d40a@intranet.it.net> Thanks a lot! I am testing communication between radiomodem and smstools (but not on the nagios server), and looks like good. I have installed smstools on the nagios server, so I need to send directly SMS trought this server. I have to finish all tests without the radiomem connected (it is broken). Do you think that command like follow could be ok? define command{ command_name notify-by-sms command_line /usr/local/bin/sendsms $CONTACTPAGER$ "Service: $SERVICEDESC$\nHost: $HOSTALIAS$\nState: $SERVICESTATE$.\n$OUTPUT$\nDate: $SHORTDATETIME$" } I hope to use sendsms command directly (without a file like sendnagiossms). I like sendsms very much (if it will work like I hope!), so I'd like to install/compile on HP-UX too, but I receive an error like: --------------------------------------------------------- gmake install cd src && gmake - gmake[1]: Entering directory `/var/DEPOT/smstools-1/src' cc -D NOSTATS -c -o extras.o extras.c (Bundled) cc: "extras.h", line 21: warning 5: "const" will become a keyword. (Bundled) cc: "extras.h", line 21: error 1000: Unexpected symbol: "char". (Bundled) cc: "extras.h", line 21: warning 5: "const" will become a keyword. (Bundled) cc: "extras.h", line 21: warning 5: "const" will become a keyword. (Bundled) cc: "extras.h", line 21: warning 5: "const" will become a keyword. (Bundled) cc: error 2017: Cannot recover from earlier errors, terminating. gmake[1]: *** [extras.o] Error 1 gmake[1]: Leaving directory `/var/DEPOT/smstools-1/src' gmake: *** [compile] Error 2 ----------------------------------------------------------- When I compile Nagios with gmake I have no problems! Regards Marco -}-----Messaggio originale----- -}Da: Stefano Coletta [mailto:creator at mindcreations.com] -}Inviato: gioved? 24 novembre 2005 17.18 -}A: Marco Borsani -}Cc: NAGIOS -}Oggetto: Re: [Nagios-users] Send SMS in Linux -} -}Use the SMS Server Tools -}http://smstools.meinemullemaus.de/ -} -}Add this to the misccommands.cfg -} -}define command { -}command_name notify-by-sms -}command_line /bin/echo "/usr/local/bin/sendnagiossms -}$CONTACTPAGER$ \"$NOTIFICATIONTYPE$: Service $SERVICEDESC$ on -}$HOSTALIAS$ is $SERVICESTATE$ ($OUTPUT$) - ?$DATETIME$\"" | -}ssh yourhost } -} -}Replace yourhost with your SMS host where you have to install -}SMS Server tools. -}Note: $CONTACTPAGER has to include country prefix number. -} -}Establish an ssh key trust between nagios user on the nagios -}host and the relative user on the sms server so it will not -}ask for a password. -} -}Then add the command /usr/local/bin/sendnagiossms on the SMS server: -} -}#!/bin/sh -}OLD_MSG_NODATE=`echo $2 | cut -d? -f 1` -}OLD_DATE=`echo $2 | cut -d? -f 2` -}NEW_DATE=`date -d "$OLD_DATE" +"%e-%b %H:%M"` -} -}TEXT="$OLD_MSG_NODATE$NEW_DATE" -}STRIPPED_TEXT=`echo $TEXT | sed -f /usr/local/bin/sendnagiossms.sed` -} -}/usr/local/bin/sendsms $1 "$STRIPPED_TEXT" -} -}and the file for sed /usr/local/bin/sendnagiossms.sed -} -}s/000000/0/g -}s/00000/0/g -}s/?//g -} -}Once you have tested that SMS Server tools is properly -}installed try configuring Nagios to send sms using this -}command instead of notify-by-email -} -}Enjoy -} -}Marco Borsani wrote: -} -}>I all ! -}> -}>I should configure Nagios (on a RedHat Ent 3.0) to send SMS, using a -}>radiomoden connected on a serial port. -}> -}>May someone give me an help ? -}> -}>I suppose that a script/programm is necessary to this -}porpuse, is it true? -}> -}>How do you send SMS from Nagios? -}> -}>Thanks a lot. -}> -}>Marco -}> -}> -}> -}>------------------------------------------------------- -}>This SF.net email is sponsored by: Splunk Inc. Do you grep -}through log -}>files for problems? Stop! Download the new AJAX search engine that -}>makes searching your log files as easy as surfing the web. -}DOWNLOAD SPLUNK! -}>http://ads.osdn.com/?ad_id=7637&alloc_id=16865&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 -}> -}> -} -} -}-- -}Stefano Coletta -} -}http://www.mindcreations.com -} ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_idv37&alloc_id865&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 tom.brown at goodtechnology.com Fri Nov 25 16:38:02 2005 From: tom.brown at goodtechnology.com (Tom Brown) Date: Fri, 25 Nov 2005 15:38:02 +0000 Subject: SNMP - Check Load Message-ID: <43872FDA.8090304@goodtechnology.com> Does anyone have a script that will monitor load of linux boxes using snmp? thanks ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637&alloc_id=16865&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 john at jolet.net Fri Nov 25 16:44:58 2005 From: john at jolet.net (John Jolet) Date: Fri, 25 Nov 2005 09:44:58 -0600 Subject: SNMP - Check Load In-Reply-To: <43872FDA.8090304@goodtechnology.com> References: <43872FDA.8090304@goodtechnology.com> Message-ID: <200511250944.58939.john@jolet.net> Load, yes. cpu, not yet. I used the check_snmp that comes with the plugins with the following command defined in checkcommands.cfg: 'check_load_1' command definition define command{ command_name check_load_1 command_line $USER1$/check_snmp -H $HOSTADDRESS$ -o laLoad.1 -e 5 -w $ARG1$ -c $ARG2$ } that's the 1-minute load. 5 is laLoad.2, and 15 is laLoad.3 > Does anyone have a script that will monitor load of linux boxes using snmp? > > thanks > > > > ------------------------------------------------------- > This SF.net email is sponsored by: Splunk Inc. Do you grep through log > files for problems? Stop! Download the new AJAX search engine that makes > searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! > http://ads.osdn.com/?ad_id=7637&alloc_id=16865&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 -- John Jolet Your On-Demand IT Department 512-762-0729 www.jolet.net john at jolet.net ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637&alloc_id=16865&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 tom.brown at goodtechnology.com Fri Nov 25 17:36:42 2005 From: tom.brown at goodtechnology.com (Tom Brown) Date: Fri, 25 Nov 2005 16:36:42 +0000 Subject: SNMP - Check Load In-Reply-To: <200511250944.58939.john@jolet.net> References: <43872FDA.8090304@goodtechnology.com> <200511250944.58939.john@jolet.net> Message-ID: <43873D9A.8050604@goodtechnology.com> > Load, yes. cpu, not yet. I used the check_snmp that comes with the plugins > with the following command defined in checkcommands.cfg: > > 'check_load_1' command definition > define command{ > command_name check_load_1 > command_line $USER1$/check_snmp -H $HOSTADDRESS$ -o laLoad.1 -e 5 > -w > $ARG1$ -c $ARG2$ > } > > that's the 1-minute load. 5 is laLoad.2, and 15 is laLoad.3 OK thanks - seems to work but do you know where the 'SNMP' string is coming from? eg $ /opt/nagios/libexec/check_snmp -H host -C community -o laLoad.1 -e 5 SNMP OK - 0.31 thanks ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637&alloc_id=16865&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 jhmartin at toger.us Fri Nov 25 17:42:22 2005 From: jhmartin at toger.us (Jason Martin) Date: Fri, 25 Nov 2005 11:42:22 -0500 Subject: VMWare gsx/esx Message-ID: <20051125164222.GA1474@mal.members.linode.com> Is anyone monitoring a VMWare GSX/ESX server with Nagios? If so, could you share what components you are monitoring and with which plugins? Thank you, -Jason Martin -- Is "tired old cliche" one? 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 hvdkooij at vanderkooij.org Fri Nov 25 18:19:44 2005 From: hvdkooij at vanderkooij.org (Hugo van der Kooij) Date: Fri, 25 Nov 2005 18:19:44 +0100 (CET) Subject: SNMP - Check Load In-Reply-To: <43873D9A.8050604@goodtechnology.com> References: <43872FDA.8090304@goodtechnology.com> <200511250944.58939.john@jolet.net> <43873D9A.8050604@goodtechnology.com> Message-ID: On Fri, 25 Nov 2005, Tom Brown wrote: > > Load, yes. cpu, not yet. I used the check_snmp that comes with the plugins > > with the following command defined in checkcommands.cfg: > > > > 'check_load_1' command definition > > define command{ > > command_name check_load_1 > > command_line $USER1$/check_snmp -H $HOSTADDRESS$ -o laLoad.1 -e 5 > > -w > > $ARG1$ -c $ARG2$ > > } > > > > that's the 1-minute load. 5 is laLoad.2, and 15 is laLoad.3 > > OK thanks - seems to work but do you know where the 'SNMP' string is > coming from? eg > > $ /opt/nagios/libexec/check_snmp -H host -C community -o laLoad.1 -e 5 > SNMP OK - 0.31 It seems there are even larger answers possible. I end up with: SNMP OK - 0.37 | UCD-SNMP-MIB::laLoad.2=0.37\uffff\uffff\uffff;;;; Not sure how to tackle thresholds there. Hugo. -- I hate duplicates. Just reply to the relevant mailinglist. hvdkooij at vanderkooij.org http://hvdkooij.xs4all.nl/ Don't meddle in the affairs of magicians, for they are subtle and quick to anger. ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637&alloc_id=16865&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 creator at mindcreations.com Fri Nov 25 18:32:16 2005 From: creator at mindcreations.com (Stefano Coletta) Date: Fri, 25 Nov 2005 18:32:16 +0100 Subject: R: Send SMS in Linux In-Reply-To: <008801c5f1c7$c238dea0$0900d40a@intranet.it.net> References: <008801c5f1c7$c238dea0$0900d40a@intranet.it.net> Message-ID: <43874AA0.1050007@mindcreations.com> Marco Borsani wrote: >Thanks a lot! > >I am testing communication between radiomodem and smstools (but not on the >nagios server), and looks like good. >I have installed smstools on the nagios server, so I need to send directly >SMS trought this server. > >I have to finish all tests without the radiomem connected (it is broken). >Do you think that command like follow could be ok? > >define command{ > command_name notify-by-sms > command_line /usr/local/bin/sendsms $CONTACTPAGER$ "Service: >$SERVICEDESC$\nHost: $HOSTALIAS$\nState: $SERVICESTATE$.\n$OUTPUT$\nDate: >$SHORTDATETIME$" > } > > Yes, you can use this command but the sendnagiossms script is useful to strip a bit the sms message text, like ping with a lot of zeros. Maybe you can create a new script to satisfy your needs retaining the old "stripping" functionality. >I hope to use sendsms command directly (without a file like sendnagiossms). > >I like sendsms very much (if it will work like I hope!), so I'd like to >install/compile on HP-UX too, but I receive an error like: >--------------------------------------------------------- >gmake install >cd src && gmake - >gmake[1]: Entering directory `/var/DEPOT/smstools-1/src' >cc -D NOSTATS -c -o extras.o extras.c >(Bundled) cc: "extras.h", line 21: warning 5: "const" will become a keyword. >(Bundled) cc: "extras.h", line 21: error 1000: Unexpected symbol: "char". >(Bundled) cc: "extras.h", line 21: warning 5: "const" will become a keyword. >(Bundled) cc: "extras.h", line 21: warning 5: "const" will become a keyword. >(Bundled) cc: "extras.h", line 21: warning 5: "const" will become a keyword. >(Bundled) cc: error 2017: Cannot recover from earlier errors, terminating. >gmake[1]: *** [extras.o] Error 1 >gmake[1]: Leaving directory `/var/DEPOT/smstools-1/src' >gmake: *** [compile] Error 2 >----------------------------------------------------------- >When I compile Nagios with gmake I have no problems! > > I can't help you compiling on HP-UX, I've no HP-UX here :) Bye! >Regards >Marco > > >-}-----Messaggio originale----- >-}Da: Stefano Coletta [mailto:creator at mindcreations.com] >-}Inviato: gioved? 24 novembre 2005 17.18 >-}A: Marco Borsani >-}Cc: NAGIOS >-}Oggetto: Re: [Nagios-users] Send SMS in Linux >-} >-}Use the SMS Server Tools >-}http://smstools.meinemullemaus.de/ >-} >-}Add this to the misccommands.cfg >-} >-}define command { >-}command_name notify-by-sms >-}command_line /bin/echo "/usr/local/bin/sendnagiossms >-}$CONTACTPAGER$ \"$NOTIFICATIONTYPE$: Service $SERVICEDESC$ on >-}$HOSTALIAS$ is $SERVICESTATE$ ($OUTPUT$) - ?$DATETIME$\"" | >-}ssh yourhost } >-} >-}Replace yourhost with your SMS host where you have to install >-}SMS Server tools. >-}Note: $CONTACTPAGER has to include country prefix number. >-} >-}Establish an ssh key trust between nagios user on the nagios >-}host and the relative user on the sms server so it will not >-}ask for a password. >-} >-}Then add the command /usr/local/bin/sendnagiossms on the SMS server: >-} >-}#!/bin/sh >-}OLD_MSG_NODATE=`echo $2 | cut -d? -f 1` >-}OLD_DATE=`echo $2 | cut -d? -f 2` >-}NEW_DATE=`date -d "$OLD_DATE" +"%e-%b %H:%M"` >-} >-}TEXT="$OLD_MSG_NODATE$NEW_DATE" >-}STRIPPED_TEXT=`echo $TEXT | sed -f /usr/local/bin/sendnagiossms.sed` >-} >-}/usr/local/bin/sendsms $1 "$STRIPPED_TEXT" >-} >-}and the file for sed /usr/local/bin/sendnagiossms.sed >-} >-}s/000000/0/g >-}s/00000/0/g >-}s/?//g >-} >-}Once you have tested that SMS Server tools is properly >-}installed try configuring Nagios to send sms using this >-}command instead of notify-by-email >-} >-}Enjoy >-} >-}Marco Borsani wrote: >-} >-}>I all ! >-}> >-}>I should configure Nagios (on a RedHat Ent 3.0) to send SMS, using a >-}>radiomoden connected on a serial port. >-}> >-}>May someone give me an help ? >-}> >-}>I suppose that a script/programm is necessary to this >-}porpuse, is it true? >-}> >-}>How do you send SMS from Nagios? >-}> >-}>Thanks a lot. >-}> >-}>Marco >-}> >-}> >-}> >-}>------------------------------------------------------- >-}>This SF.net email is sponsored by: Splunk Inc. Do you grep >-}through log >-}>files for problems? Stop! Download the new AJAX search engine that >-}>makes searching your log files as easy as surfing the web. >-}DOWNLOAD SPLUNK! >-}>http://ads.osdn.com/?ad_id=7637&alloc_id=16865&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 >-}> >-}> >-} >-} >-}-- >-}Stefano Coletta >-} >-}http://www.mindcreations.com >-} > > > -- Stefano Coletta http://www.mindcreations.com ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637&alloc_id=16865&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 djimenez at membersourcecu.org Fri Nov 25 19:47:35 2005 From: djimenez at membersourcecu.org (Daniel Jimenez) Date: Fri, 25 Nov 2005 12:47:35 -0600 Subject: nrpe ver. 2 on AIX 5.2 Message-ID: <83D26BBCAEEB274FA328FE533EF042FE2C954B@exchange.ptt.org> I'm trying to compile the Nagios plugins. I get the following on both the stable and the alpha versions during make: Making all in plugins if gcc -DLOCALEDIR=\"/usr/local/nagios/share/locale\" -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I../lib -I../intl -g -O2 -MT check_disk.o -MD -MP -MF ".deps/check_disk.Tpo" -c -o check_disk.o `test -f 'check_disk.c' || echo './'`check_disk.c; then mv -f ".deps/check_disk.Tpo" ".deps/check_disk.Po"; else rm -f ".deps/check_disk.Tpo"; exit 1; fi if gcc -DLOCALEDIR=\"/usr/local/nagios/share/locale\" -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I../lib -I../intl -g -O2 -MT utils.o -MD -MP -MF ".deps/utils.Tpo" -c -o utils.o `test -f 'utils.c' || echo './'`utils.c; then mv -f ".deps/utils.Tpo" ".deps/utils.Po"; else rm -f ".deps/utils.Tpo"; exit 1; fi if gcc -DLOCALEDIR=\"/usr/local/nagios/share/locale\" -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I../lib -I../intl -g -O2 -MT popen.o -MD -MP -MF ".deps/popen.Tpo" -c -o popen.o `test -f 'popen.c' || echo './'`popen.c; then mv -f ".deps/popen.Tpo" ".deps/popen.Po"; else rm -f ".deps/popen.Tpo"; exit 1; fi gcc -g -O2 -L. -o check_disk check_disk.o utils.o ../lib/libnagiosplug.a popen.o ../intl/libintl.a -liconv ld: 0711-317 ERROR: Undefined symbol: .VA_COPY ld: 0711-345 Use the -bloadmap or -bnoquiet option to obtain more information. collect2: ld returned 8 exit status make: 1254-004 The error code from the last command is 1. Stop. make: 1254-004 The error code from the last command is 1. Stop. make: 1254-004 The error code from the last command is 2. Stop. Any ideas? Thanks, Daniel _____ 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 marc at ena.com Fri Nov 25 21:34:24 2005 From: marc at ena.com (Marc Powell) Date: Fri, 25 Nov 2005 14:34:24 -0600 Subject: Multiple hostextinfo.cfg files Message-ID: > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users- > admin at lists.sourceforge.net] On Behalf Of Joe Regular > Sent: Thursday, November 24, 2005 1:38 PM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Multiple hostextinfo.cfg files > > I currently have a Nagios system setup to monitor 1950 services on 450 > hosts. For obvious reasons, we have multiple host.cfg and service.cfg > files. Now the everything is being monitored, I've decided to "pretty up" > the look of the system by adding images to the status map using the > hostextinfo.cfg file. > > Is there any way to use multiple hostextinfo.cfg files? http://nagios.sourceforge.net/docs/1_0/xedtemplate.html "Template-based extended information definitions are stored in seperate configuration files, apart from the CGI configuration file. In order to tell the CGIs where to find your configuration information, you must add the following directive in your CGI configuration file: xedtemplate_config_file=configuration_file ******* Example: xedtemplate_config_file=/usr/local/nagios/etc/hostextinfo.cfg xedtemplate_config_file=/usr/local/nagios/etc/serviceextinfo.cfg You can split your configuration data into multiple files by adding more than one directive to your CGI configuration file. *******" (emphasis mine). The names and the contents of the files are irrelevant as long as they contain valid hostextinfo{} or serviceextinfo{} definitions. -- Marca ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_idv37&alloc_id865&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 Fri Nov 25 21:38:58 2005 From: marc at ena.com (Marc Powell) Date: Fri, 25 Nov 2005 14:38:58 -0600 Subject: Logged in as ? Message-ID: > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users- > admin at lists.sourceforge.net] On Behalf Of Nigel kendrick > Sent: Thursday, November 24, 2005 8:43 AM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Logged in as ? > > I am having a similar problem to Lori: > > I have had Nagios 1.2 running for nearly two years on a CentOS 3.x > installation but I have just downloaded 1.3, installed it on a new server > running CentoS 4.2 (RHEL4) and copied over the .cfg files. > > All .htaccess and htpasswd files are in place and working properly, the > ScriptAlias and Alias text is in place in /etc/httpd/conf.d/nk.conf > (copied > from the other server), yet I am always shown as 'logged in as ?' > > The nagios directory and all below are owned by apache:nagios > > The only way I can run Nagios is if I turn off authentication - in which > case everything works fine. > > Any ideas? Look in your apache error logs. Almost certainly the .htaccess file in your sbin directory isn't being processed properly. Nagios simply looks at the value of the environment variable REMOTE_USER, set by Apache, to determine who is logged in. Apache is not setting it for scripts accessed in the sbin directory. A less likely problem may be your SELinux restrictions if you have it enabled. Look in /var/log/messages for 'avc denied' messages related to the nagios directories. -- Marc ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_idv37&alloc_id865&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 djimenez at membersourcecu.org Fri Nov 25 22:05:35 2005 From: djimenez at membersourcecu.org (Daniel Jimenez) Date: Fri, 25 Nov 2005 15:05:35 -0600 Subject: nrpe ver. 2 on AIX 5.2 Message-ID: <83D26BBCAEEB274FA328FE533EF042FE2C9552@exchange.ptt.org> Ahh a quick google showed me that I need to run on CVS for this issue to be repaired. Thanks! Daniel _____ From: Daniel Jimenez Sent: Friday, November 25, 2005 12:48 PM To: Ayotunde Itayemi; nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] nrpe ver. 2 on AIX 5.2 I'm trying to compile the Nagios plugins. I get the following on both the stable and the alpha versions during make: Making all in plugins if gcc -DLOCALEDIR=\"/usr/local/nagios/share/locale\" -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I../lib -I../intl -g -O2 -MT check_disk.o -MD -MP -MF ".deps/check_disk.Tpo" -c -o check_disk.o `test -f 'check_disk.c' || echo './'`check_disk.c; then mv -f ".deps/check_disk.Tpo" ".deps/check_disk.Po"; else rm -f ".deps/check_disk.Tpo"; exit 1; fi if gcc -DLOCALEDIR=\"/usr/local/nagios/share/locale\" -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I../lib -I../intl -g -O2 -MT utils.o -MD -MP -MF ".deps/utils.Tpo" -c -o utils.o `test -f 'utils.c' || echo './'`utils.c; then mv -f ".deps/utils.Tpo" ".deps/utils.Po"; else rm -f ".deps/utils.Tpo"; exit 1; fi if gcc -DLOCALEDIR=\"/usr/local/nagios/share/locale\" -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I../lib -I../intl -g -O2 -MT popen.o -MD -MP -MF ".deps/popen.Tpo" -c -o popen.o `test -f 'popen.c' || echo './'`popen.c; then mv -f ".deps/popen.Tpo" ".deps/popen.Po"; else rm -f ".deps/popen.Tpo"; exit 1; fi gcc -g -O2 -L. -o check_disk check_disk.o utils.o ../lib/libnagiosplug.a popen.o ../intl/libintl.a -liconv ld: 0711-317 ERROR: Undefined symbol: .VA_COPY ld: 0711-345 Use the -bloadmap or -bnoquiet option to obtain more information. collect2: ld returned 8 exit status make: 1254-004 The error code from the last command is 1. Stop. make: 1254-004 The error code from the last command is 1. Stop. make: 1254-004 The error code from the last command is 2. Stop. Any ideas? Thanks, Daniel _____ 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 barbereau at gmail.com Fri Nov 25 22:13:46 2005 From: barbereau at gmail.com (=?ISO-8859-1?Q?S=E9bastien_Barbereau?=) Date: Fri, 25 Nov 2005 22:13:46 +0100 Subject: VMWare gsx/esx In-Reply-To: <20051125164222.GA1474@mal.members.linode.com> References: <20051125164222.GA1474@mal.members.linode.com> Message-ID: <4e0e33ee0511251313nc0a2456q590b405d3a00e1e7@mail.gmail.com> Hi Jason, I wrote a short text about this: http://www.barbich.net/websvn/wsvn/nagios/nagios/doc/samples/VMWARE_ESX/README.txt?op=file&rev=0&sc=0 Hope this helps. s.barbereau On 11/25/05, Jason Martin wrote: > > Is anyone monitoring a VMWare GSX/ESX server with Nagios? If so, > could you share what components you are monitoring and with > which plugins? > > Thank you, > -Jason Martin > -- > Is "tired old cliche" one? > This message is PGP/MIME signed. > > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From djimenez at membersourcecu.org Fri Nov 25 22:18:20 2005 From: djimenez at membersourcecu.org (Daniel Jimenez) Date: Fri, 25 Nov 2005 15:18:20 -0600 Subject: nrpe ver. 2 on AIX 5.2 Message-ID: <83D26BBCAEEB274FA328FE533EF042FE2C9553@exchange.ptt.org> Okay with this fixed I get the following # /usr/local/nagios/libexec/check_disk -w 20 -c 10 -p /dev/hd2 INPUT ERROR: C_IDFP (0.000000) should be less than W_IDFP (0.0) and both should be between zero and 100 percent, inclusive for /dev/hd2 check_disk: Could not parse arguments Usage: check_disk -w limit -c limit [-p path | -x device] [-t timeout][-m] [-e] [-W limit] [-K limit] [-v] [-q] Thanks for any help you can provide, Daniel _____ From: Daniel Jimenez Sent: Friday, November 25, 2005 3:06 PM To: Ayotunde Itayemi; nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] nrpe ver. 2 on AIX 5.2 Ahh a quick google showed me that I need to run on CVS for this issue to be repaired. Thanks! Daniel _____ From: Daniel Jimenez Sent: Friday, November 25, 2005 12:48 PM To: Ayotunde Itayemi; nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] nrpe ver. 2 on AIX 5.2 I'm trying to compile the Nagios plugins. I get the following on both the stable and the alpha versions during make: Making all in plugins if gcc -DLOCALEDIR=\"/usr/local/nagios/share/locale\" -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I../lib -I../intl -g -O2 -MT check_disk.o -MD -MP -MF ".deps/check_disk.Tpo" -c -o check_disk.o `test -f 'check_disk.c' || echo './'`check_disk.c; then mv -f ".deps/check_disk.Tpo" ".deps/check_disk.Po"; else rm -f ".deps/check_disk.Tpo"; exit 1; fi if gcc -DLOCALEDIR=\"/usr/local/nagios/share/locale\" -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I../lib -I../intl -g -O2 -MT utils.o -MD -MP -MF ".deps/utils.Tpo" -c -o utils.o `test -f 'utils.c' || echo './'`utils.c; then mv -f ".deps/utils.Tpo" ".deps/utils.Po"; else rm -f ".deps/utils.Tpo"; exit 1; fi if gcc -DLOCALEDIR=\"/usr/local/nagios/share/locale\" -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I../lib -I../intl -g -O2 -MT popen.o -MD -MP -MF ".deps/popen.Tpo" -c -o popen.o `test -f 'popen.c' || echo './'`popen.c; then mv -f ".deps/popen.Tpo" ".deps/popen.Po"; else rm -f ".deps/popen.Tpo"; exit 1; fi gcc -g -O2 -L. -o check_disk check_disk.o utils.o ../lib/libnagiosplug.a popen.o ../intl/libintl.a -liconv ld: 0711-317 ERROR: Undefined symbol: .VA_COPY ld: 0711-345 Use the -bloadmap or -bnoquiet option to obtain more information. collect2: ld returned 8 exit status make: 1254-004 The error code from the last command is 1. Stop. make: 1254-004 The error code from the last command is 1. Stop. make: 1254-004 The error code from the last command is 2. Stop. Any ideas? Thanks, Daniel _____ 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 dturner at wams.com Sat Nov 26 05:37:22 2005 From: dturner at wams.com (David Turner) Date: Fri, 25 Nov 2005 20:37:22 -0800 Subject: New Install Message-ID: <2DBD7451916A8E4F90E64C4F943D5473584327@exchange02.wams.com> Hey Guys, I just tried to install nagios and after I compile it everything looks like it took properly, but it doesn't create the etc directory in the /usr/local/nagios directory. I am running CentOS and the latest stable version of nagios. Any ideas? Thanks any help is much appreciated. David -------------- next part -------------- An HTML attachment was scrubbed... URL: From benny at bennyvision.com Sat Nov 26 05:39:48 2005 From: benny at bennyvision.com (C. Bensend) Date: Fri, 25 Nov 2005 22:39:48 -0600 (CST) Subject: New Install In-Reply-To: <2DBD7451916A8E4F90E64C4F943D5473584327@exchange02.wams.com> References: <2DBD7451916A8E4F90E64C4F943D5473584327@exchange02.wams.com> Message-ID: <56531.63.227.74.41.1132979988.squirrel@webmail.stinkweasel.net> > I just tried to install nagios and after I compile it everything looks > like > it took properly, but it doesn't create the etc directory in the > /usr/local/nagios directory. I am running CentOS and the latest stable > version of nagios. Any ideas? If you did a 'make all', you should have been presented with a list of other install targets you could use. Such as 'make install-config.' ;) Benny -- "NOT WORK SAFE! Extreme animated violence, language, birds, and what appears to be God with a katana." -- SA list ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637&alloc_id=16865&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 aaronhcarr at gmail.com Sat Nov 26 05:44:55 2005 From: aaronhcarr at gmail.com (Aaron Carr) Date: Fri, 25 Nov 2005 23:44:55 -0500 Subject: New Install In-Reply-To: <56531.63.227.74.41.1132979988.squirrel@webmail.stinkweasel.net> References: <2DBD7451916A8E4F90E64C4F943D5473584327@exchange02.wams.com> <56531.63.227.74.41.1132979988.squirrel@webmail.stinkweasel.net> Message-ID: Another option, since you're running CentOS, is to install via RPMs. Check out Dag Wieers' repository @ http://dag.wieers.com/packages/ If you do, make sure to grab the RPMs for both Nagios and the Nagios-plugins. Aaron On 11/25/05, C. Bensend wrote: > > > > I just tried to install nagios and after I compile it everything looks > > like > > it took properly, but it doesn't create the etc directory in the > > /usr/local/nagios directory. I am running CentOS and the latest stable > > version of nagios. Any ideas? > > If you did a 'make all', you should have been presented with a > list of other install targets you could use. > > Such as 'make install-config.' ;) > > Benny > > > -- > "NOT WORK SAFE! Extreme animated violence, language, > birds, and what appears to be God with a katana." -- SA list > > > > ------------------------------------------------------- > This SF.net email is sponsored by: Splunk Inc. Do you grep through log > files > for problems? Stop! Download the new AJAX search engine that makes > searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! > http://ads.osdn.com/?ad_id=7637&alloc_id=16865&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 > -------------- next part -------------- An HTML attachment was scrubbed... URL: From dturner at wams.com Sat Nov 26 05:49:49 2005 From: dturner at wams.com (David Turner) Date: Fri, 25 Nov 2005 20:49:49 -0800 Subject: New Install Message-ID: <2DBD7451916A8E4F90E64C4F943D5473584328@exchange02.wams.com> Awesome. Thanks guys -----Original Message----- From: Aaron Carr [mailto:aaronhcarr at gmail.com] Sent: Friday, November 25, 2005 10:45 PM To: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] New Install Another option, since you're running CentOS, is to install via RPMs. Check out Dag Wieers' repository @ http://dag.wieers.com/packages/ If you do, make sure to grab the RPMs for both Nagios and the Nagios-plugins. Aaron On 11/25/05, C. Bensend > wrote: > I just tried to install nagios and after I compile it everything looks > like > it took properly, but it doesn't create the etc directory in the > /usr/local/nagios directory. I am running CentOS and the latest stable > version of nagios. Any ideas? If you did a 'make all', you should have been presented with a list of other install targets you could use. Such as 'make install-config.' ;) Benny -- "NOT WORK SAFE! Extreme animated violence, language, birds, and what appears to be God with a katana." -- SA list ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637 &alloc_id=16865&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 -------------- next part -------------- An HTML attachment was scrubbed... URL: From dturner at wams.com Sat Nov 26 08:02:06 2005 From: dturner at wams.com (David Turner) Date: Fri, 25 Nov 2005 23:02:06 -0800 Subject: minimal.cfg file Message-ID: <2DBD7451916A8E4F90E64C4F943D5473584329@exchange02.wams.com> I just installed nagios and the online way I could get it started is by commenting out the following lines in the minimal.cfg file The service starts now, but I am wondering why I had to comment out the lines and if it will affect anything. #define command{ # command_name notify-by-email # command_line /usr/bin/printf "%b" "***** Nagios *****\n\nNotificatio n Type: $NOTIFICATIONTYPE$\n\nService: $SERVICEDESC$\nHost: $HOSTALIAS$\nAddress : $HOSTADDRESS$\nState: $SERVICESTATE$\n\nDate/Time: $LONGDATETIME$\n\nAdditiona l Info:\n\n$OUTPUT$" | /bin/mail -s "** $NOTIFICATIONTYPE$ alert - $HOSTALIAS$/$ SERVICEDESC$ is $SERVICESTATE$ **" $CONTACTEMAIL$ # } # This is a sample host notification command that can be used to send email # notifications (about host alerts) to contacts. #define command{ # command_name host-notify-by-email # command_line /usr/bin/printf "%b" "***** Nagios *****\n\nNotificatio n Type: $NOTIFICATIONTYPE$\nHost: $HOSTNAME$\nState: $HOSTSTATE$\nAddress: $HOST ADDRESS$\nInfo: $OUTPUT$\n\nDate/Time: $LONGDATETIME$\n" | /bin/mail -s "Host $H OSTSTATE$ alert for $HOSTNAME$!" $CONTACTEMAIL$ # } # Command to check to see if a host is "alive" (up) by pinging it #define command{ # command_name check-host-alive # command_line $USER1$/check_ping -H $HOSTADDRESS$ -w 99,99% -c 100,10 0% -p 1 # } # Generic command to check a device by pinging it #define command{ # command_name check_ping # command_line $USER1$/check_ping -H $HOSTADDRESS$ -w $ARG1$ -c $ARG2$ -p 5 # } # Command used to check disk space usage on local partitions #define command{ # command_name check_local_disk # command_line $USER1$/check_disk -w $ARG1$ -c $ARG2$ -p $ARG3$ # } # Command used to check the number of currently logged in users on the # local machine #define command{ # command_name check_local_users # command_line $USER1$/check_users -w $ARG1$ -c $ARG2$ # } # Command to check the number of running processing on the local machine #define command{ # command_name check_local_procs # command_line $USER1$/check_procs -w $ARG1$ -c $ARG2$ # } # Command to check the load on the local machine #define command{ # command_name check_local_load # command_line $USER1$/check_load -w $ARG1$ -c $ARG2$ # } -------------- next part -------------- An HTML attachment was scrubbed... URL: From soumya.nambiar at satconet.com Sat Nov 26 08:35:07 2005 From: soumya.nambiar at satconet.com (Soumya Nambiar) Date: Sat, 26 Nov 2005 10:35:07 +0300 Subject: SMS alerts Message-ID: <003101c5f25b$ed4e6210$0702a8c0@stcl.com> Hi all, We have been using Nagios for the past couple of months and it is working great. But due to requests from the management there has been a need to send notifications via sms alerts. E-mail notifications are working fine as well. Well the problem with sms alerts is that currently none of the mobile operators have a email to sms gateway. I was going through some documentation and felt that Gnokii would be a good solution for us. But the problem is that i have really not understood the concept of it. Is there any other option that could be suitable for us? Please help. Soumna ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637&alloc_id=16865&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 az at whoever.org Sat Nov 26 09:09:28 2005 From: az at whoever.org (Az) Date: Sat, 26 Nov 2005 18:09:28 +1000 Subject: SMS alerts In-Reply-To: <003101c5f25b$ed4e6210$0702a8c0@stcl.com> References: <003101c5f25b$ed4e6210$0702a8c0@stcl.com> Message-ID: <43881838.3030302@whoever.org> >Is there any other option that could be suitable for us? > > http://www.meinemullemaus.de/software/smstools/ is another good place to start. That being said, try searching the list archives (http://sourceforge.net/mailarchive/forum.php?forum=nagios-users) as this has been asked many times in the past. Cheers. ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637&alloc_id=16865&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-user at proy.org Sat Nov 26 09:39:11 2005 From: nagios-user at proy.org (Patrick Proy) Date: Sat, 26 Nov 2005 09:39:11 +0100 Subject: SNMP - Check Load In-Reply-To: <43872FDA.8090304@goodtechnology.com> References: <43872FDA.8090304@goodtechnology.com> Message-ID: <20051126083912.5A2D7ABF30@mail.proy.org> http://www.manubulon.com/nagios/snmp_load.html Patrick > -----Message d'origine----- > De : nagios-users-admin at lists.sourceforge.net > [mailto:nagios-users-admin at lists.sourceforge.net] De la part > de Tom Brown > Envoy? : vendredi 25 novembre 2005 16:38 > ? : nagios-users at lists.sourceforge.net > Objet : [Nagios-users] SNMP - Check Load > > Does anyone have a script that will monitor load of linux > boxes using snmp? > > thanks > > > > ------------------------------------------------------- > This SF.net email is sponsored by: Splunk Inc. Do you grep > through log files for problems? Stop! Download the new AJAX > search engine that makes searching your log files as easy as > surfing the web. DOWNLOAD SPLUNK! > http://ads.osdn.com/?ad_id=7637&alloc_id=16865&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: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_idv37&alloc_id865&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 dturner at wams.com Sun Nov 27 01:35:10 2005 From: dturner at wams.com (David Turner) Date: Sat, 26 Nov 2005 16:35:10 -0800 Subject: ifoperstatus plugin error Message-ID: <2DBD7451916A8E4F90E64C4F943D547358432C@exchange02.wams.com> Hey Everyone, I am having a problem with trying to run the check_ifoperstatus plugin. When I try to use it in my services.cfg file my nagios wont restart. It gives me this error nagios: Caught SIGSEGV, shutting down. Any Ideas? Thanks David -------------- next part -------------- An HTML attachment was scrubbed... URL: From john at jolet.net Sun Nov 27 01:59:41 2005 From: john at jolet.net (John Jolet) Date: Sat, 26 Nov 2005 18:59:41 -0600 Subject: ifoperstatus plugin error In-Reply-To: <2DBD7451916A8E4F90E64C4F943D547358432C@exchange02.wams.com> References: <2DBD7451916A8E4F90E64C4F943D547358432C@exchange02.wams.com> Message-ID: <200511261859.41486.john@jolet.net> On Saturday 26 November 2005 18:35, David Turner wrote: > Hey Everyone, > > I am having a problem with trying to run the check_ifoperstatus plugin. > When I try to use it in my services.cfg file my nagios wont restart. It > gives me this error > > nagios: Caught SIGSEGV, shutting down. what does nagios -v /path/to/configs/nagios.cfg tell you? > > Any Ideas? > > Thanks > > David -- John Jolet Your On-Demand IT Department 512-762-0729 www.jolet.net john at jolet.net ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637&alloc_id=16865&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 dturner at wams.com Sun Nov 27 02:08:00 2005 From: dturner at wams.com (David Turner) Date: Sat, 26 Nov 2005 17:08:00 -0800 Subject: ifoperstatus plugin error Message-ID: <2DBD7451916A8E4F90E64C4F943D547358432D@exchange02.wams.com> Doesn't show any errors [root at localhost nagios]# /usr/bin/nagios -v /etc/nagios/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... Running pre-flight check on configuration data... Checking services... Checked 7 services. Checking hosts... Checked 3 hosts. Checking host groups... Checked 1 host groups. Checking service groups... Checked 0 service groups. Checking contacts... Checked 2 contacts. Checking contact groups... Checked 2 contact groups. Checking service escalations... Checked 0 service escalations. Checking service dependencies... Checked 0 service dependencies. Checking host escalations... Checked 0 host escalations. Checking host dependencies... Checked 0 host dependencies. Checking commands... Checked 24 commands. Checking time periods... Checked 1 time periods. Checking extended host info definitions... Checked 0 extended host info definitions. Checking extended service info definitions... Checked 0 extended service info definitions. Checking for circular paths between hosts... Checking for circular host and service dependencies... Checking global event handlers... Checking obsessive compulsive processor commands... Checking misc settings... Total Warnings: 0 Total Errors: 0 Things look okay - No serious problems were detected during the pre-flight check -----Original Message----- From: John Jolet [mailto:john at jolet.net] Sent: Saturday, November 26, 2005 7:00 PM To: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] ifoperstatus plugin error On Saturday 26 November 2005 18:35, David Turner wrote: > Hey Everyone, > > I am having a problem with trying to run the check_ifoperstatus plugin. > When I try to use it in my services.cfg file my nagios wont restart. It > gives me this error > > nagios: Caught SIGSEGV, shutting down. what does nagios -v /path/to/configs/nagios.cfg tell you? > > Any Ideas? > > Thanks > > David -- John Jolet Your On-Demand IT Department 512-762-0729 www.jolet.net john at jolet.net ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637&alloc_id=16865&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: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637&alloc_id=16865&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 hvdkooij at vanderkooij.org Sun Nov 27 10:24:46 2005 From: hvdkooij at vanderkooij.org (Hugo van der Kooij) Date: Sun, 27 Nov 2005 10:24:46 +0100 (CET) Subject: ifoperstatus plugin error In-Reply-To: <2DBD7451916A8E4F90E64C4F943D547358432C@exchange02.wams.com> References: <2DBD7451916A8E4F90E64C4F943D547358432C@exchange02.wams.com> Message-ID: On Sat, 26 Nov 2005, David Turner wrote: > I am having a problem with trying to run the check_ifoperstatus plugin. > When I try to use it in my services.cfg file my nagios wont restart. It > gives me this error > > nagios: Caught SIGSEGV, shutting down. Can you start the plugin manually with the same options? How did you install Nagios? Source or prepackaged? On what are you running Nagios? ...... Hugo. -- I hate duplicates. Just reply to the relevant mailinglist. hvdkooij at vanderkooij.org http://hvdkooij.xs4all.nl/ Don't meddle in the affairs of magicians, for they are subtle and quick to anger. ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637&alloc_id=16865&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 dturner at wams.com Sun Nov 27 10:31:30 2005 From: dturner at wams.com (David Turner) Date: Sun, 27 Nov 2005 01:31:30 -0800 Subject: ifoperstatus plugin error Message-ID: <2DBD7451916A8E4F90E64C4F943D547358432E@exchange02.wams.com> Hey Hugo, I got it fixed now. I installed it with a package first. Then I decided to install it from source and that seemed to fix it. I kept all my config files and reused them after I install the source. Its working great now. I am sure I will have some more questions tomorrow though... I haven't started messing with the notifications yet. Thanks again David -----Original Message----- From: Hugo van der Kooij [mailto:hvdkooij at vanderkooij.org] Sent: Sunday, November 27, 2005 3:25 AM To: 'nagios-users at lists.sourceforge.net' Subject: Re: [Nagios-users] ifoperstatus plugin error On Sat, 26 Nov 2005, David Turner wrote: > I am having a problem with trying to run the check_ifoperstatus plugin. > When I try to use it in my services.cfg file my nagios wont restart. It > gives me this error > > nagios: Caught SIGSEGV, shutting down. Can you start the plugin manually with the same options? How did you install Nagios? Source or prepackaged? On what are you running Nagios? ...... Hugo. -- I hate duplicates. Just reply to the relevant mailinglist. hvdkooij at vanderkooij.org http://hvdkooij.xs4all.nl/ Don't meddle in the affairs of magicians, for they are subtle and quick to anger. ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637&alloc_id=16865&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: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637&alloc_id=16865&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 Sun Nov 27 21:30:08 2005 From: s.shipway at auckland.ac.nz (Steve Shipway) Date: Mon, 28 Nov 2005 09:30:08 +1300 Subject: VMWare gsx/esx In-Reply-To: <20051125164222.GA1474@mal.members.linode.com> References: <20051125164222.GA1474@mal.members.linode.com> Message-ID: <03fc01c5f391$5c4e4cd0$01fea8c0@itss.auckland.ac.nz> >Is anyone monitoring a VMWare GSX/ESX server with Nagios? If >so, could you share what components you are monitoring and >with which plugins? Yes, we are monitoring VMWare using both Nagios and MRTG. I have written the check_esx plugin which is available from Nagiosexchange. There is a later version, though, which fixes a couple of issues and adds some new functionality - email me if you want a copy or I will upload to NagiosExchange later. The ESX SNMP daemon supports much of the host_mib so various checks like CPU can be done via this. I have a number of templates (for both Nagios and MRTG) if you're interested. Steve ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_idv37&alloc_id865&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 steve.wray at cwa.co.nz Mon Nov 28 00:34:34 2005 From: steve.wray at cwa.co.nz (Steve Wray) Date: Mon, 28 Nov 2005 12:34:34 +1300 Subject: wap interface? Message-ID: <438A428A.9010908@cwa.co.nz> Hi there, I'm trying to track down a problem accessing the wap page for nagios. I get the error: 502: Bad gateway though I can access other sites (which are all provided by my telco) With tcpdump I can see network traffic coming in from the telco gateway when I connect to that URL with my phone, but the apache logs show nothing at all; no connections, no errors, nothing. I don't see any indication that I need to do anything special in nagios.cfg nor cgi.cfg Thanks! -- There is nothing more important to good government than good education. ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637&alloc_id=16865&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 daviddst at xinus.net Mon Nov 28 00:51:10 2005 From: daviddst at xinus.net (DavidDST) Date: Mon, 28 Nov 2005 00:51:10 +0100 Subject: Soft ok state or flapping Message-ID: <438A466E.7010207@xinus.net> Hi, I've got troubles with some plugins, sometime, these plugins return 0 with "NO OUPUT!", but it's random, and most of the time, it's work like a charm. The problem is when there the plugin return the state Critical, one or two time per day (until I solved the problem), I received a notifcation recovery (with NO OUPUT, not normal) and just after, a critical notification (normal). My question is : it is possible to avoid these kind of messages with a soft ok state, and send a notification only after a soft hard state (after two checks ok for example) ? I know the good way would be to find the bug in the plugins, but I can't reproduce the problem, so, it's very hard for me to solve it. The flap feature could help me in that case ? If yes, how can I configure it (I've read the documentation already) ? Thanks a lot, David. ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637&alloc_id=16865&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 richard.gliebe at fhv.at Mon Nov 28 09:24:40 2005 From: richard.gliebe at fhv.at (Richard Gliebe) Date: Mon, 28 Nov 2005 09:24:40 +0100 Subject: Multiple Interfaces Message-ID: <1133166280.914.36.camel@glr-nb.dh.uclv.net> Hi there, I want to define the hostdependency ;-) Our idea is, when switch A goes down, nagios shouldn't send any alerts from Server B,C,D which are connected on switch A. OK, that shouldn't be a problem. BUT, all of our switches have more than one Network interface, which we are monitoring. We have created one host definition for each interface, like this: [...] 1st interface: # 'sw-a--if-1' host definition define host{ use generic-host ; Name of host template to use host_name sw-a--if-1 alias sw-a--if-1 address 1.2.3.4 check_command check-host-alive max_check_attempts 3 notification_interval 0 notification_period 24x7 notification_options d,u,r contact_groups sys-admins } 2nd interface: # 'sw-a--if-2' host definition define host{ use generic-host ; Name of host template to use host_name sw-a--if-2 alias sw-a--if-2 address 5.6.7.8 check_command check-host-alive max_check_attempts 3 notification_interval 0 notification_period 24x7 notification_options d,u,r contact_groups sys-admins } [...] We also created a global host definition for all switches which have more than one interface. [...] # 'sw-a' host definition define host{ use generic-host ; Name of host template to use host_name sw-a alias sw-a address 1.2.3.4 check_command check-host-alive max_check_attempts 3 notification_interval 0 notification_period 24x7 notification_options n contact_groups sys-admins } [...] Our final idea is, to create a "host_group" for each switch witch more than one interface like: host_group sw-a members sw-a--if-1,sw-a--if-2 and final, the host_group "sw-a" is the 'host_name' in the Hostdependency definition. My question is now, is this possible, if yes, is there any dokumention available. Thanks in advance. Richard -- Richard Gliebe Fachhochschule Vorarlberg GmbH / University for Applied Science Information Services ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637&alloc_id=16865&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 m.borsani at it.net Mon Nov 28 10:26:31 2005 From: m.borsani at it.net (Marco Borsani) Date: Mon, 28 Nov 2005 10:26:31 +0100 Subject: R: R: Send SMS in Linux In-Reply-To: <43874AA0.1050007@mindcreations.com> References: <43874AA0.1050007@mindcreations.com> Message-ID: <009e01c5f3fd$d37a99f0$0900d40a@intranet.it.net> Well, I am testing sendsms with nagios.... In the nagios.log seems that the notification has been sended ------------------------------------ [1133168191] SERVICE NOTIFICATION: test_sms;10.212.12.5 at test;10.212.12.5tcp1;CRITICAL;notify-by-sms;Connection refused by host ------------------------------------ But no SMS was arrived ! test_sms is a contact used to send sms If I run sendsms manually (like sendsms 39329... "test messaged" ) all will run correctly! Any idea ? -}-----Messaggio originale----- -}Da: Stefano Coletta [mailto:creator at mindcreations.com] -}Inviato: venerd? 25 novembre 2005 18.32 -}A: Marco Borsani -}Cc: 'NAGIOS' -}Oggetto: Re: R: [Nagios-users] Send SMS in Linux -} -}Marco Borsani wrote: -} -}>Thanks a lot! -}> -}>I am testing communication between radiomodem and smstools -}(but not on -}>the nagios server), and looks like good. -}>I have installed smstools on the nagios server, so I need to send -}>directly SMS trought this server. -}> -}>I have to finish all tests without the radiomem connected -}(it is broken). -}>Do you think that command like follow could be ok? -}> -}>define command{ -}> command_name notify-by-sms -}> command_line /usr/local/bin/sendsms -}$CONTACTPAGER$ "Service: -}>$SERVICEDESC$\nHost: $HOSTALIAS$\nState: -}$SERVICESTATE$.\n$OUTPUT$\nDate: -}>$SHORTDATETIME$" -}> } -}> -}> -}Yes, you can use this command but the sendnagiossms script is -}useful to strip a bit the sms message text, like ping with a -}lot of zeros. -}Maybe you can create a new script to satisfy your needs -}retaining the old "stripping" functionality. -} -}>I hope to use sendsms command directly (without a file like -}sendnagiossms). -}> -}>I like sendsms very much (if it will work like I hope!), so -}I'd like to -}>install/compile on HP-UX too, but I receive an error like: -}>--------------------------------------------------------- -}>gmake install -}>cd src && gmake - -}>gmake[1]: Entering directory `/var/DEPOT/smstools-1/src' -}>cc -D NOSTATS -c -o extras.o extras.c -}>(Bundled) cc: "extras.h", line 21: warning 5: "const" will -}become a keyword. -}>(Bundled) cc: "extras.h", line 21: error 1000: Unexpected -}symbol: "char". -}>(Bundled) cc: "extras.h", line 21: warning 5: "const" will -}become a keyword. -}>(Bundled) cc: "extras.h", line 21: warning 5: "const" will -}become a keyword. -}>(Bundled) cc: "extras.h", line 21: warning 5: "const" will -}become a keyword. -}>(Bundled) cc: error 2017: Cannot recover from earlier -}errors, terminating. -}>gmake[1]: *** [extras.o] Error 1 -}>gmake[1]: Leaving directory `/var/DEPOT/smstools-1/src' -}>gmake: *** [compile] Error 2 -}>----------------------------------------------------------- -}>When I compile Nagios with gmake I have no problems! -}> -}> -}I can't help you compiling on HP-UX, I've no HP-UX here :) -} -}Bye! -} -} -} -}>Regards -}>Marco -}> -}> -}>-}-----Messaggio originale----- -}>-}Da: Stefano Coletta [mailto:creator at mindcreations.com] -}>-}Inviato: gioved? 24 novembre 2005 17.18 -}>-}A: Marco Borsani -}>-}Cc: NAGIOS -}>-}Oggetto: Re: [Nagios-users] Send SMS in Linux -} -}Use the -}SMS Server -}>Tools -}http://smstools.meinemullemaus.de/ -}>-} -}>-}Add this to the misccommands.cfg -}>-} -}>-}define command { -}>-}command_name notify-by-sms -}>-}command_line /bin/echo -}"/usr/local/bin/sendnagiossms -}>-}$CONTACTPAGER$ \"$NOTIFICATIONTYPE$: Service $SERVICEDESC$ on -}>-}$HOSTALIAS$ is $SERVICESTATE$ ($OUTPUT$) - ?$DATETIME$\"" | -}ssh -}>yourhost } -} -}Replace yourhost with your SMS host where -}you have to -}>install -}SMS Server tools. -}>-}Note: $CONTACTPAGER has to include country prefix number. -}>-} -}>-}Establish an ssh key trust between nagios user on the -}nagios -}host -}>and the relative user on the sms server so it will not -}ask for a -}>password. -}>-} -}>-}Then add the command /usr/local/bin/sendnagiossms on the -}SMS server: -}>-} -}>-}#!/bin/sh -}>-}OLD_MSG_NODATE=`echo $2 | cut -d? -f 1` -}OLD_DATE=`echo -}$2 | cut -d? -}>-f 2` -}NEW_DATE=`date -d "$OLD_DATE" +"%e-%b %H:%M"` -} -}>-}TEXT="$OLD_MSG_NODATE$NEW_DATE" -}>-}STRIPPED_TEXT=`echo $TEXT | sed -f -}/usr/local/bin/sendnagiossms.sed` -}>-} -}/usr/local/bin/sendsms $1 "$STRIPPED_TEXT" -}>-} -}>-}and the file for sed /usr/local/bin/sendnagiossms.sed -} -}>-}s/000000/0/g -}s/00000/0/g -}s/?//g -} -}Once you have tested that -}>SMS Server tools is properly -}installed try configuring -}Nagios to send -}>sms using this -}command instead of notify-by-email -} -}Enjoy -} -}>-}Marco Borsani wrote: -}>-} -}>-}>I all ! -}>-}> -}>-}>I should configure Nagios (on a RedHat Ent 3.0) to send -}SMS, using a -}>-}>radiomoden connected on a serial port. -}>-}> -}>-}>May someone give me an help ? -}>-}> -}>-}>I suppose that a script/programm is necessary to this -}-}porpuse, is -}>it true? -}>-}> -}>-}>How do you send SMS from Nagios? -}>-}> -}>-}>Thanks a lot. -}>-}> -}>-}>Marco -}>-}> -}>-}> -}>-}> -}>-}>------------------------------------------------------- -}>-}>This SF.net email is sponsored by: Splunk Inc. Do you -}grep -}through -}>log -}>files for problems? Stop! Download the new AJAX -}search engine -}>that -}>makes searching your log files as easy as surfing the web. -}>-}DOWNLOAD SPLUNK! -}>-}>http://ads.osdn.com/?ad_id=7637&alloc_id=16865&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 -}> -}> -} -} -}>-}-- -}>-}Stefano Coletta -}>-} -}>-}http://www.mindcreations.com -}>-} -}> -}> -}> -} -} -}-- -}Stefano Coletta -} -}http://www.mindcreations.com -} ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_idv37&alloc_id865&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 chris at aidworld.org Mon Nov 28 11:44:53 2005 From: chris at aidworld.org (Chris Wilson) Date: Mon, 28 Nov 2005 10:44:53 +0000 Subject: R: R: Send SMS in Linux In-Reply-To: <009e01c5f3fd$d37a99f0$0900d40a@intranet.it.net> References: <009e01c5f3fd$d37a99f0$0900d40a@intranet.it.net> Message-ID: <1133174694.9375.9.camel@localhost> Hi Marco, On Mon, 2005-11-28 at 10:26 +0100, Marco Borsani wrote: > If I run sendsms manually (like sendsms 39329... "test messaged" ) all will > run correctly! Did you try running sendsms as the nagios user, rather than as root? If that works, try adding ">/tmp/sms.log 2>&1" to the end of your SMS command (without the quotes), then generate an SMS alert and see what turns up in /tmp/sms.log. Cheers, Chris. -- (aidworld) chris wilson | chief engineer (chris at aidworld.org) ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637&alloc_id=16865&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 baz.bund.de Mon Nov 28 11:51:15 2005 From: nagios at baz.bund.de (Heinz Andernach) Date: Mon, 28 Nov 2005 11:51:15 +0100 Subject: plugin check_load Message-ID: <00bc01c5f409$a7bc0f90$165a1459@pc9022> may be this is interesting plugin check_load (checking the load of the local host) don't work under SuSeLinux 9.2 (i586) 2.6.8 in the form I described with an older machine (SuSe Linux 8.2 2.4.20) there are no problems checking the load using the plugin compiled on the newer machine may be there are similar problems with other plugins, Regards, Heinz Andernach On Thu, 2005-11-24 at 16:06 +0100, Heinz Andernach wrote: Hi, I'm a new user of nagios and have the job to get things running testing the plugin check_load for example with ./check_load -w 10.0,8.0,5.0 -c 15.0,10.0,8.0 I get the response: Warning threshold must be float or float triplet i tried other (or no) delimiter with no effect Heinz > > > > > > ------------------------------------------------------- > > This SF.net email is sponsored by: Splunk Inc. Do you grep through log > files > > for problems? Stop! Download the new AJAX search engine that makes > > searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! > > http://ads.osdn.com/?ad_id=7637&alloc_id=16865&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: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637&alloc_id=16865&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 aitayemi at vmobile-nigeria.com Mon Nov 28 11:56:09 2005 From: aitayemi at vmobile-nigeria.com (Ayotunde Itayemi) Date: Mon, 28 Nov 2005 11:56:09 +0100 Subject: AIX plugins wanted Message-ID: Hi All, Please let me have as many AIX monitoring plugins as is available (both standard and custom) e.g., for monitoring Eppix, Oracle, etc. 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 tom at ecnow.co.uk Mon Nov 28 14:06:26 2005 From: tom at ecnow.co.uk (Tom Hodder) Date: Mon, 28 Nov 2005 13:06:26 +0000 Subject: nagios not running host check_command Message-ID: <20051128130626.w7xzv4rhhc4w48gw@mail.ecnow.co.uk> Hi, I have a basic nagios setup using the rpms; nagios-2.0-0.b4.1.1.el3.test nagios-plugins-1.4-2.1.el3.rf Its running fairly vanilla minimal.cfg, with a separate hosts file. In nagios.cfg host checks are enabled; execute_host_checks=1 I have about 20 servers, for which I have no specific services to monitor, but which I am interested in their host status, ie the check_command in the host entry in the hosts.cfg file is set to check-host-alive. However, it appears that the host check_command is never executed, and availability for the host is always Undetermined - Insufficient Data 1d 0h 0m 0s 100.000% Also the status in Host Status detail is always pending, though there are no other checks configured for this host. If I explicitly add a check-host-alive for the host in a service configuration, then the host appears as up in the Host Status Details list, but obviously I would expect it to appears as UP due to the check_command Any ideas on whether this is the expected behaviour for the check_command directive? Thank, Tom define host{ use generic-host ; Name of host template to use host_name zapp0020 alias zapp0020 address 10.254.1.151 check_command check-host-alive max_check_attempts 10 notification_interval 120 notification_period 24x7 notification_options d,r contact_groups admins } define command{ command_name check-host-alive command_line $USER1$/check_ping -H $HOSTADDRESS$ -w 99,99% -c 100,100% -p 1 } ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637&alloc_id=16865&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 srunschke at abit.de Mon Nov 28 14:32:32 2005 From: srunschke at abit.de (srunschke at abit.de) Date: Mon, 28 Nov 2005 14:32:32 +0100 Subject: Antwort: nagios not running host check_command In-Reply-To: <20051128130626.w7xzv4rhhc4w48gw@mail.ecnow.co.uk> References: <20051128130626.w7xzv4rhhc4w48gw@mail.ecnow.co.uk> Message-ID: nagios-users-admin at lists.sourceforge.net schrieb am 28.11.2005 14:06:26: > I have about 20 servers, for which I have no specific services to monitor, but > which I am interested in their host status, ie the check_command in the host > entry in the hosts.cfg file is set to check-host-alive. > > However, it appears that the host check_command is never executed, and > availability for the host is always Undetermined - Insufficient Data 1d 0h 0m > 0s 100.000% > > Also the status in Host Status detail is always pending, though there are no > other checks configured for this host. > > If I explicitly add a check-host-alive for the host in a service > configuration, > then the host appears as up in the Host Status Details list, but obviously I > would expect it to appears as UP due to the check_command > > Any ideas on whether this is the expected behaviour for the check_command > directive? It is the expected behaviour. Nagios is a network monitoring tool, not a host-only monitoring tool. It actually expects that a host must have a kind of service running to be useful - which is more or less true in 99.99% of the cases ;) Therefor nagios works like this: 1. do the defined service-checks on all defined hosts 2. IF and only IF one of those checks fail, then issue a check_host_alive to see if it's a problem with the service or if the host is down It is safe to assume that a host is alive if its services are responding. Checking the host for being alive again is redundant unless one of its services fail. So you need to set up some kind of services for each host to have them appear as "UP". Though there _is_ a configuration option to enforce check_host_alive checks, but alas I cannot remember it. Your best friend is the documentation in this matter. (or just look through the configfile and check for this particular option) regards sash -------------------------------------------------- Sascha Runschke Netzwerk Administration IT-Services ABIT AG Robert-Bosch-Str. 1 40668 Meerbusch Tel.:+49 (0) 2150.9153.226 Mobil:+49 (0) 173.5419665 mailto:SRunschke at abit.de http://www.abit.net http://www.abit-epos.net --------------------------------- Sicherheitshinweis zur E-Mail Kommunikation / Security note regarding email communication: http://www.abit.net/sicherheitshinweis.html ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637&alloc_id=16865&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 Alethad at unch.unc.edu Mon Nov 28 15:26:35 2005 From: Alethad at unch.unc.edu (Chrietzberg, Aletha) Date: Mon, 28 Nov 2005 09:26:35 -0500 Subject: nrpe ver. 2 on AIX 5.2 (Daniel Jimenez) Message-ID: Daniel, I have been trying to get nagios installed on AIX 5.2 for some time but to no avail. Is there anything you can pass along that may help me? Did you have to install any extra AIX PTFs? I have Perl, gdlib, zlib, gcc and libpng installed. But where I'm getting into trouble is in the running of make on the main Nagios makefile. One of the errors is in regards to gcc warnings on a bunch of undeclared identifiers. I have been battling this for a while but can find no one that can help me. I pick it up and put it down. I am still running the old Netsaint and have been hanging on to that so I can have something. I promise not to take up too much of your time. I just want to get the base running. I can handle the plugins. Any help would be greatly appreciated. Never let the fear of striking out get in your way. Babe Ruth Aletha D Chrietzberg ISD - AIX Tech Services UNC Healthcare (919) 966-4888 ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637&alloc_id=16865&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 mathias at nilings.se Mon Nov 28 15:46:08 2005 From: mathias at nilings.se (Mathias Sundman) Date: Mon, 28 Nov 2005 15:46:08 +0100 (CET) Subject: Antwort: nagios not running host check_command In-Reply-To: References: Message-ID: On Mon, 28 Nov 2005, srunschke at abit.de wrote: > nagios-users-admin at lists.sourceforge.net schrieb am 28.11.2005 14:06:26: > >> I have about 20 servers, for which I have no specific services to >> monitor, but which I am interested in their host status, ie the >> check_command in the host entry in the hosts.cfg file is set to >> check-host-alive. >> >> However, it appears that the host check_command is never executed, and >> availability for the host is always Undetermined - Insufficient Data 1d >> 0h 0m >> 0s 100.000% >> >> Also the status in Host Status detail is always pending, though there >> are no other checks configured for this host. >> >> If I explicitly add a check-host-alive for the host in a service >> configuration, then the host appears as up in the Host Status Details >> list, but obviously I would expect it to appears as UP due to the >> check_command >> >> Any ideas on whether this is the expected behaviour for the >> check_command directive? > > It is the expected behaviour. > Nagios is a network monitoring tool, not a host-only monitoring tool. > It actually expects that a host must have a kind of service running > to be useful - which is more or less true in 99.99% of the cases ;) > Therefor nagios works like this: > > 1. do the defined service-checks on all defined hosts > 2. IF and only IF one of those checks fail, then issue a check_host_alive > to see if it's a problem with the service or if the host is down > > It is safe to assume that a host is alive if its services are responding. > Checking the host for being alive again is redundant unless one of its > services fail. > > So you need to set up some kind of services for each host to have them > appear as "UP". Though there _is_ a configuration option to enforce > check_host_alive checks, but alas I cannot remember it. Your best friend > is the documentation in this matter. (or just look through the configfile > and check for this particular option) You can use check_interval in the host definition to force regular host checks, however the documention says clearly that you should avoid this as much as possible. I'm a little curious to why though. Just as the OP I have a lot of hosts that has to real services, so I only monitor it though a simple ping. Currently I have it setup redundant with a check_ping service and a check_host_alive host check, but I think it would be cleaner to only have regulary scheduled host checks instead. My check_host_alive host command is running: check_fping -H $HOSTADDRESS$ -w 5000,100% -c 5000,100% -n 1 while my check_ping service command is running check_fping -H $HOSTADDRESS$ -w $ARG1$ -c $ARG2$ -n 5 so only one ping packet will be sent for each host check (if the host responds) so the host check should even be faster than my service checks are with my current config. Is it still true that I would get a performance penalty by removing my service checks for these hosts and enabling a regularly scheduled host check instead? If so, why? Or is this statement about it beeing a performace penalty only true when you have other service checks scheduled that is normally executed much faster than the old default host check that would have waited for several pings before returning and thous causing a significant delay? PS: I'm running Nagios 2.0b5 //Mathias ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637&alloc_id=16865&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 djimenez at membersourcecu.org Mon Nov 28 16:44:38 2005 From: djimenez at membersourcecu.org (Daniel Jimenez) Date: Mon, 28 Nov 2005 09:44:38 -0600 Subject: nrpe ver. 2 on AIX 5.2 (Daniel Jimenez) Message-ID: <83D26BBCAEEB274FA328FE533EF042FE2C9557@exchange.ptt.org> I'm actually not installing Nagios, but just NRPE and the plugins. I'm having problems with the most important plugin for my specific environment, which is check_disk. I'm sticking to Linux for my Nagios Core install. -----Original Message----- From: Chrietzberg, Aletha [mailto:Alethad at unch.unc.edu] Sent: Monday, November 28, 2005 8:27 AM To: 'nagios-users at lists.sourceforge.net' Subject: [Nagios-users] RE: nrpe ver. 2 on AIX 5.2 (Daniel Jimenez) Daniel, I have been trying to get nagios installed on AIX 5.2 for some time but to no avail. Is there anything you can pass along that may help me? Did you have to install any extra AIX PTFs? I have Perl, gdlib, zlib, gcc and libpng installed. But where I'm getting into trouble is in the running of make on the main Nagios makefile. One of the errors is in regards to gcc warnings on a bunch of undeclared identifiers. I have been battling this for a while but can find no one that can help me. I pick it up and put it down. I am still running the old Netsaint and have been hanging on to that so I can have something. I promise not to take up too much of your time. I just want to get the base running. I can handle the plugins. Any help would be greatly appreciated. Never let the fear of striking out get in your way. Babe Ruth Aletha D Chrietzberg ISD - AIX Tech Services UNC Healthcare (919) 966-4888 ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637&alloc_id=16865&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: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_idv37&alloc_id865&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 Mon Nov 28 16:45:54 2005 From: kevin.alford at tmctechnologies.com (Kevin Alford) Date: Mon, 28 Nov 2005 10:45:54 -0500 Subject: nrpe ver. 2 on AIX 5.2 (Daniel Jimenez) Message-ID: <49AE1B79542B094CAF5C60333CC8347DFC00B9@WVHQMAIL.tmctechnologies.com> I used the following link to install mine, and it worked fine. I am running AIX 5.2 ML7. http://www.nagiosexchange.org/nagios-users.34.0.html?&tx_maillisttofaq_p i1%5Bmode%5D=1&tx_maillisttofaq_pi1%5BshowUid%5D=12441#childUid12708 Kevin D. Alford Manager, Network and Facility TMC Technologies, Inc. a Global Science & Technology Company -----Original Message----- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Daniel Jimenez Sent: Monday, November 28, 2005 10:45 AM To: Chrietzberg, Aletha; nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] RE: nrpe ver. 2 on AIX 5.2 (Daniel Jimenez) I'm actually not installing Nagios, but just NRPE and the plugins. I'm having problems with the most important plugin for my specific environment, which is check_disk. I'm sticking to Linux for my Nagios Core install. -----Original Message----- From: Chrietzberg, Aletha [mailto:Alethad at unch.unc.edu] Sent: Monday, November 28, 2005 8:27 AM To: 'nagios-users at lists.sourceforge.net' Subject: [Nagios-users] RE: nrpe ver. 2 on AIX 5.2 (Daniel Jimenez) Daniel, I have been trying to get nagios installed on AIX 5.2 for some time but to no avail. Is there anything you can pass along that may help me? Did you have to install any extra AIX PTFs? I have Perl, gdlib, zlib, gcc and libpng installed. But where I'm getting into trouble is in the running of make on the main Nagios makefile. One of the errors is in regards to gcc warnings on a bunch of undeclared identifiers. I have been battling this for a while but can find no one that can help me. I pick it up and put it down. I am still running the old Netsaint and have been hanging on to that so I can have something. I promise not to take up too much of your time. I just want to get the base running. I can handle the plugins. Any help would be greatly appreciated. Never let the fear of striking out get in your way. Babe Ruth Aletha D Chrietzberg ISD - AIX Tech Services UNC Healthcare (919) 966-4888 ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637&alloc_id=16865&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: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_idv37&alloc_id865&op=ick _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_idv37&alloc_id865&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 djimenez at membersourcecu.org Mon Nov 28 16:56:02 2005 From: djimenez at membersourcecu.org (Daniel Jimenez) Date: Mon, 28 Nov 2005 09:56:02 -0600 Subject: nrpe ver. 2 on AIX 5.2 (Daniel Jimenez) Message-ID: <83D26BBCAEEB274FA328FE533EF042FE2C955A@exchange.ptt.org> I did follow the same instructions and as displayed in my previous email, I am unable to use check_disk. Could you show me your command line and output of a check_disk on /dev/hd4? -----Original Message----- From: Kevin Alford [mailto:kevin.alford at tmctechnologies.com] Sent: Monday, November 28, 2005 9:46 AM To: Daniel Jimenez; Chrietzberg, Aletha; nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] RE: nrpe ver. 2 on AIX 5.2 (Daniel Jimenez) I used the following link to install mine, and it worked fine. I am running AIX 5.2 ML7. http://www.nagiosexchange.org/nagios-users.34.0.html?&tx_maillisttofaq_p i1%5Bmode%5D=1&tx_maillisttofaq_pi1%5BshowUid%5D=12441#childUid12708 Kevin D. Alford Manager, Network and Facility TMC Technologies, Inc. a Global Science & Technology Company -----Original Message----- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Daniel Jimenez Sent: Monday, November 28, 2005 10:45 AM To: Chrietzberg, Aletha; nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] RE: nrpe ver. 2 on AIX 5.2 (Daniel Jimenez) I'm actually not installing Nagios, but just NRPE and the plugins. I'm having problems with the most important plugin for my specific environment, which is check_disk. I'm sticking to Linux for my Nagios Core install. -----Original Message----- From: Chrietzberg, Aletha [mailto:Alethad at unch.unc.edu] Sent: Monday, November 28, 2005 8:27 AM To: 'nagios-users at lists.sourceforge.net' Subject: [Nagios-users] RE: nrpe ver. 2 on AIX 5.2 (Daniel Jimenez) Daniel, I have been trying to get nagios installed on AIX 5.2 for some time but to no avail. Is there anything you can pass along that may help me? Did you have to install any extra AIX PTFs? I have Perl, gdlib, zlib, gcc and libpng installed. But where I'm getting into trouble is in the running of make on the main Nagios makefile. One of the errors is in regards to gcc warnings on a bunch of undeclared identifiers. I have been battling this for a while but can find no one that can help me. I pick it up and put it down. I am still running the old Netsaint and have been hanging on to that so I can have something. I promise not to take up too much of your time. I just want to get the base running. I can handle the plugins. Any help would be greatly appreciated. Never let the fear of striking out get in your way. Babe Ruth Aletha D Chrietzberg ISD - AIX Tech Services UNC Healthcare (919) 966-4888 ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637&alloc_id=16865&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: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_idv37&alloc_id865&op=ick _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_idv37&alloc_id865&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 Mon Nov 28 17:08:45 2005 From: kevin.alford at tmctechnologies.com (Kevin Alford) Date: Mon, 28 Nov 2005 11:08:45 -0500 Subject: nrpe ver. 2 on AIX 5.2 (Daniel Jimenez) Message-ID: <49AE1B79542B094CAF5C60333CC8347DFC00C9@WVHQMAIL.tmctechnologies.com> [root at lightning /usr/local/nagios/libexec]# ./check_disk -w 20 -c 10 -p /dev/hd4 DISK OK - free space: / 627 MB (52%);| /=590MB;1196;1206;0;1216 Kevin D. Alford Manager, Network and Facility TMC Technologies, Inc. a Global Science & Technology Company -----Original Message----- From: Daniel Jimenez [mailto:djimenez at membersourcecu.org] Sent: Monday, November 28, 2005 10:56 AM To: Kevin Alford; Chrietzberg, Aletha; nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] RE: nrpe ver. 2 on AIX 5.2 (Daniel Jimenez) I did follow the same instructions and as displayed in my previous email, I am unable to use check_disk. Could you show me your command line and output of a check_disk on /dev/hd4? -----Original Message----- From: Kevin Alford [mailto:kevin.alford at tmctechnologies.com] Sent: Monday, November 28, 2005 9:46 AM To: Daniel Jimenez; Chrietzberg, Aletha; nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] RE: nrpe ver. 2 on AIX 5.2 (Daniel Jimenez) I used the following link to install mine, and it worked fine. I am running AIX 5.2 ML7. http://www.nagiosexchange.org/nagios-users.34.0.html?&tx_maillisttofaq_p i1%5Bmode%5D=1&tx_maillisttofaq_pi1%5BshowUid%5D=12441#childUid12708 Kevin D. Alford Manager, Network and Facility TMC Technologies, Inc. a Global Science & Technology Company -----Original Message----- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Daniel Jimenez Sent: Monday, November 28, 2005 10:45 AM To: Chrietzberg, Aletha; nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] RE: nrpe ver. 2 on AIX 5.2 (Daniel Jimenez) I'm actually not installing Nagios, but just NRPE and the plugins. I'm having problems with the most important plugin for my specific environment, which is check_disk. I'm sticking to Linux for my Nagios Core install. -----Original Message----- From: Chrietzberg, Aletha [mailto:Alethad at unch.unc.edu] Sent: Monday, November 28, 2005 8:27 AM To: 'nagios-users at lists.sourceforge.net' Subject: [Nagios-users] RE: nrpe ver. 2 on AIX 5.2 (Daniel Jimenez) Daniel, I have been trying to get nagios installed on AIX 5.2 for some time but to no avail. Is there anything you can pass along that may help me? Did you have to install any extra AIX PTFs? I have Perl, gdlib, zlib, gcc and libpng installed. But where I'm getting into trouble is in the running of make on the main Nagios makefile. One of the errors is in regards to gcc warnings on a bunch of undeclared identifiers. I have been battling this for a while but can find no one that can help me. I pick it up and put it down. I am still running the old Netsaint and have been hanging on to that so I can have something. I promise not to take up too much of your time. I just want to get the base running. I can handle the plugins. Any help would be greatly appreciated. Never let the fear of striking out get in your way. Babe Ruth Aletha D Chrietzberg ISD - AIX Tech Services UNC Healthcare (919) 966-4888 ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637&alloc_id=16865&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: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_idv37&alloc_id865&op=ick _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_idv37&alloc_id865&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 Alethad at unch.unc.edu Mon Nov 28 17:11:47 2005 From: Alethad at unch.unc.edu (Chrietzberg, Aletha) Date: Mon, 28 Nov 2005 11:11:47 -0500 Subject: nrpe ver. 2 on AIX 5.2 Message-ID: I found out we can't use some of the plugins when I installed Netsaint. I'm assuming that hasn't changed. I'll be glad to cut & paste the script I'm using if you'd like me to do that. I got some AIX plugins/scripts from Chris "The Rocker" and just took those, copied and modified them to my needs. I haven't heard from him in a long while and not sure where he is now. He had a web page for downloading them but I don't have that anymore either. It's very simple but it works for me. They were written for Netsaint originally but it shouldn't matter I wouldn't think. You tell me. Thanks guys for the install link I'll go try it and let you know on that too. Let me know about that plugin or others and I'll be glad send it. I will leave Chris' credits in there since these he did create them. -----Original Message----- From: Daniel Jimenez [mailto:djimenez at membersourcecu.org] Sent: Monday, November 28, 2005 10:56 AM To: Kevin Alford; Chrietzberg, Aletha; nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] RE: nrpe ver. 2 on AIX 5.2 (Daniel Jimenez) I did follow the same instructions and as displayed in my previous email, I am unable to use check_disk. Could you show me your command line and output of a check_disk on /dev/hd4? -----Original Message----- From: Kevin Alford [mailto:kevin.alford at tmctechnologies.com] Sent: Monday, November 28, 2005 9:46 AM To: Daniel Jimenez; Chrietzberg, Aletha; nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] RE: nrpe ver. 2 on AIX 5.2 (Daniel Jimenez) I used the following link to install mine, and it worked fine. I am running AIX 5.2 ML7. http://www.nagiosexchange.org/nagios-users.34.0.html?&tx_maillisttofaq_p i1%5Bmode%5D=1&tx_maillisttofaq_pi1%5BshowUid%5D=12441#childUid12708 Kevin D. Alford Manager, Network and Facility TMC Technologies, Inc. a Global Science & Technology Company -----Original Message----- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Daniel Jimenez Sent: Monday, November 28, 2005 10:45 AM To: Chrietzberg, Aletha; nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] RE: nrpe ver. 2 on AIX 5.2 (Daniel Jimenez) I'm actually not installing Nagios, but just NRPE and the plugins. I'm having problems with the most important plugin for my specific environment, which is check_disk. I'm sticking to Linux for my Nagios Core install. -----Original Message----- From: Chrietzberg, Aletha [mailto:Alethad at unch.unc.edu] Sent: Monday, November 28, 2005 8:27 AM To: 'nagios-users at lists.sourceforge.net' Subject: [Nagios-users] RE: nrpe ver. 2 on AIX 5.2 (Daniel Jimenez) Daniel, I have been trying to get nagios installed on AIX 5.2 for some time but to no avail. Is there anything you can pass along that may help me? Did you have to install any extra AIX PTFs? I have Perl, gdlib, zlib, gcc and libpng installed. But where I'm getting into trouble is in the running of make on the main Nagios makefile. One of the errors is in regards to gcc warnings on a bunch of undeclared identifiers. I have been battling this for a while but can find no one that can help me. I pick it up and put it down. I am still running the old Netsaint and have been hanging on to that so I can have something. I promise not to take up too much of your time. I just want to get the base running. I can handle the plugins. Any help would be greatly appreciated. Never let the fear of striking out get in your way. Babe Ruth Aletha D Chrietzberg ISD - AIX Tech Services UNC Healthcare (919) 966-4888 ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637&alloc_id=16865&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: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_idv37&alloc_id865&op=ick _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637&alloc_id=16865&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 roux.emmanuel at gmail.com Mon Nov 28 17:20:54 2005 From: roux.emmanuel at gmail.com (Emmanuel Roux) Date: Mon, 28 Nov 2005 17:20:54 +0100 Subject: VMWare gsx/esx Message-ID: <478bd3690511280820k4b94e7f3t@mail.gmail.com> Steve wrote: >Yes, we are monitoring VMWare using both Nagios and MRTG. >I have written the check_esx plugin which is available from = >Nagiosexchange. >There is a later version, though, which fixes a couple of issues and = >adds >some new functionality - email me if you want a copy or I will upload to >NagiosExchange later. Hello, I get unfortunaly for all my queries: Error: Unable to retrieve SNMP VM data Searching in the Code i saw a variable : my($VMOID) = "1.3.6.1.4.1.6876"; But with the snmpwalk i can't find 1.3.6.1.4.1.6876 or enterprises.6876 OID, maybe they changed it in the version ESX 2.5.2 i Used, but i can't find the good OID. Any Ideas ? Thanks a lot, Emmanuel ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_idv37&alloc_id865&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 Mon Nov 28 17:24:27 2005 From: kevin.alford at tmctechnologies.com (Kevin Alford) Date: Mon, 28 Nov 2005 11:24:27 -0500 Subject: nrpe ver. 2 on AIX 5.2 (Daniel Jimenez) Message-ID: <49AE1B79542B094CAF5C60333CC8347DFC00DD@WVHQMAIL.tmctechnologies.com> I know that the plugin is working right. [root at lightning /usr/local/nagios/libexec]# /usr/local/nagios/libexec/check_disk -w 20% -c 10% -p /dev/lvingestenv DISK CRITICAL - free space: /ingest_env 2349 MB (9%);| /ingest_env=22996MB;20275;22809;0;25344 I ran it against a filesystem that has a lot of data in it and received the critical warning. Kevin D. Alford Manager, Network and Facility TMC Technologies, Inc. a Global Science & Technology Company -----Original Message----- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Kevin Alford Sent: Monday, November 28, 2005 11:09 AM To: Daniel Jimenez; Chrietzberg, Aletha; nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] RE: nrpe ver. 2 on AIX 5.2 (Daniel Jimenez) [root at lightning /usr/local/nagios/libexec]# ./check_disk -w 20 -c 10 -p /dev/hd4 DISK OK - free space: / 627 MB (52%);| /=590MB;1196;1206;0;1216 Kevin D. Alford Manager, Network and Facility TMC Technologies, Inc. a Global Science & Technology Company -----Original Message----- From: Daniel Jimenez [mailto:djimenez at membersourcecu.org] Sent: Monday, November 28, 2005 10:56 AM To: Kevin Alford; Chrietzberg, Aletha; nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] RE: nrpe ver. 2 on AIX 5.2 (Daniel Jimenez) I did follow the same instructions and as displayed in my previous email, I am unable to use check_disk. Could you show me your command line and output of a check_disk on /dev/hd4? -----Original Message----- From: Kevin Alford [mailto:kevin.alford at tmctechnologies.com] Sent: Monday, November 28, 2005 9:46 AM To: Daniel Jimenez; Chrietzberg, Aletha; nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] RE: nrpe ver. 2 on AIX 5.2 (Daniel Jimenez) I used the following link to install mine, and it worked fine. I am running AIX 5.2 ML7. http://www.nagiosexchange.org/nagios-users.34.0.html?&tx_maillisttofaq_p i1%5Bmode%5D=1&tx_maillisttofaq_pi1%5BshowUid%5D=12441#childUid12708 Kevin D. Alford Manager, Network and Facility TMC Technologies, Inc. a Global Science & Technology Company -----Original Message----- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Daniel Jimenez Sent: Monday, November 28, 2005 10:45 AM To: Chrietzberg, Aletha; nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] RE: nrpe ver. 2 on AIX 5.2 (Daniel Jimenez) I'm actually not installing Nagios, but just NRPE and the plugins. I'm having problems with the most important plugin for my specific environment, which is check_disk. I'm sticking to Linux for my Nagios Core install. -----Original Message----- From: Chrietzberg, Aletha [mailto:Alethad at unch.unc.edu] Sent: Monday, November 28, 2005 8:27 AM To: 'nagios-users at lists.sourceforge.net' Subject: [Nagios-users] RE: nrpe ver. 2 on AIX 5.2 (Daniel Jimenez) Daniel, I have been trying to get nagios installed on AIX 5.2 for some time but to no avail. Is there anything you can pass along that may help me? Did you have to install any extra AIX PTFs? I have Perl, gdlib, zlib, gcc and libpng installed. But where I'm getting into trouble is in the running of make on the main Nagios makefile. One of the errors is in regards to gcc warnings on a bunch of undeclared identifiers. I have been battling this for a while but can find no one that can help me. I pick it up and put it down. I am still running the old Netsaint and have been hanging on to that so I can have something. I promise not to take up too much of your time. I just want to get the base running. I can handle the plugins. Any help would be greatly appreciated. Never let the fear of striking out get in your way. Babe Ruth Aletha D Chrietzberg ISD - AIX Tech Services UNC Healthcare (919) 966-4888 ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637&alloc_id=16865&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: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_idv37&alloc_id865&op=ick _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_idv37&alloc_id865&op=ick _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_idv37&alloc_id865&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 jessed at 180solutions.com Mon Nov 28 17:25:59 2005 From: jessed at 180solutions.com (Jesse Driskill) Date: Mon, 28 Nov 2005 08:25:59 -0800 Subject: Nagios 2.0b3: Notification for Parents only, not children Message-ID: Hello, I've been trying to reduce the number of hosts I get notifications for to one when a parent dies. For example, if a set of server all have the same parent and that parents goes down I'd like to only get notified on the parent going down, not all the children. I have parents defined for every host in my environment but I still get notifications for both the children and the parents, so I think I've missed something. I've considered setting up host dependencies but it looks like that would be overkill for this, besides, creating dependency definition for every hop containing the proper children from that checking servers point of view would be time consuming and error prone at the least. Inheritance would make it better of course but How is this normally handled? If host dependencies are necessary what is the purpose of defining 'parents' under host definitions? I see that the documentation states that host dependencies should not be confused with parents and only parents are usually necessary, but they don't seem to be limiting my notifications when a VPN tunnel to a remote site goes down. (for example) Any help would be greatly appreciated. Thank you, Jesse -------------- next part -------------- An HTML attachment was scrubbed... URL: From Alethad at unch.unc.edu Mon Nov 28 17:31:24 2005 From: Alethad at unch.unc.edu (Chrietzberg, Aletha) Date: Mon, 28 Nov 2005 11:31:24 -0500 Subject: nrpe ver. 2 on AIX 5.2 Message-ID: I went to the link you gave but I don't see a discussion on installing Nagios base on AIX 5.2. I do see the nrpe install but I thought you had to have Nagios running somewhere to use this. I am an AIX only shop. Or did I misunderstand/misread something in your answer? -----Original Message----- From: Kevin Alford [mailto:kevin.alford at tmctechnologies.com] Sent: Monday, November 28, 2005 10:46 AM To: Daniel Jimenez; Chrietzberg, Aletha; nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] RE: nrpe ver. 2 on AIX 5.2 (Daniel Jimenez) I used the following link to install mine, and it worked fine. I am running AIX 5.2 ML7. http://www.nagiosexchange.org/nagios-users.34.0.html?&tx_maillisttofaq_p i1%5Bmode%5D=1&tx_maillisttofaq_pi1%5BshowUid%5D=12441#childUid12708 Kevin D. Alford Manager, Network and Facility TMC Technologies, Inc. a Global Science & Technology Company -----Original Message----- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Daniel Jimenez Sent: Monday, November 28, 2005 10:45 AM To: Chrietzberg, Aletha; nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] RE: nrpe ver. 2 on AIX 5.2 (Daniel Jimenez) I'm actually not installing Nagios, but just NRPE and the plugins. I'm having problems with the most important plugin for my specific environment, which is check_disk. I'm sticking to Linux for my Nagios Core install. -----Original Message----- From: Chrietzberg, Aletha [mailto:Alethad at unch.unc.edu] Sent: Monday, November 28, 2005 8:27 AM To: 'nagios-users at lists.sourceforge.net' Subject: [Nagios-users] RE: nrpe ver. 2 on AIX 5.2 (Daniel Jimenez) Daniel, I have been trying to get nagios installed on AIX 5.2 for some time but to no avail. Is there anything you can pass along that may help me? Did you have to install any extra AIX PTFs? I have Perl, gdlib, zlib, gcc and libpng installed. But where I'm getting into trouble is in the running of make on the main Nagios makefile. One of the errors is in regards to gcc warnings on a bunch of undeclared identifiers. I have been battling this for a while but can find no one that can help me. I pick it up and put it down. I am still running the old Netsaint and have been hanging on to that so I can have something. I promise not to take up too much of your time. I just want to get the base running. I can handle the plugins. Any help would be greatly appreciated. Never let the fear of striking out get in your way. Babe Ruth Aletha D Chrietzberg ISD - AIX Tech Services UNC Healthcare (919) 966-4888 ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637&alloc_id=16865&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: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_idv37&alloc_id865&op=ick _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637&alloc_id=16865&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 Alethad at unch.unc.edu Mon Nov 28 17:35:04 2005 From: Alethad at unch.unc.edu (Chrietzberg, Aletha) Date: Mon, 28 Nov 2005 11:35:04 -0500 Subject: nrpe ver. 2 on AIX 5.2 (Daniel Jimenez) Message-ID: This is a duplicate. I didn't reply correctly I don't think. So disregard if you see 2 of these. I went to the link you gave but I don't see a discussion on installing Nagios base on AIX 5.2. I do see the nrpe install but I thought you had to have Nagios running somewhere to use this. I am an AIX only shop. Or did I misunderstand/misread something in your answer? -----Original Message----- From: Kevin Alford [mailto:kevin.alford at tmctechnologies.com] Sent: Monday, November 28, 2005 10:46 AM To: Daniel Jimenez; Chrietzberg, Aletha; nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] RE: nrpe ver. 2 on AIX 5.2 (Daniel Jimenez) I used the following link to install mine, and it worked fine. I am running AIX 5.2 ML7. http://www.nagiosexchange.org/nagios-users.34.0.html?&tx_maillisttofaq_p i1%5Bmode%5D=1&tx_maillisttofaq_pi1%5BshowUid%5D=12441#childUid12708 Kevin D. Alford Manager, Network and Facility TMC Technologies, Inc. a Global Science & Technology Company -----Original Message----- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Daniel Jimenez Sent: Monday, November 28, 2005 10:45 AM To: Chrietzberg, Aletha; nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] RE: nrpe ver. 2 on AIX 5.2 (Daniel Jimenez) I'm actually not installing Nagios, but just NRPE and the plugins. I'm having problems with the most important plugin for my specific environment, which is check_disk. I'm sticking to Linux for my Nagios Core install. -----Original Message----- From: Chrietzberg, Aletha [mailto:Alethad at unch.unc.edu] Sent: Monday, November 28, 2005 8:27 AM To: 'nagios-users at lists.sourceforge.net' Subject: [Nagios-users] RE: nrpe ver. 2 on AIX 5.2 (Daniel Jimenez) Daniel, I have been trying to get nagios installed on AIX 5.2 for some time but to no avail. Is there anything you can pass along that may help me? Did you have to install any extra AIX PTFs? I have Perl, gdlib, zlib, gcc and libpng installed. But where I'm getting into trouble is in the running of make on the main Nagios makefile. One of the errors is in regards to gcc warnings on a bunch of undeclared identifiers. I have been battling this for a while but can find no one that can help me. I pick it up and put it down. I am still running the old Netsaint and have been hanging on to that so I can have something. I promise not to take up too much of your time. I just want to get the base running. I can handle the plugins. Any help would be greatly appreciated. Never let the fear of striking out get in your way. Babe Ruth Aletha D Chrietzberg ISD - AIX Tech Services UNC Healthcare (919) 966-4888 ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637&alloc_id=16865&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: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_idv37&alloc_id865&op=ick _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637&alloc_id=16865&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 Alethad at unch.unc.edu Mon Nov 28 17:36:23 2005 From: Alethad at unch.unc.edu (Chrietzberg, Aletha) Date: Mon, 28 Nov 2005 11:36:23 -0500 Subject: nrpe ver. 2 on AIX 5.2 (Daniel Jimenez) Message-ID: This is a duplicate. I didn't reply correctly I don't think. So disregard if you see 2 of these. ---------------------------------------------------------------------------- ------------ I found out we can't use some of the plugins when I installed Netsaint. I'm assuming that hasn't changed, I don't know yet. I'll be glad to cut & paste the script I'm using if you'd like me to do that. I got some AIX plugins/scripts from Chris "The Rocker" a long time ago and just took those, copied and modified them to my needs. I haven't heard from him in a long while and not sure where he is now. He had a web page for downloading them but I don't have that anymore either. It's very simple but it works for me. They were written for Netsaint originally but it shouldn't matter I wouldn't think. You tell me. Thanks guys for the install link I'll go try it and let you know on that too. Let me know about that plugin or others and I'll be glad send it. I will leave Chris' credits in there since these he did create them. -----Original Message----- From: Daniel Jimenez [mailto:djimenez at membersourcecu.org] Sent: Monday, November 28, 2005 10:56 AM To: Kevin Alford; Chrietzberg, Aletha; nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] RE: nrpe ver. 2 on AIX 5.2 (Daniel Jimenez) I did follow the same instructions and as displayed in my previous email, I am unable to use check_disk. Could you show me your command line and output of a check_disk on /dev/hd4? -----Original Message----- From: Kevin Alford [mailto:kevin.alford at tmctechnologies.com] Sent: Monday, November 28, 2005 9:46 AM To: Daniel Jimenez; Chrietzberg, Aletha; nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] RE: nrpe ver. 2 on AIX 5.2 (Daniel Jimenez) I used the following link to install mine, and it worked fine. I am running AIX 5.2 ML7. http://www.nagiosexchange.org/nagios-users.34.0.html?&tx_maillisttofaq_p i1%5Bmode%5D=1&tx_maillisttofaq_pi1%5BshowUid%5D=12441#childUid12708 Kevin D. Alford Manager, Network and Facility TMC Technologies, Inc. a Global Science & Technology Company -----Original Message----- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Daniel Jimenez Sent: Monday, November 28, 2005 10:45 AM To: Chrietzberg, Aletha; nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] RE: nrpe ver. 2 on AIX 5.2 (Daniel Jimenez) I'm actually not installing Nagios, but just NRPE and the plugins. I'm having problems with the most important plugin for my specific environment, which is check_disk. I'm sticking to Linux for my Nagios Core install. -----Original Message----- From: Chrietzberg, Aletha [mailto:Alethad at unch.unc.edu] Sent: Monday, November 28, 2005 8:27 AM To: 'nagios-users at lists.sourceforge.net' Subject: [Nagios-users] RE: nrpe ver. 2 on AIX 5.2 (Daniel Jimenez) Daniel, I have been trying to get nagios installed on AIX 5.2 for some time but to no avail. Is there anything you can pass along that may help me? Did you have to install any extra AIX PTFs? I have Perl, gdlib, zlib, gcc and libpng installed. But where I'm getting into trouble is in the running of make on the main Nagios makefile. One of the errors is in regards to gcc warnings on a bunch of undeclared identifiers. I have been battling this for a while but can find no one that can help me. I pick it up and put it down. I am still running the old Netsaint and have been hanging on to that so I can have something. I promise not to take up too much of your time. I just want to get the base running. I can handle the plugins. Any help would be greatly appreciated. Never let the fear of striking out get in your way. Babe Ruth Aletha D Chrietzberg ISD - AIX Tech Services UNC Healthcare (919) 966-4888 ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637&alloc_id=16865&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: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_idv37&alloc_id865&op=ick _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637&alloc_id=16865&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 Joseph.Petrucci at ddiworld.com Mon Nov 28 17:37:53 2005 From: Joseph.Petrucci at ddiworld.com (Petrucci, Joseph) Date: Mon, 28 Nov 2005 11:37:53 -0500 Subject: nrpe ver. 2 on AIX 5.2 Message-ID: Last time I was in an AIX shop, there was a Linux tools for AIX CD that came with 5.2. load GCC from there then get a source copy of Nagios and try to compile it. you might have to load on a few more libraries but I do not think so. >-----Original Message----- >From: nagios-users-admin at lists.sourceforge.net >[mailto:nagios-users-admin at lists.sourceforge.net]On Behalf Of >Chrietzberg, Aletha >Sent: Monday, November 28, 2005 11:31 AM >To: 'Kevin Alford'; Daniel Jimenez; Chrietzberg, Aletha; >nagios-users at lists.sourceforge.net >Subject: RE: [Nagios-users] RE: nrpe ver. 2 on AIX 5.2 > > >I went to the link you gave but I don't see a discussion on installing >Nagios base on AIX 5.2. I do see the nrpe install but I >thought you had to >have Nagios running somewhere to use this. I am an AIX only shop. > >Or did I misunderstand/misread something in your answer? > > > > > >-----Original Message----- >From: Kevin Alford [mailto:kevin.alford at tmctechnologies.com] >Sent: Monday, November 28, 2005 10:46 AM >To: Daniel Jimenez; Chrietzberg, Aletha; >nagios-users at lists.sourceforge.net >Subject: RE: [Nagios-users] RE: nrpe ver. 2 on AIX 5.2 (Daniel Jimenez) > > >I used the following link to install mine, and it worked fine. I am >running AIX 5.2 ML7. > >http://www.nagiosexchange.org/nagios-users.34.0.html?&tx_mailli >sttofaq_p >i1%5Bmode%5D=1&tx_maillisttofaq_pi1%5BshowUid%5D=12441#childUid12708 > > > > >Kevin D. Alford >Manager, >Network and Facility >TMC Technologies, Inc. > >a Global Science & Technology Company > > > > >-----Original Message----- >From: nagios-users-admin at lists.sourceforge.net >[mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Daniel >Jimenez >Sent: Monday, November 28, 2005 10:45 AM >To: Chrietzberg, Aletha; nagios-users at lists.sourceforge.net >Subject: RE: [Nagios-users] RE: nrpe ver. 2 on AIX 5.2 (Daniel Jimenez) > >I'm actually not installing Nagios, but just NRPE and the plugins. I'm >having problems with the most important plugin for my specific >environment, which is check_disk. I'm sticking to Linux for my Nagios >Core install. > >-----Original Message----- >From: Chrietzberg, Aletha [mailto:Alethad at unch.unc.edu] >Sent: Monday, November 28, 2005 8:27 AM >To: 'nagios-users at lists.sourceforge.net' >Subject: [Nagios-users] RE: nrpe ver. 2 on AIX 5.2 (Daniel Jimenez) > >Daniel, >I have been trying to get nagios installed on AIX 5.2 for some time but >to no avail. Is there anything you can pass along that may help me? >Did you have to install any extra AIX PTFs? I have Perl, gdlib, zlib, >gcc >and libpng installed. But where I'm getting into trouble is in the >running >of make on the main Nagios makefile. One of the errors is in regards >to >gcc warnings on a bunch of undeclared identifiers. > >I have been battling this for a while but can find no one that can help >me. >I pick it up and put it down. I am still running the old Netsaint and >have >been hanging on to that so I can have something. > >I promise not to take up too much of your time. I just want >to get the >base running. I can handle the plugins. >Any help would be greatly appreciated. > > > >Never let the fear of striking out get in your way. > Babe Ruth > > >Aletha D Chrietzberg >ISD - AIX Tech Services >UNC Healthcare >(919) 966-4888 > > > > > >------------------------------------------------------- >This SF.net email is sponsored by: Splunk Inc. Do you grep through log >files for problems? Stop! Download the new AJAX search engine that >makes searching your log files as easy as surfing the web. DOWNLOAD >SPLUNK! >http://ads.osdn.com/?ad_id=7637&alloc_id=16865&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: Splunk Inc. Do you grep through log >files for problems? Stop! Download the new AJAX search engine that >makes searching your log files as easy as surfing the web. DOWNLOAD >SPLUNK! >http://ads.osdn.com/?ad_idv37&alloc_id865&op=ick >_______________________________________________ >Nagios-users mailing list >Nagios-users at lists.sourceforge.net >https://lists.sourceforge.net/lists/listinfo/nagios-users >::: 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: Splunk Inc. Do you grep >through log files >for problems? Stop! Download the new AJAX search engine that makes >searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! >http://ads.osdn.com/?ad_id=7637&alloc_id=16865&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: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_idv37&alloc_id865&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 Alethad at unch.unc.edu Mon Nov 28 17:52:57 2005 From: Alethad at unch.unc.edu (Chrietzberg, Aletha) Date: Mon, 28 Nov 2005 11:52:57 -0500 Subject: nrpe ver. 2 on AIX 5.2(Daniel Jimenez) Message-ID: I will try that one. Thanks Joseph. -----Original Message----- From: Petrucci, Joseph [mailto:Joseph.Petrucci at ddiworld.com] Sent: Monday, November 28, 2005 11:38 AM To: Chrietzberg, Aletha; Kevin Alford; Daniel Jimenez; nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] RE: nrpe ver. 2 on AIX 5.2 Last time I was in an AIX shop, there was a Linux tools for AIX CD that came with 5.2. load GCC from there then get a source copy of Nagios and try to compile it. you might have to load on a few more libraries but I do not think so. >-----Original Message----- >From: nagios-users-admin at lists.sourceforge.net >[mailto:nagios-users-admin at lists.sourceforge.net]On Behalf Of >Chrietzberg, Aletha >Sent: Monday, November 28, 2005 11:31 AM >To: 'Kevin Alford'; Daniel Jimenez; Chrietzberg, Aletha; >nagios-users at lists.sourceforge.net >Subject: RE: [Nagios-users] RE: nrpe ver. 2 on AIX 5.2 > > >I went to the link you gave but I don't see a discussion on installing >Nagios base on AIX 5.2. I do see the nrpe install but I >thought you had to >have Nagios running somewhere to use this. I am an AIX only shop. > >Or did I misunderstand/misread something in your answer? > > > > > >-----Original Message----- >From: Kevin Alford [mailto:kevin.alford at tmctechnologies.com] >Sent: Monday, November 28, 2005 10:46 AM >To: Daniel Jimenez; Chrietzberg, Aletha; >nagios-users at lists.sourceforge.net >Subject: RE: [Nagios-users] RE: nrpe ver. 2 on AIX 5.2 (Daniel Jimenez) > > >I used the following link to install mine, and it worked fine. I am >running AIX 5.2 ML7. > >http://www.nagiosexchange.org/nagios-users.34.0.html?&tx_mailli >sttofaq_p >i1%5Bmode%5D=1&tx_maillisttofaq_pi1%5BshowUid%5D=12441#childUid12708 > > > > >Kevin D. Alford >Manager, >Network and Facility >TMC Technologies, Inc. > >a Global Science & Technology Company > > > > >-----Original Message----- >From: nagios-users-admin at lists.sourceforge.net >[mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Daniel >Jimenez >Sent: Monday, November 28, 2005 10:45 AM >To: Chrietzberg, Aletha; nagios-users at lists.sourceforge.net >Subject: RE: [Nagios-users] RE: nrpe ver. 2 on AIX 5.2 (Daniel Jimenez) > >I'm actually not installing Nagios, but just NRPE and the plugins. I'm >having problems with the most important plugin for my specific >environment, which is check_disk. I'm sticking to Linux for my Nagios >Core install. > >-----Original Message----- >From: Chrietzberg, Aletha [mailto:Alethad at unch.unc.edu] >Sent: Monday, November 28, 2005 8:27 AM >To: 'nagios-users at lists.sourceforge.net' >Subject: [Nagios-users] RE: nrpe ver. 2 on AIX 5.2 (Daniel Jimenez) > >Daniel, >I have been trying to get nagios installed on AIX 5.2 for some time but >to no avail. Is there anything you can pass along that may help me? >Did you have to install any extra AIX PTFs? I have Perl, gdlib, zlib, >gcc >and libpng installed. But where I'm getting into trouble is in the >running >of make on the main Nagios makefile. One of the errors is in regards >to >gcc warnings on a bunch of undeclared identifiers. > >I have been battling this for a while but can find no one that can help >me. >I pick it up and put it down. I am still running the old Netsaint and >have >been hanging on to that so I can have something. > >I promise not to take up too much of your time. I just want >to get the >base running. I can handle the plugins. >Any help would be greatly appreciated. > > > >Never let the fear of striking out get in your way. > Babe Ruth > > >Aletha D Chrietzberg >ISD - AIX Tech Services >UNC Healthcare >(919) 966-4888 > > > > > >------------------------------------------------------- >This SF.net email is sponsored by: Splunk Inc. Do you grep through log >files for problems? Stop! Download the new AJAX search engine that >makes searching your log files as easy as surfing the web. DOWNLOAD >SPLUNK! >http://ads.osdn.com/?ad_id=7637&alloc_id=16865&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: Splunk Inc. Do you grep through log >files for problems? Stop! Download the new AJAX search engine that >makes searching your log files as easy as surfing the web. DOWNLOAD >SPLUNK! >http://ads.osdn.com/?ad_idv37&alloc_id865&op=ick >_______________________________________________ >Nagios-users mailing list >Nagios-users at lists.sourceforge.net >https://lists.sourceforge.net/lists/listinfo/nagios-users >::: 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: Splunk Inc. Do you grep >through log files >for problems? Stop! Download the new AJAX search engine that makes >searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! >http://ads.osdn.com/?ad_id=7637&alloc_id=16865&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: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637&alloc_id=16865&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 rouilj at cs.umb.edu Mon Nov 28 18:14:52 2005 From: rouilj at cs.umb.edu (John P. Rouillard) Date: Mon, 28 Nov 2005 12:14:52 -0500 Subject: Nagios 2.0b3: Notification for Parents only, not children In-Reply-To: Your message of "Mon, 28 Nov 2005 08:25:59 PST." References: Message-ID: <200511281714.jASHEqwf020361@mx1.cs.umb.edu> In message , "Jesse Driskill" writes: > I've been trying to reduce the number of hosts I get >notifications for to one when a parent dies. For example, if a set of >server all have the same parent and that parents goes down I'd like to >only get notified on the parent going down, not all the children. I have >parents defined for every host in my environment but I still get >notifications for both the children and the parents, so I think I've >missed something. Check your host_notification_options directive in your contacts object. Are you choosing to get unreachable notifications (u is defined)? http://nagios.sourceforge.net/docs/2_0/xodtemplate.html#contact -- rouilj John Rouillard =========================================================================== My employers don't acknowledge my existence much less my opinions. ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637&alloc_id=16865&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 jessed at 180solutions.com Mon Nov 28 18:32:04 2005 From: jessed at 180solutions.com (Jesse Driskill) Date: Mon, 28 Nov 2005 09:32:04 -0800 Subject: Nagios 2.0b3: Notification for Parents only, not children Message-ID: I did. I didn't realize that would defeat the purpose of the parent entries. Thanks! --jesse -----Original Message----- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of John P. Rouillard Sent: Monday, November 28, 2005 9:15 AM To: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Nagios 2.0b3: Notification for Parents only, not children In message , "Jesse Driskill" writes: > I've been trying to reduce the number of hosts I get >notifications for to one when a parent dies. For example, if a set of >server all have the same parent and that parents goes down I'd like to >only get notified on the parent going down, not all the children. I have >parents defined for every host in my environment but I still get >notifications for both the children and the parents, so I think I've >missed something. Check your host_notification_options directive in your contacts object. Are you choosing to get unreachable notifications (u is defined)? http://nagios.sourceforge.net/docs/2_0/xodtemplate.html#contact -- rouilj John Rouillard ======================================================================== === My employers don't acknowledge my existence much less my opinions. ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637&alloc_id=16865&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: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_idv37&alloc_id865&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 mailinglists at backbonetechnology.com Mon Nov 28 18:45:29 2005 From: mailinglists at backbonetechnology.com (Dustin Krysak) Date: Mon, 28 Nov 2005 09:45:29 -0800 Subject: host checks - which methods Message-ID: <54BFB26C-6B1B-49BB-9777-AA6DCB47D0DD@backbonetechnology.com> Hi there - I was wondering what most people here are using (which plugin) for host checks? I find the example comfig which uses the "check_ping" method sends WAY too many false positives. I understand that this could be a network traffic issue and so on, but I was just curious what others are using. My services never seem to give me any false positives though. Thanks in advance! d ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637&alloc_id=16865&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 Mon Nov 28 21:22:07 2005 From: s.shipway at auckland.ac.nz (Steve Shipway) Date: Tue, 29 Nov 2005 09:22:07 +1300 Subject: VMWare gsx/esx In-Reply-To: <478bd3690511280820k4b94e7f3t@mail.gmail.com> References: <478bd3690511280820k4b94e7f3t@mail.gmail.com> Message-ID: <04ee01c5f459$6786ee90$01fea8c0@itss.auckland.ac.nz> >I get unfortunaly for all my queries: >Error: Unable to retrieve SNMP VM data >Searching in the Code i saw a variable : my($VMOID) = >"1.3.6.1.4.1.6876"; But with the snmpwalk i can't find >1.3.6.1.4.1.6876 or enterprises.6876 OID, I assume that you can retrieve other SNMP details, and that your SNMP daemon is correctly configured. If not, then the solution is obvious :) Also, make sure you are sending the query to the service controller, not to the virtual machine! Also, make sure that your VMWare server is running not only snmpd but also vmware-snmpd (the helper process that does the 6876 enterprise). This should also be hooked in in the snmpd.conf -- if you used the vmware snmp setup script then it should have done this for you. Restart both snmpd and vmware-snmpd (in that order). The SNMP MIB I have for VMWare specifies enterprise 6876, and we use vmware 2.x. Check to see what enterprise yours has. Steve ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_idv37&alloc_id865&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 hvdkooij at vanderkooij.org Mon Nov 28 22:20:43 2005 From: hvdkooij at vanderkooij.org (Hugo van der Kooij) Date: Mon, 28 Nov 2005 22:20:43 +0100 (CET) Subject: host checks - which methods In-Reply-To: <54BFB26C-6B1B-49BB-9777-AA6DCB47D0DD@backbonetechnology.com> References: <54BFB26C-6B1B-49BB-9777-AA6DCB47D0DD@backbonetechnology.com> Message-ID: On Mon, 28 Nov 2005, Dustin Krysak wrote: > Hi there - I was wondering what most people here are using (which > plugin) for host checks? I find the example comfig which uses the > "check_ping" method sends WAY too many false positives. I understand > that this could be a network traffic issue and so on, but I was just > curious what others are using. My services never seem to give me any > false positives though. I think you have a host or network issue at hand. Even over internet I never have an issue with missing a ping. Can you safely say that you do not miss a single ping if run it for an hour? But when in doubt you could always use some available tcp port and check with a connect on that port. Hugo. -- I hate duplicates. Just reply to the relevant mailinglist. hvdkooij at vanderkooij.org http://hvdkooij.xs4all.nl/ Don't meddle in the affairs of magicians, for they are subtle and quick to anger. ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637&alloc_id=16865&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 Millard.Matt at principal.com Mon Nov 28 22:47:23 2005 From: Millard.Matt at principal.com (Millard, Matt) Date: Mon, 28 Nov 2005 15:47:23 -0600 Subject: Nagios2 migration issues $USER1$ Message-ID: I'm in the process of migrating to a new host and Nagios2.0b4. I've ran into a problem where it appears that $USER1$ isn't being recognized. I have it set to /usr/local/nagios/lib/nagios/plugins in resource.cfg, however when I start up nagios I get the following messages in my nagios.log: [1133212865] Warning: Attempting to execute the command "/usr/lib/nagios/plugins/check_host_MATT -H 999.999.999.1 -i 0.5s -p 10 -t 20" resulted in a return code of 127. Make sure the script or binary you are trying to execute actually exists... [1133212865] HOST ALERT: host7;DOWN;SOFT;2;(No output!) [1133212865] Warning: Attempting to execute the command "/usr/lib/nagios/plugins/check_host_MATT -H 999.999.999.1 -i 0.5s -p 10 -t 20" resulted in a return code of 127. Make sure the script or binary you are trying to execute actually exists... [1133212865] HOST ALERT: host7;DOWN;SOFT;3;(No output!) [1133212865] Warning: Attempting to execute the command "/usr/lib/nagios/plugins/check_host_MATT -H 999.999.999..1 -i 0.5s -p 10 -t 20" resulted in a return code of 127. Make sure the script or binary you are trying to execute actually exists... [1133212865] HOST ALERT: host7;DOWN;SOFT;4;(No output!) [1133212865] Warning: Attempting to execute the command "/usr/lib/nagios/plugins/check_host_MATT -H 999.999.999..1 -i 0.5s -p 10 -t 20" resulted in a return code of 127. Make sure the script or binary you are trying to execute actually exists... [1133212865] HOST ALERT: host7;DOWN;HARD;5;(No output!) [1133212865] HOST NOTIFICATION: admins;host7;DOWN;host-notify-by-epager;(No output!) [1133212865] SERVICE ALERT: host7;PING;CRITICAL;HARD;1;(Return code of 127 is out of bounds - plugin may be missing) I've even added the _MATT to verify that it's really pulling the check_host from checkcommands.cfg. Any idea why it's not using my defined $USER1$? >From checkcommands.cfg: define command { command_name check-host-alive command_line $USER1$/check_host_MATT -H $HOSTADDRESS$ -i 0.5s -p 10 -t 20 } >From nagios.cfg resource_file=/usr/local/nagios/etc/nagios/private/resource.cfg >From resource.cfg: # Sets $USER1$ to be the path to the plugins $USER1$=/usr/local/nagios/lib/nagios/plugins Matt -----Message Disclaimer----- This e-mail message is intended only for the use of the individual or entity to which it is addressed, and may contain information that is privileged, confidential and exempt from disclosure under applicable law. If you are not the intended recipient, any dissemination, distribution or copying of this communication is strictly prohibited. If you have received this communication in error, please notify us immediately by reply email to Connect at principal.com and delete or destroy all copies of the original message and attachments thereto. Email sent to or from the Principal Financial Group or any of its member companies may be retained as required by law or regulation. Nothing in this message is intended to constitute an Electronic signature for purposes of the Uniform Electronic Transactions Act (UETA) or the Electronic Signatures in Global and National Commerce Act ("E-Sign") unless a specific statement to the contrary is included in this message. ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_idv37&alloc_id865&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 hvdkooij at vanderkooij.org Mon Nov 28 23:26:49 2005 From: hvdkooij at vanderkooij.org (Hugo van der Kooij) Date: Mon, 28 Nov 2005 23:26:49 +0100 (CET) Subject: Nagios2 migration issues $USER1$ In-Reply-To: References: Message-ID: On Mon, 28 Nov 2005, Millard, Matt wrote: > I'm in the process of migrating to a new host and Nagios2.0b4. I've ran > into a problem where it appears that $USER1$ isn't being recognized. I > have it set to /usr/local/nagios/lib/nagios/plugins in resource.cfg, > however when I start up nagios I get the following messages in my > nagios.log: > > [1133212865] Warning: Attempting to execute the command > "/usr/lib/nagios/plugins/check_host_MATT -H 999.999.999.1 -i 0.5s -p 10 > -t 20" resulted in a return code of 127. Make sure the script or binary > you are trying to execute actually exists... Sounds like you mixed a manual build/install with a packaged version. I suggest you make sure these sort of conflicts are resolved by checking if you start with the right nagios.cfg file to begin with. Hugo. -- I hate duplicates. Just reply to the relevant mailinglist. hvdkooij at vanderkooij.org http://hvdkooij.xs4all.nl/ Don't meddle in the affairs of magicians, for they are subtle and quick to anger. ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637&alloc_id=16865&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 Mon Nov 28 23:30:59 2005 From: raema at osuosl.org (Matt Rae) Date: Mon, 28 Nov 2005 14:30:59 -0800 Subject: want acknowledgement alerts to email acknowledgement note Message-ID: <438B8523.8000903@osuosl.org> I'd like my notify-by-email to report my acknoledgement note when I acknowledge an alert rather than the $SERVICEOUTPUT$. I'm wondering if just using $OUTPUT$ instead of $SERVICEOUTPUT$ would do this but I can't find information about $OUTPUT$ to tell. I've just seen it used in other configs. -- 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 btmanmeh at verizon.net Mon Nov 28 23:32:25 2005 From: btmanmeh at verizon.net (Max) Date: Mon, 28 Nov 2005 17:32:25 -0500 Subject: No output from check_snmp_cisco_memutil Message-ID: <438B8579.1070705@verizon.net> Hi, Is anyone using the check_snmp_cisco_memutil script? I got this off of NagiosExchange and haven't been successful at getting it to function properly. I'm running Nagios 1.2 and I have the appropriate Net::SNMP and other Perl packages installed, because I'm doing a ton of other checks across SNMP. I can run the command from the command line successfully such as: ./check_snmp_cisco_memutil -H myhost -C mycommunity -w 60 -c 65 Status is OK - MEMORY: total: 67.11 MB, used: 27.50 MB (41%), free: 39.61 MB I have defined a command in my checkcommands.cfg as: define command{ command_name snmp_mem command_line $USER1$/check_snmp_cisco_memutil -H $HOSTADDRESS$ -C mycommunity -w 60 -c 65 } Also, I've defined the service in services.cfg: define service{ use basic-service name snmp-mem service_description MEM check_command snmp_mem host_name myhost } Basically, the service MEM I have defined shows up under the host specified, but the plugin fails saying there is no output. I've configured quite a few services in the instance of Nagios I have up and running, so I'm fairly sure it's not my config. I've checked the logs that I know about and there is nothing other than "No output!" Has anyone else had a similar experience? I'm not a Perl programmer so perhaps this script is messed up, but I figured if that were the case though, it wouldn't function from the command line either. About as far as I've gone with changing the script was to make sure that it was actually returning the exit status's that Nagios uses to determine if something is Ok, Warning, or Critical. It seems to be returning those values correctly. Any suggestions? Thanks! Max ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637&alloc_id=16865&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 Mon Nov 28 23:38:06 2005 From: tim at infostream.com.au (Timothy O'Hare) Date: Tue, 29 Nov 2005 09:38:06 +1100 Subject: No output from check_snmp_cisco_memutil In-Reply-To: <438B8579.1070705@verizon.net> References: <438B8579.1070705@verizon.net> Message-ID: <438B86CE.3070302@infostream.com.au> Hi Max, Have you tried running it as the Nagios user i.e. with the same privileges as Nagios? cheers, Tim Max wrote: > Hi, > > Is anyone using the check_snmp_cisco_memutil script? I got this off of > NagiosExchange and haven't been successful at getting it to function > properly. I'm running Nagios 1.2 and I have the appropriate Net::SNMP > and other Perl packages installed, because I'm doing a ton of other > checks across SNMP. I can run the command from the command line > successfully such as: > > ./check_snmp_cisco_memutil -H myhost -C mycommunity -w 60 -c 65 > Status is OK - MEMORY: total: 67.11 MB, used: 27.50 MB (41%), free: > 39.61 MB > > I have defined a command in my checkcommands.cfg as: > > > define command{ > command_name snmp_mem > command_line $USER1$/check_snmp_cisco_memutil -H > $HOSTADDRESS$ -C mycommunity -w 60 -c 65 > } > > Also, I've defined the service in services.cfg: > > define service{ > use basic-service > name snmp-mem > service_description MEM > check_command snmp_mem > host_name myhost > } > > Basically, the service MEM I have defined shows up under the host > specified, but the plugin fails saying there is no output. I've > configured quite a few services in the instance of Nagios I have up and > running, so I'm fairly sure it's not my config. > > I've checked the logs that I know about and there is nothing other than > "No output!" Has anyone else had a similar experience? I'm not a Perl > programmer so perhaps this script is messed up, but I figured if that > were the case though, it wouldn't function from the command line either. > > About as far as I've gone with changing the script was to make sure that > it was actually returning the exit status's that Nagios uses to > determine if something is Ok, Warning, or Critical. It seems to be > returning those values correctly. Any suggestions? Thanks! > > Max > > > ------------------------------------------------------- > This SF.net email is sponsored by: Splunk Inc. Do you grep through log > files > for problems? Stop! Download the new AJAX search engine that makes > searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! > http://ads.osdn.com/?ad_id=7637&alloc_id=16865&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: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637&alloc_id=16865&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 drussell at mpifix.com Mon Nov 28 23:53:04 2005 From: drussell at mpifix.com (Danny Russell) Date: Mon, 28 Nov 2005 15:53:04 -0700 Subject: How to clear out old log info/data 2.0b4 Message-ID: <028B223BB24E5443A9784BBE1CC5EBE06F57CC@Lisa.mpifix.com> I am having a few issues with my Nagios 2.04b. I want to clean out all comments, downtime, check histories and data. Is there a file I can just zero out or should I uninstall and re-install Nagios? Thanks! -------------- next part -------------- An HTML attachment was scrubbed... URL: From msugano at uolinc.com Mon Nov 28 23:53:50 2005 From: msugano at uolinc.com (Marcel Mitsuto Fucatu Sugano) Date: Mon, 28 Nov 2005 20:53:50 -0200 Subject: Disable all services from host commands page? Message-ID: <1133218432.1734.20.camel@localhost> HI. We have distributed monitoring with some distributed Nagios servers sending passive check results to a Master Nagios server, which aggregates alarms. I want to disable all service checks for a host, so these alarms don't appear at the alarms page. I've found that the only way of doing this is by disabling EACH service from receiving passive checks results, but i was seeking for a "one-click" commando to do that. Is it possible? Where should I look at? TIA, -- Marcel Mitsuto Fucatu Sugano Universo Online S.A. -- http://www.uol.com.br ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637&alloc_id=16865&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 dturner at wams.com Tue Nov 29 00:44:40 2005 From: dturner at wams.com (David Turner) Date: Mon, 28 Nov 2005 15:44:40 -0800 Subject: No output from check_snmp_cisco_memutil Message-ID: <2DBD7451916A8E4F90E64C4F943D5473584334@EXCHANGE02> It is working great on my network. What devices are you polling with it? David -----Original Message----- From: Max [mailto:btmanmeh at verizon.net] Sent: Monday, November 28, 2005 4:32 PM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] No output from check_snmp_cisco_memutil Hi, Is anyone using the check_snmp_cisco_memutil script? I got this off of NagiosExchange and haven't been successful at getting it to function properly. I'm running Nagios 1.2 and I have the appropriate Net::SNMP and other Perl packages installed, because I'm doing a ton of other checks across SNMP. I can run the command from the command line successfully such as: ./check_snmp_cisco_memutil -H myhost -C mycommunity -w 60 -c 65 Status is OK - MEMORY: total: 67.11 MB, used: 27.50 MB (41%), free: 39.61 MB I have defined a command in my checkcommands.cfg as: define command{ command_name snmp_mem command_line $USER1$/check_snmp_cisco_memutil -H $HOSTADDRESS$ -C mycommunity -w 60 -c 65 } Also, I've defined the service in services.cfg: define service{ use basic-service name snmp-mem service_description MEM check_command snmp_mem host_name myhost } Basically, the service MEM I have defined shows up under the host specified, but the plugin fails saying there is no output. I've configured quite a few services in the instance of Nagios I have up and running, so I'm fairly sure it's not my config. I've checked the logs that I know about and there is nothing other than "No output!" Has anyone else had a similar experience? I'm not a Perl programmer so perhaps this script is messed up, but I figured if that were the case though, it wouldn't function from the command line either. About as far as I've gone with changing the script was to make sure that it was actually returning the exit status's that Nagios uses to determine if something is Ok, Warning, or Critical. It seems to be returning those values correctly. Any suggestions? Thanks! Max ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637&alloc_id=16865&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: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637&alloc_id=16865&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 Tue Nov 29 00:59:35 2005 From: btmanmeh at verizon.net (Max) Date: Mon, 28 Nov 2005 18:59:35 -0500 Subject: No output from check_snmp_cisco_memutil In-Reply-To: <438B86CE.3070302@infostream.com.au> References: <438B8579.1070705@verizon.net> <438B86CE.3070302@infostream.com.au> Message-ID: <438B99E7.1060206@verizon.net> Timothy O'Hare wrote: > Hi Max, > Have you tried running it as the Nagios user i.e. with the same > privileges as Nagios? > cheers, Tim Yeah, I've logged into a shell as my nagios user with the same result, that's why I'm kind of lost. Max ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637&alloc_id=16865&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 Tue Nov 29 01:04:19 2005 From: btmanmeh at verizon.net (Max) Date: Mon, 28 Nov 2005 19:04:19 -0500 Subject: No output from check_snmp_cisco_memutil In-Reply-To: <2DBD7451916A8E4F90E64C4F943D5473584334@EXCHANGE02> References: <2DBD7451916A8E4F90E64C4F943D5473584334@EXCHANGE02> Message-ID: <438B9B03.5070802@verizon.net> David Turner wrote: > It is working great on my network. What devices are you polling with it? I'm polling a Cisco Pix 515e firewall. I can snmpwalk and get all the paths that the MIB's point to in that script, so I know that's not an issue either. Max ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637&alloc_id=16865&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 john at jolet.net Tue Nov 29 01:54:54 2005 From: john at jolet.net (John Jolet) Date: Mon, 28 Nov 2005 18:54:54 -0600 Subject: Disable all services from host commands page? In-Reply-To: <1133218432.1734.20.camel@localhost> References: <1133218432.1734.20.camel@localhost> Message-ID: <200511281854.55249.john@jolet.net> make a check template, like the "generic service" template...set passive checks enabled to 0 for it, then in each service for that box, replace "generic service" with that non-passive one. On Monday 28 November 2005 16:53, Marcel Mitsuto Fucatu Sugano wrote: > HI. > > We have distributed monitoring with some distributed Nagios servers > sending passive check results to a Master Nagios server, which > aggregates alarms. I want to disable all service checks for a host, so > these alarms don't appear at the alarms page. I've found that the only > way of doing this is by disabling EACH service from receiving passive > checks results, but i was seeking for a "one-click" commando to do that. > Is it possible? Where should I look at? > > TIA, -- John Jolet Your On-Demand IT Department 512-762-0729 www.jolet.net john at jolet.net ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637&alloc_id=16865&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 jperrin at gmail.com Tue Nov 29 03:20:41 2005 From: jperrin at gmail.com (Jim Perrin) Date: Mon, 28 Nov 2005 21:20:41 -0500 Subject: host checks - which methods In-Reply-To: <54BFB26C-6B1B-49BB-9777-AA6DCB47D0DD@backbonetechnology.com> References: <54BFB26C-6B1B-49BB-9777-AA6DCB47D0DD@backbonetechnology.com> Message-ID: <302ce8b50511281820j3a93a8c1vb25cdbc82bcd2e6d@mail.gmail.com> On 11/28/05, Dustin Krysak wrote: > Hi there - I was wondering what most people here are using (which > plugin) for host checks? I find the example comfig which uses the > "check_ping" method sends WAY too many false positives. I understand > that this could be a network traffic issue and so on, but I was just > curious what others are using. My services never seem to give me any > false positives though. > I use check_ping for most of them except for some remote locations where icmp traffic is blocked. For those situations I use check_tcping. Works like a champ. I do have a few instances where things are restricted enough that I don't monitor the host, ( I have an ignore-host-alive command that always returns okay ) and I just monitor the services the host provides. -- Jim Perrin System Architect - UIT Ft Gordon & US Army Signal Center ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_idv37&alloc_id865&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 estair at ilm.com Tue Nov 29 04:58:17 2005 From: estair at ilm.com (Eli Stair) Date: Mon, 28 Nov 2005 19:58:17 -0800 Subject: 2.0b5 initial host/service checks delayed after start (not present in 2.0b3) Message-ID: <438BD1D9.80200@ilm.com> I'm running a fresh build of 2.0b5 on x86_64. After an initial start of nagios, it can take up to 10 minutes for the first host or service checks to begin. There is no CPU load by the nagios process during this time. I have over 1000 hosts to check, and have reduced the max host/service check spread in order to ensure that it is not "evening" out the time. This problem is NOT occuring on a 2.0b3 build, with the same exact configuration. After the checks DO start, it can take hours to finish. I've changed the user to root so that I can have the host check be check_icmp -t 1 -p 1. Unfortunately, even with this situation, having anywhere between 4 and 64 hosts go down can make the "monitoring" aspect effectively useless. Any suggestions on the problem of startup lag? Any ways to further speed up the host check runs, aside from using check_icmp? Thanks, /eli ### inline nagios.cfg: [root at monitor02 etc]# cat nagios.cfg | egrep -v "^#|^$" log_file=/var/log/nagios/nagios.log cfg_file=/usr/local/nagios/etc/checkcommands.cfg cfg_file=/usr/local/nagios/etc/misccommands.cfg cfg_dir=/usr/local/nagios/etc/config cfg_file=/usr/local/nagios/etc/timeperiods.cfg cfg_file=/usr/local/nagios/etc/contacts.cfg cfg_file=/usr/local/nagios/etc/contactgroups.cfg cfg_file=/usr/local/nagios/etc/hosts.cfg cfg_file=/usr/local/nagios/etc/hostgroups.cfg cfg_file=/usr/local/nagios/etc/customcommands.cfg cfg_file=/usr/local/nagios/etc/services.cfg object_cache_file=/usr/local/nagios/var/objects.cache resource_file=/usr/local/nagios/etc/resource.cfg status_file=/usr/local/nagios/var/status.dat nagios_user=root nagios_group=root check_external_commands=1 command_check_interval=-1 command_file=/usr/local/nagios/var/rw/nagios.cmd comment_file=/usr/local/nagios/var/comments.dat downtime_file=/usr/local/nagios/var/downtime.dat lock_file=/usr/local/nagios/var/nagios.lock temp_file=/usr/local/nagios/var/nagios.tmp event_broker_options=-1 log_rotation_method=d log_archive_path=/var/log/nagios/archives use_syslog=1 log_notifications=1 log_service_retries=1 log_host_retries=1 log_event_handlers=1 log_initial_states=0 log_external_commands=1 log_passive_checks=1 service_inter_check_delay_method=s max_service_check_spread=15 service_interleave_factor=s host_inter_check_delay_method=s max_host_check_spread=10 max_concurrent_checks=0 service_reaper_frequency=15 auto_reschedule_checks=0 auto_rescheduling_interval=30 auto_rescheduling_window=180 sleep_time=0.25 service_check_timeout=60 host_check_timeout=30 event_handler_timeout=30 notification_timeout=30 ocsp_timeout=5 perfdata_timeout=5 retain_state_information=1 state_retention_file=/usr/local/nagios/var/retention.dat retention_update_interval=0 use_retained_program_state=1 use_retained_scheduling_info=0 interval_length=60 use_aggressive_host_checking=0 execute_service_checks=1 accept_passive_service_checks=0 execute_host_checks=1 accept_passive_host_checks=1 enable_notifications=1 enable_event_handlers=1 process_performance_data=0 obsess_over_services=0 check_for_orphaned_services=0 check_service_freshness=1 service_freshness_check_interval=60 check_host_freshness=1 host_freshness_check_interval=60 aggregate_status_updates=1 status_update_interval=15 enable_flap_detection=0 low_service_flap_threshold=5.0 high_service_flap_threshold=20.0 low_host_flap_threshold=5.0 high_host_flap_threshold=20.0 date_format=iso8601 illegal_object_name_chars=`~!$%^&*|'"<>?,()= illegal_macro_output_chars=`~$&|'"<> use_regexp_matching=0 use_true_regexp_matching=0 admin_email=nagios admin_pager=pagenagios daemon_dumps_core=0 ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637&alloc_id=16865&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 roux.emmanuel at gmail.com Tue Nov 29 09:47:44 2005 From: roux.emmanuel at gmail.com (Emmanuel Roux) Date: Tue, 29 Nov 2005 09:47:44 +0100 Subject: VMWare gsx/esx In-Reply-To: <04ee01c5f459$6786ee90$01fea8c0@itss.auckland.ac.nz> References: <478bd3690511280820k4b94e7f3t@mail.gmail.com> <04ee01c5f459$6786ee90$01fea8c0@itss.auckland.ac.nz> Message-ID: <478bd3690511290047q4984056fg@mail.gmail.com> Thanks for your quick answer, Effectively my vmware-snmpd was not started only snmpd was, i went to http GUI and enabled VMware SNMP SubAgent and all is ok now .. Regards, Emmanuel 2005/11/28, Steve Shipway : > >I get unfortunaly for all my queries: > >Error: Unable to retrieve SNMP VM data > >Searching in the Code i saw a variable : my($VMOID) = > >"1.3.6.1.4.1.6876"; But with the snmpwalk i can't find > >1.3.6.1.4.1.6876 or enterprises.6876 OID, > > I assume that you can retrieve other SNMP details, and that your SNMP daemon > is correctly configured. If not, then the solution is obvious :) > > Also, make sure you are sending the query to the service controller, not to > the virtual machine! > > Also, make sure that your VMWare server is running not only snmpd but also > vmware-snmpd (the helper process that does the 6876 enterprise). This > should also be hooked in in the snmpd.conf -- if you used the vmware snmp > setup script then it should have done this for you. Restart both snmpd and > vmware-snmpd (in that order). > > The SNMP MIB I have for VMWare specifies enterprise 6876, and we use vmware > 2.x. Check to see what enterprise yours has. > > Steve > > ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_idv37&alloc_id865&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 estair at ilm.com Tue Nov 29 09:28:15 2005 From: estair at ilm.com (Eli Stair) Date: Tue, 29 Nov 2005 00:28:15 -0800 Subject: 2.0b5 initial host/service checks delayed after start (not present in 2.0b3) Message-ID: <6E56E676C9D6A74EBC980144BC06A17D061361@mailbox03.lucas.alllucas.com> And additionally, this release is not sending alerts at all as the config is doing in 2.0b3. The logs report the host down, but the alert and contact rules aren't being triggered. There are no errors to that effect however, either in nagios -v check or in the logs to indicate that it is attempting to alert. I've verified that the alert commands path and syntax are proper... Has anyone else seen this in current or 2.0b4? /eli -----Original Message----- From: nagios-users-admin at lists.sourceforge.net on behalf of Eli Stair Sent: Mon 11/28/2005 7:58 PM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] 2.0b5 initial host/service checks delayed after start (not present in 2.0b3) I'm running a fresh build of 2.0b5 on x86_64. After an initial start of nagios, it can take up to 10 minutes for the first host or service checks to begin. There is no CPU load by the nagios process during this time. I have over 1000 hosts to check, and have reduced the max host/service check spread in order to ensure that it is not "evening" out the time. This problem is NOT occuring on a 2.0b3 build, with the same exact configuration. After the checks DO start, it can take hours to finish. I've changed the user to root so that I can have the host check be check_icmp -t 1 -p 1. Unfortunately, even with this situation, having anywhere between 4 and 64 hosts go down can make the "monitoring" aspect effectively useless. Any suggestions on the problem of startup lag? Any ways to further speed up the host check runs, aside from using check_icmp? Thanks, /eli ### inline nagios.cfg: [root at monitor02 etc]# cat nagios.cfg | egrep -v "^#|^$" log_file=/var/log/nagios/nagios.log cfg_file=/usr/local/nagios/etc/checkcommands.cfg cfg_file=/usr/local/nagios/etc/misccommands.cfg cfg_dir=/usr/local/nagios/etc/config cfg_file=/usr/local/nagios/etc/timeperiods.cfg cfg_file=/usr/local/nagios/etc/contacts.cfg cfg_file=/usr/local/nagios/etc/contactgroups.cfg cfg_file=/usr/local/nagios/etc/hosts.cfg cfg_file=/usr/local/nagios/etc/hostgroups.cfg cfg_file=/usr/local/nagios/etc/customcommands.cfg cfg_file=/usr/local/nagios/etc/services.cfg object_cache_file=/usr/local/nagios/var/objects.cache resource_file=/usr/local/nagios/etc/resource.cfg status_file=/usr/local/nagios/var/status.dat nagios_user=root nagios_group=root check_external_commands=1 command_check_interval=-1 command_file=/usr/local/nagios/var/rw/nagios.cmd comment_file=/usr/local/nagios/var/comments.dat downtime_file=/usr/local/nagios/var/downtime.dat lock_file=/usr/local/nagios/var/nagios.lock temp_file=/usr/local/nagios/var/nagios.tmp event_broker_options=-1 log_rotation_method=d log_archive_path=/var/log/nagios/archives use_syslog=1 log_notifications=1 log_service_retries=1 log_host_retries=1 log_event_handlers=1 log_initial_states=0 log_external_commands=1 log_passive_checks=1 service_inter_check_delay_method=s max_service_check_spread=15 service_interleave_factor=s host_inter_check_delay_method=s max_host_check_spread=10 max_concurrent_checks=0 service_reaper_frequency=15 auto_reschedule_checks=0 auto_rescheduling_interval=30 auto_rescheduling_window=180 sleep_time=0.25 service_check_timeout=60 host_check_timeout=30 event_handler_timeout=30 notification_timeout=30 ocsp_timeout=5 perfdata_timeout=5 retain_state_information=1 state_retention_file=/usr/local/nagios/var/retention.dat retention_update_interval=0 use_retained_program_state=1 use_retained_scheduling_info=0 interval_length=60 use_aggressive_host_checking=0 execute_service_checks=1 accept_passive_service_checks=0 execute_host_checks=1 accept_passive_host_checks=1 enable_notifications=1 enable_event_handlers=1 process_performance_data=0 obsess_over_services=0 check_for_orphaned_services=0 check_service_freshness=1 service_freshness_check_interval=60 check_host_freshness=1 host_freshness_check_interval=60 aggregate_status_updates=1 status_update_interval=15 enable_flap_detection=0 low_service_flap_threshold=5.0 high_service_flap_threshold=20.0 low_host_flap_threshold=5.0 high_host_flap_threshold=20.0 date_format=iso8601 illegal_object_name_chars=`~!$%^&*|'"<>?,()= illegal_macro_output_chars=`~$&|'"<> use_regexp_matching=0 use_true_regexp_matching=0 admin_email=nagios admin_pager=pagenagios daemon_dumps_core=0 ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637&alloc_id=16865&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 -------------- next part -------------- An HTML attachment was scrubbed... URL: From spyou at club-internet.fr Tue Nov 29 13:26:11 2005 From: spyou at club-internet.fr (Spyou) Date: Tue, 29 Nov 2005 13:26:11 +0100 Subject: a few questions about nagios. In-Reply-To: <000e01c5f4de$98a20840$0702a8c0@stcl.com> References: <000e01c5f4de$98a20840$0702a8c0@stcl.com> Message-ID: <7.0.0.16.0.20051129132544.05b1abb8@club-internet.fr> At 13:15 29/11/2005, Soumya Nambiar wrote: >For viewing the content of statuswrl.cgi you need a plugin called corona >or something.(dont remember the name). Or any other VRML plugin (google is our friend :)) ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637&alloc_id=16865&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 29 13:10:54 2005 From: mfatihakbulut at gmail.com (Mehmet Fatih AKBULUT) Date: Tue, 29 Nov 2005 14:10:54 +0200 Subject: a few questions about nagios. In-Reply-To: <3461.80.255.47.130.1133265859.squirrel@webmail.satconet.com> References: <3461.80.255.47.130.1133265859.squirrel@webmail.satconet.com> Message-ID: thanks Soumna. then its good to check FAQs. bye -------------- next part -------------- An HTML attachment was scrubbed... URL: From mfatihakbulut at gmail.com Tue Nov 29 12:50:19 2005 From: mfatihakbulut at gmail.com (Mehmet Fatih AKBULUT) Date: Tue, 29 Nov 2005 13:50:19 +0200 Subject: a few questions about nagios. Message-ID: hi all. i have been using nagios for some time. * first question : some *.cgi files missing. i installed stable version which is nagios1.3 but there is no statusmap.cginor trends.cgi and also no histogram.cgi. i wonder if they will work when i just copy these files from another version of nagios lets say 2.0b5 or something else ? if yes, please one of you send me the files i wrote above. * and the second question : what should i do to view the content of statuswrl.cgi i mean 3 D Status Map ? please tell me what to do. thanks in advance. bye -------------- next part -------------- An HTML attachment was scrubbed... URL: From soumya.nambiar at satconet.com Tue Nov 29 13:15:32 2005 From: soumya.nambiar at satconet.com (Soumya Nambiar) Date: Tue, 29 Nov 2005 15:15:32 +0300 Subject: a few questions about nagios. In-Reply-To: References: Message-ID: <000e01c5f4de$98a20840$0702a8c0@stcl.com> Hi, These cgi files will be missing if you do not have gd library installed and the corresponding libraries associated with it. A detailed explanation is given in the FAQ abt the libraries needed. After installing the packages required compile nagios again. For viewing the content of statuswrl.cgi you need a plugin called corona or something.(dont remember the name). Hope this helps Soumna -----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 29, 2005 2:50 PM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] a few questions about nagios. hi all. i have been using nagios for some time. * first question : some *.cgi files missing. i installed stable version which is nagios1.3 but there is no statusmap.cgi nor trends.cgi and also no histogram.cgi. i wonder if they will work when i just copy these files from another version of nagios lets say 2.0b5 or something else ? if yes, please one of you send me the files i wrote above. * and the second question : what should i do to view the content of statuswrl.cgi i mean 3 D Status Map ? please tell me what to do. thanks in advance. bye -------------- next part -------------- An HTML attachment was scrubbed... URL: From guillaume.renard at gmail.com Tue Nov 29 13:48:06 2005 From: guillaume.renard at gmail.com (Guillaume RENARD) Date: Tue, 29 Nov 2005 13:48:06 +0100 Subject: serviceextinfo problem Message-ID: <762a4f900511290448l7ab62901pcc1f2e5c614d2f7@mail.gmail.com> Hello all, I am running nagios version 2.0b5 and the serviceextinfo doesn't work like I would. Here my servicextinfo.cfg define serviceextinfo{ host_name diplodocus service_description check-host-alive notes_url /nagios/admin.html?hostname=diplodocus icon_image admin.jpg icon_image_alt Administration } define serviceextinfo{ host_name srv-nagios-01 service_description check-host-alive notes_url /nagios/admin.html?hostname=srv-nagios-01 icon_image admin.jpg icon_image_alt Administration } In the service status, I see an icon but it leads me to : http://172.24.9.1/nagios/cgi-bin/extinfo.cgi?type=2&host=diplodocus&service=check-host-alive (Here I have a link to whatever I want but so I have to clic twice and load a webpage pointlessly) instead of http://172.24.9.1/nagios/admin.html?hostname=diplodocus directly. (which is a page made by me to do some admin task) In the 1.2 version, it works directly, can I do something to get it the right way ? PS : excuse my english, my mother tongue is french ... Thanks in advance ! -- Guillaume RENARD http://glmrenard.free.fr -------------- next part -------------- An HTML attachment was scrubbed... URL: From fernando.shayani at bsb.politec.com.br Tue Nov 29 15:17:09 2005 From: fernando.shayani at bsb.politec.com.br (Fernando Shayani) Date: Tue, 29 Nov 2005 11:17:09 -0300 Subject: Nagios HANGS scheduling info Message-ID: <1964B929D8FF4D4DB06854A75D0FD3730C89F10C@bsbserv028.bsb.politec.com.br> A lot of times (1 or 2 times a week!) Nagios stops checking the services. Then I go to SCHEDULING QUEUE and noticed that are tests scheduled to check but it didn't run. Tests that usually runs fine, but sometimes, different tests doesn't run. Then I have to RESTART nagios to fix it. Does anyone could help me? Thanks Fernando Shayani fernando.shayani at bsb.politec.com.br (61) 3038-6951 POLITEC -------------- next part -------------- An HTML attachment was scrubbed... URL: From Millard.Matt at principal.com Tue Nov 29 15:02:43 2005 From: Millard.Matt at principal.com (Millard, Matt) Date: Tue, 29 Nov 2005 08:02:43 -0600 Subject: Nagios2 migration issues $USER1$ Message-ID: > -----Original Message----- > Sounds like you mixed a manual build/install with a packaged version. I > suggest you make sure these sort of conflicts are resolved by checking if > you start with the right nagios.cfg file to begin with. > > Hugo. It turns out that I had copied over a resource.cfg file from my Nagios 1 configuration into the main config directory and not into the private directory like I was calling, so it was using a different resource config file. Thanks! Matt -----Message Disclaimer----- This e-mail message is intended only for the use of the individual or entity to which it is addressed, and may contain information that is privileged, confidential and exempt from disclosure under applicable law. If you are not the intended recipient, any dissemination, distribution or copying of this communication is strictly prohibited. If you have received this communication in error, please notify us immediately by reply email to Connect at principal.com and delete or destroy all copies of the original message and attachments thereto. Email sent to or from the Principal Financial Group or any of its member companies may be retained as required by law or regulation. Nothing in this message is intended to constitute an Electronic signature for purposes of the Uniform Electronic Transactions Act (UETA) or the Electronic Signatures in Global and National Commerce Act ("E-Sign") unless a specific statement to the contrary is included in this message. ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_idv37&alloc_id865&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 guillaume.renard at gmail.com Tue Nov 29 14:17:52 2005 From: guillaume.renard at gmail.com (Guillaume RENARD) Date: Tue, 29 Nov 2005 14:17:52 +0100 Subject: Serviceextinfo In-Reply-To: <4D558B2F03A6A748845A34F86D11A55D2A964D@CORREOPRISACOM.prisacom.int> References: <4D558B2F03A6A748845A34F86D11A55D2A964D@CORREOPRISACOM.prisacom.int> Message-ID: <762a4f900511290517k28a5b9dft2d3e705887f2b14e@mail.gmail.com> Hello Please have you ana nswer to the multiple icon problem ? On 5/5/05, Miguel A. Torres wrote: > > Hello all, > > I use serviceextinfo feature to asociate a link to a service. Now I need > asociate another link more to the same service. > > I test adding another "url notes" directive in the serviceextinfo.cfg but > this not success. > > Anybody knows how to do this? > > Perhaps adding html tags? where? > > Thanks. > > >>>>>>>>>>>>>>>>>>>>>>>> > Miguel A. Torres Santos > PRISACOM - Dept. Sistemas > Telf: 91353-7871 > e-mail: matorres at prisacom.com > >>>>>>>>>>>>>>>>>>>>>>>> > > > ============================================================================ > This e-mail message and any attached files are intended SOLELY for the > addressee/s identified > herein. It may contain CONFIDENTIAL and/or LEGALLY PRIVILEGED information > and may not > necessarily represent the opinion of this company. If you receive this > message in ERROR, > please immediately notify the sender and DELETE it since you ARE NOT > AUTHORIZED to use, > disclose, distribute, print or copy all or part of the contained > information. Thank you. > > ============================================================================ > > -- Guillaume RENARD http://glmrenard.free.fr -------------- next part -------------- An HTML attachment was scrubbed... URL: From Joe.Hoot at itec.suny.edu Tue Nov 29 15:16:55 2005 From: Joe.Hoot at itec.suny.edu (Joe Hoot) Date: Tue, 29 Nov 2005 09:16:55 -0500 Subject: check_load question In-Reply-To: References: Message-ID: Hello all, I received this from my nagios server and I'm trying to understand what it means. Can someone please help me diagnose this or point me to docuementation that will describe what the "85, 90, 85, 90, 85, 90, 15" means below... also, I'm tring to find out why the percentages are so high. My guess is that there were so many things waiting in queue that the percentages end up being that high. ***** Nagios ***** Notification Type: PROBLEM Service: LOAD Host: bufhub01 - bufhub01 Address: 136.223.18.171 State: CRITICAL Date/Time: Tue Nov 29 02:59:59 EST 2005 Additional Info: CPU Load: 99% 85 599% 90 599% 85 1099% 90 1099% 85 1599% 90 15 Thanks, Joe _____________________________ SUNY - ITEC Information Technology Exchange Center Systems Programmer/Analyst E-mail: Joe.Hoot at itec.suny.edu Office: (716)878-4644 Cell: (716)908-6292 Fax: (716)878-3485 _____________________________ ForwardSourceID:NT000224FA -------------- next part -------------- An HTML attachment was scrubbed... URL: From jeffwilliams05 at gmail.com Tue Nov 29 16:10:43 2005 From: jeffwilliams05 at gmail.com (Jeff Williams) Date: Tue, 29 Nov 2005 09:10:43 -0600 Subject: Nagios doesn't stop notifying when it should In-Reply-To: <37ED92F9890FAF4BB947613C66FF8B1A08BB2C3D@dw-mail.dataway.com> References: <37ED92F9890FAF4BB947613C66FF8B1A08BB2C3D@dw-mail.dataway.com> Message-ID: <17e351010511290710o4f8d8860xe22995d39261a3a7@mail.gmail.com> If I leave out a contact group for every host and service and just specify escalations, Nagios will fill my logs with warnings about it. Isn't there a better way? Jeff On 11/23/05, Tedman Eng wrote: > Think of service escalations as "in addition to" normal notifications > > For notification attempts for which there are no defined escalations, the > normal contact group is used. If you want only notification attempts 1-5 to > be sent, create a contact group called 'none' for the service definition and > then notify using only escalation definitions. > > > define service > contact_groups none > > define serviceescalation > first_notification 1 > last_notification 5 > contact_groups ulsysadmins > > define serviceescalation > first_notification 3 > last_notification 5 > contact_groups oncall,backup > > > -----Original Message----- > From: Jeff Williams [mailto:jeffwilliams05 at gmail.com] > Sent: Wednesday, November 23, 2005 8:24 AM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Nagios doesn't stop notifying when it should > > > I know I've submitted this question before and I don't want to spam > everyone, but someone has to be using escalations that can help me. > Can someone please help me explain why the first example used to work > for me and now would not? I am using 2.0b4 (and have been since well > before having this problem) and now have to use the lines in the > second example to get notifications to stop after 5. > > > 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 > > } > > Thanks. > > Jeff Williams > > > ------------------------------------------------------- > This SF.net email is sponsored by: Splunk Inc. Do you grep through log files > for problems? Stop! Download the new AJAX search engine that makes > searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! > http://ads.osdn.com/?ad_idv37&alloc_id865&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: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_idv37&alloc_id865&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 tom.brown at goodtechnology.com Tue Nov 29 16:32:51 2005 From: tom.brown at goodtechnology.com (Tom Brown) Date: Tue, 29 Nov 2005 15:32:51 +0000 Subject: SNMP - Check Load In-Reply-To: <20051126083912.5A2D7ABF30@mail.proy.org> References: <20051126083912.5A2D7ABF30@mail.proy.org> Message-ID: <438C74A3.6000605@goodtechnology.com> > http://www.manubulon.com/nagios/snmp_load.html this does not appear to work on linux ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637&alloc_id=16865&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 Artashes.Arabadjyan at lycos-europe.com Tue Nov 29 16:39:23 2005 From: Artashes.Arabadjyan at lycos-europe.com (Arabadjyan, Artashes) Date: Tue, 29 Nov 2005 19:39:23 +0400 Subject: Message size restriction. Message-ID: <8267A5C8B2C7AD4DBE9C29304C6104DEC847F7@so1evn001.Office.local> Hi all, As I know, there is a restriction in Nagios, for a check-script return message (255 characters). Can I change it, to a greater one (for example: 512 or 1024 characters). The Best, Artashes. ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_idv37&alloc_id865&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 Alethad at unch.unc.edu Tue Nov 29 16:54:09 2005 From: Alethad at unch.unc.edu (Chrietzberg, Aletha) Date: Tue, 29 Nov 2005 10:54:09 -0500 Subject: nrpe ver. 2 on AIX 5.2 Message-ID: Joseph, I got GCC installed as you suggested and I'm getting an error on libm which I'm not sure where to get this library from. Is there an AIX version I need to get? I also installed the other required pkgs from this same CD and I have /usr/bin in my path first so the original installations of gcc and the other pkgs won't get executed. Any suggestions are welcome. --------------------------------------------------------------------- # make all cd ./base && make 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/xrddefault.c ../common/comments.c ../xdata/xcddefault.c ../common/objects.c ../xdata/xodtemplate.c ../common/statusdata.c ../xdata/xsddefault.c perfdata.o ../xdata/xpddefault.c ../common/downtime.c ../xdata/xdddefault.c -lm -o nagios collect2: library libm not found make: 1254-004 The error code from the last command is 1. Stop. make: 1254-004 The error code from the last command is 2. ---------------------------------------------------------------------------- ---------- -----Original Message----- From: Petrucci, Joseph [mailto:Joseph.Petrucci at ddiworld.com] Sent: Monday, November 28, 2005 11:38 AM To: Chrietzberg, Aletha; Kevin Alford; Daniel Jimenez; nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] RE: nrpe ver. 2 on AIX 5.2 Last time I was in an AIX shop, there was a Linux tools for AIX CD that came with 5.2. load GCC from there then get a source copy of Nagios and try to compile it. you might have to load on a few more libraries but I do not think so. >-----Original Message----- >From: nagios-users-admin at lists.sourceforge.net >[mailto:nagios-users-admin at lists.sourceforge.net]On Behalf Of >Chrietzberg, Aletha >Sent: Monday, November 28, 2005 11:31 AM >To: 'Kevin Alford'; Daniel Jimenez; Chrietzberg, Aletha; >nagios-users at lists.sourceforge.net >Subject: RE: [Nagios-users] RE: nrpe ver. 2 on AIX 5.2 > > >I went to the link you gave but I don't see a discussion on installing >Nagios base on AIX 5.2. I do see the nrpe install but I >thought you had to >have Nagios running somewhere to use this. I am an AIX only shop. > >Or did I misunderstand/misread something in your answer? > > > > > >-----Original Message----- >From: Kevin Alford [mailto:kevin.alford at tmctechnologies.com] >Sent: Monday, November 28, 2005 10:46 AM >To: Daniel Jimenez; Chrietzberg, Aletha; >nagios-users at lists.sourceforge.net >Subject: RE: [Nagios-users] RE: nrpe ver. 2 on AIX 5.2 (Daniel Jimenez) > > >I used the following link to install mine, and it worked fine. I am >running AIX 5.2 ML7. > >http://www.nagiosexchange.org/nagios-users.34.0.html?&tx_mailli >sttofaq_p >i1%5Bmode%5D=1&tx_maillisttofaq_pi1%5BshowUid%5D=12441#childUid12708 > > > > >Kevin D. Alford >Manager, >Network and Facility >TMC Technologies, Inc. > >a Global Science & Technology Company > > > > >-----Original Message----- >From: nagios-users-admin at lists.sourceforge.net >[mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Daniel >Jimenez >Sent: Monday, November 28, 2005 10:45 AM >To: Chrietzberg, Aletha; nagios-users at lists.sourceforge.net >Subject: RE: [Nagios-users] RE: nrpe ver. 2 on AIX 5.2 (Daniel Jimenez) > >I'm actually not installing Nagios, but just NRPE and the plugins. I'm >having problems with the most important plugin for my specific >environment, which is check_disk. I'm sticking to Linux for my Nagios >Core install. > >-----Original Message----- >From: Chrietzberg, Aletha [mailto:Alethad at unch.unc.edu] >Sent: Monday, November 28, 2005 8:27 AM >To: 'nagios-users at lists.sourceforge.net' >Subject: [Nagios-users] RE: nrpe ver. 2 on AIX 5.2 (Daniel Jimenez) > >Daniel, >I have been trying to get nagios installed on AIX 5.2 for some time but >to no avail. Is there anything you can pass along that may help me? >Did you have to install any extra AIX PTFs? I have Perl, gdlib, zlib, >gcc >and libpng installed. But where I'm getting into trouble is in the >running >of make on the main Nagios makefile. One of the errors is in regards >to >gcc warnings on a bunch of undeclared identifiers. > >I have been battling this for a while but can find no one that can help >me. >I pick it up and put it down. I am still running the old Netsaint and >have >been hanging on to that so I can have something. > >I promise not to take up too much of your time. I just want >to get the >base running. I can handle the plugins. >Any help would be greatly appreciated. > > > >Never let the fear of striking out get in your way. > Babe Ruth > > >Aletha D Chrietzberg >ISD - AIX Tech Services >UNC Healthcare >(919) 966-4888 > > > > > >------------------------------------------------------- >This SF.net email is sponsored by: Splunk Inc. Do you grep through log >files for problems? Stop! Download the new AJAX search engine that >makes searching your log files as easy as surfing the web. DOWNLOAD >SPLUNK! >http://ads.osdn.com/?ad_id=7637&alloc_id=16865&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: Splunk Inc. Do you grep through log >files for problems? Stop! Download the new AJAX search engine that >makes searching your log files as easy as surfing the web. DOWNLOAD >SPLUNK! >http://ads.osdn.com/?ad_idv37&alloc_id865&op=ick >_______________________________________________ >Nagios-users mailing list >Nagios-users at lists.sourceforge.net >https://lists.sourceforge.net/lists/listinfo/nagios-users >::: 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: Splunk Inc. Do you grep >through log files >for problems? Stop! Download the new AJAX search engine that makes >searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! >http://ads.osdn.com/?ad_id=7637&alloc_id=16865&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: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637&alloc_id=16865&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 rtparies at gmail.com Tue Nov 29 17:16:09 2005 From: rtparies at gmail.com (Randy Paries) Date: Tue, 29 Nov 2005 10:16:09 -0600 Subject: how can i change the timeout value for check_http Message-ID: hello, i have a remove nagios box that i get a lot of false messages. I need to change the timeout value for check_http i have changed the ping timeouts with args, but does not appear to be any for check_http Thanks for any help ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_idv37&alloc_id865&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 todd_barbera at wgbh.org Tue Nov 29 17:22:59 2005 From: todd_barbera at wgbh.org (Todd Barbera) Date: Tue, 29 Nov 2005 11:22:59 -0500 Subject: how can i change the timeout value for check_http In-Reply-To: References: Message-ID: <001f01c5f501$29e19830$620a010a@GRAPEAPE> check_http --help shows you can specify a -t to set that. Todd -----Original Message----- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Randy Paries Sent: Tuesday, November 29, 2005 11:16 AM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] how can i change the timeout value for check_http hello, i have a remove nagios box that i get a lot of false messages. I need to change the timeout value for check_http i have changed the ping timeouts with args, but does not appear to be any for check_http Thanks for any help ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_idv37&alloc_id865&op=ick _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637&alloc_id=16865&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-user at proy.org Tue Nov 29 17:50:16 2005 From: nagios-user at proy.org (Patrick Proy) Date: Tue, 29 Nov 2005 17:50:16 +0100 Subject: SNMP - Check Load In-Reply-To: <438C74A3.6000605@goodtechnology.com> References: <438C74A3.6000605@goodtechnology.com> Message-ID: <20051129165018.BD2DBAB6EC@mail.proy.org> Hi, It does work for me at least (and considering the downloads and feedbacks for this script, for some other people too). What exactly did you try ? Did you put the "-T netsl" or "-T netsc" switch to tell the script the remote machine is Linux ? Patrick -----Message d'origine----- De : Tom Brown [mailto:tom.brown at goodtechnology.com] Envoy? : mardi 29 novembre 2005 16:33 ? : Patrick Proy Cc : nagios-users at lists.sourceforge.net Objet : Re: [Nagios-users] SNMP - Check Load > http://www.manubulon.com/nagios/snmp_load.html this does not appear to work on linux ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_idv37&alloc_id865&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 Tue Nov 29 17:50:48 2005 From: btmanmeh at verizon.net (Max) Date: Tue, 29 Nov 2005 11:50:48 -0500 Subject: No output from check_snmp_cisco_memutil In-Reply-To: <438B9B03.5070802@verizon.net> References: <2DBD7451916A8E4F90E64C4F943D5473584334@EXCHANGE02> <438B9B03.5070802@verizon.net> Message-ID: <438C86E8.50608@verizon.net> Max wrote: > David Turner wrote: > >> It is working great on my network. What devices are you polling with it? > > > I'm polling a Cisco Pix 515e firewall. I can snmpwalk and get all the > paths that the MIB's point to in that script, so I know that's not an > issue either. I know it's rude to reply to yourself, but I found a different plugin to do exactly the same thing. Check out: http://www.manubulon.com/nagios/snmp_mem.html It actual works for me. I still have no idea why the other one wouldn't, but I'm not going to fight with it. The one I just pointed you to also works with all *nix flavors, AS/400, and Windows. So this one will work out better for me anyways and I'll take what I can get! Thanks for the replies though! Max ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637&alloc_id=16865&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 29 18:01:55 2005 From: marc at ena.com (Marc Powell) Date: Tue, 29 Nov 2005 11:01:55 -0600 Subject: How to clear out old log info/data 2.0b4 Message-ID: > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users- > admin at lists.sourceforge.net] On Behalf Of Danny Russell > Sent: Monday, November 28, 2005 4:53 PM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] How to clear out old log info/data 2.0b4 > > I am having a few issues with my Nagios 2.04b. I want to clean out all > comments, downtime, check histories and data. Is there a file I can just > zero out or should I uninstall and re-install Nagios? Stop nagios then delete the following files specified in nagios.cfg -- Log_file Object_cache_file Comment_file Downtime_file Everything _in_ log_archive_path but not the directory itself. State_retention_file You may not have all those files depending on what features you are using. -- Marc ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_idv37&alloc_id865&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 tom.brown at goodtechnology.com Tue Nov 29 17:57:29 2005 From: tom.brown at goodtechnology.com (Tom Brown) Date: Tue, 29 Nov 2005 16:57:29 +0000 Subject: SNMP - Check Load In-Reply-To: <20051129165018.BD2DBAB6EC@mail.proy.org> References: <20051129165018.BD2DBAB6EC@mail.proy.org> Message-ID: <438C8879.7030501@goodtechnology.com> > What exactly did you try ? Did you put the "-T netsl" or "-T netsc" switch > to tell the script the remote machine is Linux ? i did yes $ ./check_snmp_load.pl -H xxxx -C xxxx -w 3 -c 4 -T netsl Unknown option: T Can't find CPU usage information : UNKNOWN ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637&alloc_id=16865&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 29 18:05:19 2005 From: marc at ena.com (Marc Powell) Date: Tue, 29 Nov 2005 11:05:19 -0600 Subject: want acknowledgement alerts to email acknowledgement note 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: Monday, November 28, 2005 4:31 PM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] want acknowledgement alerts to email > acknowledgement note > > I'd like my notify-by-email to report my acknoledgement note when I > acknowledge an alert rather than the $SERVICEOUTPUT$. I'm wondering if > just using $OUTPUT$ instead of $SERVICEOUTPUT$ would do this but I can't > find information about $OUTPUT$ to tell. I've just seen it used in other > configs. Presumably you're using nagios 2.x. $OUTPUT$ was the 1.x equivalent of $SERVICEOUTPUT$. You want $SERVICEACKCOMMENT$. http://nagios.sourceforge.net/docs/2_0/macros.html -- Marc ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_idv37&alloc_id865&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 estair at ilm.com Tue Nov 29 18:57:20 2005 From: estair at ilm.com (Eli Stair) Date: Tue, 29 Nov 2005 09:57:20 -0800 Subject: Nagios HANGS scheduling info Message-ID: <6E56E676C9D6A74EBC980144BC06A17D061363@mailbox03.lucas.alllucas.com> Try enabling the orphaned service checks if you haven't already. /eli -----Original Message----- From: nagios-users-admin at lists.sourceforge.net on behalf of Fernando Shayani Sent: Tue 11/29/2005 6:17 AM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Nagios HANGS scheduling info A lot of times (1 or 2 times a week!) Nagios stops checking the services. Then I go to SCHEDULING QUEUE and noticed that are tests scheduled to check but it didn't run. Tests that usually runs fine, but sometimes, different tests doesn't run. Then I have to RESTART nagios to fix it. Does anyone could help me? Thanks Fernando Shayani fernando.shayani at bsb.politec.com.br (61) 3038-6951 POLITEC -------------- next part -------------- An HTML attachment was scrubbed... URL: From tbeecher at localnet.com Tue Nov 29 20:15:24 2005 From: tbeecher at localnet.com (Thomas Beecher) Date: Tue, 29 Nov 2005 14:15:24 -0500 Subject: Strage issue with WAP page, unable to access host pages Message-ID: <438CA8CC.9070502@localnet.com> I've recently run into a strange issue with the Nagios WAP interface. I am able to access the interface and log in fine, and also able to access almost every page in this manner EXCEPT viewing a host. Any attempt to view a host simply returns "Page Read Error". This only occurs on my Sprint phone, running the NetFront3.1 browser. Has anyone experienced anything similar? Thanks!! -- Thomas Beecher II Network Administrator LocalNet Corp. tbeecher at localnet dot com ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637&alloc_id=16865&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 estair at ilm.com Tue Nov 29 20:36:20 2005 From: estair at ilm.com (Eli Stair) Date: Tue, 29 Nov 2005 11:36:20 -0800 Subject: Mapping "Author" to auth name in CGI commands? Message-ID: <438CADB4.7020304@ilm.com> Is there any way to have the CGI change the default for "Author" from Admin to the username that was used to authenticate access? This works well in Zabbix, but maintaining accountability in Nagios relies on the user. As is always the case, if it becomes too hard to do people get sloppy. Not saying that typing in your username is difficult, bit it gets not-done frequently :) I can't find this in the FAQ or google, and seems as if it would be a common enough request... I've always wanted a solution but never needed to ask until now. Cheers, /eli ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637&alloc_id=16865&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 hvdkooij at vanderkooij.org Tue Nov 29 20:44:30 2005 From: hvdkooij at vanderkooij.org (Hugo van der Kooij) Date: Tue, 29 Nov 2005 20:44:30 +0100 (CET) Subject: 2.0b5 initial host/service checks delayed after start (not present in 2.0b3) In-Reply-To: <6E56E676C9D6A74EBC980144BC06A17D061361@mailbox03.lucas.alllucas.com> References: <6E56E676C9D6A74EBC980144BC06A17D061361@mailbox03.lucas.alllucas.com> Message-ID: On Tue, 29 Nov 2005, Eli Stair wrote: > > And additionally, this release is not sending alerts at all as the config is doing in 2.0b3. The logs report the host down, but the alert and contact rules aren't being triggered. There are no errors to that effect however, either in nagios -v check or in the logs to indicate that it is attempting to alert. I've verified that the alert commands path and syntax are proper... > > Has anyone else seen this in current or 2.0b4? No. Just a happy 2.0b4 user. Hugo. -- I hate duplicates. Just reply to the relevant mailinglist. hvdkooij at vanderkooij.org http://hvdkooij.xs4all.nl/ Don't meddle in the affairs of magicians, for they are subtle and quick to anger. ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637&alloc_id=16865&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 jrhett at svcolo.com Tue Nov 29 21:21:12 2005 From: jrhett at svcolo.com (Joe Rhett) Date: Tue, 29 Nov 2005 12:21:12 -0800 Subject: want acknowledgement alerts to email acknowledgement note In-Reply-To: References: Message-ID: <20051129202112.GA10431@svcolo.com> On Tue, Nov 29, 2005 at 11:05:19AM -0600, Marc Powell wrote: > Presumably you're using nagios 2.x. $OUTPUT$ was the 1.x equivalent of > $SERVICEOUTPUT$. You want $SERVICEACKCOMMENT$. > > http://nagios.sourceforge.net/docs/2_0/macros.html Hm -- this is not an improvement. This now guarantees that you can't you old-style printf command lines, but instead have to pass everything to a script and perform if/then/else. Normally I wouldn't mind, but the *ONLY* reason this is necessary is because the information was moved into another variable. -- Joe Rhett senior geek SVcolo : Silicon Valley Colocation ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637&alloc_id=16865&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 rouilj at cs.umb.edu Tue Nov 29 21:39:41 2005 From: rouilj at cs.umb.edu (John P. Rouillard) Date: Tue, 29 Nov 2005 15:39:41 -0500 Subject: "Service check did not exit properly", possible redhat bug? Message-ID: <200511292040.jATKeOYd005366@mx1.cs.umb.edu> Hello all: Joshua Coombs and Steve Shipway were discusing an issue with a properly running pluging returning the error in the subject line. I am seeing this same problem on a Centos 4 box running a plugin written in java. On the nagios plugin mailing list: Von Toon said: >On 15 Nov 2005, at 15:01, Hugh Jones wrote: > >> Does anyone know why I might be getting "DNS WARNING - nslookup >> returned error status" back from check_dns? It doesn't always >> happen, and it seems to happen less after upgrading to nagios 2.0b5 >> and nagios-plugins to 1.4.2. > >Are you using RedHat? There is a known problem with bind on RedHat >where the nslookup and dig commands do not exit correctly due to a >kernel pthread issue. > [...] >Alternatively, Sascha Runschke has been working with Red Hat and it >has been fixed in hotfix-kernel-2.6.9-22.12.EL, which you can >probably request from them through your support contract. I am wondering if we are all seeing the efects of the same bug. Joshua and Steve what distribution/kernel version are you running on the boxes producing this error? -- rouilj John Rouillard =========================================================================== My employers don't acknowledge my existence much less my opinions. ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637&alloc_id=16865&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 29 21:39:57 2005 From: marc at ena.com (Marc Powell) Date: Tue, 29 Nov 2005 14:39:57 -0600 Subject: Mapping "Author" to auth name in CGI commands? Message-ID: > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users- > admin at lists.sourceforge.net] On Behalf Of Eli Stair > Sent: Tuesday, November 29, 2005 1:36 PM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Mapping "Author" to auth name in CGI commands? > > > Is there any way to have the CGI change the default for "Author" from > Admin to the username that was used to authenticate access? This works > well in Zabbix, but maintaining accountability in Nagios relies on the > user. > > As is always the case, if it becomes too hard to do people get sloppy. > Not saying that typing in your username is difficult, bit it gets > not-done frequently :) I can't find this in the FAQ or google, and > seems as if it would be a common enough request... I've always wanted a > solution but never needed to ask until now. It "just works" for me here with 1.x. Does the top left box show you 'Logged in as Admin' or the user? It sounds like your Authentication configuration might not be working as you think it is. -- Marc ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_idv37&alloc_id865&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-user at proy.org Tue Nov 29 22:06:13 2005 From: nagios-user at proy.org (Patrick Proy) Date: Tue, 29 Nov 2005 22:06:13 +0100 Subject: SNMP - Check Load In-Reply-To: <438C8879.7030501@goodtechnology.com> References: <438C8879.7030501@goodtechnology.com> Message-ID: <20051129210614.14C29AB6EC@mail.proy.org> Hi, You must have an old version of the script (version 1.1), you can either use it with the "-L" option, or download the latest version (http://www.manubulon.com/nagios/check_snmp_load.pl) and try again. BTW, when you ask for the load (-T netsl), you must put 3 warning and critical levels (one for 1min load, one for 5min load, one for 15 min load). See help page for more details. Example : ./check_snmp_load.pl -H xxxx -C xxxx -w 7,5,3 -c 10,8,5 -T netsl OR with version 1.1 ./check_snmp_load.pl -H xxxx -C xxxx -w 7,5,3 -c 10,8,5 -L Patrick > -----Message d'origine----- > De : nagios-users-admin at lists.sourceforge.net > [mailto:nagios-users-admin at lists.sourceforge.net] De la part > de Tom Brown > Envoy? : mardi 29 novembre 2005 17:57 > ? : Patrick Proy > Cc : nagios-users at lists.sourceforge.net > Objet : Re: [Nagios-users] SNMP - Check Load > > > > What exactly did you try ? Did you put the "-T netsl" or > "-T netsc" switch > > to tell the script the remote machine is Linux ? > > i did yes > > $ ./check_snmp_load.pl -H xxxx -C xxxx -w 3 -c 4 -T netsl > Unknown option: T > Can't find CPU usage information : UNKNOWN > ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_idv37&alloc_id865&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 teng at dataway.com Tue Nov 29 22:09:15 2005 From: teng at dataway.com (Tedman Eng) Date: Tue, 29 Nov 2005 13:09:15 -0800 Subject: how can i change the timeout value for check_h ttp Message-ID: <37ED92F9890FAF4BB947613C66FF8B1A08BB2C47@dw-mail.dataway.com> The timeout option will be listed in the plugin's help page. Run from command line: check_http (-h | --help) HINT: This option works on most of the other plugins as well. -----Original Message----- From: Randy Paries [mailto:rtparies at gmail.com] Sent: Tuesday, November 29, 2005 8:16 AM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] how can i change the timeout value for check_http hello, i have a remove nagios box that i get a lot of false messages. I need to change the timeout value for check_http i have changed the ping timeouts with args, but does not appear to be any for check_http Thanks for any help ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_idv37&alloc_id865&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: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637&alloc_id=16865&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 29 22:07:58 2005 From: marc at ena.com (Marc Powell) Date: Tue, 29 Nov 2005 15:07:58 -0600 Subject: want acknowledgement alerts to email acknowledgement note Message-ID: > -----Original Message----- > From: Joe Rhett [mailto:jrhett at svcolo.com] > Sent: Tuesday, November 29, 2005 2:21 PM > To: Marc Powell > Cc: nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] want acknowledgement alerts to email > acknowledgement note > > On Tue, Nov 29, 2005 at 11:05:19AM -0600, Marc Powell wrote: > > Presumably you're using nagios 2.x. $OUTPUT$ was the 1.x equivalent of > > $SERVICEOUTPUT$. You want $SERVICEACKCOMMENT$. > > > > http://nagios.sourceforge.net/docs/2_0/macros.html > > Hm -- this is not an improvement. This now guarantees that you can't you > old-style printf command lines, but instead have to pass everything to a > script and perform if/then/else. Normally I wouldn't mind, but the *ONLY* > reason this is necessary is because the information was moved into another > variable. You can still use printf if you're not a perfectionist. There are dozens of new macros and they're significantly more representative of the information they contain. I for one am glad they changed to be better organized and more useful. Is it really such a bother to print out $SERVICEACKCOMMENT$ for every notification? I would expect the Ack Comment to be blank on all but ACKNOWLEDGEMENT and subsequent alerts (escalations). -- Marc ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_idv37&alloc_id865&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 estair at ilm.com Tue Nov 29 22:41:48 2005 From: estair at ilm.com (Eli Stair) Date: Tue, 29 Nov 2005 13:41:48 -0800 Subject: Mapping "Author" to auth name in CGI commands? In-Reply-To: References: Message-ID: <438CCB1C.4040303@ilm.com> I'm properly logged in as my username.. I don't have a default user specified, so it's not that causing the issue. I also had the same issue historically under 1.x also. I'm guessing it's a peculiarity of my config, but it seems to me like it would more likely be determined in the cgi's themselves than in the config files. /eli Marc Powell wrote: > >>-----Original Message----- >>From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users- >>admin at lists.sourceforge.net] On Behalf Of Eli Stair >>Sent: Tuesday, November 29, 2005 1:36 PM >>To: nagios-users at lists.sourceforge.net >>Subject: [Nagios-users] Mapping "Author" to auth name in CGI commands? >> >> >>Is there any way to have the CGI change the default for "Author" from >>Admin to the username that was used to authenticate access? This > > works > >>well in Zabbix, but maintaining accountability in Nagios relies on the >>user. >> >>As is always the case, if it becomes too hard to do people get sloppy. >>Not saying that typing in your username is difficult, bit it gets >>not-done frequently :) I can't find this in the FAQ or google, and >>seems as if it would be a common enough request... I've always wanted > > a > >>solution but never needed to ask until now. > > > It "just works" for me here with 1.x. Does the top left box show you > 'Logged in as Admin' or the user? It sounds like your Authentication > configuration might not be working as you think it is. > > -- > Marc > > > ------------------------------------------------------- > This SF.net email is sponsored by: Splunk Inc. Do you grep through log files > for problems? Stop! Download the new AJAX search engine that makes > searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! > http://ads.osdn.com/?ad_idv37&alloc_id865&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: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637&alloc_id=16865&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 teng at dataway.com Tue Nov 29 22:56:45 2005 From: teng at dataway.com (Tedman Eng) Date: Tue, 29 Nov 2005 13:56:45 -0800 Subject: Nagios doesn't stop notifying when it should Message-ID: <37ED92F9890FAF4BB947613C66FF8B1A08BB2C48@dw-mail.dataway.com> I didn't say leave them out. I said create a new contact group. Call it 'none'. (maybe 'none' is a reserved word? call it 'whatever'). Use notification periods or use a dummy notification command or any number of ways to make that contact supress normal notifications. Normal notifications will forever repeat until acknowledged or recovery. Since you want only limited notifications, escalations are the only notification mechanism with this function, so you have to use only escalations to notify. -----Original Message----- From: Jeff Williams [mailto:jeffwilliams05 at gmail.com] Sent: Tuesday, November 29, 2005 7:11 AM To: Tedman Eng Cc: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Nagios doesn't stop notifying when it should If I leave out a contact group for every host and service and just specify escalations, Nagios will fill my logs with warnings about it. Isn't there a better way? Jeff On 11/23/05, Tedman Eng wrote: > Think of service escalations as "in addition to" normal notifications > > For notification attempts for which there are no defined escalations, the > normal contact group is used. If you want only notification attempts 1-5 to > be sent, create a contact group called 'none' for the service definition and > then notify using only escalation definitions. > > > define service > contact_groups none > > define serviceescalation > first_notification 1 > last_notification 5 > contact_groups ulsysadmins > > define serviceescalation > first_notification 3 > last_notification 5 > contact_groups oncall,backup > > > -----Original Message----- > From: Jeff Williams [mailto:jeffwilliams05 at gmail.com] > Sent: Wednesday, November 23, 2005 8:24 AM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Nagios doesn't stop notifying when it should > > > I know I've submitted this question before and I don't want to spam > everyone, but someone has to be using escalations that can help me. > Can someone please help me explain why the first example used to work > for me and now would not? I am using 2.0b4 (and have been since well > before having this problem) and now have to use the lines in the > second example to get notifications to stop after 5. > > > 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 > > } > > Thanks. > > Jeff Williams > > > ------------------------------------------------------- > This SF.net email is sponsored by: Splunk Inc. Do you grep through log files > for problems? Stop! Download the new AJAX search engine that makes > searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! > http://ads.osdn.com/?ad_idv37&alloc_id865&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: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637&alloc_id=16865&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 Tue Nov 29 23:20:34 2005 From: tim at infostream.com.au (Timothy O'Hare) Date: Wed, 30 Nov 2005 09:20:34 +1100 Subject: check_load question In-Reply-To: References: Message-ID: <438CD432.2020209@infostream.com.au> Hi Joe, These numbers are strange - 1599%?? What is the check command that you are using? Can you check the load some other way to make sure nagios is reporting correctly? Here we use a check command for checking the load by ssh that is: # 'check_load_by_ssh' command definition define command{ command_name check_load_by_ssh command_line $USER1$/check_by_ssh -H $HOSTADDRESS$ -t 60 -n $HOSTNAME$ -s check_load_by_ssh -C '/usr/local/nagios/libexec/check_load -w 2,1,1 -c 3,2,2' } and it gives notifications like ***** Nagios ***** Notification Type: PROBLEM Service: Check_load_by_ssh Host: database Address: 192.1.2.77 State: CRITICAL Date/Time: Fri May 27 15:53:53 EST 2005 Additional Info: CRITICAL - load average: 3.89, 1.99, 1.45 where 3.89 is the load averaged over 1 minute, 1.99 is over 5 minutes and 1.45 is over 15 minutes. Tim Joe Hoot wrote: > > Hello all, > > I received this from my nagios server and I'm trying to understand what > it means. Can someone please help me diagnose this or point me to > docuementation that will describe what the "85, 90, 85, 90, 85, 90, 15" > means below... also, I'm tring to find out why the percentages are so > high. My guess is that there were so many things waiting in queue that > the percentages end up being that high. > > > ***** Nagios ***** > > Notification Type: PROBLEM > > Service: LOAD > Host: bufhub01 - bufhub01 > Address: 136.223.18.171 > State: CRITICAL > > Date/Time: Tue Nov 29 02:59:59 EST 2005 > > Additional Info: > > CPU Load: 99% 85 599% 90 599% 85 1099% 90 1099% 85 1599% 90 15 > > > > Thanks, > Joe > > _____________________________ > SUNY - ITEC > Information Technology Exchange Center > Systems Programmer/Analyst > E-mail: Joe.Hoot at itec.suny.edu > Office: (716)878-4644 > Cell: (716)908-6292 > Fax: (716)878-3485 > _____________________________ > ForwardSourceID:NT000224FA ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637&alloc_id=16865&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 mister.roy at gmail.com Wed Nov 30 02:47:27 2005 From: mister.roy at gmail.com (Brian Roy) Date: Tue, 29 Nov 2005 19:47:27 -0600 Subject: Custom messages in alerts Message-ID: <131664490511291747w135e01cexf9e82c608d6fc878@mail.gmail.com> Hello, I would like to extend our Nagios installation to replace our alert system on our AS/400. Currently the AS/400 sends out pages to individual phones based on events. The body of those pages would have pertinent information to the event. What I would like to do is have the AS/400 trigger a status in Nagios, and then the page that Nagios sends have that pertinent information in the body. That way I can take advantage of the Nagios strengths. How do I get the meat of the error message into the Nagios Alert and then forwarded out with the notification types. Hopefully I'm just missing something obvious here and someone can give me some advice. Thanks, Brian -------------- next part -------------- An HTML attachment was scrubbed... URL: From sghosh at sghosh.org Wed Nov 30 04:19:07 2005 From: sghosh at sghosh.org (Subhendu Ghosh) Date: Tue, 29 Nov 2005 22:19:07 -0500 (EST) Subject: Custom messages in alerts In-Reply-To: <131664490511291747w135e01cexf9e82c608d6fc878@mail.gmail.com> References: <131664490511291747w135e01cexf9e82c608d6fc878@mail.gmail.com> Message-ID: On Tue, 29 Nov 2005, Brian Roy wrote: > Hello, > > I would like to extend our Nagios installation to replace our alert system > on our AS/400. Currently the AS/400 sends out pages to individual phones > based on events. The body of those pages would have pertinent information to > the event. What I would like to do is have the AS/400 trigger a status in > Nagios, and then the page that Nagios sends have that pertinent information > in the body. That way I can take advantage of the Nagios strengths. How do I > get the meat of the error message into the Nagios Alert and then forwarded > out with the notification types. > > Hopefully I'm just missing something obvious here and someone can give me > some advice. > > Thanks, > > Brian > Have the AS/400 trigger send a passive update to Nagios with SERVICEOUTPUT and SERVICEPERFDATA Include the pertinent info in either of the above fields. They are/can be used in the notification commands. -- -sg ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637&alloc_id=16865&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 masonwright at netscape.net Wed Nov 30 08:37:50 2005 From: masonwright at netscape.net (masonwright at netscape.net) Date: Wed, 30 Nov 2005 02:37:50 -0500 Subject: check_cluster2 & nagios 2.0b4 - too many OK state in cluster Message-ID: <8C7C39819B75CD3-ACC-E184@mblkn-m03.sysops.aol.com> Hi, I have check_cluster2 configured correctly so that if not enough service checks are OK state I get alerts and critical status. What I would like to do is make sure that there are not too many active service check responses at the same time but am unclear how to do this. Desired state: 1 OK state and 1 Non-OK state Desired alerts and critical state: 0 Non-OK or 2 Non-OK Is this possible? If so, what is the syntax for the plugin to attain it? I'm hoping for something akin to the threshold ranges available in the check_snmp plugin. Thanks, Mason ___________________________________________________ Try the New Netscape Mail Today! Virtually Spam-Free | More Storage | Import Your Contact List http://mail.netscape.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From srunschke at abit.de Wed Nov 30 09:44:21 2005 From: srunschke at abit.de (srunschke at abit.de) Date: Wed, 30 Nov 2005 09:44:21 +0100 Subject: Recovery not being fired off under certain circumstances (repost) Message-ID: (this is a repost from nagios-devel as noone answered) Hi, lately I stumbled over a few discrepancies in our network monitoring, that is we were getting Warnings, but never received a Recovery, even though it was pretty obvious that the service recovered. I finally was able to pin down the reason for it. Sadly I am unsure if it has to be seen as "working as intended" or if it is unexpected behaviour really. Personally I'd call it "broken as intended". Excerpt from the config that reproduces the problem: define service { host_name RMS use generic-SNMP service_description RZ_TEMPERATUR servicegroups SMS-SERVICEGROUP register 1 check_command check_snmp!abit-management!1.3.6.1.4.1.2769.10.4.1.1.3.1!1!30!35 notification_interval 10 stalking_options c,w,u notification_options c,w,u,r } define serviceescalation { host_name RMS service_description RZ_TEMPERATUR first_notification 1 last_notification 0 contact_groups HOST-CONTACTGROUP-SMS escalation_period 24x7 escalation_options c,r,u } As this is the temperature check of our monitoring system for our main datacenter, I do want it to mail me a warning state - but I do not care that much about warnings that I want a SMS yet, the contact-groups of RZ_TEMPERATUR are mail-only groups. I escalate c,r,u into another contactgroup which has the relevant contacts with their pagers in it. Now if the service throws a Warning, we get the mail. But if it recovers, we neither get mail nor SMS. Reason for that is, that the recovery is falling into the territory of the escalation which then checks who received the notification for this recovery in first place - and this check yields no information for the escalation - therefor not firing off a recovery at all. Even IF the check for that info would be tweaked, it would still fire the recovery via SMS, which is not my intended behaviour. How do you guys see this particular problem? Should Nagios be able to act more differenciated (sp?) on these kind of problems or is it my burden to find a hacky-hack solution via nested contacts/escalations for this? ;) I'm up for some insights to this matter. regards sash -------------------------------------------------- Sascha Runschke Netzwerk Administration IT-Services ABIT AG Robert-Bosch-Str. 1 40668 Meerbusch Tel.:+49 (0) 2150.9153.226 Mobil:+49 (0) 173.5419665 mailto:SRunschke at abit.de http://www.abit.net http://www.abit-epos.net --------------------------------- Sicherheitshinweis zur E-Mail Kommunikation / Security note regarding email communication: http://www.abit.net/sicherheitshinweis.html ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637&alloc_id=16865&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 30 11:03:46 2005 From: Deborah.Martin at Kognitio.com (Deborah Martin) Date: Wed, 30 Nov 2005 10:03:46 -0000 Subject: Manipulation of email notifications Message-ID: Hi, Is there a way to manipulate the content of an email by type of email notification ? For example, if I acknowledge a Critical alert with the text 'Under Investigation', I want to include that text in the email notification. However, if I receive a recovery notification I don't need to have the acknowledgement text included. I've configured the following in miscommands.cfg # 'notify-by-email' command definition define command{ command_name notify-by-email command_line /usr/bin/printf "%b" "***** Nagios *****\n\nNotification Type: $NOTIFICATIONTYPE$\n\nService: $SERVICEDESC$ \nHost: $HOSTALIAS$\nAddress: $HOSTADDRESS$\nState: $SERVICESTATE$\n\nDate/Time: $LONGDATETIME$\n\nAdditional Info:\n\n$SERVICEOUTPUT$\nAcknowledgements: $SERVICEACKCOMMENT$" | /usr/bin/mail -s "** $NOTIFICATIONTYPE$ alert - $HOSTALIAS$/$SERVICEDESC$ is $SERVICESTATE$ **" $CONTACTEMAIL$ } But I do not want ` \nAcknowledgements: $SERVICEACKCOMMENT$ ` on Recovery alerts. The alternative would be to have a default value set of N/A which is overridden with a value if an acknowledgement has been set but I don't see an easy way to do this either. Does anyone have any ideas if it can be done (and how) or that it can't be done like this ? thanks, 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 mfatihakbulut at gmail.com Wed Nov 30 10:19:37 2005 From: mfatihakbulut at gmail.com (Mehmet Fatih AKBULUT) Date: Wed, 30 Nov 2005 11:19:37 +0200 Subject: a few questions Message-ID: hi all. is there a website or a FAQ page to learn how i can define checkcommands & service definitions for ldap, dns, https, sql server (mssql) and dns ? are http & https the same or different ? please help me define the commands & service definitions of above ... thanks in advance. Regards. bye -------------- next part -------------- An HTML attachment was scrubbed... URL: From mfatihakbulut at gmail.com Wed Nov 30 12:09:22 2005 From: mfatihakbulut at gmail.com (Mehmet Fatih AKBULUT) Date: Wed, 30 Nov 2005 13:09:22 +0200 Subject: whats wrong with these definitions ? help please! Message-ID: hi all. # Service definition define service{ use generic-service ; Name of service template to use host_name blablabla service_description DNS is_volatile 0 check_period 24x7 max_check_attempts 3 normal_check_interval 3 retry_check_interval 1 contact_groups blablabla notification_interval 120 notification_period 24x7 notification_options w,u,c,r check_command check_dns /* is it necessary to add something here ?*/ } # Service definition define service{ use generic-service ; Name of service template to use host_name blablabla service_description LDAP is_volatile 0 check_period 24x7 max_check_attempts 3 normal_check_interval 3 retry_check_interval 1 contact_groups blablabla notification_interval 120 notification_period 24x7 notification_options w,u,c,r check_command check_ldaps /* is it necessary to add something here ?*/ } why these services dont appear on nagios ? do i have to add anything after check_dns & check_ldaps ??? and is this command definition below correct ? # 'check_ldaps' command definition define command{ command_name check_ldaps command_line /usr/local/nagios/libexec/check_ldaps /*do i have to add something here?*/ } help me please ... -------------- next part -------------- An HTML attachment was scrubbed... URL: From Thomas.Zimmer at oppenheim.de Wed Nov 30 12:30:00 2005 From: Thomas.Zimmer at oppenheim.de (Thomas.Zimmer at oppenheim.de) Date: Wed, 30 Nov 2005 12:30:00 +0100 Subject: AW: whats wrong with these definitions ? help plea se! Message-ID: <9A834A8DCEC68648B20701E1CDE10925F84913@OKWPMXS01.de.sal-opp.net> Std. "check_command" definition in "sample-config": "$USER1$/check_dns -H www.yahoo.com -s $HOSTADDRESS$" should be change to s.th. like "$USER1$/check_dns -H $ARG1$ -s $ARG2$" then use it with: .... check_command check_dns!! .... I assume, you have defined real contact-groups vor "blabla" and an existing host? The possibilities of a plugin can be discovered by calling the plugin from the command shell, respectively calling it with " --help". Pls. refer to the excellent Nagios-documentation: http://nagios.sourceforge.net/docs/2_0/xodtemplate.html , also delivered with your Nagios installation in "/share/docs/", or browse the archives of this list. Your problems are novice-probs (and no real probs), and should be better resolved by reading the docs than by penetrating this list! 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 Mehmet Fatih AKBULUT Gesendet: Mittwoch, 30. November 2005 12:09 An: nagios-users at lists.sourceforge.net Betreff: [Nagios-users] whats wrong with these definitions ? help please! hi all. # Service definition define service{ use generic-service ; Name of service template to use host_name blablabla service_description DNS is_volatile 0 check_period 24x7 max_check_attempts 3 normal_check_interval 3 retry_check_interval 1 contact_groups blablabla notification_interval 120 notification_period 24x7 notification_options w,u,c,r check_command check_dns /* is it necessary to add something here ?*/ } # Service definition define service{ use generic-service ; Name of service template to use host_name blablabla service_description LDAP is_volatile 0 check_period 24x7 max_check_attempts 3 normal_check_interval 3 retry_check_interval 1 contact_groups blablabla notification_interval 120 notification_period 24x7 notification_options w,u,c,r check_command check_ldaps /* is it necessary to add something here ?*/ } why these services dont appear on nagios ? do i have to add anything after check_dns & check_ldaps ??? and is this command definition below correct ? # 'check_ldaps' command definition define command{ command_name check_ldaps command_line /usr/local/nagios/libexec/check_ldaps /*do i have to add something here?*/ } help me please ... -------------- next part -------------- An HTML attachment was scrubbed... URL: From Philipp.Sand at sycor.de Wed Nov 30 14:38:26 2005 From: Philipp.Sand at sycor.de (Sand Philipp) Date: Wed, 30 Nov 2005 14:38:26 +0100 Subject: Problem with NSClient and Windows 2003 SP1 *solved* Message-ID: <6943DE9E9934CD42BBE4A20E0E28E10E01FA4FB4@SYGOMAIL.GOE.AD.SYCOR.DE> Hi, when you install the nsclient on a Server with Windows2003 SP1 applied, you have to watch out for DEP (Data Execution Prevention). This feature can cause the NSCLient Service to Stop immediately after you started it. In the Windows Eventlog, DrWatson will report an Applikation Error. To solve the Problem you have to go to My Computer -> Properties -> -> Advanced -> Performance Settings -> Data Execution Prevention and then mark the Checkbox next to Nagios Windows Client. Hope this helps! Regards, Philipp _____________________________ Philipp Sand OC-CC-TEC-SYS SYCOR GmbH Heinrich-von-Stephan-Stra?e 1-5 D - 37073 G?ttingen Telefon +49 (0) 551 - 490 - 0 Telefax +49 (0) 551 - 490 - 232468 philipp.sand at sycor.de www.sycor.de ------------------------------------------------ ? ************************************************ sycor plastics - die neue Branchenloesung fuer die Kunststoffindustrie www.sycor-plastics.de ************************************************ Diese E-Mail ist vertraulich und kann darueber hinaus persoenliche Informationen beinhalten. Wenn Sie nicht der bestimmungsgemaesse Empfaenger sind, loeschen Sie bitte die E-Mail und deren Anhaenge sofort und benachrichtigen Sie uns darueber. Die Firma sycor willigt in keine Vertraege oder vertragliche Verpflichtungen ein oder uebermittelt rechtsverbindliche Angebote, die in Form von E-Mail versandt werden, sofern dies nicht ausdruecklich in schriftlicher Form zwischen den Parteien vereinbart wurde. This e-mail is confidential and may contain personal and/or privileged information. If you are not the intended recipient please delete this e-mail and all attachments immediately and inform us. The company sycor does not agree with contracts or contract obligations sent by e-mail, neither do we transmit legally binding offers by e-mail, unless this is not expressly agreed upon between the parties and documented in written form. ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_idv37&alloc_id865&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 30 12:50:07 2005 From: mfatihakbulut at gmail.com (Mehmet Fatih AKBULUT) Date: Wed, 30 Nov 2005 13:50:07 +0200 Subject: Secure Http & Sql Server Checks. Message-ID: hi all. (its me again) i asked this before but still no answer? and now wanna change the way of asking. theres no plugin like check_shttp nor check_sql. then how will i check secure sites ? just with check_http ? and is it possible to monitor sql server via nagios ? hope will satisfy with your answers ... bye -------------- next part -------------- An HTML attachment was scrubbed... URL: From jperrin at gmail.com Wed Nov 30 12:54:41 2005 From: jperrin at gmail.com (Jim Perrin) Date: Wed, 30 Nov 2005 06:54:41 -0500 Subject: Secure Http & Sql Server Checks. In-Reply-To: References: Message-ID: <302ce8b50511300354u13e5e95cn39886adfa58fc05a@mail.gmail.com> On 11/30/05, Mehmet Fatih AKBULUT wrote: > hi all. (its me again) > i asked this before but still no answer? > and now wanna change the way of asking. > theres no plugin like check_shttp nor check_sql. > then how will i check secure sites ? just with check_http ? > and is it possible to monitor sql server via nagios ? > hope will satisfy with your answers ... > bye > You could start by running ./check_http --help and noticing that there is infact an option for ssl. You can define that as its own command, or you can use it as an arg. Yes. It is possible to monitor sql servers with nagios. -- Jim Perrin System Architect - UIT Ft Gordon & US Army Signal Center ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_idv37&alloc_id865&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 matija.grabnar at arnes.si Wed Nov 30 15:30:51 2005 From: matija.grabnar at arnes.si (Matija Grabnar) Date: Wed, 30 Nov 2005 15:30:51 +0100 Subject: is there something like servicegroupescalation? Message-ID: <438DB79B.8060608@arnes.si> Running Nagios 1.3 Background: In an attempt to make it simple to add hosts/services to monitor to nagios, I've come up with a scheme where each host has a file in a configuration directory, and each file contains a list of all possible services (some commented out). That way, to add a new host, one simply needs to copy a template file to a file called .cfg, uncomment the services one wants monitored, and restart nagios. Problem: I want a specific escalation schedule for (all/most) of my services: first a mail is sent to a mailing list, and if the problem hasn't cleared after a specified time, the pagers of various people start getting notified (in a specific sequence). At first it looked like I might be able to do that by putting all the servers into a hostgroup, and defining a short list of hostgroupescalation settings. However, after testing it appears that hostgroupescalation only works for HOST events, and not for SERVICE events. Looking at serviceescalation, it looks like I would have to enter the same list of serviceescalation commands for each [host,service] pair - which would make my configuration file much more unwieldly. So is there any way to define escalations for GROUPS of services? All services on one host (without having to enumerate them) would be good. All services on a hostgroup would be even better. Any way short of having to enumerate all the [host,service] pairs would be at least something. I'm open to ideas. Best regards, Matija Grabnar ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637&alloc_id=16865&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 jcoombs at gwi.net Wed Nov 30 16:50:14 2005 From: jcoombs at gwi.net (Joshua Coombs) Date: Wed, 30 Nov 2005 10:50:14 -0500 Subject: "Service check did not exit properly", possible redhat bug? References: <200511292040.jATKeOYd005366@mx1.cs.umb.edu> Message-ID: > I am wondering if we are all seeing the efects of the same bug. > Joshua and Steve what distribution/kernel version are you running on > the boxes producing this error? > > -- rouilj > John Rouillard > =========================================================================== > My employers don't acknowledge my existence much less my opinions. I was observing it on FreeBSD 4.11 running nagios 1.2. Xach, one of the dev guys here spotted, and appears to have corrected the issue, at least on FreeBSD. http://www.meulie.net/forum_viewtopic.php?21.4472.0#4516 Xach: It turns out our local modifications to the service_message structure pushed it over 512 bytes, making its write() over the pipe in write_svc_message non-atomic. read_svc_message was then reading only a partial message, and the zeroed-out fields triggered the "did not exit properly!" errors. I posted (via gmane) to the nagios-devel list with the details and a patch. ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637&alloc_id=16865&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 snyper9311 at yahoo.com Wed Nov 30 18:39:41 2005 From: snyper9311 at yahoo.com (abid dar) Date: Wed, 30 Nov 2005 09:39:41 -0800 (PST) Subject: eventhandler issue Message-ID: <20051130173941.20187.qmail@web31007.mail.mud.yahoo.com> So I setup eventhandler for one of my servers similar to the write up on the nagios site. I see the eventhandler is triggered in nagios.log. "[1133367310] SERVICE EVENT HANDLER: ice.asdf.com;HTTP;CRITICAL;HARD;3;restart-httpd" however, the restart-httpd is not triggered. so then I ran the script via the command line: ./restart-httpd CRITICAL SOFT 3 the script works. my check_commands.cfg: define command{ command_name restart-httpd command_line /usr/local/nagios/libexec/eventhandlers/restart-httpd $SERVICESTATE$ $STATETYPE$ $SERVICEATTEMPT$ } my services.cfg define service{ use generic-service host_name ice.asdf.com service_description HTTP is_volatile 0 check_period 24x7 max_check_attempts 3 normal_check_interval 5 retry_check_interval 1 contact_groups on-call notification_interval 1 notification_period 24x7 notification_options c,r check_command check_http!80 event_handler restart-httpd } can anyone offer an explanation on why it looks like the event trigger is being triggered but the $SERVICESTATE$ $STATETYPE$ $SERVICEATTEMPT$ is not being sent to the script.. what else should I be looking at..? thanks in advance. __________________________________ Start your day with Yahoo! - Make it your home page! http://www.yahoo.com/r/hs ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637&alloc_id=16865&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 30 19:00:50 2005 From: andrew at profitability.net (Andrew Cruse) Date: Wed, 30 Nov 2005 13:00:50 -0500 Subject: eventhandler issue In-Reply-To: <20051130173941.20187.qmail@web31007.mail.mud.yahoo.com> References: <20051130173941.20187.qmail@web31007.mail.mud.yahoo.com> Message-ID: Does the Nagios user have execute permissions on restart-httpd? Does the Nagios user have enough permissions to execute the commands contained in restart-httpd to restart Apache? Andrew nagios-users-admin at lists.sourceforge.net wrote: > So I setup eventhandler for one of my servers similar to the > write up on the nagios site. > > I see the eventhandler is triggered in nagios.log. > > "[1133367310] SERVICE EVENT HANDLER: > ice.asdf.com;HTTP;CRITICAL;HARD;3;restart-httpd" > > however, the restart-httpd is not triggered. > > so then I ran the script via the command line: > ./restart-httpd CRITICAL SOFT 3 > > the script works. > > my check_commands.cfg: > define command{ > command_name restart-httpd > command_line > /usr/local/nagios/libexec/eventhandlers/restart-httpd > $SERVICESTATE$ $STATETYPE$ $SERVICEATTEMPT$ } > > my services.cfg > define service{ > use generic-service > host_name ice.asdf.com > service_description HTTP > is_volatile 0 > check_period 24x7 > max_check_attempts 3 > normal_check_interval 5 > retry_check_interval 1 > contact_groups on-call > notification_interval 1 > notification_period 24x7 > notification_options c,r > check_command check_http!80 > event_handler restart-httpd > } > > > can anyone offer an explanation on why it looks like the > event trigger is being triggered but the $SERVICESTATE$ > $STATETYPE$ $SERVICEATTEMPT$ is not being sent to the script.. > > what else should I be looking at..? > > thanks in advance. > > > > __________________________________ > Start your day with Yahoo! - Make it your home page! > http://www.yahoo.com/r/hs > > > ------------------------------------------------------- > This SF.net email is sponsored by: Splunk Inc. Do you grep > through log files > for problems? Stop! Download the new AJAX search engine that makes > searching your log files as easy as surfing the web. > DOWNLOAD SPLUNK! > http://ads.osdn.com/?ad_id=7637&alloc_id=16865&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: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637&alloc_id=16865&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 hvdkooij at vanderkooij.org Wed Nov 30 19:45:37 2005 From: hvdkooij at vanderkooij.org (Hugo van der Kooij) Date: Wed, 30 Nov 2005 19:45:37 +0100 (CET) Subject: Secure Http & Sql Server Checks. In-Reply-To: References: Message-ID: On Wed, 30 Nov 2005, Mehmet Fatih AKBULUT wrote: > theres no plugin like check_shttp nor check_sql. And what SQL server would that be? MySQL, PostgreSQL, .....? Hugo. -- I hate duplicates. Just reply to the relevant mailinglist. hvdkooij at vanderkooij.org http://hvdkooij.xs4all.nl/ Don't meddle in the affairs of magicians, for they are subtle and quick to anger. ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637&alloc_id=16865&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 hvdkooij at vanderkooij.org Wed Nov 30 19:43:26 2005 From: hvdkooij at vanderkooij.org (Hugo van der Kooij) Date: Wed, 30 Nov 2005 19:43:26 +0100 (CET) Subject: whats wrong with these definitions ? help please! In-Reply-To: References: Message-ID: On Wed, 30 Nov 2005, Mehmet Fatih AKBULUT wrote: > check_command check_dns /* is it necessary to add something > here ?*/ Not if you use the default: define command{ command_name check_dns command_line $USER1$/check_dns -H www.yahoo.com -s $HOSTADDRESS$ } > check_command check_ldaps /* is it necessary to add something > here ?*/ Just how did you define that one? What did you get when you ran the Nagios check on the config? Hugo. -- I hate duplicates. Just reply to the relevant mailinglist. hvdkooij at vanderkooij.org http://hvdkooij.xs4all.nl/ Don't meddle in the affairs of magicians, for they are subtle and quick to anger. ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637&alloc_id=16865&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 drussell at mpifix.com Wed Nov 30 19:48:23 2005 From: drussell at mpifix.com (Danny Russell) Date: Wed, 30 Nov 2005 11:48:23 -0700 Subject: Manipulation of email notifications Message-ID: <028B223BB24E5443A9784BBE1CC5EBE06F5A8D@Lisa.mpifix.com> Will you share your sample alert-email.sh with us? -----Original Message----- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Tedman Eng Sent: Wednesday, November 30, 2005 11:46 AM To: 'Deborah Martin'; 'nagios-users at lists.sourceforge.net' Subject: RE: [Nagios-users] Manipulation of email notifications Replace the "one-liner" notification command with an external script. This will let you include any sort of logic you'd like in the script. Pass the nagios variables to the script as arguments. define command{ command_name notify-by-email command_line alert-email.sh $NOTIFICATIONTYPE$ $SERVICEDESC$ $SERVICEACKCOMMENT$... } -----Original Message----- From: Deborah Martin [mailto:Deborah.Martin at Kognitio.com] Sent: Wednesday, November 30, 2005 2:04 AM To: 'nagios-users at lists.sourceforge.net' Subject: [Nagios-users] Manipulation of email notifications Hi, Is there a way to manipulate the content of an email by type of email notification ? For example, if I acknowledge a Critical alert with the text 'Under Investigation', I want to include that text in the email notification. However, if I receive a recovery notification I don't need to have the acknowledgement text included. I've configured the following in miscommands.cfg # 'notify-by-email' command definition define command{ command_name notify-by-email command_line /usr/bin/printf "%b" "***** Nagios *****\n\nNotification Type: $NOTIFICATIONTYPE$\n\nService: $SERVICEDESC$ \nHost: $HOSTALIAS$\nAddress: $HOSTADDRESS$\nState: $SERVICESTATE$\n\nDate/Time: $LONGDATETIME$\n\nAdditional Info:\n\n$SERVICEOUTPUT$\nAcknowledgements: $SERVICEACKCOMMENT$" | /usr/bin/mail -s "** $NOTIFICATIONTYPE$ alert - $HOSTALIAS$/$SERVICEDESC$ is $SERVICESTATE$ **" $CONTACTEMAIL$ } But I do not want ` \nAcknowledgements: $SERVICEACKCOMMENT$ ` on Recovery alerts. The alternative would be to have a default value set of N/A which is overridden with a value if an acknowledgement has been set but I don't see an easy way to do this either. Does anyone have any ideas if it can be done (and how) or that it can't be done like this ? thanks, 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. *********************************************************************** ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637&alloc_id=16865&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: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_idv37&alloc_id865&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 teng at dataway.com Wed Nov 30 19:46:08 2005 From: teng at dataway.com (Tedman Eng) Date: Wed, 30 Nov 2005 10:46:08 -0800 Subject: Manipulation of email notifications Message-ID: <37ED92F9890FAF4BB947613C66FF8B1A08BB2C4C@dw-mail.dataway.com> Replace the "one-liner" notification command with an external script. This will let you include any sort of logic you'd like in the script. Pass the nagios variables to the script as arguments. define command{ command_name notify-by-email command_line alert-email.sh $NOTIFICATIONTYPE$ $SERVICEDESC$ $SERVICEACKCOMMENT$... } -----Original Message----- From: Deborah Martin [mailto:Deborah.Martin at Kognitio.com] Sent: Wednesday, November 30, 2005 2:04 AM To: 'nagios-users at lists.sourceforge.net' Subject: [Nagios-users] Manipulation of email notifications Hi, Is there a way to manipulate the content of an email by type of email notification ? For example, if I acknowledge a Critical alert with the text 'Under Investigation', I want to include that text in the email notification. However, if I receive a recovery notification I don't need to have the acknowledgement text included. I've configured the following in miscommands.cfg # 'notify-by-email' command definition define command{ command_name notify-by-email command_line /usr/bin/printf "%b" "***** Nagios *****\n\nNotification Type: $NOTIFICATIONTYPE$\n\nService: $SERVICEDESC$ \nHost: $HOSTALIAS$\nAddress: $HOSTADDRESS$\nState: $SERVICESTATE$\n\nDate/Time: $LONGDATETIME$\n\nAdditional Info:\n\n$SERVICEOUTPUT$\nAcknowledgements: $SERVICEACKCOMMENT$" | /usr/bin/mail -s "** $NOTIFICATIONTYPE$ alert - $HOSTALIAS$/$SERVICEDESC$ is $SERVICESTATE$ **" $CONTACTEMAIL$ } But I do not want ` \nAcknowledgements: $SERVICEACKCOMMENT$ ` on Recovery alerts. The alternative would be to have a default value set of N/A which is overridden with a value if an acknowledgement has been set but I don't see an easy way to do this either. Does anyone have any ideas if it can be done (and how) or that it can't be done like this ? thanks, 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. *********************************************************************** ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637&alloc_id=16865&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 30 20:08:09 2005 From: mfatihakbulut at gmail.com (Mehmet Fatih AKBULUT) Date: Wed, 30 Nov 2005 21:08:09 +0200 Subject: Secure Http & Sql Server Checks. In-Reply-To: References: Message-ID: hi Hugo. its mssql server. -------------- next part -------------- An HTML attachment was scrubbed... URL: From teng at dataway.com Wed Nov 30 20:25:25 2005 From: teng at dataway.com (Tedman Eng) Date: Wed, 30 Nov 2005 11:25:25 -0800 Subject: Manipulation of email notifications Message-ID: <37ED92F9890FAF4BB947613C66FF8B1A08BB2C4D@dw-mail.dataway.com> The notification script we use for our installation is customized for our needs, but the method is the same. Something similar to the following should work. To get more fancy, consult your local shell scripting guide. ---------------------------- #!/bin/sh CONTACTEMAIL=$1 NOTIFICATIONTYPE=$2 SERVICEDESC=$3 SERVICESTATE=$4 SERVICEACKCOMMENT=$5 SERVICEOUTPUT=$6 [ "NOTIFICATIONTYPE" = "ACKNOWLEDGEMENT" ] && /usr/bin/printf "%b" \ "Service: $SERVICEDESC$\n State: $SERVICESTATE\n Comment: $SERVICEACKCOMMENT" |\ /usr/bin/mail -s "Acknowledged" $CONTACTEMAIL [ "NOTIFICATIONTYPE" = "PROBLEM" ] && /usr/bin/printf "%b" \ "Service: $SERVICEDESC$\n State: $SERVICESTATE\n Info: $SERVICEOUTPUT" |\ /usr/bin/mail -s "Problem" $CONTACTEMAIL [ "NOTIFICATIONTYPE" = "RECOVERY" ] && /usr/bin/printf "%b" \ "Service: $SERVICEDESC$\n State: $SERVICESTATE\n Info: $SERVICEOUTPUT" |\ /usr/bin/mail -s "Ok" $CONTACTEMAIL ------------------------------ -----Original Message----- From: Danny Russell [mailto:drussell at mpifix.com] Sent: Wednesday, November 30, 2005 10:48 AM To: Tedman Eng; Deborah Martin; nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] Manipulation of email notifications Will you share your sample alert-email.sh with us? -----Original Message----- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Tedman Eng Sent: Wednesday, November 30, 2005 11:46 AM To: 'Deborah Martin'; 'nagios-users at lists.sourceforge.net' Subject: RE: [Nagios-users] Manipulation of email notifications Replace the "one-liner" notification command with an external script. This will let you include any sort of logic you'd like in the script. Pass the nagios variables to the script as arguments. define command{ command_name notify-by-email command_line alert-email.sh $NOTIFICATIONTYPE$ $SERVICEDESC$ $SERVICEACKCOMMENT$... } -----Original Message----- From: Deborah Martin [mailto:Deborah.Martin at Kognitio.com] Sent: Wednesday, November 30, 2005 2:04 AM To: 'nagios-users at lists.sourceforge.net' Subject: [Nagios-users] Manipulation of email notifications Hi, Is there a way to manipulate the content of an email by type of email notification ? For example, if I acknowledge a Critical alert with the text 'Under Investigation', I want to include that text in the email notification. However, if I receive a recovery notification I don't need to have the acknowledgement text included. I've configured the following in miscommands.cfg # 'notify-by-email' command definition define command{ command_name notify-by-email command_line /usr/bin/printf "%b" "***** Nagios *****\n\nNotification Type: $NOTIFICATIONTYPE$\n\nService: $SERVICEDESC$ \nHost: $HOSTALIAS$\nAddress: $HOSTADDRESS$\nState: $SERVICESTATE$\n\nDate/Time: $LONGDATETIME$\n\nAdditional Info:\n\n$SERVICEOUTPUT$\nAcknowledgements: $SERVICEACKCOMMENT$" | /usr/bin/mail -s "** $NOTIFICATIONTYPE$ alert - $HOSTALIAS$/$SERVICEDESC$ is $SERVICESTATE$ **" $CONTACTEMAIL$ } But I do not want ` \nAcknowledgements: $SERVICEACKCOMMENT$ ` on Recovery alerts. The alternative would be to have a default value set of N/A which is overridden with a value if an acknowledgement has been set but I don't see an easy way to do this either. Does anyone have any ideas if it can be done (and how) or that it can't be done like this ? thanks, 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. *********************************************************************** ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637&alloc_id=16865&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: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637&alloc_id=16865&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 djimenez at membersourcecu.org Wed Nov 30 20:37:46 2005 From: djimenez at membersourcecu.org (Daniel Jimenez) Date: Wed, 30 Nov 2005 13:37:46 -0600 Subject: nrpe ver. 2 on AIX 5.2 Message-ID: Yeah, I've compiled mine straight from source and I still get those errors w/check_disk. check_load works great. Daniel -----Original Message----- From: Petrucci, Joseph [mailto:Joseph.Petrucci at ddiworld.com] Sent: Monday, November 28, 2005 10:38 AM To: Chrietzberg, Aletha; Kevin Alford; Daniel Jimenez; nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] RE: nrpe ver. 2 on AIX 5.2 Last time I was in an AIX shop, there was a Linux tools for AIX CD that came with 5.2. load GCC from there then get a source copy of Nagios and try to compile it. you might have to load on a few more libraries but I do not think so. >-----Original Message----- >From: nagios-users-admin at lists.sourceforge.net >[mailto:nagios-users-admin at lists.sourceforge.net]On Behalf Of >Chrietzberg, Aletha >Sent: Monday, November 28, 2005 11:31 AM >To: 'Kevin Alford'; Daniel Jimenez; Chrietzberg, Aletha; >nagios-users at lists.sourceforge.net >Subject: RE: [Nagios-users] RE: nrpe ver. 2 on AIX 5.2 > > >I went to the link you gave but I don't see a discussion on installing >Nagios base on AIX 5.2. I do see the nrpe install but I thought you >had to have Nagios running somewhere to use this. I am an AIX only >shop. > >Or did I misunderstand/misread something in your answer? > > > > > >-----Original Message----- >From: Kevin Alford [mailto:kevin.alford at tmctechnologies.com] >Sent: Monday, November 28, 2005 10:46 AM >To: Daniel Jimenez; Chrietzberg, Aletha; >nagios-users at lists.sourceforge.net >Subject: RE: [Nagios-users] RE: nrpe ver. 2 on AIX 5.2 (Daniel Jimenez) > > >I used the following link to install mine, and it worked fine. I am >running AIX 5.2 ML7. > >http://www.nagiosexchange.org/nagios-users.34.0.html?&tx_mailli >sttofaq_p >i1%5Bmode%5D=1&tx_maillisttofaq_pi1%5BshowUid%5D=12441#childUid12708 > > > > >Kevin D. Alford >Manager, >Network and Facility >TMC Technologies, Inc. > >a Global Science & Technology Company > > > > >-----Original Message----- >From: nagios-users-admin at lists.sourceforge.net >[mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Daniel >Jimenez >Sent: Monday, November 28, 2005 10:45 AM >To: Chrietzberg, Aletha; nagios-users at lists.sourceforge.net >Subject: RE: [Nagios-users] RE: nrpe ver. 2 on AIX 5.2 (Daniel Jimenez) > >I'm actually not installing Nagios, but just NRPE and the plugins. I'm >having problems with the most important plugin for my specific >environment, which is check_disk. I'm sticking to Linux for my Nagios >Core install. > >-----Original Message----- >From: Chrietzberg, Aletha [mailto:Alethad at unch.unc.edu] >Sent: Monday, November 28, 2005 8:27 AM >To: 'nagios-users at lists.sourceforge.net' >Subject: [Nagios-users] RE: nrpe ver. 2 on AIX 5.2 (Daniel Jimenez) > >Daniel, >I have been trying to get nagios installed on AIX 5.2 for some time but >to no avail. Is there anything you can pass along that may help me? >Did you have to install any extra AIX PTFs? I have Perl, gdlib, zlib, >gcc >and libpng installed. But where I'm getting into trouble is in the >running >of make on the main Nagios makefile. One of the errors is in regards >to >gcc warnings on a bunch of undeclared identifiers. > >I have been battling this for a while but can find no one that can help >me. >I pick it up and put it down. I am still running the old Netsaint and >have >been hanging on to that so I can have something. > >I promise not to take up too much of your time. I just want >to get the >base running. I can handle the plugins. >Any help would be greatly appreciated. > > > >Never let the fear of striking out get in your way. > Babe Ruth > > >Aletha D Chrietzberg >ISD - AIX Tech Services >UNC Healthcare >(919) 966-4888 > > > > > >------------------------------------------------------- >This SF.net email is sponsored by: Splunk Inc. Do you grep through log >files for problems? Stop! Download the new AJAX search engine that >makes searching your log files as easy as surfing the web. DOWNLOAD >SPLUNK! >http://ads.osdn.com/?ad_id=7637&alloc_id=16865&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: Splunk Inc. Do you grep through log >files for problems? Stop! Download the new AJAX search engine that >makes searching your log files as easy as surfing the web. DOWNLOAD >SPLUNK! >http://ads.osdn.com/?ad_idv37&alloc_id865&op=ick >_______________________________________________ >Nagios-users mailing list >Nagios-users at lists.sourceforge.net >https://lists.sourceforge.net/lists/listinfo/nagios-users >::: 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: Splunk Inc. Do you grep through log >files for problems? Stop! Download the new AJAX search engine that >makes searching your log files as easy as surfing the web. DOWNLOAD >SPLUNK! >http://ads.osdn.com/?ad_id=7637&alloc_id=16865&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: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_idv37&alloc_id865&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 30 20:23:27 2005 From: marc at ena.com (Marc Powell) Date: Wed, 30 Nov 2005 13:23:27 -0600 Subject: Secure Http & Sql Server Checks. Message-ID: > -----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: Wednesday, November 30, 2005 1:08 PM > To: nagios-users at lists.sourceforge.net > Cc: hvdkooij at vanderkooij.org > Subject: Re: [Nagios-users] Secure Http & Sql Server Checks. > > hi Hugo. > its mssql server. I still baffled why people don't try Google as a basic research tool. Google is always an excellent way to quickly find out if a plugin might exist and will almost always provide you with the information to find it -- http://www.google.com/search?q=nagios+check+mssql&sourceid=mozilla-searc h&start=0&start=0&ie=utf-8&oe=utf-8&client=firefox-a&rls=org.mozilla:en- US:official Or you can look at the plugins, the plugins contrib and the plugins-scripts in the standard distribution -- [nagios-plugins-1.4.1]$ ./contrib/check_mssql.sh --help which: no tsql in (/usr/local/bin:/bin:/usr/bin:/usr/X11R6/bin:/home/mpowell/bin) You did not supply enough arguments. Usage: ./contrib/check_mssql.sh ./contrib/check_mssql.sh checks Microsoft SQL Server connectivity. It works with versions 7 and 2000. You need a working version of FreeTDS (http://www.freetds.org/) and tsql (included in FreeTDS 6.0+) to connect to the SQL server. It was written by Tom De Blende (tom.deblende at village.uunet.be) in 2003. Example: ./contrib/check_mssql.sh dbserver sa f00bar 2000 Or you can check nagiosexchange.org -- http://www.nagiosexchange.org/Databases.57.0.html?&tx_netnagext_pi1[p_vi ew]=358 -- Marc ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_idv37&alloc_id865&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 30 20:09:49 2005 From: mfatihakbulut at gmail.com (Mehmet Fatih AKBULUT) Date: Wed, 30 Nov 2005 21:09:49 +0200 Subject: whats wrong with these definitions ? help please! In-Reply-To: References: Message-ID: check_dns works fine. i've just have problems with check_ldaps and check_dhcp. orher checks works with no problem. -------------- next part -------------- An HTML attachment was scrubbed... URL: From Alethad at unch.unc.edu Wed Nov 30 21:01:02 2005 From: Alethad at unch.unc.edu (Chrietzberg, Aletha) Date: Wed, 30 Nov 2005 15:01:02 -0500 Subject: nrpe ver. 2 on AIX 5.2 Message-ID: Daniel, Do you still want that script fro check_disk? You want me to just email it to you? I didn't want to clutter the user list with alot of script lines. Let me know. Never let the fear of striking out get in your way. Babe Ruth Aletha D Chrietzberg ISD - AIX Tech Services UNC Healthcare (919) 966-4888 -----Original Message----- From: Daniel Jimenez [mailto:djimenez at membersourcecu.org] Sent: Wednesday, November 30, 2005 2:38 PM To: Petrucci, Joseph; Chrietzberg, Aletha; Kevin Alford; nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] RE: nrpe ver. 2 on AIX 5.2 Yeah, I've compiled mine straight from source and I still get those errors w/check_disk. check_load works great. Daniel -----Original Message----- From: Petrucci, Joseph [mailto:Joseph.Petrucci at ddiworld.com] Sent: Monday, November 28, 2005 10:38 AM To: Chrietzberg, Aletha; Kevin Alford; Daniel Jimenez; nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] RE: nrpe ver. 2 on AIX 5.2 Last time I was in an AIX shop, there was a Linux tools for AIX CD that came with 5.2. load GCC from there then get a source copy of Nagios and try to compile it. you might have to load on a few more libraries but I do not think so. >-----Original Message----- >From: nagios-users-admin at lists.sourceforge.net >[mailto:nagios-users-admin at lists.sourceforge.net]On Behalf Of >Chrietzberg, Aletha >Sent: Monday, November 28, 2005 11:31 AM >To: 'Kevin Alford'; Daniel Jimenez; Chrietzberg, Aletha; >nagios-users at lists.sourceforge.net >Subject: RE: [Nagios-users] RE: nrpe ver. 2 on AIX 5.2 > > >I went to the link you gave but I don't see a discussion on installing >Nagios base on AIX 5.2. I do see the nrpe install but I thought you >had to have Nagios running somewhere to use this. I am an AIX only >shop. > >Or did I misunderstand/misread something in your answer? > > > > > >-----Original Message----- >From: Kevin Alford [mailto:kevin.alford at tmctechnologies.com] >Sent: Monday, November 28, 2005 10:46 AM >To: Daniel Jimenez; Chrietzberg, Aletha; >nagios-users at lists.sourceforge.net >Subject: RE: [Nagios-users] RE: nrpe ver. 2 on AIX 5.2 (Daniel Jimenez) > > >I used the following link to install mine, and it worked fine. I am >running AIX 5.2 ML7. > >http://www.nagiosexchange.org/nagios-users.34.0.html?&tx_mailli >sttofaq_p >i1%5Bmode%5D=1&tx_maillisttofaq_pi1%5BshowUid%5D=12441#childUid12708 > > > > >Kevin D. Alford >Manager, >Network and Facility >TMC Technologies, Inc. > >a Global Science & Technology Company > > > > >-----Original Message----- >From: nagios-users-admin at lists.sourceforge.net >[mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Daniel >Jimenez >Sent: Monday, November 28, 2005 10:45 AM >To: Chrietzberg, Aletha; nagios-users at lists.sourceforge.net >Subject: RE: [Nagios-users] RE: nrpe ver. 2 on AIX 5.2 (Daniel Jimenez) > >I'm actually not installing Nagios, but just NRPE and the plugins. I'm >having problems with the most important plugin for my specific >environment, which is check_disk. I'm sticking to Linux for my Nagios >Core install. > >-----Original Message----- >From: Chrietzberg, Aletha [mailto:Alethad at unch.unc.edu] >Sent: Monday, November 28, 2005 8:27 AM >To: 'nagios-users at lists.sourceforge.net' >Subject: [Nagios-users] RE: nrpe ver. 2 on AIX 5.2 (Daniel Jimenez) > >Daniel, >I have been trying to get nagios installed on AIX 5.2 for some time but >to no avail. Is there anything you can pass along that may help me? >Did you have to install any extra AIX PTFs? I have Perl, gdlib, zlib, >gcc >and libpng installed. But where I'm getting into trouble is in the >running >of make on the main Nagios makefile. One of the errors is in regards >to >gcc warnings on a bunch of undeclared identifiers. > >I have been battling this for a while but can find no one that can help >me. >I pick it up and put it down. I am still running the old Netsaint and >have >been hanging on to that so I can have something. > >I promise not to take up too much of your time. I just want >to get the >base running. I can handle the plugins. >Any help would be greatly appreciated. > > > >Never let the fear of striking out get in your way. > Babe Ruth > > >Aletha D Chrietzberg >ISD - AIX Tech Services >UNC Healthcare >(919) 966-4888 > > > > > >------------------------------------------------------- >This SF.net email is sponsored by: Splunk Inc. Do you grep through log >files for problems? Stop! Download the new AJAX search engine that >makes searching your log files as easy as surfing the web. DOWNLOAD >SPLUNK! >http://ads.osdn.com/?ad_id=7637&alloc_id=16865&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: Splunk Inc. Do you grep through log >files for problems? Stop! Download the new AJAX search engine that >makes searching your log files as easy as surfing the web. DOWNLOAD >SPLUNK! >http://ads.osdn.com/?ad_idv37&alloc_id865&op=ick >_______________________________________________ >Nagios-users mailing list >Nagios-users at lists.sourceforge.net >https://lists.sourceforge.net/lists/listinfo/nagios-users >::: 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: Splunk Inc. Do you grep through log >files for problems? Stop! Download the new AJAX search engine that >makes searching your log files as easy as surfing the web. DOWNLOAD >SPLUNK! >http://ads.osdn.com/?ad_id=7637&alloc_id=16865&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: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637&alloc_id=16865&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 30 21:13:11 2005 From: marc at ena.com (Marc Powell) Date: Wed, 30 Nov 2005 14:13:11 -0600 Subject: whats wrong with these definitions ? help please! Message-ID: > -----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: Wednesday, November 30, 2005 1:10 PM > To: hvdkooij at vanderkooij.org > Cc: nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] whats wrong with these definitions ? help > please! > > check_dns works fine. > i've just have problems with check_ldaps and check_dhcp. > orher checks works with no problem. Just a hint but providing _relevant_ context from previous e-mails will greatly enhance your chances of receiving informative and useful responses from people who might not have been religiously following your thread. You want to make it as easy as possible for the people you are asking for help to follow what's going on and where you're at in the process. Many people delete their e-mail after they've seen or decided to ignore it and therefore have no reference at all for what you're talking about above. -- Marc ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_idv37&alloc_id865&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