From trifonov at forsys.ru Mon Apr 1 09:17:35 2013 From: trifonov at forsys.ru (Alex Trifonov) Date: Mon, 1 Apr 2013 11:17:35 +0400 Subject: Help with CPU Check Thresholds In-Reply-To: References: <02747d566754c50c6e3ab420fbbbe11e.squirrel@webmail.stinkweasel.net> Message-ID: <20130401111735.484bfe0c@ram.forsys.msk.ru> Wow! What kind of hardware and type of load you have on it? I'm not sure, but it seems to me, that you misunderstood the Load Average value. I haven't seen ever a system whith Load Average in normal situation more, than 5-7. P.S.: Sorry for my poor English. On Tue, 26 Mar 2013 09:33:41 -0300 Net Warrior wrote: > I changed the values to 30,25,20!50,45,40 > > Thanks. > > 2013/3/26 Edwin Zoeller : > > -w 15,10,5 -c 30,20,10 > > > > This works well for me > > > > -----Original Message----- > > From: C. Bensend [mailto:benny at bennyvision.com] > > Sent: Tuesday, March 26, 2013 6:54 AM > > To: nagios-users at lists.sourceforge.net > > Subject: Re: [Nagios-users] Help with CPU Check Thresholds > > > > > >> This is how I configured the service, my aim is to get an alert > >> when the CPU load ( uptime ) reaches 10% and a critical when > >> there is a 20% > >> > >> check_command > >> check_nrpe!check_load!10,4,3!20,15,10 > >> flap_detection_enabled 0 notifications_enabled 1 > >> notification_options w,u,r,c > >> notification_period 24x7 > >> check_period 24x7 > >> check_interval 1 > >> max_check_attempts 2 > >> first_notification_delay 0 > >> notification_interval 1 > >> } > >> > >> The problems is that I get WARN when the load is less than that: > >> WARNING - load average: 1.77, 1.94, 3.04 WARNING - load average: > >> 2.11, 2.23, 3.45 WARNING - load average: 1.90, 3.59, 4.34 WARNING > >> - load average: 5.65, 5.05, 4.86 > > > > You configured it to warn when the 15-minute average is 3.00, and > > in your above four examples, the 15-minute averages are all > 3.00. > > It is working like you configured it to. > > > > The plugin's output is 1-minute, 5-minute, and 15-minute average. > > > > Benny -- ??????? ???????? ??? "??? ????????? ???????" (499)160-58-32, (499)169-21-22 ???. 206 ------------------------------------------------------------------------------ Own the Future-Intel® Level Up Game Demo Contest 2013 Rise to greatness in Intel's independent game demo contest. Compete for recognition, cash, and the chance to get your game on Steam. $5K grand prize plus 10 genre and skill prizes. Submit your demo by 6/6/13. http://p.sf.net/sfu/intel_levelupd2d _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From swilkerson at nagios.com Mon Apr 1 14:05:43 2013 From: swilkerson at nagios.com (Scott Wilkerson) Date: Mon, 01 Apr 2013 07:05:43 -0500 Subject: Help with CPU Check Thresholds In-Reply-To: <20130401111735.484bfe0c@ram.forsys.msk.ru> References: <02747d566754c50c6e3ab420fbbbe11e.squirrel@webmail.stinkweasel.net> <20130401111735.484bfe0c@ram.forsys.msk.ru> Message-ID: <51597817.80100@nagios.com> Alex, It would be very common for a machine with multiple CPU's to have a higher load. On a 16 CPU machine, no processes would be waiting at all with a load under 16. Scott Wilkerson Technical Support Specialist ___ Email: swilkerson at nagios.com Web: www.nagios.com On 4/1/2013 2:17 AM, Alex Trifonov wrote: > Wow! What kind of hardware and type of load you have on it? > I'm not sure, but it seems to me, that you misunderstood the Load > Average value. I haven't seen ever a system whith Load Average in > normal situation more, than 5-7. > > P.S.: Sorry for my poor English. > > On Tue, 26 Mar 2013 09:33:41 -0300 > Net Warrior wrote: > >> I changed the values to 30,25,20!50,45,40 >> >> Thanks. >> >> 2013/3/26 Edwin Zoeller : >>> -w 15,10,5 -c 30,20,10 >>> >>> This works well for me >>> >>> -----Original Message----- >>> From: C. Bensend [mailto:benny at bennyvision.com] >>> Sent: Tuesday, March 26, 2013 6:54 AM >>> To: nagios-users at lists.sourceforge.net >>> Subject: Re: [Nagios-users] Help with CPU Check Thresholds >>> >>> >>>> This is how I configured the service, my aim is to get an alert >>>> when the CPU load ( uptime ) reaches 10% and a critical when >>>> there is a 20% >>>> >>>> check_command >>>> check_nrpe!check_load!10,4,3!20,15,10 >>>> flap_detection_enabled 0 notifications_enabled 1 >>>> notification_options w,u,r,c >>>> notification_period 24x7 >>>> check_period 24x7 >>>> check_interval 1 >>>> max_check_attempts 2 >>>> first_notification_delay 0 >>>> notification_interval 1 >>>> } >>>> >>>> The problems is that I get WARN when the load is less than that: >>>> WARNING - load average: 1.77, 1.94, 3.04 WARNING - load average: >>>> 2.11, 2.23, 3.45 WARNING - load average: 1.90, 3.59, 4.34 WARNING >>>> - load average: 5.65, 5.05, 4.86 >>> You configured it to warn when the 15-minute average is 3.00, and >>> in your above four examples, the 15-minute averages are all > 3.00. >>> It is working like you configured it to. >>> >>> The plugin's output is 1-minute, 5-minute, and 15-minute average. >>> >>> Benny > ------------------------------------------------------------------------------ Own the Future-Intel® Level Up Game Demo Contest 2013 Rise to greatness in Intel's independent game demo contest. Compete for recognition, cash, and the chance to get your game on Steam. $5K grand prize plus 10 genre and skill prizes. Submit your demo by 6/6/13. http://p.sf.net/sfu/intel_levelupd2d _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From esteban at nuevaeralatam.com Tue Apr 2 01:55:09 2013 From: esteban at nuevaeralatam.com (Esteban Monge) Date: Mon, 1 Apr 2013 17:55:09 -0600 Subject: New XIV plugin In-Reply-To: <93ca3df2193ba8aafc72c34ad73e5ac2.squirrel@www.nuevaeralatam.com> References: <93ca3df2193ba8aafc72c34ad73e5ac2.squirrel@www.nuevaeralatam.com> Message-ID: <89b3732886ff59f0858380ec273d37d8.squirrel@www.nuevaeralatam.com> >> Hello: >> >> I am writing one plugin for check XIV API, at the moment I can check: >> CF >> DIMM >> Ethernet Cable >> FAN >> MODULES >> PSU >> UPS >> >> I am using Perl with Nagios::Plugins, also I am using IBM::XCLI(1) >> >> I add to original IBM::XCLI module the possibility of obtain only >> modules >> in raw format. But you can try with other checks. >> >> But I have problems with output, when I run the plugin in bash I get OK, >> CRITICAL and UNKNOW results, but when Nagios run the check I get "Return >> code of 9 is out of bounds." >> >> >> I am not a Perl writers, it's my first plugin, I paste the code: >> >> #!/usr/bin/perl >> # Copyright: Ton Voon, 2006 >> # Modified by Esteban Monge, 2013 >> # >> # This is the script used in the Nagios Plugin lightning talk >> # given by Ton Voon at FOSDEM 2007. >> # See http://www.nagioscommunity.org for more details >> # >> # This script is available under GPLv2, though the ideas are >> # public domain :) >> # >> # You will need to set the permissions of the script so it is executable >> >> # Get these plugins from CPAN >> use Nagios::Plugin; >> use Nagios::Plugin::Functions; >> use IBM::XCLI; >> use warnings; >> use Switch; >> >> #Function for evaluate if any component isn't OK >> sub print_array { >> $end_code = 0; >> local (@array) = @_; >> foreach (@array) { >> s/^"\|"$//g; >> my(@array) = split /","/; >> substr($array[0], 0, 1, ''); >> if ( $array[1] ne "Status" ) { >> print >> "Component:\t$array[0]\tStatus:\t$array[1]\n"; >> if ($array[1] ne "OK" ) { >> $end_code = 2; >> } >> } >> } >> if ( $end_code eq 0 ) { >> nagios_exit( 'OK', 'Full, full, perfect' ); >> } >> if ( $end_code eq 2 ) { >> nagios_exit( 'CRITICAL', 'Something is Wrong' ); >> } >> } >> >> #Define xcli path usually /opt/XIVGUI/xcli >> $xcli_path = "/opt/XIVGUI/xcli"; >> $np = Nagios::Plugin->new( >> shortname => "Check_XIV.pl", >> usage => "Usage: %s [-m] [-u] [-p] [-c]", >> ); >> >> $np->add_arg( >> spec => "machine|m=s", >> help => "-m, --machine=IP. IP of XIV machine", >> required => 1, >> ); >> >> $np->add_arg( >> spec => "username|u=s", >> help => "-u, --username=someuser. User account with read >> permissions in XIVGUI", >> required => 1, >> ); >> >> $np->add_arg( >> spec => "password|p=s", >> help => "-p, --password=somepassword. Valid password for the >> user >> of XIVGUI", >> required => 1, >> ); >> >> $np->add_arg( >> spec => "command|c=s", >> help => "-c, --command=somecommand. One command from list_dimm", >> required => 1, >> ); >> >> $np->getopts; >> >> my $xiv = IBM::XCLI->new( >> ip_address => $np->opts->machine, >> username => $np->opts->username, >> password => $np->opts->password, >> xcli => $xcli_path, >> ); >> >> switch ($np->opts->command) { >> case cf_list { >> my @cf = $xiv->cf_list_raw(); >> print_array(@cf); >> } >> case dimm_list { >> my @dimms = $xiv->dimm_list_raw(); >> print_array(@dimms); >> } >> case ethernet_cable_list { >> my @ethernet_cable = >> $xiv->ethernet_cable_list_raw(); >> print_array(@ethernet_cable); >> } >> case fan_list { >> my @fan = $xiv->fan_list_raw(); >> print_array(@fan); >> } >> case module_list { >> my @module = $xiv->module_list_raw(); >> print_array(@module); >> } >> case psu_list { >> my @psu = $xiv->psu_list_raw(); >> print_array(@psu); >> } >> case ups_list { >> my @ups = $xiv->ups_list_raw(); >> print_array(@ups); >> } >> else { >> print "Invalid command\n"; >> nagios_exit( UNKNOWN, 'Verify XIV command' ); >> } >> } >> >> >> >> (1) http://search.cpan.org/~ltp/IBM-XCLI-0.5/lib/IBM/XCLI.pm >> > > I continued work in this script, I took check_stuff.pl and adapted it to > my XVI script. > > I executed in console with nagios and recover last return code with echo > $? and receive 0, but in Nagios still with "(Return code of 9 is out of > bounds)" > > I don't understand what cause the problem. > > The adapted script to: > #!/usr/bin/perl -w > > ### check_stuff.pl > > # an example Nagios plugin using the Nagios::Plugin modules. > > # Originally by Nathan Vonnahme, n8v at users dot sourceforge > # dot net, July 19 2006 > > # Please modify to your heart's content and use as the basis for all > # the really cool Nagios monitoring scripts you're going to create. > # You rock. > > ############################################################################## > # prologue > use strict; > use warnings; > use Switch; > > use Nagios::Plugin; > use IBM::XCLI; > > use vars qw($VERSION $PROGNAME $xcli_path $return_code $array @array > $message $result); > $VERSION = '1.0'; > > # get the base name of this script for use in the examples > use File::Basename; > $PROGNAME = basename($0); > > #Define xcli path usually /opt/XIVGUI/xcli > $xcli_path = "/opt/XIVGUI/xcli"; > > ############################################################################## > # define and get the command line options. > # see the command line option guidelines at > # > http://nagiosplug.sourceforge.net/developer-guidelines.html#PLUGOPTIONS > > > # Instantiate Nagios::Plugin object (the 'usage' parameter is mandatory) > my $p = Nagios::Plugin->new( > > usage => "Usage: %s [-m ] > [ -u|--username= ] > [ -p|--password= ] > [ -c|--command = ]", > version => $VERSION, > blurb => 'This plugin is an example of a Nagios plugin written in Perl > using the Nagios::Plugin modules. It will generate a random integer > between 1 and 20 (though you can specify the number with the -n option > for testing), and will output OK, WARNING or CRITICAL if the resulting > number is outside the specified thresholds.', > > extra => " > > THRESHOLDs for -w and -c are specified 'min:max' or 'min:' or ':max' > (or 'max'). If specified '\@min:max', a warning status will be generated > if the count *is* inside the specified range. > > See more threshold examples at http > : // nagiosplug > . sourceforge > . net / developer-guidelines > . html #THRESHOLDFORMAT > > Examples: > > $PROGNAME -w 10 -c 18 Returns a warning > if the resulting number is greater than 10, > or a critical error > if it is greater than 18. > > $PROGNAME -w 10 : -c 4 : Returns a warning > if the resulting number is less than 10, > or a critical error > if it is less than 4. > > " > ); > > > # Define and document the valid command line options > # usage, help, version, timeout and verbose are defined by default. > > $p->add_arg( > spec => 'machine|m=s', > > help => > qq{-m, --machine=INTEGER > XIV IP address}, > > # required => 1, > # default => 10, > ); > > $p->add_arg( > spec => 'username|u=s', > help => > qq{-u, --username=INTEGER > XIV username}, > ); > > $p->add_arg( > spec => 'password|p=s', > help => > qq{-p, --password=INTEGER > Password of the XIV username.}, > ); > > $p->add_arg( > spec => 'command|c=s', > help => > qq{-c, --command=INTEGER > XIV command, the same that you use with XCLI.}, > ); > > # Parse arguments and process standard ones (e.g. usage, help, version) > $p->getopts; > > my $xiv = IBM::XCLI-> new( > ip_address => $p->opts->machine, > username => $p->opts->username, > password => $p->opts->password, > xcli => $xcli_path, > ); > #Function for evaluate if any component isn't OK > sub print_array { > > $return_code = 0; > local (@array) = @_; > foreach (@array) { > s/^"\|"$//g; > my(@array) = split /","/; > substr($array[0], 0, 1, ''); > if ( $array[1] ne "Status" ) { > $message = > "Component:\t$array[0]\tStatus:\t$array[1]\n"; > # print > "Component:\t$array[0]\tStatus:\t$array[1]\n"; > if ($array[1] ne "OK" ) { > $return_code = 2; > } > } > } > } > > > ############################################################################## > # check stuff. > > # THIS is where you'd do your actual checking to get a real value for > $result > # don't forget to timeout after $p->opts->timeout seconds, if applicable. > > switch ($p->opts->command) { > case "cf_list" { > my @cf = $xiv->cf_list_raw(); > print_array(@cf); > } > case "dimm_list" { > my @dimms = $xiv->dimm_list_raw(); > print_array(@dimms); > } > case "ethernet_cable" { > my @ethernet_cable = $xiv->ethernet_cable_list_raw(); > print_array(@ethernet_cable); > } > case "fan_list" { > my @fan = $xiv->fan_list_raw(); > print_array(@fan); > } > case "module_list" { > my @module = $xiv->module_list_raw(); > print_array(@module); > } > case "psu_list" { > my @psu = $xiv->psu_list_raw(); > print_array(@psu); > } > case "ups_list" { > my @ups = $xiv->ups_list_raw(); > print_array(@ups); > } > else { > print "Invalid command\n"; > nagios_exit( UNKNOWN, 'Verify XIV command' ); > } > } > > ############################################################################## > # check the result against the defined warning and critical thresholds, > # output the result and exit > $p->nagios_exit( > return_code => $return_code, > message => $message > ); > > Finally a trash Perl and return to my loved Bash. I finished the script: #!/bin/bash # Sources: # http://blog.felixbrezo.com/?p=473 # http://wiki.bash-hackers.org/howto/getopts_tutorial # http://www.linuxquestions.org/questions/linux-general-1/store-multi-line-output-into-an-array-in-a-linux-bash-script-706878/ # http://stackoverflow.com/questions/4667509/problem-accessing-a-global-variable-from-within-a-while-loop # Help and usage showHelp () { echo -e "USE:" echo -e "\t$0 [-H -u -p -C -w -c | -h]" echo -e "OPTIONS:" echo -e "\t-H\tIP Address" echo -e "\t-u\tUsername" echo -e "\t-p\tPassword" echo -e "\t-C\tXIV Command" echo -e "\t-w\tWarning threshold" echo -e "\t-c\tCritical threshold" echo -e "\t-h\tThis Help" } xcli_path='/opt/XIVGUI'; while getopts "H: u: p: C: w:c:h" OPTION; do case $OPTION in H) HOSTNAME=$OPTARG ;; u) USERNAME=$OPTARG ;; p) PASSWORD=$OPTARG ;; C) COMMAND=$OPTARG ;; w) WARNING=$OPTARG ;; c) CRITICAL=$OPTARG ;; h) showHelp ;; \?) showHelp ;; :) echo "Option -$OPTARG requires an argument." >&2 exit 3 ;; esac done case $COMMAND in cf_list) ;; dimm_list) ;; ethernet_cable_list) ;; fan_list) ;; module_list) ;; psu_list) ;; ups_list) ;; *) echo "UNKNOWN: Command $COMMAND not supported or not exist" exit 3;; esac i=0 while read line do array[$i]="$line" if [ $i != 0 ] then case "${array[$i]}" in *"OK"*) CHECK_STATE=0 ;; *) CHECK_STATE=2 PROBLEM="$PROBLEM "`echo "${array[$i]}" | awk '{ print $1 " " $4; }'` ;; esac fi (( i++ )) done < <($xcli_path/xcli -m $HOSTNAME -u $USERNAME -p $PASSWORD $COMMAND) case "$CHECK_STATE" in 0) echo "OK: $COMMAND Full full perfect" exit $CHECK_STATE ;; 2) echo "CRITICAL: $COMMAND problem found $PROBLEM" exit $CHECK_STATE ;; *) echo "UNKNOWN: $COMMAND with config problems" exit $CHECK_STATE ;; esac When I have time going to upload to gitorius. I love Nagios!!! > > ------------------------------------------------------------------------------ > Everyone hates slow websites. So do we. > Make your web apps faster with AppDynamics > Download AppDynamics Lite for free today: > http://p.sf.net/sfu/appdyn_d2d_mar > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > ------------------------------------------------------------------------------ Own the Future-Intel® Level Up Game Demo Contest 2013 Rise to greatness in Intel's independent game demo contest. Compete for recognition, cash, and the chance to get your game on Steam. $5K grand prize plus 10 genre and skill prizes. Submit your demo by 6/6/13. http://p.sf.net/sfu/intel_levelupd2d _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From naparuba at gmail.com Tue Apr 2 08:48:00 2013 From: naparuba at gmail.com (nap) Date: Tue, 2 Apr 2013 08:48:00 +0200 Subject: Help with CPU Check Thresholds In-Reply-To: <51597817.80100@nagios.com> References: <02747d566754c50c6e3ab420fbbbe11e.squirrel@webmail.stinkweasel.net> <20130401111735.484bfe0c@ram.forsys.msk.ru> <51597817.80100@nagios.com> Message-ID: On Mon, Apr 1, 2013 at 2:05 PM, Scott Wilkerson wrote: > Alex, > > It would be very common for a machine with multiple CPU's to have a > higher load. On a 16 CPU machine, no processes would be waiting at all > with a load under 16. > Hi, Yes if all the load is consumed by CPUs, but it's quite rare. For example with a database the most time is spend on disks I/O, and a 16cpu server won't help here, you can be overload with a load average > 1 in this case. The "good" load average is very specific for each server/application. CPU number is a just a part of the "load" equation. Jean > > Scott Wilkerson > Technical Support Specialist > ___ > Email: swilkerson at nagios.com > Web: www.nagios.com > > -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Own the Future-Intel(R) Level Up Game Demo Contest 2013 Rise to greatness in Intel's independent game demo contest. Compete for recognition, cash, and the chance to get your game on Steam. $5K grand prize plus 10 genre and skill prizes. Submit your demo by 6/6/13. http://altfarm.mediaplex.com/ad/ck/12124-176961-30367-2 -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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.frost1 at pepsico.com Tue Apr 2 15:42:57 2013 From: mark.frost1 at pepsico.com (Frost, Mark {BIS}) Date: Tue, 2 Apr 2013 09:42:57 -0400 Subject: Help with CPU Check Thresholds In-Reply-To: References: <02747d566754c50c6e3ab420fbbbe11e.squirrel@webmail.stinkweasel.net> <20130401111735.484bfe0c@ram.forsys.msk.ru> <51597817.80100@nagios.com> Message-ID: From: nap [mailto:naparuba at gmail.com] Sent: Tuesday, April 02, 2013 2:48 AM To: Nagios Users List Subject: Re: [Nagios-users] Help with CPU Check Thresholds On Mon, Apr 1, 2013 at 2:05 PM, Scott Wilkerson > wrote: Alex, It would be very common for a machine with multiple CPU's to have a higher load. On a 16 CPU machine, no processes would be waiting at all with a load under 16. Hi, Yes if all the load is consumed by CPUs, but it's quite rare. For example with a database the most time is spend on disks I/O, and a 16cpu server won't help here, you can be overload with a load average > 1 in this case. The "good" load average is very specific for each server/application. CPU number is a just a part of the "load" equation. Jean I think that's rather a misunderstanding of what load average is. It is not based on the CPU (otherwise it would be called something stupid like CPU % on Windows). There's lots of resources on the Googles that explain what goes into the load average calculation so I won't go into it here, but it is intended to be a general number indicating the load of the system and i/o wait times are definitely a factor in that calculation. It is intended to be a representation of how busy a machine is overall. The general rule is as Scott indicates that for a machine with 'n' CPUs (cores, kind of as well) if the load average is also 'n' then that machine is 100% utilized. That is, it is completely able to keep up with what it's being asked to do. If the load average is '2n' then it's 200% utilized and the machine is effectively getting behind. But anyway, there are some really good write-ups as to how the load average calculation is made, but it's definitely not just CPU. CPU utilization by itself is pretty useless nowadays in my opinion. Mark -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Own the Future-Intel(R) Level Up Game Demo Contest 2013 Rise to greatness in Intel's independent game demo contest. Compete for recognition, cash, and the chance to get your game on Steam. $5K grand prize plus 10 genre and skill prizes. Submit your demo by 6/6/13. http://altfarm.mediaplex.com/ad/ck/12124-176961-30367-2 -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Edwin.Zoeller at ama-assn.org Tue Apr 2 16:50:25 2013 From: Edwin.Zoeller at ama-assn.org (Edwin Zoeller) Date: Tue, 2 Apr 2013 14:50:25 +0000 Subject: Document Message-ID: I was wondering if anyone has and could share a copy of their monitoring standard document. I need to update ours and would like to see how others might have written one up. Thanks, Ed Zoeller -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Own the Future-Intel(R) Level Up Game Demo Contest 2013 Rise to greatness in Intel's independent game demo contest. Compete for recognition, cash, and the chance to get your game on Steam. $5K grand prize plus 10 genre and skill prizes. Submit your demo by 6/6/13. http://altfarm.mediaplex.com/ad/ck/12124-176961-30367-2 -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From eero.volotinen at iki.fi Tue Apr 2 23:23:27 2013 From: eero.volotinen at iki.fi (Eero Volotinen) Date: Wed, 3 Apr 2013 00:23:27 +0300 Subject: stupid question about upgrading nagios? (2.12 -> latest)? Message-ID: Hi List, Planning to upgrade old nagios install (2.12) to latest? How about config syntax? does it work directly or requires major modifications to configuration files? thanks. -- Eero -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Minimize network downtime and maximize team effectiveness. Reduce network management and security costs.Learn how to hire the most talented Cisco Certified professionals. Visit the Employer Resources Portal http://www.cisco.com/web/learning/employer_resources/index.html -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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.elsen at gmail.com Wed Apr 3 07:09:02 2013 From: mark.elsen at gmail.com (Mark Elsen) Date: Wed, 3 Apr 2013 07:09:02 +0200 Subject: stupid question about upgrading nagios? (2.12 -> latest)? In-Reply-To: References: Message-ID: >Planning to upgrade old nagios install (2.12) to latest? How about config syntax? does it work directly or requires major modifications to configuration files? Using a latest-binary issue : % nagios -v your-nagios.cfg It will give a list of possible syntax issues, if any. M. On Tue, Apr 2, 2013 at 11:23 PM, Eero Volotinen wrote: > Hi List, > > Planning to upgrade old nagios install (2.12) to latest? How about config > syntax? does it work directly or requires major modifications to > configuration files? > > thanks. > -- > Eero > > > ------------------------------------------------------------------------------ > Minimize network downtime and maximize team effectiveness. > Reduce network management and security costs.Learn how to hire > the most talented Cisco Certified professionals. Visit the > Employer Resources Portal > http://www.cisco.com/web/learning/employer_resources/index.html > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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: -------------- next part -------------- ------------------------------------------------------------------------------ Minimize network downtime and maximize team effectiveness. Reduce network management and security costs.Learn how to hire the most talented Cisco Certified professionals. Visit the Employer Resources Portal http://www.cisco.com/web/learning/employer_resources/index.html -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From f at zz.de Wed Apr 3 13:08:39 2013 From: f at zz.de (Florian Lohoff) Date: Wed, 3 Apr 2013 13:08:39 +0200 Subject: perfdata - core eliminates " from perfdata Message-ID: <20130403110839.GA22392@pax.zz.de> Hi, i discovered that the core eliminates quotes from the perfdata. I tried switching all checks to json as perfdata. The check outputs this: IF OK: TenGigE0/0/0/0 - frnk1-cr2 - IPv6 UP | {"outoctet":882514625,"inpkt":3613666,"inerr":0,"time":184,"indisc":0,"outpkt":2540727,"outdisc":0,"inoctet":3172329487,"outerr":0} The perfdata pipe outputs this: SERVICE,1364987085,frnk1-cr2,04b6cd141e981f7932a346b202a0b80a,if TenGigE0/0/0/0,685497cbd8258eb1f06117f8fe16f3ae, 0.048,0.034,{outoctet:5151173146,inpkt:4115371,inerr:0,time:300,indisc:0,outpkt:5890634,outdisc:0,inoctet:1423024050,outerr:0} quotes are gone. Perfdata config like this: process_performance_data=1 service_perfdata_file_mode=p service_perfdata_file=/var/lib/nagios3/perfdata.pipe service_perfdata_file_template=SERVICE,$TIMET$,$HOSTNAME$,$_HOSTNDBOBJID$,$SERVICEDESC$,$_SERVICENDBOBJID$,$SERVICEEXECUTIONTIME$,$SERVICELATENCY$,$SERVICEPERFDATA$ service_perfdata_file_processing_interval=0 Is there a hidden knob? I thought the core would treat the perfdata as an bytestring not trying to deal with it. Flo -- Florian Lohoff f at zz.de -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 828 bytes Desc: Digital signature URL: -------------- next part -------------- ------------------------------------------------------------------------------ Minimize network downtime and maximize team effectiveness. Reduce network management and security costs.Learn how to hire the most talented Cisco Certified professionals. Visit the Employer Resources Portal http://www.cisco.com/web/learning/employer_resources/index.html -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From f at zz.de Wed Apr 3 13:16:49 2013 From: f at zz.de (Florian Lohoff) Date: Wed, 3 Apr 2013 13:16:49 +0200 Subject: perfdata - core eliminates " from perfdata In-Reply-To: <20130403110839.GA22392@pax.zz.de> References: <20130403110839.GA22392@pax.zz.de> Message-ID: <20130403111649.GC25835@pax.zz.de> On Wed, Apr 03, 2013 at 01:08:39PM +0200, Florian Lohoff wrote: > Hi, [...] > Is there a hidden knob? I thought the core would treat the perfdata as an > bytestring not trying to deal with it. Replying to myself just in case i look up the same problem 5 years in the Future: illegal_macro_output_chars remove " and everythings fine ;) Flo -- Florian Lohoff f at zz.de -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 828 bytes Desc: Digital signature URL: -------------- next part -------------- ------------------------------------------------------------------------------ Minimize network downtime and maximize team effectiveness. Reduce network management and security costs.Learn how to hire the most talented Cisco Certified professionals. Visit the Employer Resources Portal http://www.cisco.com/web/learning/employer_resources/index.html -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ismael.puerto at seres.es Wed Apr 3 13:11:38 2013 From: ismael.puerto at seres.es (Ismael Puerto) Date: Wed, 03 Apr 2013 13:11:38 +0200 Subject: stupid question about upgrading nagios? (2.12 -> latest)? In-Reply-To: References: Message-ID: <515C0E6A.7030603@seres.es> Hi Eero I past document that it help you http://nagios.sourceforge.net/docs/3_0/upgrading.html#nagios2x http://nagios.sourceforge.net/docs/3_0/whatsnew.html Best regards On 04/02/2013 11:23 PM, Eero Volotinen wrote: > Hi List, > > Planning to upgrade old nagios install (2.12) to latest? How about > config syntax? does it work directly or requires major modifications to > configuration files? > > thanks. > -- > Eero > > > ------------------------------------------------------------------------------ > Minimize network downtime and maximize team effectiveness. > Reduce network management and security costs.Learn how to hire > the most talented Cisco Certified professionals. Visit the > Employer Resources Portal > http://www.cisco.com/web/learning/employer_resources/index.html > > > > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > ------------------------------------------------------------------------------ Minimize network downtime and maximize team effectiveness. Reduce network management and security costs.Learn how to hire the most talented Cisco Certified professionals. Visit the Employer Resources Portal http://www.cisco.com/web/learning/employer_resources/index.html _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From netwarrior863 at gmail.com Thu Apr 4 14:19:35 2013 From: netwarrior863 at gmail.com (Net Warrior) Date: Thu, 4 Apr 2013 09:19:35 -0300 Subject: Disk Usage Report Message-ID: Hi guys. I'm monitoring some AIX 5.3 servers, among other thing, the disk usage, when the service is restored, let's say, disk space return to the aceptable size I've get the notificatoin in this way: DISK OK - free space: /var 588 MB (76% inode=96%): Is there a way to configure nagios to instead reporting the free/available disk space is, to report the % of used disk space instead? Let's say: DISK OK - free space: /var 50% , or 1500MB Used, or 50% or 1500MB or something like that, The problem is that with this: DISK OK - free space: /var 588 MB (76% inode=96%) is that I do not know the total amount, so., 588 MB of what? 1G? 2G? Did I myself clear? Thanks in addvance. Best regards. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Minimize network downtime and maximize team effectiveness. Reduce network management and security costs.Learn how to hire the most talented Cisco Certified professionals. Visit the Employer Resources Portal http://www.cisco.com/web/learning/employer_resources/index.html -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From bparish at cognex.com Thu Apr 4 15:51:14 2013 From: bparish at cognex.com (Parish, Brent) Date: Thu, 4 Apr 2013 09:51:14 -0400 Subject: Disk Usage Report In-Reply-To: References: Message-ID: <6265B2EB12D194469B958F2E703D81830DD3B4BC72@viper.pc.cognex.com> Hi. I'm guessing that some others on the list will weigh in with some better options for you, but if you'd like to have a look at what I use, I've posted it on Nagios Exchange (http://exchange.nagios.org/directory/Plugins/System-Metrics/File-System/check_disk_snmp/details). I ended up writing my own (in Perl) to get some of the extra features. One of those features is an attempt to give you more information about the disk (e.g. what the threshold for alerting is set at, the percent full as well as how much is left: DISK CRITICAL - [Threshold=95%, 96% full,14.1gb free on /snapshot] [Threshold=95%, 96% full,10.0gb free on /photos] The rest of the features are detailed on that page. Hope it helps, Brent From: Net Warrior [mailto:netwarrior863 at gmail.com] Sent: Thursday, April 04, 2013 8:20 AM To: Nagios Users List Subject: [Nagios-users] Disk Usage Report Hi guys. I'm monitoring some AIX 5.3 servers, among other thing, the disk usage, when the service is restored, let's say, disk space return to the aceptable size I've get the notificatoin in this way: DISK OK - free space: /var 588 MB (76% inode=96%): Is there a way to configure nagios to instead reporting the free/available disk space is, to report the % of used disk space instead? Let's say: DISK OK - free space: /var 50% , or 1500MB Used, or 50% or 1500MB or something like that, The problem is that with this: DISK OK - free space: /var 588 MB (76% inode=96%) is that I do not know the total amount, so., 588 MB of what? 1G? 2G? Did I myself clear? Thanks in addvance. Best regards. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Minimize network downtime and maximize team effectiveness. Reduce network management and security costs.Learn how to hire the most talented Cisco Certified professionals. Visit the Employer Resources Portal http://www.cisco.com/web/learning/employer_resources/index.html -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From netwarrior863 at gmail.com Thu Apr 4 16:37:45 2013 From: netwarrior863 at gmail.com (Net Warrior) Date: Thu, 4 Apr 2013 11:37:45 -0300 Subject: Disk Usage Report In-Reply-To: <6265B2EB12D194469B958F2E703D81830DD3B4BC72@viper.pc.cognex.com> References: <6265B2EB12D194469B958F2E703D81830DD3B4BC72@viper.pc.cognex.com> Message-ID: Thanks Man! that's seems to be very usefull, I'll take a look. Thank you very much, very kind of you. Regards 2013/4/4 Parish, Brent > Hi.**** > > ** ** > > I?m guessing that some others on the list will weigh in with some better > options for you, but if you?d like to have a look at what I use, I?ve > posted it on Nagios Exchange ( > http://exchange.nagios.org/directory/Plugins/System-Metrics/File-System/check_disk_snmp/details > ).**** > > ** ** > > I ended up writing my own (in Perl) to get some of the extra features. > One of those features is an attempt to give you more information about the > disk (e.g. what the threshold for alerting is set at, the percent full as > well as how much is left:**** > > ** ** > > DISK CRITICAL - [Threshold=95%, 96% full,14.1gb free on /snapshot] > [Threshold=95%, 96% full,10.0gb free on /photos]**** > > ** ** > > The rest of the features are detailed on that page.**** > > ** ** > > Hope it helps,**** > > Brent **** > > ** ** > > ** ** > > *From:* Net Warrior [mailto:netwarrior863 at gmail.com] > *Sent:* Thursday, April 04, 2013 8:20 AM > *To:* Nagios Users List > > *Subject:* [Nagios-users] Disk Usage Report**** > > ** ** > > Hi guys.**** > > I'm monitoring some AIX 5.3 servers, among other thing, the disk usage, > when the service is restored, let's say, disk space return to the aceptable > size I've get the notificatoin in this way:**** > > DISK OK - free space: /var 588 MB (76% inode=96%):**** > > Is there a way to configure nagios to instead reporting the > free/available disk space is, to report the % of used disk space instead? > > Let's say: > > DISK OK - free space: /var 50% , or 1500MB Used, or 50% or 1500MB or > something like that, > > The problem is that with this: DISK OK - free space: /var 588 MB (76% > inode=96%) is that I do not know the total amount, so., 588 MB of what? > 1G? 2G?**** > > Did I myself clear?**** > > ** ** > > > Thanks in addvance.**** > > Best regards.**** > > > ------------------------------------------------------------------------------ > Minimize network downtime and maximize team effectiveness. > Reduce network management and security costs.Learn how to hire > the most talented Cisco Certified professionals. Visit the > Employer Resources Portal > http://www.cisco.com/web/learning/employer_resources/index.html > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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: -------------- next part -------------- ------------------------------------------------------------------------------ Minimize network downtime and maximize team effectiveness. Reduce network management and security costs.Learn how to hire the most talented Cisco Certified professionals. Visit the Employer Resources Portal http://www.cisco.com/web/learning/employer_resources/index.html -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From lavalamp at spiritual-machines.org Thu Apr 4 16:25:04 2013 From: lavalamp at spiritual-machines.org (Brian A. Seklecki) Date: Thu, 04 Apr 2013 10:25:04 -0400 Subject: Disk Usage Report In-Reply-To: References: Message-ID: <515D8D40.1000007@spiritual-machines.org> > Did I myself clear? > Yes; that's a very easy patch for you to apply to check_[fs|disk]_usage. https://github.com/nagios-plugins/nagios-plugins/blob/master/plugins/check_disk.c Just look for the sprintf() lines where the report is generated and adjust the variables accordingly, then submit diffs back for review. I doubt there will be objections to disambiguation improvements. ~BAS ------------------------------------------------------------------------------ Minimize network downtime and maximize team effectiveness. Reduce network management and security costs.Learn how to hire the most talented Cisco Certified professionals. Visit the Employer Resources Portal http://www.cisco.com/web/learning/employer_resources/index.html _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From wcooley at nakedape.cc Fri Apr 5 00:33:54 2013 From: wcooley at nakedape.cc (Wil Cooley) Date: Thu, 4 Apr 2013 15:33:54 -0700 Subject: Old checkresults left after reload? Message-ID: Version: 3.2.3, specifically nagios-3.2.3-3.el5.rf (from RPMforge) I just noticed that my checkresults spool directory has several thousand files in it, some going back for years. For at least the more recent files the orphaned files seem to correlate with when the server was reloaded or restarted. Relevant parameters from nagios.cfg are sane or default and I see nothing about this in the change log for later versions. Is this a known bug with this version or have I stumbled upon something new? Looking over the debug log, the reaping process seems to generally run for <10s, so it seems like there should be plenty of time for it to actually clean these up if it were going to. Here is an export of the log entries for the past few days: 2013-03-29+04:02:01 [1364554921] Nagios 3.2.3 starting... (PID=6750) 2013-03-30+04:02:02 [1364641322] Nagios 3.2.3 starting... (PID=6750) 2013-03-31+04:02:02 [1364727722] Nagios 3.2.3 starting... (PID=6750) 2013-04-01+04:02:01 [1364814121] Nagios 3.2.3 starting... (PID=6750) 2013-04-02+04:02:01 [1364900521] Nagios 3.2.3 starting... (PID=6750) 2013-04-02+10:58:56 [1364925536] Nagios 3.2.3 starting... (PID=6750) 2013-04-02+11:08:14 [1364926094] Nagios 3.2.3 starting... (PID=6750) 2013-04-02+11:34:17 [1364927657] Nagios 3.2.3 starting... (PID=3295) 2013-04-03+04:02:02 [1364986922] Nagios 3.2.3 starting... (PID=3296) And here are the leftover files from the same period: 2013-03-29+04:01:58 /var/nagios/spool/checkresults/check7h8JTX 2013-03-29+04:01:58 /var/nagios/spool/checkresults/checkICzAl5 2013-03-29+04:01:58 /var/nagios/spool/checkresults/checkYypkJJ 2013-03-29+04:01:58 /var/nagios/spool/checkresults/checkjO8I2C 2013-03-29+04:01:58 /var/nagios/spool/checkresults/checkpbSCFQ 2013-03-29+04:01:58 /var/nagios/spool/checkresults/checkxrw70c 2013-03-29+04:02:00 /var/nagios/spool/checkresults/check0yaFLv 2013-03-29+04:02:00 /var/nagios/spool/checkresults/check4pdx0y 2013-03-29+04:02:00 /var/nagios/spool/checkresults/checkFWJehx 2013-03-30+04:01:58 /var/nagios/spool/checkresults/checkyj04FS 2013-03-31+04:01:58 /var/nagios/spool/checkresults/check0Zj95p 2013-03-31+04:02:00 /var/nagios/spool/checkresults/checkj2f1oS 2013-04-01+04:01:58 /var/nagios/spool/checkresults/check2dtev8 2013-04-01+04:01:58 /var/nagios/spool/checkresults/checkL4NP6Y 2013-04-01+04:01:58 /var/nagios/spool/checkresults/checkliZSBm 2013-04-01+04:01:59 /var/nagios/spool/checkresults/checknASFxV 2013-04-01+04:02:01 /var/nagios/spool/checkresults/checkoCjPaN 2013-04-02+11:08:14 /var/nagios/spool/checkresults/checkB1WidW 2013-04-03+04:02:01 /var/nagios/spool/checkresults/check2GmUmb (15 others with the same time elided) 2013-04-03+04:02:02 /var/nagios/spool/checkresults/check1rU49d And here are the lines from nagios.cfg that match "check_result": check_result_reaper_frequency=10 max_check_result_reaper_time=30 check_result_path=/var/nagios/spool/checkresults/ max_check_result_file_age=3600 Thanks! -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Minimize network downtime and maximize team effectiveness. Reduce network management and security costs.Learn how to hire the most talented Cisco Certified professionals. Visit the Employer Resources Portal http://www.cisco.com/web/learning/employer_resources/index.html -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From travisrunyard at gmail.com Sat Apr 6 00:53:57 2013 From: travisrunyard at gmail.com (Travis Runyard) Date: Fri, 5 Apr 2013 15:53:57 -0700 Subject: Macros Variable Definitions In-Reply-To: References: Message-ID: Can you provide us your command and contact definition? It should be $SERVICEOUTPUT$ though. On Fri, Apr 5, 2013 at 7:38 AM, Net Warrior wrote: > Hi Guys. > > I have an script to send sms alert, and among other thing which I send, > I'l like to include the available disk space i, available, used, whatever, > I'm reading in here > http://nagios.sourceforge.net/docs/3_0/macrolist.html but cannot find > which variable contains the output of the command I read the > notify-service-by-email, tried SERVICEOUTPUT but it seems it's not. > > Can you tell me which one is it? > > Thank you very much > Regards > > > ------------------------------------------------------------------------------ > Minimize network downtime and maximize team effectiveness. > Reduce network management and security costs.Learn how to hire > the most talented Cisco Certified professionals. Visit the > Employer Resources Portal > http://www.cisco.com/web/learning/employer_resources/index.html > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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: -------------- next part -------------- ------------------------------------------------------------------------------ Minimize network downtime and maximize team effectiveness. Reduce network management and security costs.Learn how to hire the most talented Cisco Certified professionals. Visit the Employer Resources Portal http://www.cisco.com/web/learning/employer_resources/index.html -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From netwarrior863 at gmail.com Fri Apr 5 16:38:28 2013 From: netwarrior863 at gmail.com (Net Warrior) Date: Fri, 5 Apr 2013 11:38:28 -0300 Subject: Macros Variable Definitions Message-ID: Hi Guys. I have an script to send sms alert, and among other thing which I send, I'l like to include the available disk space i, available, used, whatever, I'm reading in here http://nagios.sourceforge.net/docs/3_0/macrolist.html but cannot find which variable contains the output of the command I read the notify-service-by-email, tried SERVICEOUTPUT but it seems it's not. Can you tell me which one is it? Thank you very much Regards -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Minimize network downtime and maximize team effectiveness. Reduce network management and security costs.Learn how to hire the most talented Cisco Certified professionals. Visit the Employer Resources Portal http://www.cisco.com/web/learning/employer_resources/index.html -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From netwarrior863 at gmail.com Mon Apr 8 17:44:36 2013 From: netwarrior863 at gmail.com (Net Warrior) Date: Mon, 8 Apr 2013 12:44:36 -0300 Subject: Macros Variable Definitions In-Reply-To: References: Message-ID: Yes, you are right,it's working now, do not know what happened. Sorry for the noise, thanks for your time. Regards 2013/4/5 Travis Runyard > Can you provide us your command and contact definition? It should > be $SERVICEOUTPUT$ though. > > > On Fri, Apr 5, 2013 at 7:38 AM, Net Warrior wrote: > >> Hi Guys. >> >> I have an script to send sms alert, and among other thing which I send, >> I'l like to include the available disk space i, available, used, whatever, >> I'm reading in here >> http://nagios.sourceforge.net/docs/3_0/macrolist.html but cannot find >> which variable contains the output of the command I read the >> notify-service-by-email, tried SERVICEOUTPUT but it seems it's not. >> >> Can you tell me which one is it? >> >> Thank you very much >> Regards >> >> >> ------------------------------------------------------------------------------ >> Minimize network downtime and maximize team effectiveness. >> Reduce network management and security costs.Learn how to hire >> the most talented Cisco Certified professionals. Visit the >> Employer Resources Portal >> http://www.cisco.com/web/learning/employer_resources/index.html >> _______________________________________________ >> Nagios-users mailing list >> Nagios-users at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/nagios-users >> ::: Please include Nagios version, plugin version (-v) and OS when >> reporting any issue. >> ::: Messages without supporting info will risk being sent to /dev/null >> > > > > ------------------------------------------------------------------------------ > Minimize network downtime and maximize team effectiveness. > Reduce network management and security costs.Learn how to hire > the most talented Cisco Certified professionals. Visit the > Employer Resources Portal > http://www.cisco.com/web/learning/employer_resources/index.html > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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: -------------- next part -------------- ------------------------------------------------------------------------------ Minimize network downtime and maximize team effectiveness. Reduce network management and security costs.Learn how to hire the most talented Cisco Certified professionals. Visit the Employer Resources Portal http://www.cisco.com/web/learning/employer_resources/index.html -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From netwarrior863 at gmail.com Mon Apr 8 17:43:16 2013 From: netwarrior863 at gmail.com (Net Warrior) Date: Mon, 8 Apr 2013 12:43:16 -0300 Subject: Alert Precedence Message-ID: Hi guys. I've got a doubt regarding the alerts definitions, I have defined several alerts for a host, for example one of them is to check if the host is up or down, when the host is down I get the alert as usual ans so on, but the other alerts get fired as well, service alerts, my question is, if is there a way to tell nagios, if the server is down, do not tigger the other alerts cuz of course are gonna fail? Thanks for your time and support Best Regards -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Minimize network downtime and maximize team effectiveness. Reduce network management and security costs.Learn how to hire the most talented Cisco Certified professionals. Visit the Employer Resources Portal http://www.cisco.com/web/learning/employer_resources/index.html -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ck at claudiokuenzler.com Mon Apr 8 20:58:00 2013 From: ck at claudiokuenzler.com (Claudio Kuenzler) Date: Mon, 8 Apr 2013 20:58:00 +0200 Subject: Alert Precedence In-Reply-To: References: Message-ID: This is a "basic dependency" in Nagios. When the host is down (hard) then you won't receive any alerts for the services defined in this host. What is likely in your case, is that you have scheduled the service checks more often or faster to alert before the host check. This will result in some alerts of services before the actual host down alert comes. You should check out the event log to determine which checks happened faster to become a hard critical state. On Mon, Apr 8, 2013 at 5:43 PM, Net Warrior wrote: > Hi guys. > > I've got a doubt regarding the alerts definitions, I have defined several > alerts for a host, for example one of them is to check if the host is up or > down, when the host is down I get the alert as usual ans so on, but the > other alerts get fired as well, service alerts, my question is, if is there > a way to tell nagios, if the server is down, do not tigger the other > alerts cuz of course are gonna fail? > > Thanks for your time and support > Best Regards > > > ------------------------------------------------------------------------------ > Minimize network downtime and maximize team effectiveness. > Reduce network management and security costs.Learn how to hire > the most talented Cisco Certified professionals. Visit the > Employer Resources Portal > http://www.cisco.com/web/learning/employer_resources/index.html > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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: -------------- next part -------------- ------------------------------------------------------------------------------ Minimize network downtime and maximize team effectiveness. Reduce network management and security costs.Learn how to hire the most talented Cisco Certified professionals. Visit the Employer Resources Portal http://www.cisco.com/web/learning/employer_resources/index.html -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From netwarrior863 at gmail.com Mon Apr 8 21:37:53 2013 From: netwarrior863 at gmail.com (Net Warrior) Date: Mon, 8 Apr 2013 16:37:53 -0300 Subject: Alert Precedence In-Reply-To: References: Message-ID: I'll take a look, very kind of you. Thanks for your time and support. Regards 2013/4/8 Claudio Kuenzler > This is a "basic dependency" in Nagios. When the host is down (hard) then > you won't receive any alerts for the services defined in this host. > What is likely in your case, is that you have scheduled the service checks > more often or faster to alert before the host check. This will result in > some alerts of services before the actual host down alert comes. > You should check out the event log to determine which checks happened > faster to become a hard critical state. > > > On Mon, Apr 8, 2013 at 5:43 PM, Net Warrior wrote: > >> Hi guys. >> >> I've got a doubt regarding the alerts definitions, I have defined several >> alerts for a host, for example one of them is to check if the host is up or >> down, when the host is down I get the alert as usual ans so on, but the >> other alerts get fired as well, service alerts, my question is, if is there >> a way to tell nagios, if the server is down, do not tigger the other >> alerts cuz of course are gonna fail? >> >> Thanks for your time and support >> Best Regards >> >> >> ------------------------------------------------------------------------------ >> Minimize network downtime and maximize team effectiveness. >> Reduce network management and security costs.Learn how to hire >> the most talented Cisco Certified professionals. Visit the >> Employer Resources Portal >> http://www.cisco.com/web/learning/employer_resources/index.html >> _______________________________________________ >> Nagios-users mailing list >> Nagios-users at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/nagios-users >> ::: Please include Nagios version, plugin version (-v) and OS when >> reporting any issue. >> ::: Messages without supporting info will risk being sent to /dev/null >> > > > > ------------------------------------------------------------------------------ > Minimize network downtime and maximize team effectiveness. > Reduce network management and security costs.Learn how to hire > the most talented Cisco Certified professionals. Visit the > Employer Resources Portal > http://www.cisco.com/web/learning/employer_resources/index.html > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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: -------------- next part -------------- ------------------------------------------------------------------------------ Minimize network downtime and maximize team effectiveness. Reduce network management and security costs.Learn how to hire the most talented Cisco Certified professionals. Visit the Employer Resources Portal http://www.cisco.com/web/learning/employer_resources/index.html -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From sunilarora.moc at gmail.com Tue Apr 9 09:39:42 2013 From: sunilarora.moc at gmail.com (Sunil Arora) Date: Tue, 9 Apr 2013 13:09:42 +0530 Subject: Tool for creating automatic daily Uptime Report Message-ID: Dear friends, Do anyone using or know about any tool or plugin which can automatically generate the daily uptime report of all the devices list in my nagios server. And also send it via email to my desired contacts. I am using Nagios Core, version 3.4.1. With Best Regards Sunil Arora +91 09899064192 -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Precog is a next-generation analytics platform capable of advanced analytics on semi-structured data. The platform includes APIs for building apps and a phenomenal toolset for data science. Developers can use our toolset for easy data analysis & visualization. Get a free account! http://www2.precog.com/precogplatform/slashdotnewsletter -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From kdawg44 at gmail.com Thu Apr 11 18:17:21 2013 From: kdawg44 at gmail.com (Kevin Holleran) Date: Thu, 11 Apr 2013 12:17:21 -0400 Subject: Download Speed Message-ID: I have noticed a handful of plugins out there to check download speed of an external connection. Is there a particular one that is favored or that someone has had success with? Thanks! Kevin -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Precog is a next-generation analytics platform capable of advanced analytics on semi-structured data. The platform includes APIs for building apps and a phenomenal toolset for data science. Developers can use our toolset for easy data analysis & visualization. Get a free account! http://www2.precog.com/precogplatform/slashdotnewsletter -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From arosen at altiusbb.com Thu Apr 11 20:51:35 2013 From: arosen at altiusbb.com (Andy Rosen) Date: Thu, 11 Apr 2013 11:51:35 -0700 Subject: statusmap - Circular (Marked Up) background color - all green? Message-ID: Hello - I am running Nagios Core 3.4.3 in two different locations. One, which is remote, monitors a dozen or so hosts and the status map is "normal" in circular (marked up) mode - up hosts are green, down hosts are red and the back ground is white. The second is the main "internal" monitoring host is monitoring about 150 hosts and on this status map, the background color is all green, not white. The up hosts are still green and the down hosts are red, but the background is all the green of an up host. Why is the background not white? I've monkeyed around with some of the settings, but haven't found a fix. A small sample is below (not sure is the listserv will strip it or not) Other map styles are white, it just seems to be the circular (marked up) - which is the format that best suits our needs. Thank you! -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: Screen Shot 2013-04-11 at 11.45.37 AM 3.png Type: image/png Size: 20565 bytes Desc: not available URL: -------------- next part -------------- ------------------------------------------------------------------------------ Precog is a next-generation analytics platform capable of advanced analytics on semi-structured data. The platform includes APIs for building apps and a phenomenal toolset for data science. Developers can use our toolset for easy data analysis & visualization. Get a free account! http://www2.precog.com/precogplatform/slashdotnewsletter -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mattias.ryrlen at op5.com Fri Apr 12 08:36:24 2013 From: mattias.ryrlen at op5.com (=?ISO-8859-1?Q?Mattias_Ryrl=E9n?=) Date: Fri, 12 Apr 2013 08:36:24 +0200 Subject: statusmap - Circular (Marked Up) background color - all green? In-Reply-To: References: Message-ID: Hi, i once sent in a patch that got accepted where you can control the rgb values of statusmap in your cgi.cfg. might be something to look up? *Statusmap CGI Color Transparency Indexes* Format:*color_transparency_index_r=<0-255> color_transparency_index_g=<0-255> color_transparency_index_b=<0-255> *Example:*color_transparency_index_r=255 color_transparency_index_g=255 color_transparency_index_b=255 * These options set the r,g,b values of the background color used the statusmap CGI, so normal browsers that can't show real png transparency set the desired color as a background color instead (to make it look pretty). Defaults to white: (R,G,B) = (255,255,255). On Thu, Apr 11, 2013 at 8:51 PM, Andy Rosen wrote: > Hello - > > I am running Nagios Core 3.4.3 in two different locations. > > One, which is remote, monitors a dozen or so hosts and the status map is > "normal" in circular (marked up) mode - up hosts are green, down hosts are > red and the back ground is white. > > The second is the main "internal" monitoring host is monitoring about 150 > hosts and on this status map, the background color is all green, not white. > The up hosts are still green and the down hosts are red, but the > background is all the green of an up host. > > Why is the background not white? I've monkeyed around with some of the > settings, but haven't found a fix. A small sample is below (not sure is > the listserv will strip it or not) > > Other map styles are white, it just seems to be the circular (marked up) - > which is the format that best suits our needs. > > Thank you! > > > > > ------------------------------------------------------------------------------ > Precog is a next-generation analytics platform capable of advanced > analytics on semi-structured data. The platform includes APIs for building > apps and a phenomenal toolset for data science. Developers can use > our toolset for easy data analysis & visualization. Get a free account! > http://www2.precog.com/precogplatform/slashdotnewsletter > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > -- V?nliga h?lsningar / Best Regards Mattias Ryrl?n __________________________ op5 AB F?rsta L?nggatan 19 SE-413 27 G?teborg Mobil: +46 735-17 70 99 Support: +46 31-774 09 24 www.op5.com -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: Screen Shot 2013-04-11 at 11.45.37 AM 3.png Type: image/png Size: 20565 bytes Desc: not available URL: -------------- next part -------------- ------------------------------------------------------------------------------ Precog is a next-generation analytics platform capable of advanced analytics on semi-structured data. The platform includes APIs for building apps and a phenomenal toolset for data science. Developers can use our toolset for easy data analysis & visualization. Get a free account! http://www2.precog.com/precogplatform/slashdotnewsletter -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Apr 12 23:25:00 2013 From: holger at cis.fu-berlin.de (Holger =?iso-8859-1?Q?Wei=DF?=) Date: Fri, 12 Apr 2013 23:25:00 +0200 Subject: ANNOUNCE: NSCA-ng 1.1 Message-ID: <20130412212459.GO633298@zedat.fu-berlin.de> Today, I released NSCA-ng 1.1. Debian packages and the source tarball can be downloaded from: https://www.nsca-ng.org/ NSCA-ng is a drop-in replacement for NSCA that allows for submitting passive check results, downtimes, and many other commands to Nagios. It uses TLS encryption and shared-secret authentication with per-client passwords, as well as fine-grained authorization control. Version 1.1 is a minor release that adds some improvements and fixes, including the following: - Add chroot(2) support to the server. - Let the server accept `hosts' patterns in `authorize' sections. They're syntactic sugar for allowing host checks to be submitted (analogous to the `services' patterns for service check submissions). - Let the client ignore empty input lines. This fixes some corner cases where NSCA-ng's client didn't accept the same input as the client provided with the original NSCA package. - Add the `-e' client option, which allows for specifying a delimiter to use instead of the ASCII ETB character for separating check results. - Let the `invoke_check' script (provided in the `contrib' directory of the source tarball) survive plugin return codes other than zero. This should make the script slightly more useful :-) Thanks go to Stuart Henderson for adding the chroot(2) support, to Mirko Tasler for spotting the bug in the `invoke_check' script, and to everyone else who provided feedback. Have a nice weekend! Holger ------------------------------------------------------------------------------ Precog is a next-generation analytics platform capable of advanced analytics on semi-structured data. The platform includes APIs for building apps and a phenomenal toolset for data science. Developers can use our toolset for easy data analysis & visualization. Get a free account! http://www2.precog.com/precogplatform/slashdotnewsletter _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From grant.maxwell at maxan.com.au Sat Apr 13 01:07:32 2013 From: grant.maxwell at maxan.com.au (Grant Maxwell) Date: Sat, 13 Apr 2013 09:07:32 +1000 Subject: Passive checks not processing performance data Message-ID: Hi Im running nagios 3.2.3 and NSCA version 2.9.1 Im submitting data via NSCA with performance data. The output/status of the data is accepted by Nagios and shows in the service status correctly and Nagios also shows the performance data in the service status data screen. However the performance data is not showing up in the nagiosgraphs screens. The graphs are all blank with NaN as the values. A sample of the passive data received by NSCA (from logs) is: Apr 13 08:49:16 srv-nagios nsca[17429]: Handling the connection... Apr 13 08:49:16 srv-nagios nsca[17429]: Time difference in packet: 0 seconds for host svcSite Apr 13 08:49:16 srv-nagios nsca[17429]: SERVICE CHECK -> Host Name: 'svcSite', Service Description: '0410', Return Code: '0', Output: 'Dispatch Cool Rm temperature: 3.34 OK|Temperature=3.34 Volts=3.65642578125' Apr 13 08:49:16 srv-nagios nsca[17429]: Attempting to write to nagios command pipe Apr 13 08:49:16 srv-nagios nsca[17429]: End of connection... Apr 13 08:49:16 srv-nagios nagios: EXTERNAL COMMAND: PROCESS_SERVICE_CHECK_RESULT;svcSite;0410;0;Dispatch Cool Rm temperature: 3.34 OK|Temperature=3.34 Volts=3.65642578125 Apr 13 08:49:16 srv-nagios nagios: EXTERNAL COMMAND: PROCESS_HOST_CHECK_RESULT;svcSite;0;OK Apr 13 08:49:23 srv-nagios nagios: PASSIVE SERVICE CHECK: svcSite;0410;0;Dispatch Cool Rm temperature: 3.34 OK Our system is collecting perf data from other active checks and these all work ok. I can't see why this is not working. Any ideas please. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Precog is a next-generation analytics platform capable of advanced analytics on semi-structured data. The platform includes APIs for building apps and a phenomenal toolset for data science. Developers can use our toolset for easy data analysis & visualization. Get a free account! http://www2.precog.com/precogplatform/slashdotnewsletter -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From lambert at lambertfam.org Sat Apr 13 07:52:20 2013 From: lambert at lambertfam.org (Scott Lambert) Date: Sat, 13 Apr 2013 00:52:20 -0500 Subject: statusmap - Circular (Marked Up) background color - all green? In-Reply-To: References: Message-ID: <20130413055220.GA93427@www.jail.lambertfam.org> On Thu, Apr 11, 2013 at 11:51:35AM -0700, Andy Rosen wrote: > Hello - > > I am running Nagios Core 3.4.3 in two different locations. > > One, which is remote, monitors a dozen or so hosts and the status map > is "normal" in circular (marked up) mode - up hosts are green, down > hosts are red and the back ground is white. > > The second is the main "internal" monitoring host is monitoring about > 150 hosts and on this status map, the background color is all green, > not white. The up hosts are still green and the down hosts are red, > but the background is all the green of an up host. > > Why is the background not white? I've monkeyed around with some of > the settings, but haven't found a fix. A small sample is below (not > sure is the listserv will strip it or not) > > Other map styles are white, it just seems to be the circular (marked > up) - which is the format that best suits our needs. Add another host and see if that changes anything. I've seen the all green or all red background come and go on machines as I added more hosts. I have not bothered to look for a pattern. I think it just "leaks" color from a particular host's state in certain conditions. It may even have to do with how many "layers" of depencencies you have. -- Scott Lambert KC5MLE Unix SysAdmin lambert at lambertfam.org ------------------------------------------------------------------------------ Precog is a next-generation analytics platform capable of advanced analytics on semi-structured data. The platform includes APIs for building apps and a phenomenal toolset for data science. Developers can use our toolset for easy data analysis & visualization. Get a free account! http://www2.precog.com/precogplatform/slashdotnewsletter _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From grant.maxwell at maxan.com.au Mon Apr 15 03:29:43 2013 From: grant.maxwell at maxan.com.au (Grant Maxwell) Date: Mon, 15 Apr 2013 11:29:43 +1000 Subject: Passive checks not processing performance data In-Reply-To: References: Message-ID: <506113DC-E6FA-404B-881E-52A183B0FF17@maxan.com.au> Could anyone please help me out here ? regards gmax > Hi > > Im running nagios 3.2.3 and NSCA version 2.9.1 > > Im submitting data via NSCA with performance data. The output/status of the data is accepted by Nagios and shows in the service status correctly and Nagios also shows the performance data in the service status data screen. > > However the performance data is not showing up in the nagiosgraphs screens. The graphs are all blank with NaN as the values. > > A sample of the passive data received by NSCA (from logs) is: > > Apr 13 08:49:16 srv-nagios nsca[17429]: Handling the connection... > Apr 13 08:49:16 srv-nagios nsca[17429]: Time difference in packet: 0 seconds for host svcSite > Apr 13 08:49:16 srv-nagios nsca[17429]: SERVICE CHECK -> Host Name: 'svcSite', Service Description: '0410', Return Code: '0', Output: 'Dispatch Cool Rm temperature: 3.34 OK|Temperature=3.34 Volts=3.65642578125' > Apr 13 08:49:16 srv-nagios nsca[17429]: Attempting to write to nagios command pipe > Apr 13 08:49:16 srv-nagios nsca[17429]: End of connection... > Apr 13 08:49:16 srv-nagios nagios: EXTERNAL COMMAND: PROCESS_SERVICE_CHECK_RESULT;svcSite;0410;0;Dispatch Cool Rm temperature: 3.34 OK|Temperature=3.34 Volts=3.65642578125 > Apr 13 08:49:16 srv-nagios nagios: EXTERNAL COMMAND: PROCESS_HOST_CHECK_RESULT;svcSite;0;OK > Apr 13 08:49:23 srv-nagios nagios: PASSIVE SERVICE CHECK: svcSite;0410;0;Dispatch Cool Rm temperature: 3.34 OK > > Our system is collecting perf data from other active checks and these all work ok. > > I can't see why this is not working. > > Any ideas please. > > > -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Precog is a next-generation analytics platform capable of advanced analytics on semi-structured data. The platform includes APIs for building apps and a phenomenal toolset for data science. Developers can use our toolset for easy data analysis & visualization. Get a free account! http://www2.precog.com/precogplatform/slashdotnewsletter -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Apr 15 09:45:18 2013 From: ae at op5.se (Andreas Ericsson) Date: Mon, 15 Apr 2013 09:45:18 +0200 Subject: Passive checks not processing performance data In-Reply-To: <506113DC-E6FA-404B-881E-52A183B0FF17@maxan.com.au> References: <506113DC-E6FA-404B-881E-52A183B0FF17@maxan.com.au> Message-ID: <516BB00E.2010604@op5.se> On 04/15/2013 03:29 AM, Grant Maxwell wrote: > Could anyone please help me out here ? > Try upgrading to the latest stable. That's pretty much always the first resort, since it's unlikely bugfixes will be backported to 3.2.3 anyways. 3.3.1 (I think) was running happily for quite a long time and is probably still the most used Nagios version, so perhaps you can get it working using that. Failing that, try enabling debug logging and see where it goes wrong. That usually tilts developer's head in the right direction wrt remembering what one's fixed or which areas of code one has poked around in. -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Tel: +46 8-230225 Fax: +46 8-230231 Considering the successes of the wars on alcohol, poverty, drugs and terror, I think we should give some serious thought to declaring war on peace. ------------------------------------------------------------------------------ Precog is a next-generation analytics platform capable of advanced analytics on semi-structured data. The platform includes APIs for building apps and a phenomenal toolset for data science. Developers can use our toolset for easy data analysis & visualization. Get a free account! http://www2.precog.com/precogplatform/slashdotnewsletter _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From grant.maxwell at maxan.com.au Mon Apr 15 11:15:13 2013 From: grant.maxwell at maxan.com.au (Grant Maxwell) Date: Mon, 15 Apr 2013 19:15:13 +1000 Subject: Passive checks not processing performance data In-Reply-To: <516BB00E.2010604@op5.se> References: <506113DC-E6FA-404B-881E-52A183B0FF17@maxan.com.au> <516BB00E.2010604@op5.se> Message-ID: <5AD6AFD0-E47F-488E-AFB9-3A37DCD7FD56@maxan.com.au> Hi Andreas and thanks for the input. I have updated to 3.5.0. The NSCA is already at the current version. I turned on debugging to the maximum and found the following line in the nagios.debug file. [1366015455.090021] [016.1] [pid=19425] HOST: Rydlmere, SERVICE: 0444, CHECK TYPE: Passive, OPTIONS: 0, SCHEDULED: No, RESCHEDULE: No, EXITED OK: Yes, RETURN CODE: 0, OUTPUT: Freezer 3 temperature: -14.25 OK|Temperature=-14.25 Volts=3.18462890625 As you can see the performance data does look ok in the line but there was no performance processing of it. There were no following line with "Perf Data:" for this report. kind regards gmax On 15/04/2013, at 5:45 PM, Andreas Ericsson wrote: > On 04/15/2013 03:29 AM, Grant Maxwell wrote: >> Could anyone please help me out here ? >> > > Try upgrading to the latest stable. That's pretty much always the > first resort, since it's unlikely bugfixes will be backported to > 3.2.3 anyways. 3.3.1 (I think) was running happily for quite a > long time and is probably still the most used Nagios version, so > perhaps you can get it working using that. > > Failing that, try enabling debug logging and see where it goes > wrong. That usually tilts developer's head in the right direction > wrt remembering what one's fixed or which areas of code one has > poked around in. > > -- > Andreas Ericsson andreas.ericsson at op5.se > OP5 AB www.op5.se > Tel: +46 8-230225 Fax: +46 8-230231 > > Considering the successes of the wars on alcohol, poverty, drugs and > terror, I think we should give some serious thought to declaring war > on peace. [ ------------------------------------------------------------------------------ Precog is a next-generation analytics platform capable of advanced analytics on semi-structured data. The platform includes APIs for building apps and a phenomenal toolset for data science. Developers can use our toolset for easy data analysis & visualization. Get a free account! http://www2.precog.com/precogplatform/slashdotnewsletter _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From rochak41 at hotmail.com Mon Apr 15 12:23:02 2013 From: rochak41 at hotmail.com (Roch Akanor) Date: Mon, 15 Apr 2013 10:23:02 +0000 Subject: =?windows-1256?q?RealOpInsight_2=2E3=2E0_is_out_fo?= =?windows-1256?q?r_testing=FE?= Message-ID: Hi all, Just to announce that RealOpInsight[1] 2.3.0 is out for testing. Significant changes includes :Added support for Livestatus API (Shinken Livestatus API or MK Livestatus over the network). French translations. Works with locale settings.Support full screen modeTrouble messages filtering menuSupport for font adjustment on the Message ConsoleAdded support for copy/paste within the Editor. More menu shortcuts on toolbar and on context menusAdded new item iconsAdded validator for the Port fieldMake the IDs of data points case insensitiveMinor bug fixes Downloads are available as source tarball or binary packages for Windows at this address http://realopinsight.com/en/index.php?page=download. [1] RealOpInsight provides business process-oriented dashboard management capabilities on top of Nagios. See our website for more information (http://realopinsight.com). Kind regards,--Roch AkanorSenior Contributor | http://realopinsight.com -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Precog is a next-generation analytics platform capable of advanced analytics on semi-structured data. The platform includes APIs for building apps and a phenomenal toolset for data science. Developers can use our toolset for easy data analysis & visualization. Get a free account! http://www2.precog.com/precogplatform/slashdotnewsletter -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From nagiostool at gmail.com Mon Apr 15 12:43:54 2013 From: nagiostool at gmail.com (nag ios) Date: Mon, 15 Apr 2013 16:13:54 +0530 Subject: Return code of 127 is out of bounds - plugin may be missing error for check_memory.py Message-ID: Hi, i have a problem while using check_memory.py plugin its poping up error as below. (Return code of 127 is out of bounds - plugin may be missing) permissions for the plugin as root and root for owner , group owner. Please help me out -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Precog is a next-generation analytics platform capable of advanced analytics on semi-structured data. The platform includes APIs for building apps and a phenomenal toolset for data science. Developers can use our toolset for easy data analysis & visualization. Get a free account! http://www2.precog.com/precogplatform/slashdotnewsletter -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ben.sykes at transpire.com.au Mon Apr 15 13:06:09 2013 From: ben.sykes at transpire.com.au (Ben Sykes) Date: Mon, 15 Apr 2013 21:06:09 +1000 Subject: Return code of 127 is out of bounds - plugin may be missing error for check_memory.py Message-ID: Try running the check as the nagios user and see what happens. I ran into this problem also when I was using a very large number of services (3500+) in a single service group, which I fixed by turning off environment macros On Mon, Apr 15, 2013 at 8:43 PM, nag ios wrote: > Hi, > > i have a problem while using check_memory.py plugin its poping up error as > below. > > (Return code of 127 is out of bounds - plugin may be missing) > > permissions for the plugin as root and root for owner , group owner. > > Please help me out > > > ------------------------------------------------------------------------------ > Precog is a next-generation analytics platform capable of advanced > analytics on semi-structured data. The platform includes APIs for building > apps and a phenomenal toolset for data science. Developers can use > our toolset for easy data analysis & visualization. Get a free account! > http://www2.precog.com/precogplatform/slashdotnewsletter > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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: -------------- next part -------------- ------------------------------------------------------------------------------ Precog is a next-generation analytics platform capable of advanced analytics on semi-structured data. The platform includes APIs for building apps and a phenomenal toolset for data science. Developers can use our toolset for easy data analysis & visualization. Get a free account! http://www2.precog.com/precogplatform/slashdotnewsletter -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From nagiostool at gmail.com Mon Apr 15 13:13:54 2013 From: nagiostool at gmail.com (nag ios) Date: Mon, 15 Apr 2013 16:43:54 +0530 Subject: Fwd: Return code of 127 is out of bounds - plugin may be missing error for check_memory.py In-Reply-To: References: Message-ID: Hi, i have a problem while using check_memory.py plugin its poping up error as below. (Return code of 127 is out of bounds - plugin may be missing) permissions for the plugin as root and root for owner , group owner. Please help me out -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Precog is a next-generation analytics platform capable of advanced analytics on semi-structured data. The platform includes APIs for building apps and a phenomenal toolset for data science. Developers can use our toolset for easy data analysis & visualization. Get a free account! http://www2.precog.com/precogplatform/slashdotnewsletter -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From nagiostool at gmail.com Mon Apr 15 13:14:45 2013 From: nagiostool at gmail.com (nag ios) Date: Mon, 15 Apr 2013 16:44:45 +0530 Subject: Fwd: Return code of 127 is out of bounds - plugin may be missing error for check_memory.py In-Reply-To: References: Message-ID: Hi, i have a problem while using check_memory.py plugin its poping up error as below. (Return code of 127 is out of bounds - plugin may be missing) permissions for the plugin as root and root for owner , group owner. Please help me out -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Precog is a next-generation analytics platform capable of advanced analytics on semi-structured data. The platform includes APIs for building apps and a phenomenal toolset for data science. Developers can use our toolset for easy data analysis & visualization. Get a free account! http://www2.precog.com/precogplatform/slashdotnewsletter -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From sunil at sunil.cc Mon Apr 15 13:11:04 2013 From: sunil at sunil.cc (Sunil Sankar) Date: Mon, 15 Apr 2013 16:41:04 +0530 Subject: Return code of 127 is out of bounds - plugin may be missing error for check_memory.py In-Reply-To: References: Message-ID: Make sure the plugin is present on the remote host and also mentioned in nrpe Regards Sunil On Mon, Apr 15, 2013 at 4:13 PM, nag ios wrote: > Hi, > > i have a problem while using check_memory.py plugin its poping up error as > below. > > (Return code of 127 is out of bounds - plugin may be missing) > > permissions for the plugin as root and root for owner , group owner. > > Please help me out > > > ------------------------------------------------------------------------------ > Precog is a next-generation analytics platform capable of advanced > analytics on semi-structured data. The platform includes APIs for building > apps and a phenomenal toolset for data science. Developers can use > our toolset for easy data analysis & visualization. Get a free account! > http://www2.precog.com/precogplatform/slashdotnewsletter > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > -- Regards Sunil Sankar -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Precog is a next-generation analytics platform capable of advanced analytics on semi-structured data. The platform includes APIs for building apps and a phenomenal toolset for data science. Developers can use our toolset for easy data analysis & visualization. Get a free account! http://www2.precog.com/precogplatform/slashdotnewsletter -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From zarrelli at linux.it Mon Apr 15 13:05:44 2013 From: zarrelli at linux.it (Giorgio Zarrelli) Date: Mon, 15 Apr 2013 13:05:44 +0200 Subject: Return code of 127 is out of bounds - plugin may be missing error for check_memory.py Message-ID: <8mx0484diqwc0uwof1626li4.1366023944605@email.android.com> Change the ownership of file to nagios user and chmod +x the file. Please, make a ls - lah inside the plugin directory. nag ios ha scritto: >------------------------------------------------------------------------------ >Precog is a next-generation analytics platform capable of advanced >analytics on semi-structured data. The platform includes APIs for building >apps and a phenomenal toolset for data science. Developers can use >our toolset for easy data analysis & visualization. Get a free account! >http://www2.precog.com/precogplatform/slashdotnewsletter >_______________________________________________ >Nagios-users mailing list >Nagios-users at lists.sourceforge.net >https://lists.sourceforge.net/lists/listinfo/nagios-users >::: 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: -------------- next part -------------- ------------------------------------------------------------------------------ Precog is a next-generation analytics platform capable of advanced analytics on semi-structured data. The platform includes APIs for building apps and a phenomenal toolset for data science. Developers can use our toolset for easy data analysis & visualization. Get a free account! http://www2.precog.com/precogplatform/slashdotnewsletter -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mad at b-care.net Mon Apr 15 13:10:37 2013 From: mad at b-care.net (=?ISO-8859-1?Q?Marc-Andr=E9_DOLL?=) Date: Mon, 15 Apr 2013 13:10:37 +0200 Subject: Return code of 127 is out of bounds - plugin may be missing error for check_memory.py In-Reply-To: References: Message-ID: <516BE02D.7040809@b-care.net> Hi, Check if the path to the plugin defined in your Nagios command is correct. Regards, On 15/04/2013 12:43, nag ios wrote: > Hi, > i have a problem while using check_memory.py plugin its poping up > error as below. > (Return code of 127 is out of bounds - plugin may be missing) > permissions for the plugin as root and root for owner , group owner. > Please help me out > > > ------------------------------------------------------------------------------ > Precog is a next-generation analytics platform capable of advanced > analytics on semi-structured data. The platform includes APIs for building > apps and a phenomenal toolset for data science. Developers can use > our toolset for easy data analysis & visualization. Get a free account! > http://www2.precog.com/precogplatform/slashdotnewsletter > > > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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: -------------- next part -------------- ------------------------------------------------------------------------------ Precog is a next-generation analytics platform capable of advanced analytics on semi-structured data. The platform includes APIs for building apps and a phenomenal toolset for data science. Developers can use our toolset for easy data analysis & visualization. Get a free account! http://www2.precog.com/precogplatform/slashdotnewsletter -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From rochak41 at hotmail.com Mon Apr 15 14:24:47 2013 From: rochak41 at hotmail.com (Roch Akanor) Date: Mon, 15 Apr 2013 12:24:47 +0000 Subject: =?windows-1256?q?RealOpInsight_2=2E3=2E0_is_out_fo?= =?windows-1256?q?r_testing=FE=FE?= Message-ID: Hi all, Just to announce that RealOpInsight[1] 2.3.0 is out for testing. Significant changes includes :Added support for Livestatus API (Shinken Livestatus API or MK Livestatus over the network). French translations. Works with locale settings.Support full screen modeTrouble messages filtering menuSupport for font adjustment on the Message ConsoleAdded support for copy/paste within the Editor. More menu shortcuts on toolbar and on context menusAdded new item iconsAdded validator for the Port fieldMake the IDs of data points case insensitiveMinor bug fixes Downloads are available as source tarball or binary packages for Windows at this address http://realopinsight.com/en/index.php?page=download.[1] RealOpInsight provides business process-oriented dashboard management capabilities on top of Nagios. See our website for more information (http://realopinsight.com). Kind regards,--Roch AkanorSenior Contributor | http://realopinsight.com -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Precog is a next-generation analytics platform capable of advanced analytics on semi-structured data. The platform includes APIs for building apps and a phenomenal toolset for data science. Developers can use our toolset for easy data analysis & visualization. Get a free account! http://www2.precog.com/precogplatform/slashdotnewsletter -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jc at info-systems.de Mon Apr 15 20:51:48 2013 From: jc at info-systems.de (Jakob Curdes) Date: Mon, 15 Apr 2013 20:51:48 +0200 Subject: Passive checks not processing performance data In-Reply-To: <506113DC-E6FA-404B-881E-52A183B0FF17@maxan.com.au> References: <506113DC-E6FA-404B-881E-52A183B0FF17@maxan.com.au> Message-ID: <516C4C44.3020702@info-systems.de> >> Hi >> >> Im running nagios 3.2.3 and NSCA version 2.9.1 >> >> Im submitting data via NSCA with performance data. The output/status >> of the data is accepted by Nagios and shows in the service status >> correctly and Nagios also shows the performance data in the service >> status data screen. >> >> However the performance data is not showing up in the nagiosgraphs >> screens. The graphs are all blank with NaN as the values. >> It might be that the performance data part is not correctly transported; if I remember it correctly, older NSCA versions could not handle multi-line output, so that some content might get lost. JC -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Precog is a next-generation analytics platform capable of advanced analytics on semi-structured data. The platform includes APIs for building apps and a phenomenal toolset for data science. Developers can use our toolset for easy data analysis & visualization. Get a free account! http://www2.precog.com/precogplatform/slashdotnewsletter -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From grant.maxwell at maxan.com.au Tue Apr 16 02:23:17 2013 From: grant.maxwell at maxan.com.au (Grant Maxwell) Date: Tue, 16 Apr 2013 10:23:17 +1000 Subject: Passive checks not processing performance data In-Reply-To: <516C4C44.3020702@info-systems.de> References: <506113DC-E6FA-404B-881E-52A183B0FF17@maxan.com.au> <516C4C44.3020702@info-systems.de> Message-ID: On 16/04/2013, at 4:51 AM, Jakob Curdes wrote: > >>> Hi >>> >>> Im running nagios 3.2.3 and NSCA version 2.9.1 >>> >>> Im submitting data via NSCA with performance data. The output/status of the data is accepted by Nagios and shows in the service status correctly and Nagios also shows the performance data in the service status data screen. >>> >>> However the performance data is not showing up in the nagiosgraphs screens. The graphs are all blank with NaN as the values. >>> > It might be that the performance data part is not correctly transported; if I remember it correctly, older NSCA versions could not handle multi-line output, so that some content might get lost. JC Thanks for the input JC however the line in the log file seems to indicate the correct format. : [1366015455.090021] [016.1] [pid=19425] HOST: Rydlmere, SERVICE: 0444, CHECK TYPE: Passive, OPTIONS: 0, SCHEDULED: No, RESCHEDULE: No, EXITED OK: Yes, RETURN CODE: 0, OUTPUT: Freezer 3 temperature: -14.25 OK|Temperature=-14.25 Volts=3.18462890625 > ------------------------------------------------------------------------------ > Precog is a next-generation analytics platform capable of advanced > analytics on semi-structured data. The platform includes APIs for building > apps and a phenomenal toolset for data science. Developers can use > our toolset for easy data analysis & visualization. Get a free account! > http://www2.precog.com/precogplatform/slashdotnewsletter_______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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: -------------- next part -------------- ------------------------------------------------------------------------------ Precog is a next-generation analytics platform capable of advanced analytics on semi-structured data. The platform includes APIs for building apps and a phenomenal toolset for data science. Developers can use our toolset for easy data analysis & visualization. Get a free account! http://www2.precog.com/precogplatform/slashdotnewsletter -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 at crazynetwork.it Tue Apr 16 16:10:14 2013 From: support at crazynetwork.it (Supporto Tecnico - Crazy Network) Date: Tue, 16 Apr 2013 16:10:14 +0200 Subject: NagiosTV and merlind Message-ID: <516D5BC6.8060405@crazynetwork.it> Hi everyone, since some months im thinking about set a mini-computer just with NagiosTV to have an always on Monitor that show me servers (and differents nagios installations) all-in-one status. I did found NagiosTV (https://github.com/chriscareycode/NagiosTV) but this require ndoutils. Since im using merlin to integrate my nagios with MySQL this utility doenst work (most probably are just mysql queries that need to be adapted). My question so is, does anyone played around with this and edited the api.php file with the right queries to let it work with a merlin DB? If yes, would you like to share them? I did wrote to the author of this plugin but after a first reply he disappeared so, since im not a programmer, im stuck with this problem. Hope someone did had my same require and most capacity to edit the queries and did fit it for merlin, if not, hope someone will find the needed time (actually i suppose would just be 5 mins for who know how to query the db) to do that. Thanks in advance Best regards -- Andrea Iannucci ---------------------------- ---------------------------- Crazy Network di Iannucci Andrea Viale G.B. Lulli, 24 00050 Cerveteri - RM (w) www.crazynetwork.it (e) andrea.iannucci at crazynetwork.it (t) +39 06 62279876 (f) +39 06 62298767 (m) +39 338 8552885 ------------------------------------------------------------------------------- Please consider our enviromental responsabilit? before printing this E-Mail. Thank you. ------------------------------------------------------------------------------- Questo messaggio di posta elettronica contiene informazioni di carattere confidenziale rivolte esclusivamente al destinatario sopra indicato. E' vietato l'uso, la diffusione, distribuzione o riproduzione da parte di ogni altra persona. Nel caso aveste ricevuto questo messaggio di posta elettronica per errore, siete pregati di segnalarlo immediatamente al mittente e distruggere quanto ricevuto (compresi i file allegati) senza farne copia. Qualsivoglia utilizzo non autorizzato del contenuto di questo messaggio costituisce violazione dell'obbligo di non prendere cognizione della corrispondenza tra altri soggetti, salvo pi? grave illecito, ed espone il responsabile alle relative conseguenze. -------------------------------------------------------------------------------- This e-mail is confidential and may also contain privileged information. If you are not the intended recipient you are not authorised to read, print, save, process or disclose this message. If you have received this message by mistake, please inform the sender immediately and delete this e-mail, its attachments and any copies. Any use, distribution, reproduction or disclosure by any person other than the intended recipient is strictly prohibited and the person responsible may incur penalties. -------------------------------------------------------------------------------- ------------------------------------------------------------------------------ Precog is a next-generation analytics platform capable of advanced analytics on semi-structured data. The platform includes APIs for building apps and a phenomenal toolset for data science. Developers can use our toolset for easy data analysis & visualization. Get a free account! http://www2.precog.com/precogplatform/slashdotnewsletter _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 at crazynetwork.it Tue Apr 16 16:58:36 2013 From: support at crazynetwork.it (Supporto Tecnico - Crazy Network) Date: Tue, 16 Apr 2013 16:58:36 +0200 Subject: NagiosTV and merlind In-Reply-To: <516D5BC6.8060405@crazynetwork.it> References: <516D5BC6.8060405@crazynetwork.it> Message-ID: <516D671C.6040901@crazynetwork.it> Update. Since actually latest Ninja use Livestats to have information i did learn today that merlin is no more needed at all... So now the question would be, what i would need to edit in nagiosTV and (if anyone wanna spend some time) how for let it use Livestatus? Thanks again Il 16/04/2013 16:10, Supporto Tecnico - Crazy Network ha scritto: > Hi everyone, > > since some months im thinking about set a mini-computer just with > NagiosTV to have an always on Monitor that show me servers (and > differents nagios installations) all-in-one status. > > I did found NagiosTV (https://github.com/chriscareycode/NagiosTV) but > this require ndoutils. > > Since im using merlin to integrate my nagios with MySQL this utility > doenst work (most probably are just mysql queries that need to be adapted). > > My question so is, does anyone played around with this and edited the > api.php file with the right queries to let it work with a merlin DB? > > If yes, would you like to share them? > > I did wrote to the author of this plugin but after a first reply he > disappeared so, since im not a programmer, im stuck with this problem. > > Hope someone did had my same require and most capacity to edit the > queries and did fit it for merlin, if not, hope someone will find the > needed time (actually i suppose would just be 5 mins for who know how to > query the db) to do that. > > Thanks in advance > > Best regards -- Andrea Iannucci ---------------------------- ---------------------------- Crazy Network di Iannucci Andrea Viale G.B. Lulli, 24 00050 Cerveteri - RM (w) www.crazynetwork.it (e) andrea.iannucci at crazynetwork.it (t) +39 06 62279876 (f) +39 06 62298767 (m) +39 338 8552885 ------------------------------------------------------------------------------- Please consider our enviromental responsabilit? before printing this E-Mail. Thank you. ------------------------------------------------------------------------------- Questo messaggio di posta elettronica contiene informazioni di carattere confidenziale rivolte esclusivamente al destinatario sopra indicato. E' vietato l'uso, la diffusione, distribuzione o riproduzione da parte di ogni altra persona. Nel caso aveste ricevuto questo messaggio di posta elettronica per errore, siete pregati di segnalarlo immediatamente al mittente e distruggere quanto ricevuto (compresi i file allegati) senza farne copia. Qualsivoglia utilizzo non autorizzato del contenuto di questo messaggio costituisce violazione dell'obbligo di non prendere cognizione della corrispondenza tra altri soggetti, salvo pi? grave illecito, ed espone il responsabile alle relative conseguenze. -------------------------------------------------------------------------------- This e-mail is confidential and may also contain privileged information. If you are not the intended recipient you are not authorised to read, print, save, process or disclose this message. If you have received this message by mistake, please inform the sender immediately and delete this e-mail, its attachments and any copies. Any use, distribution, reproduction or disclosure by any person other than the intended recipient is strictly prohibited and the person responsible may incur penalties. -------------------------------------------------------------------------------- ------------------------------------------------------------------------------ Precog is a next-generation analytics platform capable of advanced analytics on semi-structured data. The platform includes APIs for building apps and a phenomenal toolset for data science. Developers can use our toolset for easy data analysis & visualization. Get a free account! http://www2.precog.com/precogplatform/slashdotnewsletter _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Apr 16 17:51:17 2013 From: ae at op5.se (Andreas Ericsson) Date: Tue, 16 Apr 2013 17:51:17 +0200 Subject: NagiosTV and merlind In-Reply-To: <516D671C.6040901@crazynetwork.it> References: <516D5BC6.8060405@crazynetwork.it> <516D671C.6040901@crazynetwork.it> Message-ID: <516D7375.4040305@op5.se> On 04/16/2013 04:58 PM, Supporto Tecnico - Crazy Network wrote: > Update. > > Since actually latest Ninja use Livestats to have information i did > learn today that merlin is no more needed at all... > > So now the question would be, what i would need to edit in nagiosTV and > (if anyone wanna spend some time) how for let it use Livestatus? > Short answer; A lot of things. Long answer; If it's abstracted out into neat functions like "get_hosts()" or some such, then not so much. If sql is sprinkled all over the place, you'll most likely never get it done without forking it completely. -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Tel: +46 8-230225 Fax: +46 8-230231 Considering the successes of the wars on alcohol, poverty, drugs and terror, I think we should give some serious thought to declaring war on peace. ------------------------------------------------------------------------------ Precog is a next-generation analytics platform capable of advanced analytics on semi-structured data. The platform includes APIs for building apps and a phenomenal toolset for data science. Developers can use our toolset for easy data analysis & visualization. Get a free account! http://www2.precog.com/precogplatform/slashdotnewsletter _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From f at zz.de Tue Apr 16 18:21:49 2013 From: f at zz.de (Florian Lohoff) Date: Tue, 16 Apr 2013 18:21:49 +0200 Subject: host to service dependency Message-ID: <20130416162149.GA21641@pax.zz.de> Hi, is there a way to model a host dependency on a service? I have parent relations on all hosts but i'd like to go more fine granular by letting a host depend on a service e.g. switchport. Flo -- Florian Lohoff f at zz.de -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 828 bytes Desc: Digital signature URL: -------------- next part -------------- ------------------------------------------------------------------------------ Precog is a next-generation analytics platform capable of advanced analytics on semi-structured data. The platform includes APIs for building apps and a phenomenal toolset for data science. Developers can use our toolset for easy data analysis & visualization. Get a free account! http://www2.precog.com/precogplatform/slashdotnewsletter -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 at crazynetwork.it Tue Apr 16 18:51:37 2013 From: support at crazynetwork.it (Supporto Tecnico - Crazy Network) Date: Tue, 16 Apr 2013 18:51:37 +0200 Subject: NagiosTV and merlind In-Reply-To: <516D7375.4040305@op5.se> References: <516D5BC6.8060405@crazynetwork.it> <516D671C.6040901@crazynetwork.it> <516D7375.4040305@op5.se> Message-ID: <516D8199.5000202@crazynetwork.it> Thanks Andreas for the reply. NagiosTV does use 3 SQL query for the status. I see your point and im not a programmer so ill have to give up or use ndoutils (that are compatible with NagiosTV). Does you know if there is out there a project similar to NagiosTV or some nice web application for the end of a fixed Monitor that show status in a "nice" view? Thanks Il 16/04/2013 17:51, Andreas Ericsson ha scritto: > On 04/16/2013 04:58 PM, Supporto Tecnico - Crazy Network wrote: >> Update. >> >> Since actually latest Ninja use Livestats to have information i did >> learn today that merlin is no more needed at all... >> >> So now the question would be, what i would need to edit in nagiosTV and >> (if anyone wanna spend some time) how for let it use Livestatus? >> > > Short answer; > A lot of things. > > Long answer; > If it's abstracted out into neat functions like "get_hosts()" or > some such, then not so much. If sql is sprinkled all over the place, > you'll most likely never get it done without forking it completely. > -- Andrea Iannucci ---------------------------- ---------------------------- Crazy Network di Iannucci Andrea Viale G.B. Lulli, 24 00050 Cerveteri - RM (w) www.crazynetwork.it (e) andrea.iannucci at crazynetwork.it (t) +39 06 62279876 (f) +39 06 62298767 (m) +39 338 8552885 ------------------------------------------------------------------------------- Please consider our enviromental responsabilit? before printing this E-Mail. Thank you. ------------------------------------------------------------------------------- Questo messaggio di posta elettronica contiene informazioni di carattere confidenziale rivolte esclusivamente al destinatario sopra indicato. E' vietato l'uso, la diffusione, distribuzione o riproduzione da parte di ogni altra persona. Nel caso aveste ricevuto questo messaggio di posta elettronica per errore, siete pregati di segnalarlo immediatamente al mittente e distruggere quanto ricevuto (compresi i file allegati) senza farne copia. Qualsivoglia utilizzo non autorizzato del contenuto di questo messaggio costituisce violazione dell'obbligo di non prendere cognizione della corrispondenza tra altri soggetti, salvo pi? grave illecito, ed espone il responsabile alle relative conseguenze. -------------------------------------------------------------------------------- This e-mail is confidential and may also contain privileged information. If you are not the intended recipient you are not authorised to read, print, save, process or disclose this message. If you have received this message by mistake, please inform the sender immediately and delete this e-mail, its attachments and any copies. Any use, distribution, reproduction or disclosure by any person other than the intended recipient is strictly prohibited and the person responsible may incur penalties. -------------------------------------------------------------------------------- ------------------------------------------------------------------------------ Precog is a next-generation analytics platform capable of advanced analytics on semi-structured data. The platform includes APIs for building apps and a phenomenal toolset for data science. Developers can use our toolset for easy data analysis & visualization. Get a free account! http://www2.precog.com/precogplatform/slashdotnewsletter _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 at crazynetwork.it Tue Apr 16 19:37:20 2013 From: support at crazynetwork.it (Supporto Tecnico - Crazy Network) Date: Tue, 16 Apr 2013 19:37:20 +0200 Subject: NagiosTV and merlind In-Reply-To: <516D5032020000750001C3F8@gwia2.leoncountyfl.gov> References: <516D5BC6.8060405@crazynetwork.it> <516D671C.6040901@crazynetwork.it> <516D7375.4040305@op5.se> <516D8199.5000202@crazynetwork.it> <516D5032020000750001C3F8@gwia2.leoncountyfl.gov> Message-ID: <516D8C50.3070304@crazynetwork.it> Thanks a lot Jon, i will look into this tomorrow, apparently is exactly what i need :) Best regards Il 16/04/2013 19:20, Jon Adcock ha scritto: > I have an option for you, but it doesn't have as much information as > is displayed on NagiosTV. Have you looked at MNTOS? > MNTOS is not supported, so if you have trouble installing it, you > will have to figure it out on your own. But it is a simple, > low-resource way of displaying the Tactical Overview display data from > each of your Nagios servers on one screen. > Here is a link about the software: > http://exchange.nagios.org/directory/Addons/Frontends-%28GUIs-and-CLIs%29/Web-Interfaces/MNTOS/details > Here is a screen shot of what it would look like monitoring 6 Nagios > servers: > http://exchange.nagios.org/directory/image/191 > > /**/ > /* > /*Jon Adcock*/ > */ > /**/Network Systems Administrator > Leon County MIS > 301 S. Monroe St. > Tallahassee, FL 32301 > Office: (850) 606-5518 > http://www.leoncountyfl.gov > "People Focused. Performance Driven." > Please note that under Florida's Public Records laws, most written > communications > to or from county staff or officials regarding county business are > public records > available to the public and media upon request. Your e-mail > communications may > therefore be subject to public disclosure. > > > >>> On 4/16/2013 at 12:51 PM, Supporto Tecnico - Crazy Network > wrote: > Thanks Andreas for the reply. > > NagiosTV does use 3 SQL query for the status. > > I see your point and im not a programmer so ill have to give up or use > ndoutils (that are compatible with NagiosTV). > > Does you know if there is out there a project similar to NagiosTV or > some nice web application for the end of a fixed Monitor that show > status in a "nice" view? > > Thanks > > Il 16/04/2013 17:51, Andreas Ericsson ha scritto: > > On 04/16/2013 04:58 PM, Supporto Tecnico - Crazy Network wrote: > >> Update. > >> > >> Since actually latest Ninja use Livestats to have information i did > >> learn today that merlin is no more needed at all... > >> > >> So now the question would be, what i would need to edit in nagiosTV and > >> (if anyone wanna spend some time) how for let it use Livestatus? > >> > > > > Short answer; > > A lot of things. > > > > Long answer; > > If it's abstracted out into neat functions like "get_hosts()" or > > some such, then not so much. If sql is sprinkled all over the place, > > you'll most likely never get it done without forking it completely. > > > > > -- > Andrea Iannucci > ---------------------------- > > ---------------------------- > Crazy Network di Iannucci Andrea > Viale G.B. Lulli, 24 > 00050 Cerveteri - RM > (w) www.crazynetwork.it > (e) andrea.iannucci at crazynetwork.it > (t) +39 06 62279876 > (f) +39 06 62298767 > (m) +39 338 8552885 > > ------------------------------------------------------------------------------- > Please consider our enviromental responsabilit? before printing this > E-Mail. Thank you. > ------------------------------------------------------------------------------- > Questo messaggio di posta elettronica contiene informazioni di carattere > confidenziale rivolte esclusivamente al destinatario sopra indicato. > E' vietato l'uso, la diffusione, distribuzione o riproduzione da parte > di ogni altra persona. Nel caso aveste ricevuto questo messaggio di > posta elettronica per errore, siete pregati di segnalarlo immediatamente > al mittente e distruggere quanto ricevuto (compresi i file allegati) > senza farne copia. > Qualsivoglia utilizzo non autorizzato del contenuto di questo messaggio > costituisce violazione dell'obbligo di non prendere cognizione della > corrispondenza tra altri soggetti, salvo pi? grave illecito, ed espone > il responsabile alle relative conseguenze. > -------------------------------------------------------------------------------- > This e-mail is confidential and may also contain privileged information. > If you are not the intended recipient you are not authorised to read, > print, save, process or disclose this message. If you have received this > message by mistake, please inform the sender immediately and delete this > e-mail, its attachments and any copies. > Any use, distribution, reproduction or disclosure by any person other > than the intended recipient is strictly prohibited and the person > responsible may incur penalties. > -------------------------------------------------------------------------------- > > > > > ------------------------------------------------------------------------------ > Precog is a next-generation analytics platform capable of advanced > analytics on semi-structured data. The platform includes APIs for building > apps and a phenomenal toolset for data science. Developers can use > our toolset for easy data analysis & visualization. Get a free account! > http://www2.precog.com/precogplatform/slashdotnewsletter > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > -- Andrea Iannucci ---------------------------- ---------------------------- Crazy Network di Iannucci Andrea Viale G.B. Lulli, 24 00050 Cerveteri - RM (w) www.crazynetwork.it (e) andrea.iannucci at crazynetwork.it (t) +39 06 62279876 (f) +39 06 62298767 (m) +39 338 8552885 ------------------------------------------------------------------------------- Please consider our enviromental responsabilit? before printing this E-Mail. Thank you. ------------------------------------------------------------------------------- Questo messaggio di posta elettronica contiene informazioni di carattere confidenziale rivolte esclusivamente al destinatario sopra indicato. E' vietato l'uso, la diffusione, distribuzione o riproduzione da parte di ogni altra persona. Nel caso aveste ricevuto questo messaggio di posta elettronica per errore, siete pregati di segnalarlo immediatamente al mittente e distruggere quanto ricevuto (compresi i file allegati) senza farne copia. Qualsivoglia utilizzo non autorizzato del contenuto di questo messaggio costituisce violazione dell'obbligo di non prendere cognizione della corrispondenza tra altri soggetti, salvo pi? grave illecito, ed espone il responsabile alle relative conseguenze. -------------------------------------------------------------------------------- This e-mail is confidential and may also contain privileged information. If you are not the intended recipient you are not authorised to read, print, save, process or disclose this message. If you have received this message by mistake, please inform the sender immediately and delete this e-mail, its attachments and any copies. Any use, distribution, reproduction or disclosure by any person other than the intended recipient is strictly prohibited and the person responsible may incur penalties. -------------------------------------------------------------------------------- -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: ehjibfdg.gif Type: image/gif Size: 2665 bytes Desc: not available URL: -------------- next part -------------- ------------------------------------------------------------------------------ Precog is a next-generation analytics platform capable of advanced analytics on semi-structured data. The platform includes APIs for building apps and a phenomenal toolset for data science. Developers can use our toolset for easy data analysis & visualization. Get a free account! http://www2.precog.com/precogplatform/slashdotnewsletter -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From AdcockJ at leoncountyfl.gov Tue Apr 16 19:20:50 2013 From: AdcockJ at leoncountyfl.gov (Jon Adcock) Date: Tue, 16 Apr 2013 13:20:50 -0400 Subject: NagiosTV and merlind In-Reply-To: <516D8199.5000202@crazynetwork.it> References: <516D5BC6.8060405@crazynetwork.it> <516D671C.6040901@crazynetwork.it> <516D7375.4040305@op5.se> <516D8199.5000202@crazynetwork.it> Message-ID: <516D5032020000750001C3F8@gwia2.leoncountyfl.gov> I have an option for you, but it doesn't have as much information as is displayed on NagiosTV. Have you looked at MNTOS? MNTOS is not supported, so if you have trouble installing it, you will have to figure it out on your own. But it is a simple, low-resource way of displaying the Tactical Overview display data from each of your Nagios servers on one screen. Here is a link about the software: http://exchange.nagios.org/directory/Addons/Frontends-%28GUIs-and-CLIs%29/Web-Interfaces/MNTOS/details Here is a screen shot of what it would look like monitoring 6 Nagios servers: http://exchange.nagios.org/directory/image/191 Jon Adcock Network Systems Administrator Leon County MIS 301 S. Monroe St. Tallahassee, FL 32301 Office: (850) 606-5518 http://www.leoncountyfl.gov "People Focused. Performance Driven." Please note that under Florida's Public Records laws, most written communications to or from county staff or officials regarding county business are public records available to the public and media upon request. Your e-mail communications may therefore be subject to public disclosure. >>> On 4/16/2013 at 12:51 PM, Supporto Tecnico - Crazy Network wrote: Thanks Andreas for the reply. NagiosTV does use 3 SQL query for the status. I see your point and im not a programmer so ill have to give up or use ndoutils (that are compatible with NagiosTV). Does you know if there is out there a project similar to NagiosTV or some nice web application for the end of a fixed Monitor that show status in a "nice" view? Thanks Il 16/04/2013 17:51, Andreas Ericsson ha scritto: > On 04/16/2013 04:58 PM, Supporto Tecnico - Crazy Network wrote: >> Update. >> >> Since actually latest Ninja use Livestats to have information i did >> learn today that merlin is no more needed at all... >> >> So now the question would be, what i would need to edit in nagiosTV and >> (if anyone wanna spend some time) how for let it use Livestatus? >> > > Short answer; > A lot of things. > > Long answer; > If it's abstracted out into neat functions like "get_hosts()" or > some such, then not so much. If sql is sprinkled all over the place, > you'll most likely never get it done without forking it completely. > -- Andrea Iannucci ---------------------------- ---------------------------- Crazy Network di Iannucci Andrea Viale G.B. Lulli, 24 00050 Cerveteri - RM (w) www.crazynetwork.it (e) andrea.iannucci at crazynetwork.it (t) +39 06 62279876 (f) +39 06 62298767 (m) +39 338 8552885 ------------------------------------------------------------------------------- Please consider our enviromental responsabilit? before printing this E-Mail. Thank you. ------------------------------------------------------------------------------- Questo messaggio di posta elettronica contiene informazioni di carattere confidenziale rivolte esclusivamente al destinatario sopra indicato. E' vietato l'uso, la diffusione, distribuzione o riproduzione da parte di ogni altra persona. Nel caso aveste ricevuto questo messaggio di posta elettronica per errore, siete pregati di segnalarlo immediatamente al mittente e distruggere quanto ricevuto (compresi i file allegati) senza farne copia. Qualsivoglia utilizzo non autorizzato del contenuto di questo messaggio costituisce violazione dell'obbligo di non prendere cognizione della corrispondenza tra altri soggetti, salvo pi? grave illecito, ed espone il responsabile alle relative conseguenze. -------------------------------------------------------------------------------- This e-mail is confidential and may also contain privileged information. If you are not the intended recipient you are not authorised to read, print, save, process or disclose this message. If you have received this message by mistake, please inform the sender immediately and delete this e-mail, its attachments and any copies. Any use, distribution, reproduction or disclosure by any person other than the intended recipient is strictly prohibited and the person responsible may incur penalties. -------------------------------------------------------------------------------- ------------------------------------------------------------------------------ Precog is a next-generation analytics platform capable of advanced analytics on semi-structured data. The platform includes APIs for building apps and a phenomenal toolset for data science. Developers can use our toolset for easy data analysis & visualization. Get a free account! http://www2.precog.com/precogplatform/slashdotnewsletter _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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: -------------- next part -------------- ------------------------------------------------------------------------------ Precog is a next-generation analytics platform capable of advanced analytics on semi-structured data. The platform includes APIs for building apps and a phenomenal toolset for data science. Developers can use our toolset for easy data analysis & visualization. Get a free account! http://www2.precog.com/precogplatform/slashdotnewsletter -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From dgrgicevic at gmail.com Tue Apr 16 20:11:13 2013 From: dgrgicevic at gmail.com (davor grgicevic) Date: Tue, 16 Apr 2013 21:11:13 +0300 Subject: NagiosTV and merlind In-Reply-To: <516D8199.5000202@crazynetwork.it> References: <516D5BC6.8060405@crazynetwork.it> <516D671C.6040901@crazynetwork.it> <516D7375.4040305@op5.se> <516D8199.5000202@crazynetwork.it> Message-ID: Hi Andrea there i s a merlin-dashboard which uses a live https://github.com/fnordpojk/merlin-dashboard best, On Tue, Apr 16, 2013 at 7:51 PM, Supporto Tecnico - Crazy Network < support at crazynetwork.it> wrote: > Thanks Andreas for the reply. > > NagiosTV does use 3 SQL query for the status. > > I see your point and im not a programmer so ill have to give up or use > ndoutils (that are compatible with NagiosTV). > > Does you know if there is out there a project similar to NagiosTV or > some nice web application for the end of a fixed Monitor that show > status in a "nice" view? > > Thanks > > Il 16/04/2013 17:51, Andreas Ericsson ha scritto: > > On 04/16/2013 04:58 PM, Supporto Tecnico - Crazy Network wrote: > >> Update. > >> > >> Since actually latest Ninja use Livestats to have information i did > >> learn today that merlin is no more needed at all... > >> > >> So now the question would be, what i would need to edit in nagiosTV and > >> (if anyone wanna spend some time) how for let it use Livestatus? > >> > > > > Short answer; > > A lot of things. > > > > Long answer; > > If it's abstracted out into neat functions like "get_hosts()" or > > some such, then not so much. If sql is sprinkled all over the place, > > you'll most likely never get it done without forking it completely. > > > > > -- > Andrea Iannucci > ---------------------------- > > ---------------------------- > Crazy Network di Iannucci Andrea > Viale G.B. Lulli, 24 > 00050 Cerveteri - RM > (w) www.crazynetwork.it > (e) andrea.iannucci at crazynetwork.it > (t) +39 06 62279876 > (f) +39 06 62298767 > (m) +39 338 8552885 > > > ------------------------------------------------------------------------------- > Please consider our enviromental responsabilit? before printing this > E-Mail. Thank you. > > ------------------------------------------------------------------------------- > Questo messaggio di posta elettronica contiene informazioni di carattere > confidenziale rivolte esclusivamente al destinatario sopra indicato. > E' vietato l'uso, la diffusione, distribuzione o riproduzione da parte > di ogni altra persona. Nel caso aveste ricevuto questo messaggio di > posta elettronica per errore, siete pregati di segnalarlo immediatamente > al mittente e distruggere quanto ricevuto (compresi i file allegati) > senza farne copia. > Qualsivoglia utilizzo non autorizzato del contenuto di questo messaggio > costituisce violazione dell'obbligo di non prendere cognizione della > corrispondenza tra altri soggetti, salvo pi? grave illecito, ed espone > il responsabile alle relative conseguenze. > > -------------------------------------------------------------------------------- > This e-mail is confidential and may also contain privileged information. > If you are not the intended recipient you are not authorised to read, > print, save, process or disclose this message. If you have received this > message by mistake, please inform the sender immediately and delete this > e-mail, its attachments and any copies. > Any use, distribution, reproduction or disclosure by any person other > than the intended recipient is strictly prohibited and the person > responsible may incur penalties. > > -------------------------------------------------------------------------------- > > > > > ------------------------------------------------------------------------------ > Precog is a next-generation analytics platform capable of advanced > analytics on semi-structured data. The platform includes APIs for building > apps and a phenomenal toolset for data science. Developers can use > our toolset for easy data analysis & visualization. Get a free account! > http://www2.precog.com/precogplatform/slashdotnewsletter > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > -- Davor Grgicevic -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Precog is a next-generation analytics platform capable of advanced analytics on semi-structured data. The platform includes APIs for building apps and a phenomenal toolset for data science. Developers can use our toolset for easy data analysis & visualization. Get a free account! http://www2.precog.com/precogplatform/slashdotnewsletter -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 at crazynetwork.it Tue Apr 16 20:18:20 2013 From: support at crazynetwork.it (Supporto Tecnico - Crazy Network) Date: Tue, 16 Apr 2013 20:18:20 +0200 Subject: NagiosTV and merlind In-Reply-To: References: <516D5BC6.8060405@crazynetwork.it> <516D671C.6040901@crazynetwork.it> <516D7375.4040305@op5.se> <516D8199.5000202@crazynetwork.it> Message-ID: <516D95EC.3000201@crazynetwork.it> Thanks Davor, ill look this tomorrow, ive noticed it use livestatus aswell, since Nagios 4 and Ninja not use merlin anymore i suppose i'll use the livestats one. Best regards Il 16/04/2013 20:11, davor grgicevic ha scritto: > Hi Andrea > > there i s a merlin-dashboard which uses a live > > https://github.com/fnordpojk/merlin-dashboard > > best, > > > On Tue, Apr 16, 2013 at 7:51 PM, Supporto Tecnico - Crazy Network > > wrote: > > Thanks Andreas for the reply. > > NagiosTV does use 3 SQL query for the status. > > I see your point and im not a programmer so ill have to give up or use > ndoutils (that are compatible with NagiosTV). > > Does you know if there is out there a project similar to NagiosTV or > some nice web application for the end of a fixed Monitor that show > status in a "nice" view? > > Thanks > > Il 16/04/2013 17:51, Andreas Ericsson ha scritto: > > On 04/16/2013 04:58 PM, Supporto Tecnico - Crazy Network wrote: > >> Update. > >> > >> Since actually latest Ninja use Livestats to have information i did > >> learn today that merlin is no more needed at all... > >> > >> So now the question would be, what i would need to edit in > nagiosTV and > >> (if anyone wanna spend some time) how for let it use Livestatus? > >> > > > > Short answer; > > A lot of things. > > > > Long answer; > > If it's abstracted out into neat functions like "get_hosts()" or > > some such, then not so much. If sql is sprinkled all over the place, > > you'll most likely never get it done without forking it completely. > > > > > -- > Andrea Iannucci > ---------------------------- > > ---------------------------- > Crazy Network di Iannucci Andrea > Viale G.B. Lulli, 24 > 00050 Cerveteri - RM > (w) www.crazynetwork.it > (e) andrea.iannucci at crazynetwork.it > > (t) +39 06 62279876 > (f) +39 06 62298767 > (m) +39 338 8552885 > > ------------------------------------------------------------------------------- > Please consider our enviromental responsabilit? before printing this > E-Mail. Thank you. > ------------------------------------------------------------------------------- > Questo messaggio di posta elettronica contiene informazioni di > carattere > confidenziale rivolte esclusivamente al destinatario sopra indicato. > E' vietato l'uso, la diffusione, distribuzione o riproduzione da parte > di ogni altra persona. Nel caso aveste ricevuto questo messaggio di > posta elettronica per errore, siete pregati di segnalarlo > immediatamente > al mittente e distruggere quanto ricevuto (compresi i file allegati) > senza farne copia. > Qualsivoglia utilizzo non autorizzato del contenuto di questo > messaggio > costituisce violazione dell'obbligo di non prendere cognizione della > corrispondenza tra altri soggetti, salvo pi? grave illecito, ed espone > il responsabile alle relative conseguenze. > -------------------------------------------------------------------------------- > This e-mail is confidential and may also contain privileged > information. > If you are not the intended recipient you are not authorised to read, > print, save, process or disclose this message. If you have > received this > message by mistake, please inform the sender immediately and > delete this > e-mail, its attachments and any copies. > Any use, distribution, reproduction or disclosure by any person other > than the intended recipient is strictly prohibited and the person > responsible may incur penalties. > -------------------------------------------------------------------------------- > > > > ------------------------------------------------------------------------------ > Precog is a next-generation analytics platform capable of advanced > analytics on semi-structured data. The platform includes APIs for > building > apps and a phenomenal toolset for data science. Developers can use > our toolset for easy data analysis & visualization. Get a free > account! > http://www2.precog.com/precogplatform/slashdotnewsletter > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > > > > > -- > Davor Grgicevic -- Andrea Iannucci ---------------------------- ---------------------------- Crazy Network di Iannucci Andrea Viale G.B. Lulli, 24 00050 Cerveteri - RM (w) www.crazynetwork.it (e) andrea.iannucci at crazynetwork.it (t) +39 06 62279876 (f) +39 06 62298767 (m) +39 338 8552885 ------------------------------------------------------------------------------- Please consider our enviromental responsabilit? before printing this E-Mail. Thank you. ------------------------------------------------------------------------------- Questo messaggio di posta elettronica contiene informazioni di carattere confidenziale rivolte esclusivamente al destinatario sopra indicato. E' vietato l'uso, la diffusione, distribuzione o riproduzione da parte di ogni altra persona. Nel caso aveste ricevuto questo messaggio di posta elettronica per errore, siete pregati di segnalarlo immediatamente al mittente e distruggere quanto ricevuto (compresi i file allegati) senza farne copia. Qualsivoglia utilizzo non autorizzato del contenuto di questo messaggio costituisce violazione dell'obbligo di non prendere cognizione della corrispondenza tra altri soggetti, salvo pi? grave illecito, ed espone il responsabile alle relative conseguenze. -------------------------------------------------------------------------------- This e-mail is confidential and may also contain privileged information. If you are not the intended recipient you are not authorised to read, print, save, process or disclose this message. If you have received this message by mistake, please inform the sender immediately and delete this e-mail, its attachments and any copies. Any use, distribution, reproduction or disclosure by any person other than the intended recipient is strictly prohibited and the person responsible may incur penalties. -------------------------------------------------------------------------------- ------------------------------------------------------------------------------ Precog is a next-generation analytics platform capable of advanced analytics on semi-structured data. The platform includes APIs for building apps and a phenomenal toolset for data science. Developers can use our toolset for easy data analysis & visualization. Get a free account! http://www2.precog.com/precogplatform/slashdotnewsletter _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From queszama at yahoo.in Wed Apr 17 09:01:27 2013 From: queszama at yahoo.in (Zama Ques) Date: Wed, 17 Apr 2013 15:01:27 +0800 (SGT) Subject: Receiving mail alert for failed services Message-ID: <1366182087.68966.YahooMailNeo@web193502.mail.sg3.yahoo.com> Hi All , I was trying to configure to send alert mails for failed services in Nagios . For this , I tried the following configuration ===== ?/usr/local/nagios/etc/objects/contacts.cfg define contact{ ??????? contact_name??????????????????? zamanl????????????????? ; Short name of user ??????? use?????????????????????????? ? ? ? ? ?? generic-contact???????? ; Inherit default values from generic-contact template (defined above) ??????? alias???????????????????????? ? ? ? ? ?? Nagios Admin??????????? ; Full name of user ??????? email????????????????????????? ? ? ? ? zaman at server.example.com ?????? ; <<***** CHANGE THIS TO YOUR EMAIL ADDRESS ****** ??????? } define contactgroup{ ??????? contactgroup_name?????? nagiosadmins ??????? alias?????????? ? ? ? ? ? ? ?? ?????? Nagios Administrators ??????? members???????????????????????? zamanl ??????? } Restarted nagios service without any errors and it looks like notifications are generated for failed services by looking at system log file [@server ~]# tail -f /var/log/messages Apr 17 11:26:52 server nagios: SERVICE NOTIFICATION: zamanl;mgthost;Total Processes;CRITICAL;notify-service-by-email;PROCS CRITICAL: 312 processes Apr 17 11:27:22 server nagios: SERVICE NOTIFICATION: zamanl;host1;Total Processes;CRITICAL;notify-service-by-email;PROCS CRITICAL: 313 processes Apr 17 11:27:22 server nagios: SERVICE NOTIFICATION: zamanl;host2;Total Processes;CRITICAL;notify-service-by-email;PROCS CRITICAL: 313 processes But I have not received any mail messages for the notification . [@server ~]$ id uid=501(zaman) gid=501(zaman) groups=501(zaman) [@server ~]# mail No mail for zaman [@server ~]# hostname server.example.com Kindly suggest what needs to be done to receive alert mail for failed services ? Any help will be highly appreciated . Thanks Zaman -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Precog is a next-generation analytics platform capable of advanced analytics on semi-structured data. The platform includes APIs for building apps and a phenomenal toolset for data science. Developers can use our toolset for easy data analysis & visualization. Get a free account! http://www2.precog.com/precogplatform/slashdotnewsletter -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ftlnagios at gmail.com Wed Apr 17 11:21:24 2013 From: ftlnagios at gmail.com (FTL Nagios) Date: Wed, 17 Apr 2013 10:21:24 +0100 Subject: Receiving mail alert for failed services In-Reply-To: <1366182087.68966.YahooMailNeo@web193502.mail.sg3.yahoo.com> References: <1366182087.68966.YahooMailNeo@web193502.mail.sg3.yahoo.com> Message-ID: <000001ce3b4c$ef8d2100$cea76300$@gmail.com> Have you set us Postfix or other such mail agent to actually send the mail? From: Zama Ques [mailto:queszama at yahoo.in] Sent: 17 April 2013 08:01 To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Receiving mail alert for failed services Hi All , I was trying to configure to send alert mails for failed services in Nagios . For this , I tried the following configuration ===== /usr/local/nagios/etc/objects/contacts.cfg define contact{ contact_name zamanl ; Short name of user use generic-contact ; Inherit default values from generic-contact template (defined above) alias Nagios Admin ; Full name of user email zaman at server.example.com ; <<***** CHANGE THIS TO YOUR EMAIL ADDRESS ****** } define contactgroup{ contactgroup_name nagiosadmins alias Nagios Administrators members zamanl } Restarted nagios service without any errors and it looks like notifications are generated for failed services by looking at system log file [@server ~]# tail -f /var/log/messages Apr 17 11:26:52 server nagios: SERVICE NOTIFICATION: zamanl;mgthost;Total Processes;CRITICAL;notify-service-by-email;PROCS CRITICAL: 312 processes Apr 17 11:27:22 server nagios: SERVICE NOTIFICATION: zamanl;host1;Total Processes;CRITICAL;notify-service-by-email;PROCS CRITICAL: 313 processes Apr 17 11:27:22 server nagios: SERVICE NOTIFICATION: zamanl;host2;Total Processes;CRITICAL;notify-service-by-email;PROCS CRITICAL: 313 processes But I have not received any mail messages for the notification . [@server ~]$ id uid=501(zaman) gid=501(zaman) groups=501(zaman) [@server ~]# mail No mail for zaman [@server ~]# hostname server.example.com Kindly suggest what needs to be done to receive alert mail for failed services ? Any help will be highly appreciated . Thanks Zaman -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Precog is a next-generation analytics platform capable of advanced analytics on semi-structured data. The platform includes APIs for building apps and a phenomenal toolset for data science. Developers can use our toolset for easy data analysis & visualization. Get a free account! http://www2.precog.com/precogplatform/slashdotnewsletter -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From queszama at yahoo.in Wed Apr 17 11:30:57 2013 From: queszama at yahoo.in (Zama Ques) Date: Wed, 17 Apr 2013 17:30:57 +0800 (SGT) Subject: Receiving mail alert for failed services In-Reply-To: <000001ce3b4c$ef8d2100$cea76300$@gmail.com> References: <1366182087.68966.YahooMailNeo@web193502.mail.sg3.yahoo.com> <000001ce3b4c$ef8d2100$cea76300$@gmail.com> Message-ID: <1366191057.3019.YahooMailNeo@web193504.mail.sg3.yahoo.com> ok...We need to configure a mail agent also . Let me do that and will get back here? if it does not work/further doubts. Thanks for the help . Thanks Zaman ________________________________ From: FTL Nagios To: 'Zama Ques' ; 'Nagios Users List' Sent: Wednesday, 17 April 2013 2:51 PM Subject: RE: [Nagios-users] Receiving mail alert for failed services Have you set us Postfix or other such mail agent to actually send the mail? ? From:Zama Ques [mailto:queszama at yahoo.in] Sent: 17 April 2013 08:01 To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Receiving mail alert for failed services ? Hi All , ? ? I was trying to configure to send alert mails for failed services in Nagios . For this , I tried the following configuration ? ===== ?/usr/local/nagios/etc/objects/contacts.cfg ? define contact{ ??????? contact_name??????????????????? zamanl????????????????? ; Short name of user ??????? use?????????????????????????? ? ? ? ? ?? generic-contact???????? ; Inherit default values from generic-contact template (defined above) ??????? alias???????????????????????? ? ? ? ? ?? Nagios Admin??????????? ; Full name of user ??????? email????????????????????????? ? ? ? ? zaman at server.example.com ?????? ; <<***** CHANGE THIS TO YOUR EMAIL ADDRESS ****** ??????? } ? ? define contactgroup{ ??????? contactgroup_name?????? nagiosadmins ??????? alias?????????? ? ? ? ? ? ? ?? ?????? Nagios Administrators ??????? members???????????????????????? zamanl ??????? } ? ? Restarted nagios service without any errors and it looks like notifications are generated for failed services by looking at system log file ? ? [@server ~]# tail -f /var/log/messages Apr 17 11:26:52 server nagios: SERVICE NOTIFICATION: zamanl;mgthost;Total Processes;CRITICAL;notify-service-by-email;PROCS CRITICAL: 312 processes Apr 17 11:27:22 server nagios: SERVICE NOTIFICATION: zamanl;host1;Total Processes;CRITICAL;notify-service-by-email;PROCS CRITICAL: 313 processes Apr 17 11:27:22 server nagios: SERVICE NOTIFICATION: zamanl;host2;Total Processes;CRITICAL;notify-service-by-email;PROCS CRITICAL: 313 processes But I have not received any mail messages for the notification . ? [@server ~]$ id uid=501(zaman) gid=501(zaman) groups=501(zaman) [@server ~]# mail No mail for zaman [@server ~]# hostname server.example.com ? Kindly suggest what needs to be done to receive alert mail for failed services ? ? Any help will be highly appreciated . ? Thanks Zaman -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Precog is a next-generation analytics platform capable of advanced analytics on semi-structured data. The platform includes APIs for building apps and a phenomenal toolset for data science. Developers can use our toolset for easy data analysis & visualization. Get a free account! http://www2.precog.com/precogplatform/slashdotnewsletter -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From sunil at sunil.cc Wed Apr 17 15:39:02 2013 From: sunil at sunil.cc (Sunil Sankar) Date: Wed, 17 Apr 2013 19:09:02 +0530 Subject: Receiving mail alert for failed services In-Reply-To: <1366191057.3019.YahooMailNeo@web193504.mail.sg3.yahoo.com> References: <1366182087.68966.YahooMailNeo@web193502.mail.sg3.yahoo.com> <000001ce3b4c$ef8d2100$cea76300$@gmail.com> <1366191057.3019.YahooMailNeo@web193504.mail.sg3.yahoo.com> Message-ID: Make sure you have sendmail or postfix configured to do so ;) On Wed, Apr 17, 2013 at 3:00 PM, Zama Ques wrote: > ok...We need to configure a mail agent also . Let me do that and will get > back here if it does not work/further doubts. > Thanks for the help . > > Thanks > Zaman > ------------------------------ > *From:* FTL Nagios > *To:* 'Zama Ques' ; 'Nagios Users List' < > nagios-users at lists.sourceforge.net> > *Sent:* Wednesday, 17 April 2013 2:51 PM > *Subject:* RE: [Nagios-users] Receiving mail alert for failed services > > Have you set us Postfix or other such mail agent to actually send the mail? > > *From:* Zama Ques [mailto:queszama at yahoo.in] > *Sent:* 17 April 2013 08:01 > *To:* nagios-users at lists.sourceforge.net > *Subject:* [Nagios-users] Receiving mail alert for failed services > > Hi All , > > > I was trying to configure to send alert mails for failed services in > Nagios . For this , I tried the following configuration > > ===== > /usr/local/nagios/etc/objects/contacts.cfg > > define contact{ > contact_name zamanl ; Short > name of user > use generic-contact ; > Inherit default values from generic-contact template (defined above) > alias Nagios Admin ; > Full name of user > > email zaman at server.example.com ; <<***** CHANGE THIS TO YOUR EMAIL ADDRESS ****** > } > > > define contactgroup{ > contactgroup_name nagiosadmins > alias Nagios Administrators > members zamanl > } > > > Restarted nagios service without any errors and it looks like > notifications are generated for failed services by looking at system log > file > > > [@server ~]# tail -f /var/log/messages > Apr 17 11:26:52 server nagios: SERVICE NOTIFICATION: zamanl;mgthost;Total > Processes;CRITICAL;notify-service-by-email;PROCS CRITICAL: 312 processes > Apr 17 11:27:22 server nagios: SERVICE NOTIFICATION: zamanl;host1;Total > Processes;CRITICAL;notify-service-by-email;PROCS CRITICAL: 313 processes > Apr 17 11:27:22 server nagios: SERVICE NOTIFICATION: zamanl;host2;Total > Processes;CRITICAL;notify-service-by-email;PROCS CRITICAL: 313 processes > > But I have not received any mail messages for the notification . > > [@server ~]$ id > uid=501(zaman) gid=501(zaman) groups=501(zaman) > [@server ~]# mail > No mail for zaman > [@server ~]# hostname > server.example.com > > Kindly suggest what needs to be done to receive alert mail for failed > services ? > > Any help will be highly appreciated . > > Thanks > Zaman > > > > > ------------------------------------------------------------------------------ > Precog is a next-generation analytics platform capable of advanced > analytics on semi-structured data. The platform includes APIs for building > apps and a phenomenal toolset for data science. Developers can use > our toolset for easy data analysis & visualization. Get a free account! > http://www2.precog.com/precogplatform/slashdotnewsletter > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > -- Regards Sunil Sankar -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Precog is a next-generation analytics platform capable of advanced analytics on semi-structured data. The platform includes APIs for building apps and a phenomenal toolset for data science. Developers can use our toolset for easy data analysis & visualization. Get a free account! http://www2.precog.com/precogplatform/slashdotnewsletter -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From netwarrior863 at gmail.com Wed Apr 17 22:19:43 2013 From: netwarrior863 at gmail.com (Net Warrior) Date: Wed, 17 Apr 2013 17:19:43 -0300 Subject: My Own Plugin Issues Message-ID: Hi guys. I tried to create my own plugin to check disk space and I'm almost done except that the plugin is not returning the expected data: If i run the plugn from the command line I get: /usr/lib/nagios/plugins/check_diskl.sh 80 90 /home Critical Disk Space /home - Total: 985M - Usado: 970M - Libre 0 But from nagios I get: free space: /home 0 MB (0% inode=94%): Do not know where on earth the inode information is taken from and is not the format expected I want this: Critical Disk Space /home - Total: 985M - Usado: 970M - Libre 0 My script ends with echo $RESULT exit 0; Where result is: RESULT="$NOMBREDIR Total: $ESPACIOTOTAL Usado: $ESPACIOUSADO Libre $ESPACIOLIBRE" This is the final part : -- snip--- if [ "$PORCENTAJE" -ge "$CRIT" ]; then echo "Critical $RESULT"; exit 2; fi if [ "$PORCENTAJE" -ge "$WARN" ]; then echo "Warning $RESULT"; exit 1; fi echo $RESULT exit 0; I'm ai missing something else? Any advice really appreciated Thanks Regards -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Precog is a next-generation analytics platform capable of advanced analytics on semi-structured data. The platform includes APIs for building apps and a phenomenal toolset for data science. Developers can use our toolset for easy data analysis & visualization. Get a free account! http://www2.precog.com/precogplatform/slashdotnewsletter -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ck at claudiokuenzler.com Thu Apr 18 10:51:18 2013 From: ck at claudiokuenzler.com (Claudio Kuenzler) Date: Thu, 18 Apr 2013 10:51:18 +0200 Subject: My Own Plugin Issues In-Reply-To: References: Message-ID: > > But from nagios I get: > free space: /home 0 MB (0% inode=94%): Do not know where on earth the > inode information is taken from and is not the format expected I want this: > This looks like the "normal" output of check_disk plugin out of the official Nagios Plugins. If you want your script to run, you will have to change your NRPE command (if you do the remote checks with nrpe). -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Precog is a next-generation analytics platform capable of advanced analytics on semi-structured data. The platform includes APIs for building apps and a phenomenal toolset for data science. Developers can use our toolset for easy data analysis & visualization. Get a free account! http://www2.precog.com/precogplatform/slashdotnewsletter -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From daniel at pocock.com.au Thu Apr 18 12:53:13 2013 From: daniel at pocock.com.au (Daniel Pocock) Date: Thu, 18 Apr 2013 12:53:13 +0200 Subject: Nagios, dependencies and upstart or systemd Message-ID: <516FD099.1090506@pocock.com.au> Hi, Can anyone comment on how well Nagios integrates with dependency-based replacements for SysVInit, for example, Upstart (which is on Ubuntu) and systemd (on Fedora and soon RHEL7)? - can Nagios learn about dependencies from these systems or from the LSB data in init scripts or is it necessary to manually replicate the dependencies into Nagios cfg? - is there any particular event handler implementation that works well with either Upstart or systemd in a fairly generic manner? Regards, Daniel ------------------------------------------------------------------------------ Precog is a next-generation analytics platform capable of advanced analytics on semi-structured data. The platform includes APIs for building apps and a phenomenal toolset for data science. Developers can use our toolset for easy data analysis & visualization. Get a free account! http://www2.precog.com/precogplatform/slashdotnewsletter _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From netwarrior863 at gmail.com Thu Apr 18 14:06:54 2013 From: netwarrior863 at gmail.com (Net Warrior) Date: Thu, 18 Apr 2013 09:06:54 -0300 Subject: My Own Plugin Issues In-Reply-To: References: Message-ID: Yes you are right, eventhough I have defined the check_disk pointing to my script, naming it to another thing made it work. Thanks for your time and support Regards 2013/4/18 Claudio Kuenzler > > >> But from nagios I get: >> free space: /home 0 MB (0% inode=94%): Do not know where on earth the >> inode information is taken from and is not the format expected I want this: >> > > This looks like the "normal" output of check_disk plugin out of the > official Nagios Plugins. > > If you want your script to run, you will have to change your NRPE command > (if you do the remote checks with nrpe). > > > > ------------------------------------------------------------------------------ > Precog is a next-generation analytics platform capable of advanced > analytics on semi-structured data. The platform includes APIs for building > apps and a phenomenal toolset for data science. Developers can use > our toolset for easy data analysis & visualization. Get a free account! > http://www2.precog.com/precogplatform/slashdotnewsletter > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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: -------------- next part -------------- ------------------------------------------------------------------------------ Precog is a next-generation analytics platform capable of advanced analytics on semi-structured data. The platform includes APIs for building apps and a phenomenal toolset for data science. Developers can use our toolset for easy data analysis & visualization. Get a free account! http://www2.precog.com/precogplatform/slashdotnewsletter -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Muhamad.Faiz at Asia.Xchanging.com Sat Apr 20 12:36:53 2013 From: Muhamad.Faiz at Asia.Xchanging.com (Muhamad Faiz) Date: Sat, 20 Apr 2013 10:36:53 +0000 Subject: Looking for Linux Administrator Job Message-ID: Hi guys, I'm looking for a job as a Linux Administrator. I'm from Malaysia. If anyone happen to have a job in Malaysia/overseas, please let me know and I will email you my resume. Thanks and sorry if this request is inappropriate here. Regards, Faiz "CONFIDENTIALITY NOTICE: This message and any attachment are confidential and may also be privileged. If you are not the intended recipient of this e-mail you may not copy, forward, disclose or otherwise use it or any part of it in any form whatsoever. If you are not the intended recipient please telephone or e-mail the sender and delete this message and any attachment from your system." -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Precog is a next-generation analytics platform capable of advanced analytics on semi-structured data. The platform includes APIs for building apps and a phenomenal toolset for data science. Developers can use our toolset for easy data analysis & visualization. Get a free account! http://www2.precog.com/precogplatform/slashdotnewsletter -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Tue Apr 23 11:18:02 2013 From: m.borsani at it.net (Marco Borsani) Date: Tue, 23 Apr 2013 11:18:02 +0200 Subject: strange passive host behaviour Message-ID: <003501ce4003$74f25080$5ed6f180$@it.net> Hi all I have 2 HG, both with active and passive hosts. They use same templates and same parameters. First HG behaviour is OK : in the panel we have active and passive hosts Host Sort by host name (ascending) Sort by host name (descending) Status Sort by host status (ascending) Sort by host status (descending) Last Check Sort by last check time (ascending) Sort by last check time (descending) Duration Sort by state duration (ascending) Sort by state duration time (descending) Status Information 192.xxx.xxx.1 webmailstatic-be7 View Service Details For This Host UP 23-04-2013 11:08:29 14d 7h 33m 59s PING OK - Packet loss = 0%, RTA = 0.10 ms 192.xxx.xxx.2 Checks of this host have been disabled View Service Details For This Host UP 23-04-2013 10:42:44 151d 22h 56m 56s OK Second HG behaviour is wrong : in the panel ALL the hosts are active, none is passive Host Sort by host name (ascending) Sort by host name (descending) Status Sort by host status (ascending) Sort by host status (descending) Last Check Sort by last check time (ascending) Sort by last check time (descending) Duration Sort by state duration (ascending) Sort by state duration time (descending) Status Information 192.xxx.xxx.3 webmail-be8 View Service Details For This Host UP 23-04-2013 11:06:16 14d 7h 47m 40s PING OK - Packet loss = 0%, RTA = 0.12 ms 192.xxx.xxx.4 View Service Details For This Host UP 23-04-2013 11:07:31 193d 20h 14m 12s OK The ?Status Informartion? is ?OK? (due to the check_dummy service configured on it) , but If you go inside the passive host 192.xxx.xxx.4 you see: Active Checks: ENABLED Passive Checks: ENABLED Obsessing: ENABLED Notifications: ENABLED Event Handler: DISABLED Flap Detection: DISABLED I can?t udersand why and how to solve this . regards Marco Borsani Unix and Monitoring Sysadmin Business Unit Internet Solutions - Operations tel: +39 010 4310115 fax: +39 02 30130311 cell: +39 329 5953944 ITnet S.r.l. Societ? con socio unico Soggetta a direzione e coordinamento di Italiaonline S.r.l. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image001.gif Type: image/gif Size: 50 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image002.gif Type: image/gif Size: 50 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image005.gif Type: image/gif Size: 173 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image008.png Type: image/png Size: 971 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image009.png Type: image/png Size: 810 bytes Desc: not available URL: -------------- next part -------------- ------------------------------------------------------------------------------ Try New Relic Now & We'll Send You this Cool Shirt New Relic is the only SaaS-based application performance monitoring service that delivers powerful full stack analytics. Optimize and monitor your browser, app, & servers with just a few lines of code. Try New Relic and get this awesome Nerd Life shirt! http://p.sf.net/sfu/newrelic_d2d_apr -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From sunil at sunil.cc Tue Apr 23 12:42:30 2013 From: sunil at sunil.cc (Sunil Sankar) Date: Tue, 23 Apr 2013 16:12:30 +0530 Subject: strange passive host behaviour In-Reply-To: <003501ce4003$74f25080$5ed6f180$@it.net> References: <003501ce4003$74f25080$5ed6f180$@it.net> Message-ID: Can you paste your config On Tue, Apr 23, 2013 at 2:48 PM, Marco Borsani wrote: > Hi all**** > > ** ** > > I have 2 HG, both with active and passive hosts.**** > > They use same templates and same parameters.**** > > ** ** > > First HG behaviour is OK : in the panel we have active and passive hosts * > *** > > *Host **[image: Sort by host name (ascending)]* > *[image: Sort by host name (descending)]* > ** > > *Status **[image: Sort by host status (ascending)]* > *[image: Sort by host status (descending)]* > ** > > *Last Check **[image: Sort by last check time (ascending)]* > *[image: Sort by last check time (descending)]* > ** > > *Duration **[image: Sort by state duration (ascending)]* > *[image: Sort by state duration time (descending)]* > ** > > *Status Information* > > 192.xxx.xxx.1 **** > > [image: webmailstatic-be7]**** > > [image: View Service Details For This Host]**** > > UP**** > > 23-04-2013 11:08:29**** > > 14d 7h 33m 59s**** > > PING OK - Packet loss = 0%, RTA = 0.10 ms **** > > 192.xxx.xxx.2 **** > > [image: Checks of this host have been disabled]**** > > [image: View Service Details For This Host]**** > > UP**** > > 23-04-2013 10:42:44**** > > 151d 22h 56m 56s**** > > OK **** > > ** ** > > Second HG behaviour is wrong : in the panel ALL the hosts are active, none > is passive**** > > *Hos**t **[image: Sort by host name (ascending)]* > *[image: Sort by host name (descending)]* > ** > > *Status **[image: Sort by host status (ascending)]* > *[image: Sort by host status (descending)]* > ** > > *Last Check **[image: Sort by last check time (ascending)]* > *[image: Sort by last check time (descending)]* > ** > > *Duration **[image: Sort by state duration (ascending)]* > *[image: Sort by state duration time (descending)]* > ** > > *Status Information* > > 192.xxx.xxx.3 **** > > [image: webmail-be8]**** > > [image: View Service Details For This Host]**** > > UP**** > > 23-04-2013 11:06:16**** > > 14d 7h 47m 40s**** > > PING OK - Packet loss = 0%, RTA = 0.12 ms **** > > 192.xxx.xxx.4 **** > > [image: View Service Details For This Host]**** > > UP**** > > 23-04-2013 11:07:31**** > > 193d 20h 14m 12s**** > > OK **** > > ** ** > > The ?Status Informartion? is ?OK? (due to the check_dummy service > configured on it) , but If you go inside the passive host *192.xxx.xxx.4*you see: > **** > > Active Checks:**** > > ENABLED **** > > Passive Checks:**** > > ENABLED **** > > Obsessing:**** > > ENABLED **** > > Notifications:**** > > ENABLED **** > > Event Handler:**** > > DISABLED **** > > Flap Detection:**** > > DISABLED **** > > ** ** > > I can?t udersand why and how to solve this?.**** > > ** ** > > regards**** > > ** ** > > Marco Borsani**** > > *Unix and Monitoring Sysadmin* > > *Business Unit Internet Solutions - Operations* > > tel: +39 010 4310115**** > > fax: +39 02 30130311**** > > cell: +39 329 5953944**** > > ITnet S.r.l.**** > > Societ? con socio unico**** > > Soggetta a direzione e coordinamento di Italiaonline S.r.l.**** > > ** ** > > > ------------------------------------------------------------------------------ > Try New Relic Now & We'll Send You this Cool Shirt > New Relic is the only SaaS-based application performance monitoring service > that delivers powerful full stack analytics. Optimize and monitor your > browser, app, & servers with just a few lines of code. Try New Relic > and get this awesome Nerd Life shirt! http://p.sf.net/sfu/newrelic_d2d_apr > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > -- Regards Sunil Sankar -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image001.gif Type: image/gif Size: 50 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image002.gif Type: image/gif Size: 50 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image008.png Type: image/png Size: 971 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image009.png Type: image/png Size: 810 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image005.gif Type: image/gif Size: 173 bytes Desc: not available URL: -------------- next part -------------- ------------------------------------------------------------------------------ Try New Relic Now & We'll Send You this Cool Shirt New Relic is the only SaaS-based application performance monitoring service that delivers powerful full stack analytics. Optimize and monitor your browser, app, & servers with just a few lines of code. Try New Relic and get this awesome Nerd Life shirt! http://p.sf.net/sfu/newrelic_d2d_apr -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Tue Apr 23 14:23:01 2013 From: m.borsani at it.net (Marco Borsani) Date: Tue, 23 Apr 2013 14:23:01 +0200 Subject: R: strange passive host behaviour In-Reply-To: References: <003501ce4003$74f25080$5ed6f180$@it.net> Message-ID: <006301ce401d$4c5f8240$e51e86c0$@it.net> The two templates are: define host{ name generic-active-host check_command check-host-alive active_checks_enabled 1 passive_checks_enabled 0 check_period 24x7 event_handler_enabled 0 flap_detection_enabled 1 process_perf_data 0 retain_status_information 1 retain_nonstatus_information 1 register 0 } define host{ name generic-passive-host active_checks_enabled 0 passive_checks_enabled 1 check_period 24x7 event_handler_enabled 0 flap_detection_enabled 0 process_perf_data 0 retain_status_information 1 retain_nonstatus_information 1 register 0 check_command check_dummy!0 check_freshness 1 freshness_threshold 1800 max_check_attempts 1 notification_options n notifications_enabled 0 contact_groups CG_No_Contact_Group } The two host configurations are: define host{ use generic-active-host host_name 192.xxx.xxx.3 alias host_active_3 address 192.xxx.xxx.3 max_check_attempts 10 notification_interval 360 notification_period 24x7 notification_options d,u,r notifications_enabled 1 contact_groups Mine_CGs parents } define host{ use generic-passive-host host_name 192.xxx.xxx.4 alias host_passive_4 address 192.xxx.xxx.4 max_check_attempts 10 notification_interval 360 notification_period 24x7 notification_options d,u,r notifications_enabled 1 contact_groups Mine_CGs parents } The same for the host_1 and host_2 (mentioned bevore). Regards Marco Da: Sunil Sankar [mailto:sunil at sunil.cc] Inviato: marted? 23 aprile 2013 12:43 A: Nagios Users List Oggetto: Re: [Nagios-users] strange passive host behaviour Can you paste your config On Tue, Apr 23, 2013 at 2:48 PM, Marco Borsani wrote: Hi all I have 2 HG, both with active and passive hosts. They use same templates and same parameters. First HG behaviour is OK : in the panel we have active and passive hosts Host Sort by host name (ascending) Sort by host name (descending) Status Sort by host status (ascending) Sort by host status (descending) Last Check Sort by last check time (ascending) Sort by last check time (descending) Duration Sort by state duration (ascending) Sort by state duration time (descending) Status Information 192.xxx.xxx.1 webmailstatic-be7 View Service Details For This Host UP 23-04-2013 11 :08:29 14d 7h 33m 59s PING OK - Packet loss = 0%, RTA = 0.10 ms 192.xxx.xxx.2 Checks of this host have been disabled View Service Details For This Host UP 23-04-2013 10 :42:44 151d 22h 56m 56s OK Second HG behaviour is wrong : in the panel ALL the hosts are active, none is passive Host Sort by host name (ascending) Sort by host name (descending) Status Sort by host status (ascending) Sort by host status (descending) Last Check Sort by last check time (ascending) Sort by last check time (descending) Duration Sort by state duration (ascending) Sort by state duration time (descending) Status Information 192.xxx.xxx.3 webmail-be8 View Service Details For This Host UP 23-04-2013 11 :06:16 14d 7h 47m 40s PING OK - Packet loss = 0%, RTA = 0.12 ms 192.xxx.xxx.4 View Service Details For This Host UP 23-04-2013 11 :07:31 193d 20h 14m 12s OK The ?Status Informartion? is ?OK? (due to the check_dummy service configured on it) , but If you go inside the passive host 192.xxx.xxx.4 you see: Active Checks: ENABLED Passive Checks: ENABLED Obsessing: ENABLED Notifications: ENABLED Event Handler: DISABLED Flap Detection: DISABLED I can?t udersand why and how to solve this . regards Marco Borsani Unix and Monitoring Sysadmin Business Unit Internet Solutions - Operations tel: +39 010 4310115 fax: +39 02 30130311 cell: +39 329 5953944 ITnet S.r.l. Societ? con socio unico Soggetta a direzione e coordinamento di Italiaonline S.r.l. ---------------------------------------------------------------------------- -- Try New Relic Now & We'll Send You this Cool Shirt New Relic is the only SaaS-based application performance monitoring service that delivers powerful full stack analytics. Optimize and monitor your browser, app, & servers with just a few lines of code. Try New Relic and get this awesome Nerd Life shirt! http://p.sf.net/sfu/newrelic_d2d_apr _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null -- Regards Sunil Sankar -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image001.gif Type: image/gif Size: 50 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image002.gif Type: image/gif Size: 50 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image003.png Type: image/png Size: 971 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image004.gif Type: image/gif Size: 173 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image005.png Type: image/png Size: 810 bytes Desc: not available URL: -------------- next part -------------- ------------------------------------------------------------------------------ Try New Relic Now & We'll Send You this Cool Shirt New Relic is the only SaaS-based application performance monitoring service that delivers powerful full stack analytics. Optimize and monitor your browser, app, & servers with just a few lines of code. Try New Relic and get this awesome Nerd Life shirt! http://p.sf.net/sfu/newrelic_d2d_apr -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Tue Apr 23 14:58:47 2013 From: m.borsani at it.net (Marco Borsani) Date: Tue, 23 Apr 2013 14:58:47 +0200 Subject: R: R: strange passive host behaviour In-Reply-To: <006301ce401d$4c5f8240$e51e86c0$@it.net> References: <003501ce4003$74f25080$5ed6f180$@it.net> <006301ce401d$4c5f8240$e51e86c0$@it.net> Message-ID: <007e01ce4022$4b953b20$e2bfb160$@it.net> The problem could be caused by retention.dat file. All the passive host have this line : ?active_checks_enabled=1? Why ? Is it a bug ? Marco Da: Marco Borsani [mailto:m.borsani at it.net] Inviato: marted? 23 aprile 2013 14:23 A: 'Nagios Users List' Oggetto: [Nagios-users] R: strange passive host behaviour The two templates are: define host{ name generic-active-host check_command check-host-alive active_checks_enabled 1 passive_checks_enabled 0 check_period 24x7 event_handler_enabled 0 flap_detection_enabled 1 process_perf_data 0 retain_status_information 1 retain_nonstatus_information 1 register 0 } define host{ name generic-passive-host active_checks_enabled 0 passive_checks_enabled 1 check_period 24x7 event_handler_enabled 0 flap_detection_enabled 0 process_perf_data 0 retain_status_information 1 retain_nonstatus_information 1 register 0 check_command check_dummy!0 check_freshness 1 freshness_threshold 1800 max_check_attempts 1 notification_options n notifications_enabled 0 contact_groups CG_No_Contact_Group } The two host configurations are: define host{ use generic-active-host host_name 192.xxx.xxx.3 alias host_active_3 address 192.xxx.xxx.3 max_check_attempts 10 notification_interval 360 notification_period 24x7 notification_options d,u,r notifications_enabled 1 contact_groups Mine_CGs parents } define host{ use generic-passive-host host_name 192.xxx.xxx.4 alias host_passive_4 address 192.xxx.xxx.4 max_check_attempts 10 notification_interval 360 notification_period 24x7 notification_options d,u,r notifications_enabled 1 contact_groups Mine_CGs parents } The same for the host_1 and host_2 (mentioned bevore). Regards Marco Da: Sunil Sankar [mailto:sunil at sunil.cc] Inviato: marted? 23 aprile 2013 12:43 A: Nagios Users List Oggetto: Re: [Nagios-users] strange passive host behaviour Can you paste your config On Tue, Apr 23, 2013 at 2:48 PM, Marco Borsani wrote: Hi all I have 2 HG, both with active and passive hosts. They use same templates and same parameters. First HG behaviour is OK : in the panel we have active and passive hosts Host Sort by host name (ascending) Sort by host name (descending) Status Sort by host status (ascending) Sort by host status (descending) Last Check Sort by last check time (ascending) Sort by last check time (descending) Duration Sort by state duration (ascending) Sort by state duration time (descending) Status Information 192.xxx.xxx.1 webmailstatic-be7 View Service Details For This Host UP 23-04-2013 11 :08:29 14d 7h 33m 59s PING OK - Packet loss = 0%, RTA = 0.10 ms 192.xxx.xxx.2 Checks of this host have been disabled View Service Details For This Host UP 23-04-2013 10 :42:44 151d 22h 56m 56s OK Second HG behaviour is wrong : in the panel ALL the hosts are active, none is passive Host Sort by host name (ascending) Sort by host name (descending) Status Sort by host status (ascending) Sort by host status (descending) Last Check Sort by last check time (ascending) Sort by last check time (descending) Duration Sort by state duration (ascending) Sort by state duration time (descending) Status Information 192.xxx.xxx.3 webmail-be8 View Service Details For This Host UP 23-04-2013 11 :06:16 14d 7h 47m 40s PING OK - Packet loss = 0%, RTA = 0.12 ms 192.xxx.xxx.4 View Service Details For This Host UP 23-04-2013 11 :07:31 193d 20h 14m 12s OK The ?Status Informartion? is ?OK? (due to the check_dummy service configured on it) , but If you go inside the passive host 192.xxx.xxx.4 you see: Active Checks: ENABLED Passive Checks: ENABLED Obsessing: ENABLED Notifications: ENABLED Event Handler: DISABLED Flap Detection: DISABLED I can?t udersand why and how to solve this . regards Marco Borsani Unix and Monitoring Sysadmin Business Unit Internet Solutions - Operations tel: +39 010 4310115 fax: +39 02 30130311 cell: +39 329 5953944 ITnet S.r.l. Societ? con socio unico Soggetta a direzione e coordinamento di Italiaonline S.r.l. ---------------------------------------------------------------------------- -- Try New Relic Now & We'll Send You this Cool Shirt New Relic is the only SaaS-based application performance monitoring service that delivers powerful full stack analytics. Optimize and monitor your browser, app, & servers with just a few lines of code. Try New Relic and get this awesome Nerd Life shirt! http://p.sf.net/sfu/newrelic_d2d_apr _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null -- Regards Sunil Sankar -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image001.gif Type: image/gif Size: 50 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image002.gif Type: image/gif Size: 50 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image003.png Type: image/png Size: 971 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image004.gif Type: image/gif Size: 173 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image005.png Type: image/png Size: 810 bytes Desc: not available URL: -------------- next part -------------- ------------------------------------------------------------------------------ Try New Relic Now & We'll Send You this Cool Shirt New Relic is the only SaaS-based application performance monitoring service that delivers powerful full stack analytics. Optimize and monitor your browser, app, & servers with just a few lines of code. Try New Relic and get this awesome Nerd Life shirt! http://p.sf.net/sfu/newrelic_d2d_apr -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mwiese at beit.de Tue Apr 23 16:01:38 2013 From: mwiese at beit.de (mwiese at beit.de) Date: Tue, 23 Apr 2013 16:01:38 +0200 Subject: =?iso-8859-1?q?AUTO=3A_Marco_Wiese/BEIT_GmbH_ist_a?= =?iso-8859-1?q?u=DFer_Haus=2E_=28R=FCckkehr_am_25=2E04=2E2013=29?= Message-ID: Ich kehre zur?ck am 25.04.2013. Ich werde Ihre Nachricht nach meiner R?ckkehr schnellstm?glich beantworten. Hinweis: Dies ist eine automatische Antwort auf Ihre Nachricht "[Nagios-users] strange passive host behaviour" gesendet am 23.04.2013 11:18:02. Diese ist die einzige Benachrichtigung, die Sie empfangen werden, w?hrend diese Person abwesend ist. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Try New Relic Now & We'll Send You this Cool Shirt New Relic is the only SaaS-based application performance monitoring service that delivers powerful full stack analytics. Optimize and monitor your browser, app, & servers with just a few lines of code. Try New Relic and get this awesome Nerd Life shirt! http://p.sf.net/sfu/newrelic_d2d_apr -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Apr 24 12:38:04 2013 From: Deborah.Martin at kognitio.com (Deborah Martin) Date: Wed, 24 Apr 2013 10:38:04 +0000 Subject: Configuration changes not taking effect after restart of Nagios Message-ID: Hi, I'm using Nagios 3.4.4 on SLES 11 SP2. This has been running for around two months. Recently I needed to change the configuration for a service escalation to remove a contact group that would get sms alerts. I restarted Nagios and everything ran fine. However, it's been reported that recently, the team that shouldn't be getting the sms alerts are still getting them. When I look at the Configuration for service escalations, I can now see two entries for the same escalation, one which is the new , with the sms contact group removed and one with the old config which has the sms contact group included. But when I look at the actual .cfg file for the service escalation definition, there is not mention of the sms group anymore. I've checked, and re-checked and still I can't see why this has happened. I've even stopped Nagios for a short while and restarted it from scratch and this still doesn't make any difference. Has anyone else see any oddities like this where config changes don't seem to take effect after a restart of Nagios ? Is there a "cache" file I can remove from the configuration forcing nagios to recreate it from scratch so that reads the rest of the .cfg files properly ? Any pointers / ideas on where I go from here would be really appreciated. Regards, Deborah Deborah Martin Kognitio Analytical Platform Support ______________________________________________________________________ Direct +44 1344 788670 Switch +44 1344 300770 | Deborah.martin at kognitio.com ______________________________________________________________________ [Description: Description: cid:image006.jpg at 01CD1C86.AAF068D0] www.kognitio.com [Description: Description: Description: Description: Description: Description: Facebook] [Description: Description: Description: Description: Description: Description: Twitter] [Description: Description: Description: Description: Description: Description: Youtube] [Description: Description: Description: Description: Description: Description: LinkedIn] [Description: Description: Description: Description: Description: Description: Blog] This e-mail and any files transmitted with it are strictly confidential and intended solely for the use of the individual or entity to whom they are addressed. If you are not the intended recipient, please delete this e-mail immediately. Any unauthorised distribution or copying is strictly prohibited. Whilst Kognitio endeavours to prevent the transmission of viruses via e-mail, we cannot guarantee that any e-mail 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: -------------- next part -------------- A non-text attachment was scrubbed... Name: image001.jpg Type: image/jpeg Size: 2286 bytes Desc: image001.jpg URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image002.jpg Type: image/jpeg Size: 521 bytes Desc: image002.jpg URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image003.jpg Type: image/jpeg Size: 506 bytes Desc: image003.jpg URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image004.jpg Type: image/jpeg Size: 1732 bytes Desc: image004.jpg URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image005.jpg Type: image/jpeg Size: 580 bytes Desc: image005.jpg URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image006.jpg Type: image/jpeg Size: 644 bytes Desc: image006.jpg URL: -------------- next part -------------- ------------------------------------------------------------------------------ Try New Relic Now & We'll Send You this Cool Shirt New Relic is the only SaaS-based application performance monitoring service that delivers powerful full stack analytics. Optimize and monitor your browser, app, & servers with just a few lines of code. Try New Relic and get this awesome Nerd Life shirt! http://p.sf.net/sfu/newrelic_d2d_apr -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From netwarrior863 at gmail.com Wed Apr 24 18:00:12 2013 From: netwarrior863 at gmail.com (Net Warrior) Date: Wed, 24 Apr 2013 13:00:12 -0300 Subject: Adding Performance Data to a Plugin Message-ID: Hi guys. I made my own check_disk plugin which is working fine, now I realized that it does not return any performance data information like the original check_disk, when I checked nagiograph I realized that the information was old, related to the original check_disk plugin when I was implementing nagiosgraph. This is what the original plugin returns: DISK OK - free space: /home 367 MB (89% inode=98%);| /home=43MB;343;;0;433 The plugin is made in bash, can someone guide me or give me an example code about how to add that functionality to my script? In the example above the plugin returns ;| /home=43MB;343;;0;433, how's that calculated? Thank you very much for your time and support Best Regards. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Try New Relic Now & We'll Send You this Cool Shirt New Relic is the only SaaS-based application performance monitoring service that delivers powerful full stack analytics. Optimize and monitor your browser, app, & servers with just a few lines of code. Try New Relic and get this awesome Nerd Life shirt! http://p.sf.net/sfu/newrelic_d2d_apr -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From dgrgicevic at gmail.com Wed Apr 24 18:02:56 2013 From: dgrgicevic at gmail.com (davor grgicevic) Date: Wed, 24 Apr 2013 19:02:56 +0300 Subject: Configuration changes not taking effect after restart of Nagios In-Reply-To: References: Message-ID: Hi Deobrah try following: stop nagios erase objects.cache, status.dat and retention.dat start nagios Best, On Wed, Apr 24, 2013 at 1:38 PM, Deborah Martin wrote: > Hi, **** > > ** ** > > I?m using Nagios 3.4.4 on SLES 11 SP2. This has been running for around > two months. **** > > ** ** > > Recently I needed to change the configuration for a service escalation to > remove a contact group that would get sms alerts. I restarted Nagios and > everything ran fine.**** > > ** ** > > However, it?s been reported that recently, the team that shouldn?t be > getting the sms alerts are still getting them. When I look at the > Configuration for service escalations, I can now see two entries for the > same escalation, one which is the new , with the sms contact group removed > and one with the old config which has the sms contact group included. But > when I look at the actual .cfg file for the service escalation definition, > there is not mention of the sms group anymore. I?ve checked, and re-checked > and still I can?t see why this has happened. **** > > ** ** > > I?ve even stopped Nagios for a short while and restarted it from scratch > and this still doesn?t make any difference. **** > > ** ** > > Has anyone else see any oddities like this where config changes don?t seem > to take effect after a restart of Nagios ? **** > > ** ** > > Is there a ?cache? file I can remove from the configuration forcing nagios > to recreate it from scratch so that reads the rest of the .cfg files > properly ? **** > > ** ** > > Any pointers / ideas on where I go from here would be really appreciated. > **** > > ** ** > > Regards,**** > > Deborah **** > > ** ** > > ** ** > > *Deborah Martin***** > > Kognitio Analytical Platform Support**** > > *______________________________________________________________________* > > Direct +44 1344 788670 Switch +44 1344 300770 | * > Deborah.martin at kognitio.com***** > > *______________________________________________________________________*** > > [image: Description: Description: cid:image006.jpg at 01CD1C86.AAF068D0] > **** > > www.kognitio.com**** > > [image: Description: Description: Description: Description: Description: > Description: Facebook] > [image: Description: Description: Description: Description: Description: > Description: Twitter] [image: > Description: Description: Description: Description: Description: > Description: Youtube] [image: > Description: Description: Description: Description: Description: > Description: LinkedIn] [image: > Description: Description: Description: Description: Description: > Description: Blog] **** > > ** ** > > ** > > This e-mail and any files transmitted with it are strictly confidential > and intended solely for the use of the individual or entity to whom they > are addressed. If you are not the intended recipient, please delete this > e-mail immediately. Any unauthorised distribution or copying is strictly > prohibited. > > Whilst Kognitio endeavours to prevent the transmission of viruses via > e-mail, we cannot guarantee that any e-mail 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. > > > ------------------------------------------------------------------------------ > Try New Relic Now & We'll Send You this Cool Shirt > New Relic is the only SaaS-based application performance monitoring service > that delivers powerful full stack analytics. Optimize and monitor your > browser, app, & servers with just a few lines of code. Try New Relic > and get this awesome Nerd Life shirt! http://p.sf.net/sfu/newrelic_d2d_apr > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > -- Davor Grgicevic -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image004.jpg Type: image/jpeg Size: 1732 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image006.jpg Type: image/jpeg Size: 644 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image002.jpg Type: image/jpeg Size: 521 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image003.jpg Type: image/jpeg Size: 506 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image005.jpg Type: image/jpeg Size: 580 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image001.jpg Type: image/jpeg Size: 2286 bytes Desc: not available URL: -------------- next part -------------- ------------------------------------------------------------------------------ Try New Relic Now & We'll Send You this Cool Shirt New Relic is the only SaaS-based application performance monitoring service that delivers powerful full stack analytics. Optimize and monitor your browser, app, & servers with just a few lines of code. Try New Relic and get this awesome Nerd Life shirt! http://p.sf.net/sfu/newrelic_d2d_apr -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From dtuecks at googlemail.com Wed Apr 24 19:23:03 2013 From: dtuecks at googlemail.com (Daniel Tuecks) Date: Wed, 24 Apr 2013 19:23:03 +0200 Subject: Adding Performance Data to a Plugin In-Reply-To: References: Message-ID: You might want to have a look at this: http://nagiosplug.sourceforge.net/developer-guidelines.html. Calculation is done by your plugin. Am 24.04.2013 18:07 schrieb "Net Warrior" : > > Hi guys. > > I made my own check_disk plugin which is working fine, now I realized that > it does not return any performance data information like the original > check_disk, when I checked nagiograph I realized that the information was > old, related to the original check_disk plugin when I was implementing > nagiosgraph. > > This is what the original plugin returns: > DISK OK - free space: /home 367 MB (89% inode=98%);| /home=43MB;343;;0;433 > > The plugin is made in bash, can someone guide me or give me an example > code about how to add that functionality to my script? In the example above > the plugin returns ;| /home=43MB;343;;0;433, how's that calculated? > > Thank you very much for your time and support > Best Regards. > > > > ------------------------------------------------------------------------------ > Try New Relic Now & We'll Send You this Cool Shirt > New Relic is the only SaaS-based application performance monitoring service > that delivers powerful full stack analytics. Optimize and monitor your > browser, app, & servers with just a few lines of code. Try New Relic > and get this awesome Nerd Life shirt! http://p.sf.net/sfu/newrelic_d2d_apr > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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: -------------- next part -------------- ------------------------------------------------------------------------------ Try New Relic Now & We'll Send You this Cool Shirt New Relic is the only SaaS-based application performance monitoring service that delivers powerful full stack analytics. Optimize and monitor your browser, app, & servers with just a few lines of code. Try New Relic and get this awesome Nerd Life shirt! http://p.sf.net/sfu/newrelic_d2d_apr -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From netwarrior863 at gmail.com Thu Apr 25 17:50:47 2013 From: netwarrior863 at gmail.com (Net Warrior) Date: Thu, 25 Apr 2013 12:50:47 -0300 Subject: Alert Precedence In-Reply-To: References: Message-ID: Hi I reviewed my alerts and increased the service check interval as this: this is the service notifications_enabled 1 notification_options w,c notification_period 24x7 check_period 24x7 check_interval 10 max_check_attempts 3 first_notification_delay 0 notification_interval 15 This is the host: check_interval 1 check_period 24x7 notification_period 24x7 max_check_attempts 3 notification_interval 10 flap_detection_enabled 0 first_notification_delay 0 So, the host is checked every one minute and on the third failure the alert gets fired, for the service I increased it to check every 10 minutes, so in theory the hosts check happens firts withing 3 minutes, as the service is checked every 10 I should not get any alert on them, but I still get the service notifications after the hosts is down. Any help appreciated. Thanks for your time and support. 2013/4/8 Claudio Kuenzler > This is a "basic dependency" in Nagios. When the host is down (hard) then > you won't receive any alerts for the services defined in this host. > What is likely in your case, is that you have scheduled the service checks > more often or faster to alert before the host check. This will result in > some alerts of services before the actual host down alert comes. > You should check out the event log to determine which checks happened > faster to become a hard critical state. > > > On Mon, Apr 8, 2013 at 5:43 PM, Net Warrior wrote: > >> Hi guys. >> >> I've got a doubt regarding the alerts definitions, I have defined several >> alerts for a host, for example one of them is to check if the host is up or >> down, when the host is down I get the alert as usual ans so on, but the >> other alerts get fired as well, service alerts, my question is, if is there >> a way to tell nagios, if the server is down, do not tigger the other >> alerts cuz of course are gonna fail? >> >> Thanks for your time and support >> Best Regards >> >> >> ------------------------------------------------------------------------------ >> Minimize network downtime and maximize team effectiveness. >> Reduce network management and security costs.Learn how to hire >> the most talented Cisco Certified professionals. Visit the >> Employer Resources Portal >> http://www.cisco.com/web/learning/employer_resources/index.html >> _______________________________________________ >> Nagios-users mailing list >> Nagios-users at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/nagios-users >> ::: Please include Nagios version, plugin version (-v) and OS when >> reporting any issue. >> ::: Messages without supporting info will risk being sent to /dev/null >> > > > > ------------------------------------------------------------------------------ > Minimize network downtime and maximize team effectiveness. > Reduce network management and security costs.Learn how to hire > the most talented Cisco Certified professionals. Visit the > Employer Resources Portal > http://www.cisco.com/web/learning/employer_resources/index.html > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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: -------------- next part -------------- ------------------------------------------------------------------------------ Try New Relic Now & We'll Send You this Cool Shirt New Relic is the only SaaS-based application performance monitoring service that delivers powerful full stack analytics. Optimize and monitor your browser, app, & servers with just a few lines of code. Try New Relic and get this awesome Nerd Life shirt! http://p.sf.net/sfu/newrelic_d2d_apr -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Apr 25 18:40:30 2013 From: Deborah.Martin at kognitio.com (Deborah Martin) Date: Thu, 25 Apr 2013 16:40:30 +0000 Subject: Configuration changes not taking effect after restart of Nagios In-Reply-To: References: Message-ID: Thanks, I?ve just tried that and it hasn?t made any difference. Somehow the sms group still creeps in. I?ve grepped all the config files to ensure everything is as it should be. Somehow, something is causing the configuration to pick up the old config. I?ve stopped nagios, deleted the suggested files, restarted nagios. I?ve even taken the service escalation out of the config ? now that works ? I can see it?s missing when I look at the configuration for service escalations for that particular node. When I add the escalation back in, it just doesn?t pick it up correctly. Here are the definitions of sorts with customer related stuff removed :- define host{ use generic-host host_name hostname-a alias hostname-a ; Lowercase address 172.18.5.41 hostgroups APP ; Uppercase contact_groups app-group,oracle-group,it-helpdesk-group check_command check_ping!100.0,20%!500.0,60% check_interval 1 ; check_period 24x7 notification_interval 5 notification_period 24x7 check_period 24x7 } define hostescalation{ host_name hostname-a first_notification 2 last_notification 2 notification_interval 2 escalation_options d ; Only escalate when in DOWN state escalation_period oncall contact_groups apps-sms-oncall-group, app-group, oracle-group,it-helpdesk-group } define hostescalation{ host_name hostname-a first_notification 3 last_notification 3 notification_interval 2 escalation_options d ; Only escalate when in DOWN state escalation_period oncall contact_groups app-group,oracle-group,it-helpdesk-group } define service{ use generic-service active_checks_enabled 1 ; Active service check enabled host_name hostname-a normal_check_interval 5 service_description Oracle Data check for hostname-a ; AP ports for external app only servicegroups apps check_command check_nrpe_oracle_data contact_groups app-group,oracle-group max_check_attempts 1; notification_interval 10; check_interval 5; retry_check_interval 1; notification_period MonSun notification_options u,c,r ; CHG2 Added warnings for this check only } ## Escalation ONE: define serviceescalation { host_name hostname-a; service_description Oracle Data check for hostname-a ; first_notification 2 last_notification 0 notification_interval 30 escalation_options u,c,r ; escalation_period oracle-oncall ; Only escalate during oncall periods contact_groups app-group,oracle-group } define servicegroup{ servicegroup_name apps alias 3rd Party Application monitoring } define contactgroup{ contactgroup_name app-group alias Application Administrators members app-admin } define contact{ contact_name app-admin alias app-admin contactgroups app-group service_notification_period 24x7 host_notification_period 24x7 service_notification_options w,u,c,r host_notification_options d,u,r service_notification_commands notify-by-email host_notification_commands host-notify-by-email email support at kognitio.com } define contactgroup{ contactgroup_name oracle-group alias Oracle Administrators members person-a, person-b } define contact{ contact_name person-a alias perona-a service_notification_period 24x7 host_notification_period 24x7 service_notification_options w,u,c,r host_notification_options d,u,r service_notification_commands notify-by-email host_notification_commands host-notify-by-email email person-a at kognitio.com } define contact{ contact_name person-b alias person-b service_notification_period 24x7 host_notification_period 24x7 service_notification_options w,u,c,r host_notification_options d,u,r service_notification_commands notify-by-email host_notification_commands host-notify-by-email email person-b at kognitio.com } define timeperiod{ timeperiod_name oracle-oncall alias Oracle Oncall Hours sunday 00:00-24:00 monday 08:00-09:00,17:30-20:00 tuesday 08:00-09:00,17:30-20:00 wednesday 08:00-09:00,17:30-20:00 thursday 08:00-09:00,17:30-20:00 friday 08:00-09:00,17:30-20:00 saturday 08:00-20:00 } Maybe I?ve done something with the above config that is causing this but for the life of me I can?t see it! Regards, Deborah Deborah Martin Kognitio Analytical Platform Support ______________________________________________________________________ Direct +44 1344 788670 Switch +44 1344 300770 | Deborah.martin at kognitio.com ______________________________________________________________________ [Description: Description: cid:image006.jpg at 01CD1C86.AAF068D0] www.kognitio.com [Description: Description: Description: Description: Description: Description: Facebook] [Description: Description: Description: Description: Description: Description: Twitter] [Description: Description: Description: Description: Description: Description: Youtube] [Description: Description: Description: Description: Description: Description: LinkedIn] [Description: Description: Description: Description: Description: Description: Blog] From: davor grgicevic [mailto:dgrgicevic at gmail.com] Sent: 24 April 2013 17:03 To: Nagios Users List Subject: Re: [Nagios-users] Configuration changes not taking effect after restart of Nagios Hi Deobrah try following: stop nagios erase objects.cache, status.dat and retention.dat start nagios Best, On Wed, Apr 24, 2013 at 1:38 PM, Deborah Martin > wrote: Hi, I?m using Nagios 3.4.4 on SLES 11 SP2. This has been running for around two months. Recently I needed to change the configuration for a service escalation to remove a contact group that would get sms alerts. I restarted Nagios and everything ran fine. However, it?s been reported that recently, the team that shouldn?t be getting the sms alerts are still getting them. When I look at the Configuration for service escalations, I can now see two entries for the same escalation, one which is the new , with the sms contact group removed and one with the old config which has the sms contact group included. But when I look at the actual .cfg file for the service escalation definition, there is not mention of the sms group anymore. I?ve checked, and re-checked and still I can?t see why this has happened. I?ve even stopped Nagios for a short while and restarted it from scratch and this still doesn?t make any difference. Has anyone else see any oddities like this where config changes don?t seem to take effect after a restart of Nagios ? Is there a ?cache? file I can remove from the configuration forcing nagios to recreate it from scratch so that reads the rest of the .cfg files properly ? Any pointers / ideas on where I go from here would be really appreciated. Regards, Deborah Deborah Martin Kognitio Analytical Platform Support ______________________________________________________________________ Direct +44 1344 788670 Switch +44 1344 300770 | Deborah.martin at kognitio.com ______________________________________________________________________ [Description: Description: cid:image006.jpg at 01CD1C86.AAF068D0] www.kognitio.com [Description: Description: Description: Description: Description: Description: Facebook] [Description: Description: Description: Description: Description: Description: Twitter] [Description: Description: Description: Description: Description: Description: Youtube] [Description: Description: Description: Description: Description: Description: LinkedIn] [Description: Description: Description: Description: Description: Description: Blog] This e-mail and any files transmitted with it are strictly confidential and intended solely for the use of the individual or entity to whom they are addressed. If you are not the intended recipient, please delete this e-mail immediately. Any unauthorised distribution or copying is strictly prohibited. Whilst Kognitio endeavours to prevent the transmission of viruses via e-mail, we cannot guarantee that any e-mail 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. ------------------------------------------------------------------------------ Try New Relic Now & We'll Send You this Cool Shirt New Relic is the only SaaS-based application performance monitoring service that delivers powerful full stack analytics. Optimize and monitor your browser, app, & servers with just a few lines of code. Try New Relic and get this awesome Nerd Life shirt! http://p.sf.net/sfu/newrelic_d2d_apr _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null -- Davor Grgicevic This e-mail and any files transmitted with it are strictly confidential and intended solely for the use of the individual or entity to whom they are addressed. If you are not the intended recipient, please delete this e-mail immediately. Any unauthorised distribution or copying is strictly prohibited. Whilst Kognitio endeavours to prevent the transmission of viruses via e-mail, we cannot guarantee that any e-mail 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: -------------- next part -------------- A non-text attachment was scrubbed... Name: image001.jpg Type: image/jpeg Size: 2286 bytes Desc: image001.jpg URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image002.jpg Type: image/jpeg Size: 521 bytes Desc: image002.jpg URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image003.jpg Type: image/jpeg Size: 506 bytes Desc: image003.jpg URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image004.jpg Type: image/jpeg Size: 1732 bytes Desc: image004.jpg URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image005.jpg Type: image/jpeg Size: 580 bytes Desc: image005.jpg URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image006.jpg Type: image/jpeg Size: 644 bytes Desc: image006.jpg URL: -------------- next part -------------- ------------------------------------------------------------------------------ Try New Relic Now & We'll Send You this Cool Shirt New Relic is the only SaaS-based application performance monitoring service that delivers powerful full stack analytics. Optimize and monitor your browser, app, & servers with just a few lines of code. Try New Relic and get this awesome Nerd Life shirt! http://p.sf.net/sfu/newrelic_d2d_apr -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Apr 25 19:47:52 2013 From: ae at op5.se (Andreas Ericsson) Date: Thu, 25 Apr 2013 19:47:52 +0200 Subject: Configuration changes not taking effect after restart of Nagios In-Reply-To: References: Message-ID: <51796C48.70505@op5.se> On 04/24/2013 12:38 PM, Deborah Martin wrote: > Hi, > > I'm using Nagios 3.4.4 on SLES 11 SP2. This has been running for > around two months. > > Recently I needed to change the configuration for a service > escalation to remove a contact group that would get sms alerts. I > restarted Nagios and everything ran fine. > > However, it's been reported that recently, the team that shouldn't be > getting the sms alerts are still getting them. When I look at the > Configuration for service escalations, I can now see two entries for > the same escalation, one which is the new , with the sms contact > group removed and one with the old config which has the sms contact > group included. But when I look at the actual .cfg file for the > service escalation definition, there is not mention of the sms group > anymore. I've checked, and re-checked and still I can't see why this > has happened. > There are three separate sensible explanations for that. You have, at some time in the past, created an objects.precache file and Nagios is restarted with being asked to use the precached file. Something regenerates the configuration behind your back, overwriting your changes. A separate Nagios process is running, triggering alerts for the faulty team while the restarted Nagios ticks on just fine. -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Tel: +46 8-230225 Fax: +46 8-230231 Considering the successes of the wars on alcohol, poverty, drugs and terror, I think we should give some serious thought to declaring war on peace. ------------------------------------------------------------------------------ Try New Relic Now & We'll Send You this Cool Shirt New Relic is the only SaaS-based application performance monitoring service that delivers powerful full stack analytics. Optimize and monitor your browser, app, & servers with just a few lines of code. Try New Relic and get this awesome Nerd Life shirt! http://p.sf.net/sfu/newrelic_d2d_apr _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From grant.maxwell at maxan.com.au Thu Apr 25 23:43:51 2013 From: grant.maxwell at maxan.com.au (Grant Maxwell) Date: Fri, 26 Apr 2013 07:43:51 +1000 Subject: Configuration changes not taking effect after restart of Nagios In-Reply-To: References: Message-ID: Hi Deborah Essentially it comes down to this. Somewhere you have a file with the offending definition in it. You need to find that file and either delete it or move it somewhere where it won't influence the startup. The first thing I would check is the nagios.cfg file, in particular the lines like: cfg_file= cfg_dir= Then check all of the files/directories mentioned in case there is a left-over line in one of them. You could use grep for that. If you don't find the offending file/entry then that is most strange because those config lines determine what files and folders nagios will look in for its configurations. Moving on and assuming that did not find it then I would search the whole system (bigger hammer). If you are using windows then you can use the windows search facility to find it. If you are using linux (or any UNIX variant) you can use the following command to search the entire system to find it. It searches the whole system because nagios does have files in a few locations. It should only read configs from the locations in the nagios.cfg file but because you can't find the offending file -then use a slightly bigger hammer. find / -type f -name \*.cfg -exec grep -L "smsgroupname" {} \; replace smsgroupname with the name of the sms group you got rid of. The command will list any files that contain the sms group name. It may print some filenames that it could not access. Thats ok just ignore them. once you find the file ?. you know what to do. let us know how you go ?. regards Grant On 26/04/2013, at 2:40 AM, Deborah Martin wrote: > Thanks, I?ve just tried that and it hasn?t made any difference. Somehow the sms group still creeps in. I?ve grepped all the config files to ensure everything is as it should be. Somehow, something is causing the configuration to pick up the old config. I?ve stopped nagios, deleted the suggested files, restarted nagios. > > I?ve even taken the service escalation out of the config ? now that works ? I can see it?s missing when I look at the configuration for service escalations for that particular node. > When I add the escalation back in, it just doesn?t pick it up correctly. > > Here are the definitions of sorts with customer related stuff removed :- > define host{ > use generic-host > host_name hostname-a > alias hostname-a ; Lowercase > address 172.18.5.41 > hostgroups APP ; Uppercase > contact_groups app-group,oracle-group,it-helpdesk-group > check_command check_ping!100.0,20%!500.0,60% > check_interval 1 ; > check_period 24x7 > notification_interval 5 > notification_period 24x7 > check_period 24x7 > } > > define hostescalation{ > host_name hostname-a > first_notification 2 > last_notification 2 > notification_interval 2 > escalation_options d ; Only escalate when in DOWN state > escalation_period oncall > contact_groups apps-sms-oncall-group, app-group, oracle-group,it-helpdesk-group > } > > define hostescalation{ > host_name hostname-a > first_notification 3 > last_notification 3 > notification_interval 2 > escalation_options d ; Only escalate when in DOWN state > escalation_period oncall > contact_groups app-group,oracle-group,it-helpdesk-group > } > > define service{ > use generic-service > active_checks_enabled 1 ; Active service check enabled > host_name hostname-a > normal_check_interval 5 > service_description Oracle Data check for hostname-a ; AP ports for external app only > servicegroups apps > check_command check_nrpe_oracle_data > contact_groups app-group,oracle-group > max_check_attempts 1; > notification_interval 10; > check_interval 5; > retry_check_interval 1; > notification_period MonSun > notification_options u,c,r ; CHG2 Added warnings for this check only > } > > ## Escalation ONE: > define serviceescalation { > host_name hostname-a; > service_description Oracle Data check for hostname-a ; > first_notification 2 > last_notification 0 > notification_interval 30 > escalation_options u,c,r ; > escalation_period oracle-oncall ; Only escalate during oncall periods > contact_groups app-group,oracle-group > } > > define servicegroup{ > servicegroup_name apps > alias 3rd Party Application monitoring > } > > define contactgroup{ > contactgroup_name app-group > alias Application Administrators > members app-admin > } > > > define contact{ > contact_name app-admin > alias app-admin > contactgroups app-group > service_notification_period 24x7 > host_notification_period 24x7 > service_notification_options w,u,c,r > host_notification_options d,u,r > service_notification_commands notify-by-email > host_notification_commands host-notify-by-email > email support at kognitio.com > } > > > define contactgroup{ > contactgroup_name oracle-group > alias Oracle Administrators > members person-a, person-b > } > > define contact{ > contact_name person-a > alias perona-a > service_notification_period 24x7 > host_notification_period 24x7 > service_notification_options w,u,c,r > host_notification_options d,u,r > service_notification_commands notify-by-email > host_notification_commands host-notify-by-email > email person-a at kognitio.com > } > > define contact{ > contact_name person-b > alias person-b > service_notification_period 24x7 > host_notification_period 24x7 > service_notification_options w,u,c,r > host_notification_options d,u,r > service_notification_commands notify-by-email > host_notification_commands host-notify-by-email > email person-b at kognitio.com > } > > define timeperiod{ > timeperiod_name oracle-oncall > alias Oracle Oncall Hours > sunday 00:00-24:00 > monday 08:00-09:00,17:30-20:00 > tuesday 08:00-09:00,17:30-20:00 > wednesday 08:00-09:00,17:30-20:00 > thursday 08:00-09:00,17:30-20:00 > friday 08:00-09:00,17:30-20:00 > saturday 08:00-20:00 > } > > Maybe I?ve done something with the above config that is causing this but for the life of me I can?t see it! > > Regards, > Deborah > > Deborah Martin > > Kognitio Analytical Platform Support > ______________________________________________________________________ > Direct +44 1344 788670 Switch +44 1344 300770 | Deborah.martin at kognitio.com > ______________________________________________________________________ > > www.kognitio.com > > > From: davor grgicevic [mailto:dgrgicevic at gmail.com] > Sent: 24 April 2013 17:03 > To: Nagios Users List > Subject: Re: [Nagios-users] Configuration changes not taking effect after restart of Nagios > > Hi Deobrah > > try following: > stop nagios > erase objects.cache, status.dat and retention.dat > start nagios > > Best, > > > > > > On Wed, Apr 24, 2013 at 1:38 PM, Deborah Martin wrote: > Hi, > > I?m using Nagios 3.4.4 on SLES 11 SP2. This has been running for around two months. > > Recently I needed to change the configuration for a service escalation to remove a contact group that would get sms alerts. I restarted Nagios and everything ran fine. > > However, it?s been reported that recently, the team that shouldn?t be getting the sms alerts are still getting them. When I look at the Configuration for service escalations, I can now see two entries for the same escalation, one which is the new , with the sms contact group removed and one with the old config which has the sms contact group included. But when I look at the actual .cfg file for the service escalation definition, there is not mention of the sms group anymore. I?ve checked, and re-checked and still I can?t see why this has happened. > > I?ve even stopped Nagios for a short while and restarted it from scratch and this still doesn?t make any difference. > > Has anyone else see any oddities like this where config changes don?t seem to take effect after a restart of Nagios ? > > Is there a ?cache? file I can remove from the configuration forcing nagios to recreate it from scratch so that reads the rest of the .cfg files properly ? > > Any pointers / ideas on where I go from here would be really appreciated. > > Regards, > Deborah > > > Deborah Martin > > Kognitio Analytical Platform Support > ______________________________________________________________________ > Direct +44 1344 788670 Switch +44 1344 300770 | Deborah.martin at kognitio.com > ______________________________________________________________________ > > www.kognitio.com > > > > This e-mail and any files transmitted with it are strictly confidential and intended solely for the use of the individual or entity to whom they are addressed. If you are not the intended recipient, please delete this e-mail immediately. Any unauthorised distribution or copying is strictly prohibited. > > Whilst Kognitio endeavours to prevent the transmission of viruses via e-mail, we cannot guarantee that any e-mail 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. > > > ------------------------------------------------------------------------------ > Try New Relic Now & We'll Send You this Cool Shirt > New Relic is the only SaaS-based application performance monitoring service > that delivers powerful full stack analytics. Optimize and monitor your > browser, app, & servers with just a few lines of code. Try New Relic > and get this awesome Nerd Life shirt! http://p.sf.net/sfu/newrelic_d2d_apr > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > > > > -- > Davor Grgicevic > > This e-mail and any files transmitted with it are strictly confidential and intended solely for the use of the individual or entity to whom they are addressed. If you are not the intended recipient, please delete this e-mail immediately. Any unauthorised distribution or copying is strictly prohibited. > > Whilst Kognitio endeavours to prevent the transmission of viruses via e-mail, we cannot guarantee that any e-mail 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. > > ------------------------------------------------------------------------------ > Try New Relic Now & We'll Send You this Cool Shirt > New Relic is the only SaaS-based application performance monitoring service > that delivers powerful full stack analytics. Optimize and monitor your > browser, app, & servers with just a few lines of code. Try New Relic > and get this awesome Nerd Life shirt! http://p.sf.net/sfu/newrelic_d2d_apr_______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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: -------------- next part -------------- ------------------------------------------------------------------------------ Try New Relic Now & We'll Send You this Cool Shirt New Relic is the only SaaS-based application performance monitoring service that delivers powerful full stack analytics. Optimize and monitor your browser, app, & servers with just a few lines of code. Try New Relic and get this awesome Nerd Life shirt! http://p.sf.net/sfu/newrelic_d2d_apr -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From netwarrior863 at gmail.com Fri Apr 26 13:03:33 2013 From: netwarrior863 at gmail.com (Net Warrior) Date: Fri, 26 Apr 2013 08:03:33 -0300 Subject: Alert Precedence In-Reply-To: References: Message-ID: Hi I found the issue, I changed the way the host alive check was performed, instead of ping now I use nrpe, sorry for the noise. Thanks. Regards 2013/4/25 Net Warrior > Hi > I reviewed my alerts and increased the service check interval as this: > > this is the service > > notifications_enabled 1 > notification_options w,c > notification_period 24x7 > check_period 24x7 > check_interval 10 > max_check_attempts 3 > first_notification_delay 0 > notification_interval 15 > > This is the host: > > check_interval 1 > check_period 24x7 > notification_period 24x7 > max_check_attempts 3 > notification_interval 10 > flap_detection_enabled 0 > first_notification_delay 0 > > > So, the host is checked every one minute and on the third failure the > alert gets fired, for the service I increased it to check every 10 minutes, > so in theory the hosts check happens firts withing 3 minutes, as the > service is checked every 10 I should not get any alert on them, but I still > get the service notifications after the hosts is down. > > Any help appreciated. > Thanks for your time and support. > > > 2013/4/8 Claudio Kuenzler > >> This is a "basic dependency" in Nagios. When the host is down (hard) then >> you won't receive any alerts for the services defined in this host. >> What is likely in your case, is that you have scheduled the service >> checks more often or faster to alert before the host check. This will >> result in some alerts of services before the actual host down alert comes. >> You should check out the event log to determine which checks happened >> faster to become a hard critical state. >> >> >> On Mon, Apr 8, 2013 at 5:43 PM, Net Warrior wrote: >> >>> Hi guys. >>> >>> I've got a doubt regarding the alerts definitions, I have defined >>> several alerts for a host, for example one of them is to check if the host >>> is up or down, when the host is down I get the alert as usual ans so on, >>> but the other alerts get fired as well, service alerts, my question is, if >>> is there a way to tell nagios, if the server is down, do not tigger the >>> other alerts cuz of course are gonna fail? >>> >>> Thanks for your time and support >>> Best Regards >>> >>> >>> ------------------------------------------------------------------------------ >>> Minimize network downtime and maximize team effectiveness. >>> Reduce network management and security costs.Learn how to hire >>> the most talented Cisco Certified professionals. Visit the >>> Employer Resources Portal >>> http://www.cisco.com/web/learning/employer_resources/index.html >>> _______________________________________________ >>> Nagios-users mailing list >>> Nagios-users at lists.sourceforge.net >>> https://lists.sourceforge.net/lists/listinfo/nagios-users >>> ::: Please include Nagios version, plugin version (-v) and OS when >>> reporting any issue. >>> ::: Messages without supporting info will risk being sent to /dev/null >>> >> >> >> >> ------------------------------------------------------------------------------ >> Minimize network downtime and maximize team effectiveness. >> Reduce network management and security costs.Learn how to hire >> the most talented Cisco Certified professionals. Visit the >> Employer Resources Portal >> http://www.cisco.com/web/learning/employer_resources/index.html >> _______________________________________________ >> Nagios-users mailing list >> Nagios-users at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/nagios-users >> ::: 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: -------------- next part -------------- ------------------------------------------------------------------------------ Try New Relic Now & We'll Send You this Cool Shirt New Relic is the only SaaS-based application performance monitoring service that delivers powerful full stack analytics. Optimize and monitor your browser, app, & servers with just a few lines of code. Try New Relic and get this awesome Nerd Life shirt! http://p.sf.net/sfu/newrelic_d2d_apr -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Fri Apr 26 14:27:50 2013 From: Deborah.Martin at kognitio.com (Deborah Martin) Date: Fri, 26 Apr 2013 12:27:50 +0000 Subject: Configuration changes not taking effect after restart of Nagios In-Reply-To: References: Message-ID: Thanks to everyone that replied. The problem is when I grep I will find correct occurrences of when the sms group should be used. And I want to just remove it from one serviceescalation definition for a particular service check. I certainly don't want to get rid of that group altogether. The problem seems to be that although I've removed that group from the contacts_group of the serviceescalation definition and when I reload nagios (I've also killed nagios, deleted cache files .dat files etc etc) I can see "configuration" for service escalations, both the old entry including the sms group and the newly amended entry without the sms group. My installation is always under /usr/local/nagios and the configuration files sit under etc/production/customer_name/hosts.cfg or services.cfg and the main config files are always under /usr/local/nagios/etc/_systemfiles so that customer specific configs are very separate to anything that is system / global wide to nagios. I compile nagios from source rather than rpms so I can control exactly where things go etc etc. There are no config files in /usr/local/nagios/etc, just production and _systemfiles directorys This is how it's been configured since I started using nagios back in late early 2000's. The only difference is that I recently upgraded SLES 11 SP2 and Nagios 3.4.4 as we had a problem with time drifts as the environment is a VM (And yes - I know that generally VM's are a bad idea for monitoring but I have to work with what I'm given :( ) . I've never come across objects.precache so haven't knowingly configured nagios to use that. I can't find that file anywhere on the system. I've just killed nagios again, removed status.dat, retention.dat and objects.cache. I've switched off the option in nagios.cfg to not look at objects.cache. I've restarted nagios but it still shows both the old and new config for the serviceescalation. I'm completely stumped. I don't know where else to look. A new objects.cache has been created - is that right even though I've commented that out in nagios.cfg ? # OBJECT CACHE FILE # This option determines where object definitions are cached when # Nagios starts/restarts. The CGIs read object definitions from # this cache file (rather than looking at the object config files # directly) in order to prevent inconsistencies that can occur # when the config files are modified after Nagios starts. #object_cache_file=/usr/local/nagios/var/objects.cache Thanks, Deborah Deborah Martin Kognitio Analytical Platform Support ______________________________________________________________________ Direct +44 1344 788670 Switch +44 1344 300770 | Deborah.martin at kognitio.com ______________________________________________________________________ [Description: Description: cid:image006.jpg at 01CD1C86.AAF068D0] www.kognitio.com [Description: Description: Description: Description: Description: Description: Facebook] [Description: Description: Description: Description: Description: Description: Twitter] [Description: Description: Description: Description: Description: Description: Youtube] [Description: Description: Description: Description: Description: Description: LinkedIn] [Description: Description: Description: Description: Description: Description: Blog] From: Grant Maxwell [mailto:grant.maxwell at maxan.com.au] Sent: 25 April 2013 22:44 To: Nagios Users List Subject: Re: [Nagios-users] Configuration changes not taking effect after restart of Nagios Hi Deborah Essentially it comes down to this. Somewhere you have a file with the offending definition in it. You need to find that file and either delete it or move it somewhere where it won't influence the startup. The first thing I would check is the nagios.cfg file, in particular the lines like: cfg_file= cfg_dir= Then check all of the files/directories mentioned in case there is a left-over line in one of them. You could use grep for that. If you don't find the offending file/entry then that is most strange because those config lines determine what files and folders nagios will look in for its configurations. Moving on and assuming that did not find it then I would search the whole system (bigger hammer). If you are using windows then you can use the windows search facility to find it. If you are using linux (or any UNIX variant) you can use the following command to search the entire system to find it. It searches the whole system because nagios does have files in a few locations. It should only read configs from the locations in the nagios.cfg file but because you can't find the offending file -then use a slightly bigger hammer. find / -type f -name \*.cfg -exec grep -L "smsgroupname" {} \; replace smsgroupname with the name of the sms group you got rid of. The command will list any files that contain the sms group name. It may print some filenames that it could not access. Thats ok just ignore them. once you find the file .... you know what to do. let us know how you go .... regards Grant On 26/04/2013, at 2:40 AM, Deborah Martin > wrote: Thanks, I've just tried that and it hasn't made any difference. Somehow the sms group still creeps in. I've grepped all the config files to ensure everything is as it should be. Somehow, something is causing the configuration to pick up the old config. I've stopped nagios, deleted the suggested files, restarted nagios. I've even taken the service escalation out of the config - now that works - I can see it's missing when I look at the configuration for service escalations for that particular node. When I add the escalation back in, it just doesn't pick it up correctly. Here are the definitions of sorts with customer related stuff removed :- define host{ use generic-host host_name hostname-a alias hostname-a ; Lowercase address 172.18.5.41 hostgroups APP ; Uppercase contact_groups app-group,oracle-group,it-helpdesk-group check_command check_ping!100.0,20%!500.0,60% check_interval 1 ; check_period 24x7 notification_interval 5 notification_period 24x7 check_period 24x7 } define hostescalation{ host_name hostname-a first_notification 2 last_notification 2 notification_interval 2 escalation_options d ; Only escalate when in DOWN state escalation_period oncall contact_groups apps-sms-oncall-group, app-group, oracle-group,it-helpdesk-group } define hostescalation{ host_name hostname-a first_notification 3 last_notification 3 notification_interval 2 escalation_options d ; Only escalate when in DOWN state escalation_period oncall contact_groups app-group,oracle-group,it-helpdesk-group } define service{ use generic-service active_checks_enabled 1 ; Active service check enabled host_name hostname-a normal_check_interval 5 service_description Oracle Data check for hostname-a ; AP ports for external app only servicegroups apps check_command check_nrpe_oracle_data contact_groups app-group,oracle-group max_check_attempts 1; notification_interval 10; check_interval 5; retry_check_interval 1; notification_period MonSun notification_options u,c,r ; CHG2 Added warnings for this check only } ## Escalation ONE: define serviceescalation { host_name hostname-a; service_description Oracle Data check for hostname-a ; first_notification 2 last_notification 0 notification_interval 30 escalation_options u,c,r ; escalation_period oracle-oncall ; Only escalate during oncall periods contact_groups app-group,oracle-group } define servicegroup{ servicegroup_name apps alias 3rd Party Application monitoring } define contactgroup{ contactgroup_name app-group alias Application Administrators members app-admin } define contact{ contact_name app-admin alias app-admin contactgroups app-group service_notification_period 24x7 host_notification_period 24x7 service_notification_options w,u,c,r host_notification_options d,u,r service_notification_commands notify-by-email host_notification_commands host-notify-by-email email support at kognitio.com } define contactgroup{ contactgroup_name oracle-group alias Oracle Administrators members person-a, person-b } define contact{ contact_name person-a alias perona-a service_notification_period 24x7 host_notification_period 24x7 service_notification_options w,u,c,r host_notification_options d,u,r service_notification_commands notify-by-email host_notification_commands host-notify-by-email email person-a at kognitio.com } define contact{ contact_name person-b alias person-b service_notification_period 24x7 host_notification_period 24x7 service_notification_options w,u,c,r host_notification_options d,u,r service_notification_commands notify-by-email host_notification_commands host-notify-by-email email person-b at kognitio.com } define timeperiod{ timeperiod_name oracle-oncall alias Oracle Oncall Hours sunday 00:00-24:00 monday 08:00-09:00,17:30-20:00 tuesday 08:00-09:00,17:30-20:00 wednesday 08:00-09:00,17:30-20:00 thursday 08:00-09:00,17:30-20:00 friday 08:00-09:00,17:30-20:00 saturday 08:00-20:00 } Maybe I've done something with the above config that is causing this but for the life of me I can't see it! Regards, Deborah Deborah Martin Kognitio Analytical Platform Support ______________________________________________________________________ Direct +44 1344 788670 Switch +44 1344 300770 | Deborah.martin at kognitio.com ______________________________________________________________________ www.kognitio.com From: davor grgicevic [mailto:dgrgicevic at gmail.com] Sent: 24 April 2013 17:03 To: Nagios Users List Subject: Re: [Nagios-users] Configuration changes not taking effect after restart of Nagios Hi Deobrah try following: stop nagios erase objects.cache, status.dat and retention.dat start nagios Best, On Wed, Apr 24, 2013 at 1:38 PM, Deborah Martin > wrote: Hi, I'm using Nagios 3.4.4 on SLES 11 SP2. This has been running for around two months. Recently I needed to change the configuration for a service escalation to remove a contact group that would get sms alerts. I restarted Nagios and everything ran fine. However, it's been reported that recently, the team that shouldn't be getting the sms alerts are still getting them. When I look at the Configuration for service escalations, I can now see two entries for the same escalation, one which is the new , with the sms contact group removed and one with the old config which has the sms contact group included. But when I look at the actual .cfg file for the service escalation definition, there is not mention of the sms group anymore. I've checked, and re-checked and still I can't see why this has happened. I've even stopped Nagios for a short while and restarted it from scratch and this still doesn't make any difference. Has anyone else see any oddities like this where config changes don't seem to take effect after a restart of Nagios ? Is there a "cache" file I can remove from the configuration forcing nagios to recreate it from scratch so that reads the rest of the .cfg files properly ? Any pointers / ideas on where I go from here would be really appreciated. Regards, Deborah Deborah Martin Kognitio Analytical Platform Support ______________________________________________________________________ Direct +44 1344 788670 Switch +44 1344 300770 | Deborah.martin at kognitio.com ______________________________________________________________________ www.kognitio.com This e-mail and any files transmitted with it are strictly confidential and intended solely for the use of the individual or entity to whom they are addressed. If you are not the intended recipient, please delete this e-mail immediately. Any unauthorised distribution or copying is strictly prohibited. Whilst Kognitio endeavours to prevent the transmission of viruses via e-mail, we cannot guarantee that any e-mail 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. ------------------------------------------------------------------------------ Try New Relic Now & We'll Send You this Cool Shirt New Relic is the only SaaS-based application performance monitoring service that delivers powerful full stack analytics. Optimize and monitor your browser, app, & servers with just a few lines of code. Try New Relic and get this awesome Nerd Life shirt! http://p.sf.net/sfu/newrelic_d2d_apr _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null -- Davor Grgicevic This e-mail and any files transmitted with it are strictly confidential and intended solely for the use of the individual or entity to whom they are addressed. If you are not the intended recipient, please delete this e-mail immediately. Any unauthorised distribution or copying is strictly prohibited. Whilst Kognitio endeavours to prevent the transmission of viruses via e-mail, we cannot guarantee that any e-mail 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. ------------------------------------------------------------------------------ Try New Relic Now & We'll Send You this Cool Shirt New Relic is the only SaaS-based application performance monitoring service that delivers powerful full stack analytics. Optimize and monitor your browser, app, & servers with just a few lines of code. Try New Relic and get this awesome Nerd Life shirt! http://p.sf.net/sfu/newrelic_d2d_apr_______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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 e-mail and any files transmitted with it are strictly confidential and intended solely for the use of the individual or entity to whom they are addressed. If you are not the intended recipient, please delete this e-mail immediately. Any unauthorised distribution or copying is strictly prohibited. Whilst Kognitio endeavours to prevent the transmission of viruses via e-mail, we cannot guarantee that any e-mail 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: -------------- next part -------------- A non-text attachment was scrubbed... Name: image001.jpg Type: image/jpeg Size: 2286 bytes Desc: image001.jpg URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image002.jpg Type: image/jpeg Size: 521 bytes Desc: image002.jpg URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image003.jpg Type: image/jpeg Size: 506 bytes Desc: image003.jpg URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image004.jpg Type: image/jpeg Size: 1732 bytes Desc: image004.jpg URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image005.jpg Type: image/jpeg Size: 580 bytes Desc: image005.jpg URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image006.jpg Type: image/jpeg Size: 644 bytes Desc: image006.jpg URL: -------------- next part -------------- ------------------------------------------------------------------------------ Try New Relic Now & We'll Send You this Cool Shirt New Relic is the only SaaS-based application performance monitoring service that delivers powerful full stack analytics. Optimize and monitor your browser, app, & servers with just a few lines of code. Try New Relic and get this awesome Nerd Life shirt! http://p.sf.net/sfu/newrelic_d2d_apr -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jmiller at centricgroup.com Sat Apr 27 17:24:54 2013 From: jmiller at centricgroup.com (Jim Miller) Date: Sat, 27 Apr 2013 15:24:54 +0000 Subject: check_nrpe Connection refused by host Message-ID: <5A953EB53AE9D54A98C44EBF42C2878C058E0E@XIO99PRDXMB01.centric.com> Hello everyone, I'm sure this is common issue. But I'm stumped. I can run check_nrpe from the command line on the monitoring server w/out any problem. But for all of the nrpe_checks the server runs, I see: LOGS: [1367058676] SERVICE NOTIFICATION: icingaadmin;xio99cdejump02.example.com;Free Space of sda1;CRITICAL;notify-service-by-email;Connection refused by host [1367059156] SERVICE NOTIFICATION: icingaadmin;xio99cdejump02.example.com;Current Users;CRITICAL;notify-service-by-email;Connection refused by host [1367059216] SERVICE NOTIFICATION: icingaadmin;xio99cdejump02.example.com;Total Processes;CRITICAL;notify-service-by-email;Connection refused by host [1367059276] SERVICE NOTIFICATION: icingaadmin;xio99cdejump02.example.com;Zombie Processes;CRITICAL;notify-service-by-email;Connection refused by host [1367059646] SERVICE NOTIFICATION: icingaadmin;xio99cdejump02.example.com;CPU Load;CRITICAL;notify-service-by-email;Connection refused by host MANUAL CHECKS: [root at xio99cdejump01 icinga]# /usr/lib64/nagios/plugins/check_nrpe -H xio99cdejump02.example.com -c check_users_count -a 5 10 USERS OK - 1 users currently logged in |users=1;5;10;0 [root at xio99cdejump01 icinga]# /usr/lib64/nagios/plugins/check_nrpe -H xio99cdejump02.example.com -c check_load_avg -a 15,10,5 30,25,20 OK - load average: 0.00, 0.00, 0.00|load1=0.000;15.000;30.000;0; load5=0.000;10.000;25.000;0; load15=0.000;5.000;20.000;0; [root at xio99cdejump01 icinga]# /usr/lib64/nagios/plugins/check_nrpe -H xio99cdejump02.example.com -c check_sda1 DISK OK - free space: /boot 379 MB (82% inode=99%);| /boot=79MB;387;435;0;484 [root at xio99cdejump01 icinga]# /usr/lib64/nagios/plugins/check_nrpe -H xio99cdejump02.example.com -c check_swap_usage SWAP OK - 100% free (5119 MB out of 5119 MB) |swap=5119MB;1023;511;0;5119 [root at xio99cdejump01 icinga]# /usr/lib64/nagios/plugins/check_nrpe -H xio99cdejump02.example.com -c check_zombie_procs PROCS OK: 0 processes with STATE = Z [root at xio99cdejump01 icinga]# /usr/lib64/nagios/plugins/check_nrpe -H xio99cdejump02.example.com -c check_total_procs PROCS OK: 106 processes ========================== Monitored Client: RHEL 6.3 NRPE - nrpe-2.13-1.el6.x86_64 [root at xio99cdejump02 nagios]# netstat -anp |grep nrpe tcp 0 0 0.0.0.0:5666 0.0.0.0:* LISTEN 5418/nrpe [root at xio99cdejump02 nagios]# /etc/init.d/nrpe restart Shutting down nrpe: Apr 27 09:53:33 xio99cdejump02 nrpe[5418]: Caught SIGTERM - shutting down... Apr 27 09:53:33 xio99cdejump02 nrpe[5418]: Daemon shutdown [ OK ] Starting nrpe: Apr 27 09:53:33 xio99cdejump02 nrpe[5502]: INFO: SSL/TLS initialized. All network traffic will be encrypted. [ OK ] [root at xio99cdejump02 nagios]# Apr 27 09:53:33 xio99cdejump02 nrpe[5503]: Starting up daemon Apr 27 09:53:33 xio99cdejump02 nrpe[5503]: Warning: Daemon is configured to accept command arguments from clients! Apr 27 09:53:33 xio99cdejump02 nrpe[5503]: Listening for connections on port 5666 Apr 27 09:53:33 xio99cdejump02 nrpe[5503]: Allowing connections from: 127.0.0.1, 10.xxx.0.110 Command Config Lines /etc/nagios/nrpe.cfg command[check_users_count]=/usr/lib64/nagios/plugins/check_users -w 5 -c 10 command[check_load_avg]=/usr/lib64/nagios/plugins/check_load -w 15,10,5 -c 30,25,20 command[check_sda1]=/usr/lib64/nagios/plugins/check_disk -w 20% -c 10% -p /dev/sda1 command[check_swap_usage]=/usr/lib64/nagios/plugins/check_swap -w 20% -c 10% command[check_zombie_procs]=/usr/lib64/nagios/plugins/check_procs -w 5 -c 10 -s Z command[check_total_procs]=/usr/lib64/nagios/plugins/check_procs -w 150 -c 200 Monitoring Server: Nagios Plugins - v.1.4.16-5 Config files: ----------------------- define command{ command_name check_nrpe command_line $USER1$/check_nrpe -H $HOSTADDRESS$ -c $ARG1$ } ----------------------- define host { use linux-server host_name xio99cdejump02.example.com alias "xio99cdejump02" address "10.xxx.0.110" } define service { use generic-service host_name xio99cdejump02.example.com service_description CPU Load check_command check_nrpe!check_load_avg } define service { use generic-service host_name xio99cdejump02.example.com service_description Current Users check_command check_nrpe!check_users_count } define service { use generic-service host_name xio99cdejump02.example.com service_description Check Swap check_command check_nrpe!check_swap_usage } define service { use generic-service host_name xio99cdejump02.example.com service_description Free Space of sda1 check_command check_nrpe!check_sda1 } --------------------------- Thanks for any suggestions, Jim -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Try New Relic Now & We'll Send You this Cool Shirt New Relic is the only SaaS-based application performance monitoring service that delivers powerful full stack analytics. Optimize and monitor your browser, app, & servers with just a few lines of code. Try New Relic and get this awesome Nerd Life shirt! http://p.sf.net/sfu/newrelic_d2d_apr -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Edwin.Zoeller at ama-assn.org Sat Apr 27 17:54:53 2013 From: Edwin.Zoeller at ama-assn.org (Edwin Zoeller) Date: Sat, 27 Apr 2013 15:54:53 +0000 Subject: check_nrpe Connection refused by host In-Reply-To: <5A953EB53AE9D54A98C44EBF42C2878C058E0E@XIO99PRDXMB01.centric.com> References: <5A953EB53AE9D54A98C44EBF42C2878C058E0E@XIO99PRDXMB01.centric.com> Message-ID: If you have nrpe agents running on the remote hosts make sure that the deamon is running with the user ID of nagios. From: Jim Miller [mailto:jmiller at centricgroup.com] Sent: Saturday, April 27, 2013 10:24 AM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] check_nrpe Connection refused by host Hello everyone, I?m sure this is common issue. But I?m stumped. I can run check_nrpe from the command line on the monitoring server w/out any problem. But for all of the nrpe_checks the server runs, I see: LOGS: [1367058676] SERVICE NOTIFICATION: icingaadmin;xio99cdejump02.example.com;Free Space of sda1;CRITICAL;notify-service-by-email;Connection refused by host [1367059156] SERVICE NOTIFICATION: icingaadmin;xio99cdejump02.example.com;Current Users;CRITICAL;notify-service-by-email;Connection refused by host [1367059216] SERVICE NOTIFICATION: icingaadmin;xio99cdejump02.example.com;Total Processes;CRITICAL;notify-service-by-email;Connection refused by host [1367059276] SERVICE NOTIFICATION: icingaadmin;xio99cdejump02.example.com;Zombie Processes;CRITICAL;notify-service-by-email;Connection refused by host [1367059646] SERVICE NOTIFICATION: icingaadmin;xio99cdejump02.example.com;CPU Load;CRITICAL;notify-service-by-email;Connection refused by host MANUAL CHECKS: [root at xio99cdejump01 icinga]# /usr/lib64/nagios/plugins/check_nrpe -H xio99cdejump02.example.com -c check_users_count -a 5 10 USERS OK - 1 users currently logged in |users=1;5;10;0 [root at xio99cdejump01 icinga]# /usr/lib64/nagios/plugins/check_nrpe -H xio99cdejump02.example.com -c check_load_avg -a 15,10,5 30,25,20 OK - load average: 0.00, 0.00, 0.00|load1=0.000;15.000;30.000;0; load5=0.000;10.000;25.000;0; load15=0.000;5.000;20.000;0; [root at xio99cdejump01 icinga]# /usr/lib64/nagios/plugins/check_nrpe -H xio99cdejump02.example.com -c check_sda1 DISK OK - free space: /boot 379 MB (82% inode=99%);| /boot=79MB;387;435;0;484 [root at xio99cdejump01 icinga]# /usr/lib64/nagios/plugins/check_nrpe -H xio99cdejump02.example.com -c check_swap_usage SWAP OK - 100% free (5119 MB out of 5119 MB) |swap=5119MB;1023;511;0;5119 [root at xio99cdejump01 icinga]# /usr/lib64/nagios/plugins/check_nrpe -H xio99cdejump02.example.com -c check_zombie_procs PROCS OK: 0 processes with STATE = Z [root at xio99cdejump01 icinga]# /usr/lib64/nagios/plugins/check_nrpe -H xio99cdejump02.example.com -c check_total_procs PROCS OK: 106 processes ========================== Monitored Client: RHEL 6.3 NRPE - nrpe-2.13-1.el6.x86_64 [root at xio99cdejump02 nagios]# netstat -anp |grep nrpe tcp 0 0 0.0.0.0:5666 0.0.0.0:* LISTEN 5418/nrpe [root at xio99cdejump02 nagios]# /etc/init.d/nrpe restart Shutting down nrpe: Apr 27 09:53:33 xio99cdejump02 nrpe[5418]: Caught SIGTERM - shutting down... Apr 27 09:53:33 xio99cdejump02 nrpe[5418]: Daemon shutdown [ OK ] Starting nrpe: Apr 27 09:53:33 xio99cdejump02 nrpe[5502]: INFO: SSL/TLS initialized. All network traffic will be encrypted. [ OK ] [root at xio99cdejump02 nagios]# Apr 27 09:53:33 xio99cdejump02 nrpe[5503]: Starting up daemon Apr 27 09:53:33 xio99cdejump02 nrpe[5503]: Warning: Daemon is configured to accept command arguments from clients! Apr 27 09:53:33 xio99cdejump02 nrpe[5503]: Listening for connections on port 5666 Apr 27 09:53:33 xio99cdejump02 nrpe[5503]: Allowing connections from: 127.0.0.1, 10.xxx.0.110 Command Config Lines /etc/nagios/nrpe.cfg command[check_users_count]=/usr/lib64/nagios/plugins/check_users -w 5 -c 10 command[check_load_avg]=/usr/lib64/nagios/plugins/check_load -w 15,10,5 -c 30,25,20 command[check_sda1]=/usr/lib64/nagios/plugins/check_disk -w 20% -c 10% -p /dev/sda1 command[check_swap_usage]=/usr/lib64/nagios/plugins/check_swap -w 20% -c 10% command[check_zombie_procs]=/usr/lib64/nagios/plugins/check_procs -w 5 -c 10 -s Z command[check_total_procs]=/usr/lib64/nagios/plugins/check_procs -w 150 -c 200 Monitoring Server: Nagios Plugins ? v.1.4.16-5 Config files: ----------------------- define command{ command_name check_nrpe command_line $USER1$/check_nrpe -H $HOSTADDRESS$ -c $ARG1$ } ----------------------- define host { use linux-server host_name xio99cdejump02.example.com alias "xio99cdejump02" address "10.xxx.0.110" } define service { use generic-service host_name xio99cdejump02.example.com service_description CPU Load check_command check_nrpe!check_load_avg } define service { use generic-service host_name xio99cdejump02.example.com service_description Current Users check_command check_nrpe!check_users_count } define service { use generic-service host_name xio99cdejump02.example.com service_description Check Swap check_command check_nrpe!check_swap_usage } define service { use generic-service host_name xio99cdejump02.example.com service_description Free Space of sda1 check_command check_nrpe!check_sda1 } --------------------------- Thanks for any suggestions, Jim -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Try New Relic Now & We'll Send You this Cool Shirt New Relic is the only SaaS-based application performance monitoring service that delivers powerful full stack analytics. Optimize and monitor your browser, app, & servers with just a few lines of code. Try New Relic and get this awesome Nerd Life shirt! http://p.sf.net/sfu/newrelic_d2d_apr -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mattias.ryrlen at op5.com Sat Apr 27 19:23:17 2013 From: mattias.ryrlen at op5.com (=?ISO-8859-1?Q?Mattias_Ryrl=E9n?=) Date: Sat, 27 Apr 2013 19:23:17 +0200 Subject: check_nrpe Connection refused by host In-Reply-To: References: <5A953EB53AE9D54A98C44EBF42C2878C058E0E@XIO99PRDXMB01.centric.com> Message-ID: can you run check_nrpe locally on the host? can you run check_nrpe -H and no arguments? firewall issues? selinux on target host? some things that popped out of my head. On Sat, Apr 27, 2013 at 5:54 PM, Edwin Zoeller wrote: > If you have nrpe agents running on the remote hosts make sure that the > deamon is running with the user ID of nagios. > > *From*: Jim Miller [mailto:jmiller at centricgroup.com] > *Sent*: Saturday, April 27, 2013 10:24 AM > *To*: nagios-users at lists.sourceforge.net < > nagios-users at lists.sourceforge.net> > *Subject*: [Nagios-users] check_nrpe Connection refused by host > > > Hello everyone,**** > > ** ** > > I?m sure this is common issue. But I?m stumped. I can run check_nrpe > from the command line on the monitoring server w/out any problem. But for > all of the nrpe_checks the server runs, I see:**** > > ** ** > > *LOGS:* > > [1367058676] SERVICE NOTIFICATION: icingaadmin;xio99cdejump02.example.com;Free > Space of sda1;CRITICAL;notify-service-by-email;Connection refused by host* > *** > > [1367059156] SERVICE NOTIFICATION: icingaadmin;xio99cdejump02.example.com;Current > Users;CRITICAL;notify-service-by-email;Connection refused by host**** > > [1367059216] SERVICE NOTIFICATION: icingaadmin;xio99cdejump02.example.com;Total > Processes;CRITICAL;notify-service-by-email;Connection refused by host**** > > [1367059276] SERVICE NOTIFICATION: icingaadmin;xio99cdejump02.example.com;Zombie > Processes;CRITICAL;notify-service-by-email;Connection refused by host**** > > [1367059646] SERVICE NOTIFICATION: icingaadmin;xio99cdejump02.example.com;CPU > Load;CRITICAL;notify-service-by-email;Connection refused by host**** > > ** ** > > *MANUAL CHECKS:* > > [root at xio99cdejump01 icinga]# /usr/lib64/nagios/plugins/check_nrpe -H > xio99cdejump02.example.com -c check_users_count -a 5 10**** > > USERS OK - 1 users currently logged in |users=1;5;10;0**** > > ** ** > > [root at xio99cdejump01 icinga]# /usr/lib64/nagios/plugins/check_nrpe -H > xio99cdejump02.example.com -c check_load_avg -a 15,10,5 30,25,20**** > > OK - load average: 0.00, 0.00, 0.00|load1=0.000;15.000;30.000;0; > load5=0.000;10.000;25.000;0; load15=0.000;5.000;20.000;0;**** > > ** ** > > [root at xio99cdejump01 icinga]# /usr/lib64/nagios/plugins/check_nrpe -H > xio99cdejump02.example.com -c check_sda1**** > > DISK OK - free space: /boot 379 MB (82% inode=99%);| > /boot=79MB;387;435;0;484**** > > ** ** > > [root at xio99cdejump01 icinga]# /usr/lib64/nagios/plugins/check_nrpe -H > xio99cdejump02.example.com -c check_swap_usage**** > > SWAP OK - 100% free (5119 MB out of 5119 MB) |swap=5119MB;1023;511;0;5119* > *** > > ** ** > > [root at xio99cdejump01 icinga]# /usr/lib64/nagios/plugins/check_nrpe -H > xio99cdejump02.example.com -c check_zombie_procs**** > > PROCS OK: 0 processes with STATE = Z**** > > ** ** > > [root at xio99cdejump01 icinga]# /usr/lib64/nagios/plugins/check_nrpe -H > xio99cdejump02.example.com -c check_total_procs**** > > PROCS OK: 106 processes**** > > ** ** > > ==========================**** > > Monitored Client:**** > > RHEL 6.3**** > > NRPE - nrpe-2.13-1.el6.x86_64**** > > ** ** > > [root at xio99cdejump02 nagios]# netstat -anp |grep nrpe**** > > tcp 0 0 0.0.0.0:5666 0.0.0.0:* > LISTEN 5418/nrpe**** > > ** ** > > ** ** > > [root at xio99cdejump02 nagios]# /etc/init.d/nrpe restart**** > > Shutting down nrpe: Apr 27 09:53:33 xio99cdejump02 nrpe[5418]: Caught > SIGTERM - shutting down...**** > > Apr 27 09:53:33 xio99cdejump02 nrpe[5418]: Daemon shutdown**** > > [ OK ]**** > > Starting nrpe: Apr 27 09:53:33 xio99cdejump02 nrpe[5502]: INFO: SSL/TLS > initialized. All network traffic will be encrypted.**** > > [ OK ]**** > > [root at xio99cdejump02 nagios]# Apr 27 09:53:33 xio99cdejump02 nrpe[5503]: > Starting up daemon**** > > Apr 27 09:53:33 xio99cdejump02 nrpe[5503]: Warning: Daemon is configured > to accept command arguments from clients!**** > > Apr 27 09:53:33 xio99cdejump02 nrpe[5503]: Listening for connections on > port 5666**** > > Apr 27 09:53:33 xio99cdejump02 nrpe[5503]: Allowing connections from: > 127.0.0.1, 10.xxx.0.110**** > > ** ** > > *Command Config Lines /etc/nagios/nrpe.cfg* > command[check_users_count]=/usr/lib64/nagios/plugins/check_users -w 5 -c 10 > **** > > command[check_load_avg]=/usr/lib64/nagios/plugins/check_load -w 15,10,5 -c > 30,25,20**** > > command[check_sda1]=/usr/lib64/nagios/plugins/check_disk -w 20% -c 10% -p > /dev/sda1**** > > command[check_swap_usage]=/usr/lib64/nagios/plugins/check_swap -w 20% -c > 10%**** > > command[check_zombie_procs]=/usr/lib64/nagios/plugins/check_procs -w 5 -c > 10 -s Z**** > > command[check_total_procs]=/usr/lib64/nagios/plugins/check_procs -w 150 -c > 200**** > > ** ** > > Monitoring Server:**** > > Nagios Plugins ? v.1.4.16-5**** > > ** ** > > Config files:**** > > -----------------------**** > > define command{**** > > command_name check_nrpe**** > > command_line $USER1$/check_nrpe -H $HOSTADDRESS$ -c $ARG1$**** > > }**** > > -----------------------**** > > ** ** > > define host {**** > > use linux-server**** > > host_name xio99cdejump02.example.com**** > > alias "xio99cdejump02"**** > > address "10.xxx.0.110"**** > > }**** > > ** ** > > define service {**** > > use generic-service**** > > host_name xio99cdejump02.example.com**** > > service_description CPU Load**** > > check_command check_nrpe!check_load_avg**** > > }**** > > ** ** > > define service {**** > > use generic-service**** > > host_name xio99cdejump02.example.com**** > > service_description Current Users**** > > check_command check_nrpe!check_users_count**** > > }**** > > ** ** > > define service {**** > > use generic-service**** > > host_name xio99cdejump02.example.com**** > > service_description Check Swap**** > > check_command check_nrpe!check_swap_usage**** > > }**** > > ** ** > > define service {**** > > use generic-service**** > > host_name xio99cdejump02.example.com**** > > service_description Free Space of sda1**** > > check_command check_nrpe!check_sda1**** > > }**** > > ** ** > > ---------------------------**** > > ** ** > > Thanks for any suggestions,**** > > Jim**** > > ** ** > > > ------------------------------------------------------------------------------ > Try New Relic Now & We'll Send You this Cool Shirt > New Relic is the only SaaS-based application performance monitoring service > that delivers powerful full stack analytics. Optimize and monitor your > browser, app, & servers with just a few lines of code. Try New Relic > and get this awesome Nerd Life shirt! http://p.sf.net/sfu/newrelic_d2d_apr > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > -- V?nliga h?lsningar / Best Regards Mattias Ryrl?n __________________________ op5 AB F?rsta L?nggatan 19 SE-413 27 G?teborg Mobil: +46 735-17 70 99 Support: +46 31-774 09 24 www.op5.com -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Try New Relic Now & We'll Send You this Cool Shirt New Relic is the only SaaS-based application performance monitoring service that delivers powerful full stack analytics. Optimize and monitor your browser, app, & servers with just a few lines of code. Try New Relic and get this awesome Nerd Life shirt! http://p.sf.net/sfu/newrelic_d2d_apr -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ck at claudiokuenzler.com Sun Apr 28 12:20:07 2013 From: ck at claudiokuenzler.com (Claudio Kuenzler) Date: Sun, 28 Apr 2013 12:20:07 +0200 Subject: Alert Precedence In-Reply-To: References: Message-ID: Please paste the config of the host and the service from which you received the notification (in UI -> show config). Also show the relevant entries of the Nagios event log. On Thu, Apr 25, 2013 at 5:50 PM, Net Warrior wrote: > Hi > I reviewed my alerts and increased the service check interval as this: > > this is the service > > notifications_enabled 1 > notification_options w,c > notification_period 24x7 > check_period 24x7 > check_interval 10 > max_check_attempts 3 > first_notification_delay 0 > notification_interval 15 > > This is the host: > > check_interval 1 > check_period 24x7 > notification_period 24x7 > max_check_attempts 3 > notification_interval 10 > flap_detection_enabled 0 > first_notification_delay 0 > > > So, the host is checked every one minute and on the third failure the > alert gets fired, for the service I increased it to check every 10 minutes, > so in theory the hosts check happens firts withing 3 minutes, as the > service is checked every 10 I should not get any alert on them, but I still > get the service notifications after the hosts is down. > > Any help appreciated. > Thanks for your time and support. > > > 2013/4/8 Claudio Kuenzler > >> This is a "basic dependency" in Nagios. When the host is down (hard) then >> you won't receive any alerts for the services defined in this host. >> What is likely in your case, is that you have scheduled the service >> checks more often or faster to alert before the host check. This will >> result in some alerts of services before the actual host down alert comes. >> You should check out the event log to determine which checks happened >> faster to become a hard critical state. >> >> >> On Mon, Apr 8, 2013 at 5:43 PM, Net Warrior wrote: >> >>> Hi guys. >>> >>> I've got a doubt regarding the alerts definitions, I have defined >>> several alerts for a host, for example one of them is to check if the host >>> is up or down, when the host is down I get the alert as usual ans so on, >>> but the other alerts get fired as well, service alerts, my question is, if >>> is there a way to tell nagios, if the server is down, do not tigger the >>> other alerts cuz of course are gonna fail? >>> >>> Thanks for your time and support >>> Best Regards >>> >>> >>> ------------------------------------------------------------------------------ >>> Minimize network downtime and maximize team effectiveness. >>> Reduce network management and security costs.Learn how to hire >>> the most talented Cisco Certified professionals. Visit the >>> Employer Resources Portal >>> http://www.cisco.com/web/learning/employer_resources/index.html >>> _______________________________________________ >>> Nagios-users mailing list >>> Nagios-users at lists.sourceforge.net >>> https://lists.sourceforge.net/lists/listinfo/nagios-users >>> ::: Please include Nagios version, plugin version (-v) and OS when >>> reporting any issue. >>> ::: Messages without supporting info will risk being sent to /dev/null >>> >> >> >> >> ------------------------------------------------------------------------------ >> Minimize network downtime and maximize team effectiveness. >> Reduce network management and security costs.Learn how to hire >> the most talented Cisco Certified professionals. Visit the >> Employer Resources Portal >> http://www.cisco.com/web/learning/employer_resources/index.html >> _______________________________________________ >> Nagios-users mailing list >> Nagios-users at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/nagios-users >> ::: Please include Nagios version, plugin version (-v) and OS when >> reporting any issue. >> ::: Messages without supporting info will risk being sent to /dev/null >> > > > > ------------------------------------------------------------------------------ > Try New Relic Now & We'll Send You this Cool Shirt > New Relic is the only SaaS-based application performance monitoring service > that delivers powerful full stack analytics. Optimize and monitor your > browser, app, & servers with just a few lines of code. Try New Relic > and get this awesome Nerd Life shirt! http://p.sf.net/sfu/newrelic_d2d_apr > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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: -------------- next part -------------- ------------------------------------------------------------------------------ Try New Relic Now & We'll Send You this Cool Shirt New Relic is the only SaaS-based application performance monitoring service that delivers powerful full stack analytics. Optimize and monitor your browser, app, & servers with just a few lines of code. Try New Relic and get this awesome Nerd Life shirt! http://p.sf.net/sfu/newrelic_d2d_apr -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ck at claudiokuenzler.com Sun Apr 28 12:20:56 2013 From: ck at claudiokuenzler.com (Claudio Kuenzler) Date: Sun, 28 Apr 2013 12:20:56 +0200 Subject: Alert Precedence In-Reply-To: References: Message-ID: Oops, didn't see your second answer where you said you found it. Sorry. On Sun, Apr 28, 2013 at 12:20 PM, Claudio Kuenzler wrote: > Please paste the config of the host and the service from which you > received the notification (in UI -> show config). > Also show the relevant entries of the Nagios event log. > > On Thu, Apr 25, 2013 at 5:50 PM, Net Warrior wrote: > >> Hi >> I reviewed my alerts and increased the service check interval as this: >> >> this is the service >> >> notifications_enabled 1 >> notification_options w,c >> notification_period 24x7 >> check_period 24x7 >> check_interval 10 >> max_check_attempts 3 >> first_notification_delay 0 >> notification_interval 15 >> >> This is the host: >> >> check_interval 1 >> check_period 24x7 >> notification_period 24x7 >> max_check_attempts 3 >> notification_interval 10 >> flap_detection_enabled 0 >> first_notification_delay 0 >> >> >> So, the host is checked every one minute and on the third failure the >> alert gets fired, for the service I increased it to check every 10 minutes, >> so in theory the hosts check happens firts withing 3 minutes, as the >> service is checked every 10 I should not get any alert on them, but I still >> get the service notifications after the hosts is down. >> >> Any help appreciated. >> Thanks for your time and support. >> >> >> 2013/4/8 Claudio Kuenzler >> >>> This is a "basic dependency" in Nagios. When the host is down (hard) >>> then you won't receive any alerts for the services defined in this host. >>> What is likely in your case, is that you have scheduled the service >>> checks more often or faster to alert before the host check. This will >>> result in some alerts of services before the actual host down alert comes. >>> You should check out the event log to determine which checks happened >>> faster to become a hard critical state. >>> >>> >>> On Mon, Apr 8, 2013 at 5:43 PM, Net Warrior wrote: >>> >>>> Hi guys. >>>> >>>> I've got a doubt regarding the alerts definitions, I have defined >>>> several alerts for a host, for example one of them is to check if the host >>>> is up or down, when the host is down I get the alert as usual ans so on, >>>> but the other alerts get fired as well, service alerts, my question is, if >>>> is there a way to tell nagios, if the server is down, do not tigger the >>>> other alerts cuz of course are gonna fail? >>>> >>>> Thanks for your time and support >>>> Best Regards >>>> >>>> >>>> ------------------------------------------------------------------------------ >>>> Minimize network downtime and maximize team effectiveness. >>>> Reduce network management and security costs.Learn how to hire >>>> the most talented Cisco Certified professionals. Visit the >>>> Employer Resources Portal >>>> http://www.cisco.com/web/learning/employer_resources/index.html >>>> _______________________________________________ >>>> Nagios-users mailing list >>>> Nagios-users at lists.sourceforge.net >>>> https://lists.sourceforge.net/lists/listinfo/nagios-users >>>> ::: Please include Nagios version, plugin version (-v) and OS when >>>> reporting any issue. >>>> ::: Messages without supporting info will risk being sent to /dev/null >>>> >>> >>> >>> >>> ------------------------------------------------------------------------------ >>> Minimize network downtime and maximize team effectiveness. >>> Reduce network management and security costs.Learn how to hire >>> the most talented Cisco Certified professionals. Visit the >>> Employer Resources Portal >>> http://www.cisco.com/web/learning/employer_resources/index.html >>> _______________________________________________ >>> Nagios-users mailing list >>> Nagios-users at lists.sourceforge.net >>> https://lists.sourceforge.net/lists/listinfo/nagios-users >>> ::: Please include Nagios version, plugin version (-v) and OS when >>> reporting any issue. >>> ::: Messages without supporting info will risk being sent to /dev/null >>> >> >> >> >> ------------------------------------------------------------------------------ >> Try New Relic Now & We'll Send You this Cool Shirt >> New Relic is the only SaaS-based application performance monitoring >> service >> that delivers powerful full stack analytics. Optimize and monitor your >> browser, app, & servers with just a few lines of code. Try New Relic >> and get this awesome Nerd Life shirt! >> http://p.sf.net/sfu/newrelic_d2d_apr >> >> _______________________________________________ >> Nagios-users mailing list >> Nagios-users at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/nagios-users >> ::: 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: -------------- next part -------------- ------------------------------------------------------------------------------ Try New Relic Now & We'll Send You this Cool Shirt New Relic is the only SaaS-based application performance monitoring service that delivers powerful full stack analytics. Optimize and monitor your browser, app, & servers with just a few lines of code. Try New Relic and get this awesome Nerd Life shirt! http://p.sf.net/sfu/newrelic_d2d_apr -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ricardo.leite at pbh.gov.br Sun Apr 28 19:33:41 2013 From: ricardo.leite at pbh.gov.br (Ricardo Jose Teixeira Leite) Date: Sun, 28 Apr 2013 14:33:41 -0300 Subject: Servers Inodes from nagios server Message-ID: Hi! I?m tryin to use the check_disk pluggin from my nagios server to monitore the inode of my other servers disks. But plugin only returns the local server inode. How to....? please help me Att., check_disk -w 10% -c 5% -p /tmp -p /var -C -w 100000 -c 50000 -p / Checks /tmp and /var at 10% and 5%, and / at 100MB and 50MB check_disk -w 100 -c 50 -C -w 1000 -c 500 -g sidDATA -r '^/oracle/SID/data.*$' Checks all filesystems not matching -r at 100M and 50M. The fs matching the -r regex are grouped which means the freespace thresholds are applied to all disks together check_disk -w 100 -c 50 -C -w 1000 -c 500 -p /foo -C -w 5% -c 3% -p /bar Checks /foo for 1000M/500M and /bar for 5/3%. All remaining volumes use 100M/50M -- *Ricardo Jos? Teixeira Leite GMMR - Ger?ncia de Monitora??o e Gest?o** **+55 31 3277 8317* * PRODABEL* *Empresa de Inform?tica e Informa??o* *do Munic?pio de Belo Horizonte S/A* * * *Av. Presidente Carlos Luz, 1275* *Cai?ara - Belo Horizonte - MG* *CEP: 31.230-000* ** ** * * "Esta mensagem ? enviada exclusivamente a seu(s) destinat?rio(s) e pode conter informa??es confidenciais, protegidas por sigilo profissional. Sua utiliza??o desautorizada ? ilegal e sujeita o infrator ?s penas da lei. Se voc? a recebeu indevidamente, queira, por gentileza, reenvi?-la ao emitente, esclarecendo o equ?voco. Caso queira relatar o mau uso deste instrumento, favor entrar em contato com a Superintend?ncia de Monitora??o e Gest?o da PRODABEL." "This message is sent exclusively to its intended recipient(s) and may contain confidential and privileged information protected by professional secrecy. Their non-authorized use subjects offenders to the penalties of law. If you have improperly received it, kindly redispatch it to the sender, clarifying the error. If you want to report the misuse of this instrument, kindly contact the Superintendence of Monitoration and manageament of PRODABEL." "S? imprima esta mensagem se for realmente necess?rio. Contribua com a preserva??o do meio-ambiente." "Please refrain from printing this message unless it is really necessary. Contribute to preserving the environment." -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Try New Relic Now & We'll Send You this Cool Shirt New Relic is the only SaaS-based application performance monitoring service that delivers powerful full stack analytics. Optimize and monitor your browser, app, & servers with just a few lines of code. Try New Relic and get this awesome Nerd Life shirt! http://p.sf.net/sfu/newrelic_d2d_apr -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From sunil at sunil.cc Sun Apr 28 20:03:36 2013 From: sunil at sunil.cc (Sunil Sankar) Date: Sun, 28 Apr 2013 23:33:36 +0530 Subject: Servers Inodes from nagios server In-Reply-To: References: Message-ID: Please install nrpe and nagios plugin on the remote machine and then run check_nrpe -H -c check_disks followed by argument ;) On Sun, Apr 28, 2013 at 11:03 PM, Ricardo Jose Teixeira Leite < ricardo.leite at pbh.gov.br> wrote: > Hi! > > I?m tryin to use the check_disk pluggin from my nagios server to monitore the > > inode of my other servers disks. But plugin only returns the local server inode. > > How to....? > > please help me > > Att., > > > > check_disk -w 10% -c 5% -p /tmp -p /var -C -w 100000 -c 50000 -p / > Checks /tmp and /var at 10% and 5%, and / at 100MB and 50MB > check_disk -w 100 -c 50 -C -w 1000 -c 500 -g sidDATA -r '^/oracle/SID/data.*$' > Checks all filesystems not matching -r at 100M and 50M. The fs matching the -r regex > are grouped which means the freespace thresholds are applied to all disks together > check_disk -w 100 -c 50 -C -w 1000 -c 500 -p /foo -C -w 5% -c 3% -p /bar > Checks /foo for 1000M/500M and /bar for 5/3%. All remaining volumes use 100M/50M > > > > -- > *Ricardo Jos? Teixeira Leite > GMMR - Ger?ncia de Monitora??o e Gest?o** > **+55 31 3277 8317* > * > PRODABEL* > *Empresa de Inform?tica e Informa??o* > *do Munic?pio de Belo Horizonte S/A* > * > * > *Av. Presidente Carlos Luz, 1275* > *Cai?ara - Belo Horizonte - MG* > *CEP: 31.230-000* > ** > ** > * > * > "Esta mensagem ? enviada exclusivamente a seu(s) destinat?rio(s) e pode > conter informa??es confidenciais, protegidas por sigilo profissional. Sua > utiliza??o desautorizada ? ilegal e sujeita o infrator ?s penas da lei. Se > voc? a recebeu indevidamente, queira, por gentileza, reenvi?-la ao > emitente, esclarecendo o equ?voco. Caso queira relatar o mau uso deste > instrumento, favor entrar em contato com a Superintend?ncia de Monitora??o > e Gest?o da PRODABEL." > > "This message is sent exclusively to its intended recipient(s) and may > contain confidential and privileged information protected by professional > secrecy. Their non-authorized use subjects offenders to the penalties of > law. If you have improperly received it, kindly redispatch it to the > sender, clarifying the error. If you want to report the misuse of this > instrument, kindly contact the Superintendence of Monitoration and > manageament of PRODABEL." > > "S? imprima esta mensagem se for realmente necess?rio. Contribua com a > preserva??o do meio-ambiente." > > "Please refrain from printing this message unless it is really necessary. > Contribute to preserving the environment." > > > ------------------------------------------------------------------------------ > Try New Relic Now & We'll Send You this Cool Shirt > New Relic is the only SaaS-based application performance monitoring service > that delivers powerful full stack analytics. Optimize and monitor your > browser, app, & servers with just a few lines of code. Try New Relic > and get this awesome Nerd Life shirt! http://p.sf.net/sfu/newrelic_d2d_apr > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > -- Regards Sunil Sankar -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Try New Relic Now & We'll Send You this Cool Shirt New Relic is the only SaaS-based application performance monitoring service that delivers powerful full stack analytics. Optimize and monitor your browser, app, & servers with just a few lines of code. Try New Relic and get this awesome Nerd Life shirt! http://p.sf.net/sfu/newrelic_d2d_apr -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From aimanparvaiz at gmail.com Tue Apr 30 01:47:31 2013 From: aimanparvaiz at gmail.com (aiman parvaiz) Date: Mon, 29 Apr 2013 16:47:31 -0700 Subject: nagios volatile service and system time change warning Message-ID: I have a nagios service with volatile option on (executes event handler every time it encounters a non-ok hard state). Problem is that if the event handler executes for 2-3 times (that is the expected behaviour) nagios complaints in the log file Warning: A system time change of 0d 0h 14m 59s (forwards in time) has been detected. Compensating... After that nagios just freezes and nothing happens, even I try and restart nagios but again nothing happens ( I am unable to force check that service either ). This nagios server in in EC2. I did read about Xen being the culprit in this Server Fault question link but couldn't find a solution, can any one please help me resolve this issue. Any help would be appreciated here. Thanks -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Try New Relic Now & We'll Send You this Cool Shirt New Relic is the only SaaS-based application performance monitoring service that delivers powerful full stack analytics. Optimize and monitor your browser, app, & servers with just a few lines of code. Try New Relic and get this awesome Nerd Life shirt! http://p.sf.net/sfu/newrelic_d2d_apr -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null