Re: [Nagios-users] Nagios notifications by voice call ?
What about Google voice? "Bob Sauvage" wrote: > Hello * , > >I want to relay my nagios notifications by voice call and by SMS. The >night the call ringtone is more audible... >I found many SMS providers but none to relay my notifications by voice >call ! > >I have a limitation, I do not want to install a GSM modem or other >things like that... > >Thanks in advance ! > >-- >Virtualization is moving to the mainstream and overtaking non-virtualized >environment for deploying applications. Does it make network security >easier or more difficult to achieve? Read this whitepaper to separate the >two and get a better understanding. >http://p.sf.net/sfu/hp-phase2-d2d >___ >Nagios-users mailing list >Nagios-users@lists.sourceforge.net >https://lists.sourceforge.net/lists/listinfo/nagios-users >::: Please include Nagios version, plugin version (-v) and OS when reporting >any issue. >::: Messages without supporting info will risk being sent to /dev/null -- Sent from my Android phone with K-9 Mail. Please excuse my brevity. -- Virtualization is moving to the mainstream and overtaking non-virtualized environment for deploying applications. Does it make network security easier or more difficult to achieve? Read this whitepaper to separate the two and get a better understanding. http://p.sf.net/sfu/hp-phase2-d2d ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
Re: [Nagios-users] I/O utilization & Xenserver
You can also pull these stats form the Xen servers themselves via the Xen API. I'm working on a perl implementation of the Xen API which will greatly reduce the amount of work required to write Xen nagios plugins. I've got spent lots of time working on Citrix Xen servers and server monitoring. When you are monitoring Xen servers, there are 2 places to collect stats. The first being the host (Dom0) and the second being through the Xen API which will give you lots of easy to collect information from a Xen host or pool. Basically, you could monitor your disk IO from Dom0 as well as through the Xen API via some SR monitors. Using both would be the best approach, but right now it's not very easy. For the iostat details, not sure if that comes installed on the Citrix Xen install, I have never seen a good solution. Most solutions involve a cron job that executes iostat to collect data for x seconds and output the data to a text file which is then parsed and then passed on to a MIB. Let us know if you find a good solution for collecting disk IO (It's been awhile since I checked). I'll keep you posted about the Xen plugins. Matthew J. Salerno - Original Message From: "andr...@one.net" To: Nagios Users List Sent: Tue, September 28, 2010 3:57:07 PM Subject: [Nagios-users] I/O utilization & Xenserver Is anyone monitoring realtime or near-realtime (5 min averages?) i/o utilization in Citrix Xenserver pools using NFS volumes? Ideally I'd love to grab aggregrate data for each pool, but I'd even settle for per-node i/o utilization. I noticed that iostat is installed on Xenserver 5.6, so I would assume that it should be possible to shoehorn NRPE onto each node and whip up a quick little check script to grab some data from 'iostat -n' but surely there's a better way to do this... Andrew -- Start uncovering the many advantages of virtual appliances and start using them to simplify application deployment and accelerate your shift to cloud computing. http://p.sf.net/sfu/novell-sfdev2dev ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null -- Start uncovering the many advantages of virtual appliances and start using them to simplify application deployment and accelerate your shift to cloud computing. http://p.sf.net/sfu/novell-sfdev2dev ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
Re: [Nagios-users] I/O utilization & Xenserver
Are you using a pool? Where are you pulling the stats from? Xen hosts or nfs server? andr...@one.net wrote: >Is anyone monitoring realtime or near-realtime (5 min averages?) i/o >utilization in Citrix Xenserver pools using NFS volumes? Ideally I'd love >to grab aggregrate data for each pool, but I'd even settle for per-node i/o >utilization. I noticed that iostat is installed on Xenserver 5.6, so I >would assume that it should be possible to shoehorn NRPE onto each node and >whip up a quick little check script to grab some data from 'iostat -n' but >surely there's a better way to do this... > >Andrew > > >-- >Start uncovering the many advantages of virtual appliances >and start using them to simplify application deployment and >accelerate your shift to cloud computing. >http://p.sf.net/sfu/novell-sfdev2dev >___ >Nagios-users mailing list >Nagios-users@lists.sourceforge.net >https://lists.sourceforge.net/lists/listinfo/nagios-users >::: Please include Nagios version, plugin version (-v) and OS when reporting >any issue. >::: Messages without supporting info will risk being sent to /dev/null -- Sent from my Android phone with K-9 Mail. Please excuse my brevity. -- Start uncovering the many advantages of virtual appliances and start using them to simplify application deployment and accelerate your shift to cloud computing. http://p.sf.net/sfu/novell-sfdev2dev ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
Re: [Nagios-users] ICMP Blocked - Windows Host
Do a tcp ping on port 3389 or 445 "Anthony" wrote: >Hi, > >> I am using NSClient++ to monitor several Windows boxes. It is not >> possible to allow ICMP echo on these boxes. >> >> For this reason, I can monitor processes and services but the host >> itself shows as up. >> >> Is there a way around this? >> Is it possible to do a check other than ping to show a host status of >> up? > >Have you considered passive monitoring instead? > >NSClient can be configured to push results instead of being queried on >demand. You can use this in conjunction with setting the host as >passively checked only and setting a freshness threshold such that if >the freshness threshold is exceeded, then the active check command >specified is run, which can do something like trigger a WARNING or >CRITICAL state. I've used "check_dummy" as the active check command >to do this. > >I rolled out two standard and one custom config file (altered from a >template) for each nsclient install, so after installing NSClient++ >with defaults, I'd just drop in my standard files and restart the >service. > >Of course, this means that every windows host has a copy of the >password to submit results to NSCA. You may or may not like this >approach. > >Ie. Nagios: >--- >define host{ >use ... >namewindows-server >check_command host-pasv-stale >active_checks_enabled 0 >passive_checks_enabled 1 >freshness_threshold 600 >check_freshness 1 >} >... >define command{ >command_namehost-pasv-stale >command_line$USER1$/check_dummy 3 "Computer or monitoring is > switched off" >} > >(This is unknown state, you might prefer another state number and message) > >NSClient++ NSC.ini: >--- >[modules] >NSCAAgent.dll >CheckWMI.dll >CheckSystem.dll >CheckDisk.dll >CheckEventLog.dll >CheckHelpers.dll >CheckExternalScripts.dll > >[Settings] >use_file=1 > >[includes] >;# The order when used is "reversed" thus the last included file will be >"first" >;# Included files can include other files (be carefull only do basic recursive >checking) > >custom.ini >common.ini > >NSClient++ common.ini: >-- > >[External Script] >command_timeout=60 >allow_nasty_meta_chars=0 > >[External Scripts] >; Can be called as "Example_Command" later on >; Stripped out some inhouse commands here >Example_Command=C:\EXAMPLE\EXAMPLE.EXE > >[External Alias] >; Can be called as "FaxRX" later on >FaxRX=CheckProcState MinCritCount=0 MaxCritCount=2 faxrx.exe=started > >[NSCA Agent] >; Have the windows box phone home every 60 seconds >interval=60 >; Must match NSCA server config >encryption_method= >password= >nsca_host= >nsca_port= > >[NSCA Commands] >; Common commands all hosts will run >; The next line - host_check - is what sends the passive "I'm alive" message... >host_check=CheckOK "NSClient++ running" >CPU_Check=checkCPU warn=100 crit=100 time=1 warn=95 crit=99 time=5 warn=90 >crit=95 time=15 >DiskFree=CheckDriveSize MinWarnFree=1g MinCrit=500m CheckAllOthers >FilterType=FIXED Drive=A Drive=B >WinServices=checkServiceState CheckAll "exclude=SysmonLog" "exclude=ATI Smart" >"exclude=Ati HotKey Poller" "exclude=ATI HotKey Poller" exclude=Fax >exclude=NSClientpp exclude=vmount2 exclude=RoxLiveShare10 exclude=RoxWatch10 >"exclude=Roxio Upnp Server 10" exclude=SessionLauncher exclude=WebClient > >Example NSClient++ custom.ini: >-- >[NSCA Agent] >; If you want to override the windows hostname with something else used in >Nagios >; hostname=... > >[NSCA Commands] >; Format: >; WhatNagiosCallsIt=WhatItsDefinedAsHere >FaxRX=FaxRX >Explorer=CheckProcState MinCritCount=0 MaxCritCount=2 explorer.exe=started > >-- >This SF.net email is sponsored by > >Make an app they can't live without >Enter the BlackBerry Developer Challenge >http://p.sf.net/sfu/RIM-dev2dev >___ >Nagios-users mailing list >Nagios-users@lists.sourceforge.net >https://lists.sourceforge.net/lists/listinfo/nagios-users >::: Please include Nagios version, plugin version (-v) and OS when reporting >any issue. >::: Messages without supporting info will risk being sent to /dev/null -- Sent from my Android phone with K-9 Mail. Please excuse my brevity. -- This SF.net email is sponsored by Make an app they can't live without Enter the BlackBerry Developer Challenge http://p.sf.net/sfu/RIM-dev2dev ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /d
Re: [Nagios-users] Centreon nagiosadmin login says invalid user!!!
Try just admin "Carlos de Santa-Ana Garcia" wrote: > Hi, > > >The admin user for centreon is centreonadmin, not nagiosadmin. > > >You can conect to centreon database and make a select of the users in >your centreon and you can make an update to change the password if need it. > > > >Greets. > >-- >This SF.net email is sponsored by > >Make an app they can't live without >Enter the BlackBerry Developer Challenge >http://p.sf.net/sfu/RIM-dev2dev >___ >Nagios-users mailing list >Nagios-users@lists.sourceforge.net >https://lists.sourceforge.net/lists/listinfo/nagios-users >::: Please include Nagios version, plugin version (-v) and OS when reporting >any issue. >::: Messages without supporting info will risk being sent to /dev/null -- Sent from my Android phone with K-9 Mail. Please excuse my brevity. -- This SF.net email is sponsored by Make an app they can't live without Enter the BlackBerry Developer Challenge http://p.sf.net/sfu/RIM-dev2dev ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
Re: [Nagios-users] Help Needed | Web Authentication
The login mechanism probably doesn't work with the plugin. The plugin probably uses HTTP based auth rather than form based. Are you really trying to check fb? "Himanshu Arora" wrote: >It would be really appreciated if somone can help me out setting up nagios >monitoring for a website or a secured website. > >I just wanted to match the string after the website is authenticated. > for eg: i am trying to setup the monitoring for facebook.com, and the >command i am using for this is- > >./check_http -H facebook.com -u "http://www.facebook.com"; -a >myfbusername:myfbpassword -s "Facebook helps you connect" -f follow > >Plugin responds back --- HTTP OK: HTTP/1.1 200 OK - 27441 bytes in 2.614 >second response time |time=2.613975s;;;0.00 size=27441B;;;0 > >even if the password is incorrect i gives me same response because it is >verifying the string and responds back correctly. > >So i need to know what am i doing wrong here or may be i am not using the >right plugin to do so because as i know its not the "basic authentication" >that i am going through. > >Need your help, trying to get this done from couple of days now... but not >getting it solved. > >Please help or suggest... Thanks > > >Himanshu >-- >This SF.net email is sponsored by > >Make an app they can't live without >Enter the BlackBerry Developer Challenge >http://p.sf.net/sfu/RIM-dev2dev ___ >Nagios-users mailing list >Nagios-users@lists.sourceforge.net >https://lists.sourceforge.net/lists/listinfo/nagios-users >::: Please include Nagios version, plugin version (-v) and OS when reporting >any issue. >::: Messages without supporting info will risk being sent to /dev/null -- Sent from my Android phone with K-9 Mail. Please excuse my brevity. -- This SF.net email is sponsored by Make an app they can't live without Enter the BlackBerry Developer Challenge http://p.sf.net/sfu/RIM-dev2dev ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
Re: [Nagios-users] nagios plugins return code issue
What is your command line? Are you calling the script directly or is it wrapped in a shell script? I took a quick look at the script, and it needs quite a bit of improvement. Not sure if it was a result of my copy and paste, but there is only so much I can blame on bad formatting. I would recommend looking for a different script that does the same thing. - Original Message From: "Huber, Melissa" To: Matthew J. Salerno ; Nagios Users List Sent: Tue, August 17, 2010 3:20:42 PM Subject: RE: [Nagios-users] nagios plugins return code issue Umm... Not sure. I just tried uncommenting and got the same results though. I'm taking over managing the nagios server that we have from another collegue who left the company. I've actually migrated everything over to another server that is now running the latest nagios. The previous server was 3.0.6 I believe. I tried searching for an updated version of these plugins, but couldn't find any. I'm not that great with perl scripting either. :/ Missy -----Original Message- From: Matthew J. Salerno [mailto:vagabond_k...@yahoo.com] Sent: Tuesday, August 17, 2010 2:58 PM To: Nagios Users List Cc: Huber, Melissa Subject: Re: [Nagios-users] nagios plugins return code issue For starters, why is use strict commented out? From: "Huber, Melissa" To: nagios-users@lists.sourceforge.net Sent: Tue, August 17, 2010 2:41:23 PM Subject: [Nagios-users] nagios plugins return code issue Hello all, I've googled around everywhere trying to find an answer here and came up unsuccessful, so if anyone has had experience in this situation, I'd appreciate help! Basically, the issue that I'm having is that I have a couple of temperature plugins that are reporting errors in Nagios and at the command line they're exiting in 0: check7204temp.pl - Return code of 255 is out of bounds and checkciscotemp.pl - Return code of 9 is out of bounds If I run a "echo $?" at the command line after running the command successfully, I get 0. Thanks for any help anyone can provide!! My perms are 755 and nagios user owns the plugins and I've run successfully with nagios user and got 0 output. I'm really stumped!! Here's the code for the plugins: *** check7204temp.pl: #!/usr/bin/perl -w # check_ciscotemp.pl # # Copyright (C) 2000 Leland E. Vandervort # # This program is free software; you can redistribute it and/or # modify it under the terms of the GNU General Public License # as published by the Free Software Foundation; either version 2 # of the License, or (at your option) any later version. # # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty # of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # # you should have received a copy of the GNU General Public License # along with this program (or with Nagios); if not, write to the # Free Software Foundation, Inc., 59 Temple Place - Suite 330, # Boston, MA 02111-1307, USA # Nagios pluging to check inlet and outlet temperatures on # Cisco router platforms which support environmental monitoring # (7200, 7500, GSR12000...) # default temperature thresholds are 30C for inlet, 40C outlet. # if input or output is less than thresholds, returns OK # if equal to (the temps don't change that rapidly) returns WARNING # if greater than threshold, returns CRITICAL # if undetermined, or cannot access environmental, returns UNKNOWN # (in accordance with the plugin coding guidelines) use Net::SNMP; use Getopt::Long; #use strict; &Getopt::Long::config('auto_abbrev'); #my $critical_vals; #my $warning_vals; #my $inlet_warn; #my $outlet_warn; #my $status; my $response = ""; my $timeout = 10; my $community = "blah"; my $port = 161; my $INTAKE_TEMP = "1.3.6.1.4.1.9.9.13.1.3.1.3.1"; my $OUTLET_TEMP = "1.3.6.1.4.1.9.9.13.1.3.1.3.3"; my $in_temp; my $out_temp; my $inlet_thresh = 30; my $outlet_thresh = 34; my $hostnm; #my $OID; #my $session; #my $state; #my $error; my %STATUSCODE = ( 'UNKNOWN' => '-1', 'OK' => '0', 'WARNING' => '1', 'CRITICAL' => '2'); my $state = "UNKNOWN"; $SIG{'ALRM'} = sub { print "ERROR: No snmp response from $hostnm (sigALRM)\n"; exit($STATUSCODE{"UNKNOWN"}); }; Getopt::Long::Configure('bundling'); $status = GetOptions ("community=s", \$community, "C=s", \$community, "H=s", \$hostnm, "hostname=s", \$hostnm, &
Re: [Nagios-users] nagios plugins return code issue
For starters, why is use strict commented out? From: "Huber, Melissa" To: nagios-users@lists.sourceforge.net Sent: Tue, August 17, 2010 2:41:23 PM Subject: [Nagios-users] nagios plugins return code issue Hello all, I've googled around everywhere trying to find an answer here and came up unsuccessful, so if anyone has had experience in this situation, I'd appreciate help! Basically, the issue that I'm having is that I have a couple of temperature plugins that are reporting errors in Nagios and at the command line they're exiting in 0: check7204temp.pl - Return code of 255 is out of bounds and checkciscotemp.pl - Return code of 9 is out of bounds If I run a "echo $?" at the command line after running the command successfully, I get 0. Thanks for any help anyone can provide!! My perms are 755 and nagios user owns the plugins and I've run successfully with nagios user and got 0 output. I'm really stumped!! Here's the code for the plugins: *** check7204temp.pl: #!/usr/bin/perl -w # check_ciscotemp.pl # # Copyright (C) 2000 Leland E. Vandervort # # This program is free software; you can redistribute it and/or # modify it under the terms of the GNU General Public License # as published by the Free Software Foundation; either version 2 # of the License, or (at your option) any later version. # # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty # of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # # you should have received a copy of the GNU General Public License # along with this program (or with Nagios); if not, write to the # Free Software Foundation, Inc., 59 Temple Place - Suite 330, # Boston, MA 02111-1307, USA # Nagios pluging to check inlet and outlet temperatures on # Cisco router platforms which support environmental monitoring # (7200, 7500, GSR12000...) # default temperature thresholds are 30C for inlet, 40C outlet. # if input or output is less than thresholds, returns OK # if equal to (the temps don't change that rapidly) returns WARNING # if greater than threshold, returns CRITICAL # if undetermined, or cannot access environmental, returns UNKNOWN # (in accordance with the plugin coding guidelines) use Net::SNMP; use Getopt::Long; #use strict; &Getopt::Long::config('auto_abbrev'); #my $critical_vals; #my $warning_vals; #my $inlet_warn; #my $outlet_warn; #my $status; my $response = ""; my $timeout = 10; my $community = "blah"; my $port = 161; my $INTAKE_TEMP = "1.3.6.1.4.1.9.9.13.1.3.1.3.1"; my $OUTLET_TEMP = "1.3.6.1.4.1.9.9.13.1.3.1.3.3"; my $in_temp; my $out_temp; my $inlet_thresh = 30; my $outlet_thresh = 34; my $hostnm; #my $OID; #my $session; #my $state; #my $error; my %STATUSCODE = ( 'UNKNOWN' => '-1', 'OK' => '0', 'WARNING' => '1', 'CRITICAL' => '2'); my $state = "UNKNOWN"; $SIG{'ALRM'} = sub { print "ERROR: No snmp response from $hostnm (sigALRM)\n"; exit($STATUSCODE{"UNKNOWN"}); }; Getopt::Long::Configure('bundling'); $status = GetOptions ("community=s", \$community, "C=s", \$community, "H=s", \$hostnm, "hostname=s", \$hostnm, "port=i", \$port, "timeout=i", \$timeout, "c=s", \$critical_vals, "w=s", \$warning_vals, "ithresh=i", \$inlet_thresh, "othresh=i", \$outlet_thresh); if($status == 0) { &show_help; } unless (defined($hostnm)) { $hostnm = shift || &show_help; } if (defined($critical_vals)) { if ($critical_vals =~ m/^([0-9]+)[,:]([0-9]+)$/) { ($inlet_thresh,$outlet_thresh) = ($1, $2); } else { die "Cannot Parse Critical Thresholds\n"; } } if (defined($warning_vals)) { if ($warning_vals =~ m/^([0-9]+)[:,]([0-9]+)$/) { ($inlet_warn,$outlet_warn) = ($1, $2); } else { die "Cannot Parse Warning Thresholds\n"; } }else{ $inlet_warn=$inlet_thresh; $outlet_warn=$outlet_thresh; } alarm($timeout); $in_temp = &SNMPGET($INTAKE_TEMP); $out_temp = &SNMPGET($OUTLET_TEMP); if (($in_temp < $inlet_thresh) && ($out_temp < $outlet_thresh)) { $state = "OK"; } elsif (($in_temp == $inlet_thresh) || ($out_temp == $outlet_thresh)) { if(($in_temp > $inlet_thresh) || ($out_temp > $outlet_thresh)) { $state = "CRITICAL"; } else { $state = "WARNING"; } } elsif (($in_temp > $inlet_thresh) || ($out_temp > $outlet_thresh)) { $state = "CRITICAL"; } else { $state = "WARNING"; } print "$state Inlet Temp: $in_temp Outlet Temp: $out_temp\n"; exit($STATUSCODE{$state}); sub show_help { printf("\nPerl envmon temperature plugin for Nagios\n"); printf("Usage:\n"); printf(" check_ciscotemp [options] Options: -C snmp-community -p snmp-port -i input temperature threshold -o output temperature threshold "); printf("Copyright (C)2000 Leland E. Vandervort\n"); printf("check_ciscotemp comes with absolutely NO WARR
Re: [Nagios-users] r...@walkermartyn.co.uk - Email found in subject - Re: Bonding/Teaming Monitoring
If you want to monitor ports you could probably check the port status from the switch via snmp and add that as a dependency to the server. You could also check the port status of the bonded nics via snmp on the server itself. No need to duplicate anything. "Robert Jackson" wrote: >Thanks for the reply Jim, > >I take it I'm looking at duplicating hosts and services if I choose not >to go down the route of the switches sending traps (just seems like more >work I can do without)? I was kind of thinking the switches would be >parents of the ports which in turn would be parents of the network >devices (servers, pc's printers etc). That way if a port went down for >instance, I would only get alerts for the port and not for the services >of the device attached to that port. Seem logical? > >-Original Message- >From: Jim Avery [mailto:j...@jimavery.me.uk] >Sent: Tuesday 17 August 2010 08:56 >To: Nagios Users List >Subject: r...@walkermartyn.co.uk - Email found in subject - Re: >[Nagios-users] Bonding/Teaming Monitoring > >On 17 August 2010 06:55, Robert Jackson wrote: >> My current situation is that I have 2 core switches (Cisco 2960G's) in >a >> failover capability. Every one of our servers (Windows, RHEL & >Solaris) has >> NIC bonding/teaming enabled and obviously one switch serves network >access >> to NIC #0, the other switch serves network access to NIC #1. >> >> I'm looking for the best way to setup failover monitoring of the >switch >> ports and server connections under my setup. > >I don't use Cisco kit myself, but I would guess you would get the >relevant alerts by configuring your switches to send snmp traps. >You'll need to configure snmptrapd on your Nagios server to receive >them and use snmptt to get them in to Nagios one way or another >(either via the command interface or via a database using NagTrap for >example). > >hth, > >Jim > > >-- >This SF.net email is sponsored by > >Make an app they can't live without >Enter the BlackBerry Developer Challenge >http://p.sf.net/sfu/RIM-dev2dev >___ >Nagios-users mailing list >Nagios-users@lists.sourceforge.net >https://lists.sourceforge.net/lists/listinfo/nagios-users >::: Please include Nagios version, plugin version (-v) and OS when >reporting any issue. >::: Messages without supporting info will risk being sent to /dev/null >orting info will risk being sent to /dev/null > > > >The information in this internet E-mail is confidential and is intended >solely for the addressee. Access, copying or re-use of information in it >by anyone else is unauthorised. Any views or opinions presented are >solely those of the author and do not necessarily represent those of >Walker Martyn Ltd or any of its affiliates. If you are not the >intended recipient please contact administra...@walkermartyn.co.uk > >Walker Martyn Ltd, company number SC197533. Company is >registered in Scotland and has its registered office at 1 Park >Circus Place, Glasgow G3 6AH, UK. > > > > > >-- >This SF.net email is sponsored by > >Make an app they can't live without >Enter the BlackBerry Developer Challenge >http://p.sf.net/sfu/RIM-dev2dev >___ >Nagios-users mailing list >Nagios-users@lists.sourceforge.net >https://lists.sourceforge.net/lists/listinfo/nagios-users >::: Please include Nagios version, plugin version (-v) and OS when reporting >any issue. >::: Messages without supporting info will risk being sent to /dev/null -- Sent from my Android phone with K-9 Mail. Please excuse my brevity. -- This SF.net email is sponsored by Make an app they can't live without Enter the BlackBerry Developer Challenge http://p.sf.net/sfu/RIM-dev2dev ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
Re: [Nagios-users] Applying a multiplier to check_snmp results
I ran into the same thing, I ended up writing my own plugins. Just look for a non binary plugin (perl/python etc) and then hack away. - Original Message From: Jim Avery To: Nagios Users List Sent: Thu, August 12, 2010 5:05:42 PM Subject: Re: [Nagios-users] Applying a multiplier to check_snmp results On 12 August 2010 21:27, Hall, JC wrote: > I have a situation where I would like to apply a multiplier to the results > of a check_snmp output. > > The situation is this: > > The value received from my check_snmp = 20717. The integer multiplier for > this particular OID is 0.01. > > The output I want reported to Nagios is 20717 x 0.01 = 207.17. > > Looking through the options of the check_snmp plugin, I can’t determine how > I could accomplish this. > > > > Any thoughts are appreciated. +1 to that! I was doing some monitoring on a UPS yesterday and found the current is given as an integer which is 10x the Amps, so it would be great to be able to divide by 10 (or multiply by whatever) in check_snmp. -- This SF.net email is sponsored by Make an app they can't live without Enter the BlackBerry Developer Challenge http://p.sf.net/sfu/RIM-dev2dev ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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 Make an app they can't live without Enter the BlackBerry Developer Challenge http://p.sf.net/sfu/RIM-dev2dev ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
Re: [Nagios-users] Accessing an HMI????
Or even a snmpwalk of the device? "Jones, Stuart" wrote: >Have you tried contacting Maple Systems to see what SNMP MIBs exist or >are planned? > > > >From: Luke Salsich [mailto:luke.sals...@gmail.com] >Sent: Friday, 6 August 2010 2:08 AM >To: nagios-users@lists.sourceforge.net >Subject: [Nagios-users] Accessing an HMI > > >All, > >I've been a sys admin and Nagios lover for years. But, with this one I'm >out of of my depth. I have a client who needs an HMI (Maple Systems 5070 >http://www.maplesystems.com/graphic-hmi/7-inch-ethernet-widescreen-touch >screen.htm) on a series of remote industrial machines monitored. > >I love the idea because it's so new to me and I love a challenge. But, >has anyone had any experience with this type of situation? I've been >playing around with the idea, testing various scenarios and feel a >little lost. > >the HMI does store and output various system data, has alarms when >thresholds are exceeded, etc - but unless you are looking at it's screen >you would never know. > >Any help, guidance or suggestions would be a huge help! > >--- >Luke Salsich > >-- >This SF.net email is sponsored by > >Make an app they can't live without >Enter the BlackBerry Developer Challenge >http://p.sf.net/sfu/RIM-dev2dev ___ >Nagios-users mailing list >Nagios-users@lists.sourceforge.net >https://lists.sourceforge.net/lists/listinfo/nagios-users >::: Please include Nagios version, plugin version (-v) and OS when reporting >any issue. >::: Messages without supporting info will risk being sent to /dev/null -- Sent from my Android phone with K-9 Mail. Please excuse my brevity. -- This SF.net email is sponsored by Make an app they can't live without Enter the BlackBerry Developer Challenge http://p.sf.net/sfu/RIM-dev2dev ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
Re: [Nagios-users] CISCO Catalyst MIB's
It depends on the plug-in you choose to use for monitoring. Most plug-ins just use the OIDs, so there is no need to keep the MIB local. Your best bet is to search around nagios-exchange for a plug-in that does what you need. From: Robert Jackson To: nagiosplug-h...@lists.sourceforge.net; nagios-users@lists.sourceforge.net Sent: Wed, August 11, 2010 12:41:39 PM Subject: [Nagios-users] CISCO Catalyst MIB's CISCO Catalyst MIB's I was wondering if I needed MIB’s for the CISCO Catalyst 2960/2960G Series switcheswe are looking to monitor? If I do need them, how do I go about downloading and getting them installed within the Nagios framework? Regards, Rab. = Robert Jackson Phone: +44 (0) 141 332 7999 IT Manager Fax: +44 (0) 141 331 2820 Walker Martyn Ltd 1 Park Circus PlaceEmail:r...@walkermartyn.co.uk Glasgow G3 6AH, Scotland Web:http://www.walkermartyn.co.uk = The information in this internet E-mail is confidential and is intended solely for the addressee. Access, copying or re-use of information in it by anyone else is unauthorised. Any views or opinions presented are solely those of the author and do not necessarily represent those of Walker Martyn Ltd or any of its affiliates. If you are not the intended recipient please contact administra...@walkermartyn.co.uk. Walker Martyn Ltd, company number SC197533. Company is registered in Scotland and has its registered office at 1 Park Circus Place, Glasgow G3 6AH, UK. -- This SF.net email is sponsored by Make an app they can't live without Enter the BlackBerry Developer Challenge http://p.sf.net/sfu/RIM-dev2dev ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
Re: [Nagios-users] Nagios & SNMP
What is your objective? If you are trying to monitor a host or appliance via snmp, I would recommend getting it working with snmpwalk fisrt. Your question is too general to be answered. - Original Message From: Luc MAIGNAN To: nagios-users@lists.sourceforge.net Sent: Wed, August 11, 2010 9:52:21 AM Subject: [Nagios-users] Nagios & SNMP Hi, I don't succeed to make Nagios with SNMP work together. So I'm looking for an UP-TO-DATE howto. The documentation on the nagios official website seems to be down. Can anybody tell me where I can find a such howto ? BR -- This SF.net email is sponsored by Make an app they can't live without Enter the BlackBerry Developer Challenge http://p.sf.net/sfu/RIM-dev2dev ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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 Make an app they can't live without Enter the BlackBerry Developer Challenge http://p.sf.net/sfu/RIM-dev2dev ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
Re: [Nagios-users] part of plugin output not displaying in status info
Add "use strict" to your script. It should be included in every perl script. "jeff dinisco" wrote: >I'm writing a plugin that monitors storage array cache utilization by >processing the output of navicli (cli for EMC Clariion arrays). The problem >is that the value for cache utilization is not displaying in the status >information field on the nagios web interface. It seems like a whitespace >or hidden character issue, but perls chomp doesn't solve it. > >Here's what the output looks like when the plugin is executed at the command >line... > ># ./check_cache 90 95 >Percent Dirty Pages 73 > >Here's what nagios is displaying in the status information field... >Percent Dirty Pages > >So it's the variable ($dirtypages) derived from the output of navicli that >doesn't display. Here's the plugin (I'm aware this script does nothing, I'm >just trying to solve this particular issue)... > >#!/usr/bin/perl > >$warn = $ARGV[0]; >$crit = $ARGV[1]; >$clariion="garfunkel"; > >open (NAVIOUT, "/opt/Navisphere/bin/naviseccli -h $clariion getcache |"); >while () { > chomp $_; > if (/^Prct Dirty Cache Pages =/) { >$dirtypages = (split / +/, $_)[5]; > } >} >chomp $dirtypages; >print "Percent Dirty Pages $dirtypages"; > >Any help would be greatly appreciated. > >jd >-- >This SF.net email is sponsored by > >Make an app they can't live without >Enter the BlackBerry Developer Challenge >http://p.sf.net/sfu/RIM-dev2dev ___ >Nagios-users mailing list >Nagios-users@lists.sourceforge.net >https://lists.sourceforge.net/lists/listinfo/nagios-users >::: Please include Nagios version, plugin version (-v) and OS when reporting >any issue. >::: Messages without supporting info will risk being sent to /dev/null -- Sent from my Android phone with K-9 Mail. Please excuse my brevity. -- This SF.net email is sponsored by Make an app they can't live without Enter the BlackBerry Developer Challenge http://p.sf.net/sfu/RIM-dev2dev ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
Re: [Nagios-users] part of plugin output not displaying in status info
I don't believe your output is properly formatted. Search cpan for a nagios plugin module. It makes life easier. "jeff dinisco" wrote: >I'm writing a plugin that monitors storage array cache utilization by >processing the output of navicli (cli for EMC Clariion arrays). The problem >is that the value for cache utilization is not displaying in the status >information field on the nagios web interface. It seems like a whitespace >or hidden character issue, but perls chomp doesn't solve it. > >Here's what the output looks like when the plugin is executed at the command >line... > ># ./check_cache 90 95 >Percent Dirty Pages 73 > >Here's what nagios is displaying in the status information field... >Percent Dirty Pages > >So it's the variable ($dirtypages) derived from the output of navicli that >doesn't display. Here's the plugin (I'm aware this script does nothing, I'm >just trying to solve this particular issue)... > >#!/usr/bin/perl > >$warn = $ARGV[0]; >$crit = $ARGV[1]; >$clariion="garfunkel"; > >open (NAVIOUT, "/opt/Navisphere/bin/naviseccli -h $clariion getcache |"); >while () { > chomp $_; > if (/^Prct Dirty Cache Pages =/) { >$dirtypages = (split / +/, $_)[5]; > } >} >chomp $dirtypages; >print "Percent Dirty Pages $dirtypages"; > >Any help would be greatly appreciated. > >jd >-- >This SF.net email is sponsored by > >Make an app they can't live without >Enter the BlackBerry Developer Challenge >http://p.sf.net/sfu/RIM-dev2dev ___ >Nagios-users mailing list >Nagios-users@lists.sourceforge.net >https://lists.sourceforge.net/lists/listinfo/nagios-users >::: Please include Nagios version, plugin version (-v) and OS when reporting >any issue. >::: Messages without supporting info will risk being sent to /dev/null -- Sent from my Android phone with K-9 Mail. Please excuse my brevity. -- This SF.net email is sponsored by Make an app they can't live without Enter the BlackBerry Developer Challenge http://p.sf.net/sfu/RIM-dev2dev ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
Re: [Nagios-users] setting up nagios to monitor other systems load, mem, disk
SNMP is another options. I am a big fan of agentless monitoring! From: "Dombrowski, Neil" To: "nagios-users@lists.sourceforge.net" Sent: Fri, August 6, 2010 11:59:21 AM Subject: [Nagios-users] setting up nagios to monitor other systems load, mem, disk setting up nagios to monitor other systems load, mem, disk I have nagios 3.2.1 installed on a RH5.5 box, and it is monitoring ssh on client systems (and host check/ping). I now want to be able to check disk capacity, cpu load, etc., on other systems(clients). It's not clear to me how to do this in the documentation. Do I need to use check_by_ssh or nrpe? Is there a way to package up part of the nagios install and distribute it to all systems I want to monitor? I would much appreciate it if someone could send me a link to the right document for this. Thanks, Neil -- This SF.net email is sponsored by Make an app they can't live without Enter the BlackBerry Developer Challenge http://p.sf.net/sfu/RIM-dev2dev ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
Re: [Nagios-users] Executing a script based on text from a web page
Or just use an event handler. Check out the examples in the below link. http://nagios.sourceforge.net/docs/3_0/eventhandlers.html - Original Message From: dave stern - e-mail.pluribus.unum To: Nagios Users List Sent: Fri, August 6, 2010 11:38:47 AM Subject: Re: [Nagios-users] Executing a script based on text from a web page We've had a lot of luck with check_http with the params -u and -s -u points to the particular path on the web server and -s is the return string it expects. And then there's the hacky way of doing it; wget the page and search for presence/absence of a particular string On Fri, Aug 6, 2010 at 10:16 AM, Joseph Devaney wrote: > I know that nagios can monitor pages for certain text on that page to verify > that its there. In our organization we have several monitors like this > currently setup and they work well for us. I want to take this operability > and apply it to a webpage that only appears when there is a server error and > have it kick off a script to restart a service. > This is for a website within the company. When there are too many mysql > connections, the site itself will not be displayed but will display a > friendly error for us to perform a flush of the hosts. This error doesnt > occur often and when it does occur, it doesn't always happen when someone is > awake to address it. Basically what I want to happen is for nagios to > monitor a website and if/when this error appears (I will set the > check_command to look for the right text) nagios will execute a script to > restart that service. 99% of the time, the site will be up and functioning > as it should be, so I am not sure how to write this one up without giving a > false positive on our monitors. > Any thoughts on how to implement this? > > > > Joseph Devaney | Jr. Linux Systems Administrator | Black Duck Software | v: > 781-810-1334 | m: 781-974-6729 | jdeva...@blackducksoftware.com | 265 > Winter St, Waltham, MA 02451 > > > > > -- > This SF.net email is sponsored by > > Make an app they can't live without > Enter the BlackBerry Developer Challenge > http://p.sf.net/sfu/RIM-dev2dev > ___ > Nagios-users mailing list > Nagios-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 Make an app they can't live without Enter the BlackBerry Developer Challenge http://p.sf.net/sfu/RIM-dev2dev ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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 Make an app they can't live without Enter the BlackBerry Developer Challenge http://p.sf.net/sfu/RIM-dev2dev ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null