[Nagios-users] check_snmp_mem.pl and cisco fast memory
Hi, Cisco says that their fast memory on their switches is meant to fill up, and having full fast memory is not an error condition. (See http://www.cisco.com/en/US/products/sw/iosswrel/ps1831/products_tech_note09186a00800a6f3a.shtml for a reference.) Most Cisco devices don't have fast memory, but some of ours do, so we keep generating errors. I don't care if fast memory is 99% full, but I care if other memory is. The below patches check_snmp_mem.pl version 1.5 to skip fast memory. Not sure if anyone else has this problem, or if there's any interest in pulling this into the main program, but I at least wanted to get this in the mailing list archives for the next poor guy who stumbles over this. ==ml === --- /usr/local/libexec/nagios/check_snmp_mem.pl 2009-09-09 15:04:28.0 -0400 +++ check_snmp_mem.pl 2009-11-02 16:23:08.0 -0500 @@ -334,6 +334,9 @@ foreach my $key ( keys %$resultat) { verb(OID : $key, Desc : $$resultat{$key}); if ( $key =~ /$cisco_index/ ) { +if ($$resultat{$key} =~/Fast/) { + next; + } @oid=split (/\./,$key); $index[$nindex++] = pop(@oid); } === -- Michael W. Lucasmwlu...@blackhelicopters.org http://www.MichaelWLucas.com/ Latest book: Cisco Routers for the Desperate, 2nd Edition http://www.CiscoRoutersForTheDesperate.com/ -- Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
Re: [Nagios-users] change service check timeout in Nagios
On Mon, Jun 29, 2009 at 03:44:01PM -0500, Marc Powell wrote: On Jun 29, 2009, at 2:46 PM, Michael W. Lucas wrote: Surely there's a built-in way to tell Nagios that either a particular check can take longer, or increase the 10-second timeout within Nagios itself? The service_check_timeout value kills runaway processes, which this isn't. But that's what you need to change. Think of it as the maximum amount of time a plugin is allowed to run if the plugin doesn't terminate itself within a reasonable amount of time. Misbehaving plugins are just the most common reason to hit this timeout. It should be set higher than the longest expected running time for any of your plugins. Thanks for your response. The following settings have been my nagios config for months now: service_check_timeout=180 host_check_timeout=60 I would expect that a service check plugin would be allowed to run for 3 minutes. But the Web interface and log still show: CRITICAL - Plugin timed out after 10 seconds Obviously, I'm missing something somewhere? Do any other config settings interact with this somehow? This is with 3.0.6 on FreeBSD 7.2 i386, BTW. Thanks, ==ml -- Michael W. Lucasmwlu...@blackhelicopters.org, mwlu...@freebsd.org http://www.BlackHelicopters.org/~mwlucas/ Latest book: Cisco Routers for the Desperate, 2nd Edition http://www.CiscoRoutersForTheDesperate.com/ -- ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
Re: [Nagios-users] change service check timeout in Nagios
On Tue, Jun 30, 2009 at 10:10:40AM -0400, Michael W. Lucas wrote: On Mon, Jun 29, 2009 at 03:44:01PM -0500, Marc Powell wrote: On Jun 29, 2009, at 2:46 PM, Michael W. Lucas wrote: Surely there's a built-in way to tell Nagios that either a particular check can take longer, or increase the 10-second timeout within Nagios itself? The service_check_timeout value kills runaway processes, which this isn't. But that's what you need to change. Think of it as the maximum amount of time a plugin is allowed to run if the plugin doesn't terminate itself within a reasonable amount of time. Misbehaving plugins are just the most common reason to hit this timeout. It should be set higher than the longest expected running time for any of your plugins. Thanks for your response. The following settings have been my nagios config for months now: service_check_timeout=180 host_check_timeout=60 I would expect that a service check plugin would be allowed to run for 3 minutes. But the Web interface and log still show: CRITICAL - Plugin timed out after 10 seconds Obviously, I'm missing something somewhere? Do any other config settings interact with this somehow? This is with 3.0.6 on FreeBSD 7.2 i386, BTW. Lucas smacks his own forehead and says bad things about his own upbringing Posted so that an answer appears in the archives. I'm using negate -u CRITICAL in front of my check. negate has its own timeout value that must be set to extend the life of a check! Not a Nagios issue at all. ==ml -- Michael W. Lucasmwlu...@blackhelicopters.org, mwlu...@freebsd.org http://www.BlackHelicopters.org/~mwlucas/ Latest book: Cisco Routers for the Desperate, 2nd Edition http://www.CiscoRoutersForTheDesperate.com/ -- ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
[Nagios-users] change service check timeout in Nagios
Hi, It appears that numerous people have had this issue, but most of them have it because they're doing something else wrong or have other issues. I have a check that legitimately takes longer than 10 seconds to complete, and none of the documentation or archives appear relevant. I run check_vrrp against hardware on the other side of the world. (I've suggested that I install a monitor closer to the remote equipment, but that's just not feasible right now.) Running check_vrrp by hand gets me an answer in 14-17 seconds. # /usr/bin/time -h /usr/local/libexec/nagios/check_snmp_vrrp.pl -H hostname -C community -s backup -t 20 8 vrid backup :OK 14.58s real 0.43s user 0.17s sys # When I use this plugin in Nagios, however, it errors out with: CRITICAL - Plugin timed out after 10 seconds Yes, I know it times out in 10 seconds. The plugin takes 14-17 seconds to run. The timeout appears to be within Nagios itself, as the script doesn't time itself out. Surely there's a built-in way to tell Nagios that either a particular check can take longer, or increase the 10-second timeout within Nagios itself? The service_check_timeout value kills runaway processes, which this isn't. I know increasing the timeout would impact my performance for my other apps, but I have a separate Nagios instance for these devices. If I can't change the timeout I'll write an external script that runs the program and forwards the results to Nagios as a passive check, but that seems unnecessarily cumbersome. Any suggestions? Am I missing something in the documentation? Any help appreciated, ==ml -- Michael W. Lucasmwlu...@blackhelicopters.org, mwlu...@freebsd.org http://www.BlackHelicopters.org/~mwlucas/ Latest book: Cisco Routers for the Desperate, 2nd Edition http://www.CiscoRoutersForTheDesperate.com/ -- ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
[Nagios-users] trimming nagvis database via cron
Hi, After a few months of use, our NagVis database grew to 23GB and overwhelmed my (tiny) server. Shutting down the system, dropping the database, and recreating it solved my issues. Surely someone has already written a script to purge the NagVis database on a regular basis, trimming old data to keep the database at a reasonable size. If so, could you share it? I'm sure I can figure this out, but I can't believe that nobody else has had this issue. Thanks, ==ml -- Michael W. Lucasmwlu...@blackhelicopters.org, mwlu...@freebsd.org http://www.BlackHelicopters.org/~mwlucas/ Latest book: Cisco Routers for the Desperate, 2nd Edition http://www.CiscoRoutersForTheDesperate.com/ -- Crystal Reports - New Free Runtime and 30 Day Trial Check out the new simplified licensing option that enables unlimited royalty-free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
[Nagios-users] PNP performance
Hi, I have Nagios 3.0.6 on FreeBSD 7.1/amd64, with ~1500 services on ~250 hosts. I've been investigating replacing our MRTG setup with PNP. PNP runs fine, and we are keeping about 1450 MRTG graphs. Our plans call for at least doubling the number of services and graphs. Adding process_perfdata.pl has increased the system load from minimal to 10-20. I see that process_perfdata.pl will not run under ePN. Anyone out there have ways to reduce process_perfdata.pl's system load, short of rewriting it in C or making it ePN-friendly? Thanks, ==ml -- Michael W. Lucasmwlu...@blackhelicopters.org, mwlu...@freebsd.org http://www.BlackHelicopters.org/~mwlucas/ My pessimism extends to the point of even suspecting the sincerity of the pessimists. -- Jean Rostand, French biologist and philosopher -- Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM) software. With Adobe AIR, Ajax developers can use existing skills and code to build responsive, highly engaging applications that combine the power of local resources and data with the reach of the web. Download the Adobe AIR SDK and Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
Re: [Nagios-users] PNP performance
On Fri, Feb 06, 2009 at 07:03:36PM +0100, Joerg Linge wrote: Michael W. Lucas schrieb: Hi, I have Nagios 3.0.6 on FreeBSD 7.1/amd64, with ~1500 services on ~250 hosts. I've been investigating replacing our MRTG setup with PNP. PNP runs fine, and we are keeping about 1450 MRTG graphs. Our plans call for at least doubling the number of services and graphs. Adding process_perfdata.pl has increased the system load from minimal to 10-20. I see that process_perfdata.pl will not run under ePN. Anyone out there have ways to reduce process_perfdata.pl's system load, short of rewriting it in C or making it ePN-friendly? Do you already use the NPCD ? http://www.pnp4nagios.org/pnp/modes Yes, we use NPCD. It made it possible to get this far. :-) ==ml -- Michael W. Lucasmwlu...@blackhelicopters.org, mwlu...@freebsd.org http://www.BlackHelicopters.org/~mwlucas/ My pessimism extends to the point of even suspecting the sincerity of the pessimists. -- Jean Rostand, French biologist and philosopher -- Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM) software. With Adobe AIR, Ajax developers can use existing skills and code to build responsive, highly engaging applications that combine the power of local resources and data with the reach of the web. Download the Adobe AIR SDK and Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
[Nagios-users] check_fping timing
Hi, At times, latency rises on my network. I'm trying to give check_fping a high timeout, 10 seconds to warn and 12 for critical. It seems that check_fping returns too quickly, however. Here, I've cranked up the warn and critical levels to an absurd level for illustration purposes, and timed the process. # /usr/bin/time ./check_fping -H roxsw001 -w 100.0,80% -c 1200.0,100% -b 56 FPING CRITICAL - roxsw001 (loss=100% )|loss=100%;80;100;0;100 0.51 real 0.00 user 0.00 sys The check returns in half a second. Obviously, my timeout isn't working. Any thoughts on why this is, or what I can do? Surely someone else is checking hosts on an intermittently slow network? Thanks, ==ml -- Michael W. Lucas[EMAIL PROTECTED], [EMAIL PROTECTED] http://www.BlackHelicopters.org/~mwlucas/ My pessimism extends to the point of even suspecting the sincerity of the pessimists. -- Jean Rostand, French biologist and philosopher - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100url=/ ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
[Nagios-users] service dependencies on a single host?
Hi, I'm currently monitoring many services on certain hosts via SNMP, and making extensive use of host groups to ease configuration for my several hundred hosts. On occasion, the SNMP service on a host fails. This triggers dozens of alarms. I would like to have each service checked via SNMP depend on the base SNMP service, so that when SNMP fails I only get one alarm. I investigated service dependencies, but they don't seem amenable to hostgroup-friendly configuration. If I do something like: define servicedependency { hostgroup_name NetSnmpServers service_description Snmp dependent_host_name NetSnmpServers ... } that obviously isn't going to work. Surely other people have encountered this before? Any suggestions? Thanks, ==ml -- Michael W. Lucas[EMAIL PROTECTED], [EMAIL PROTECTED] http://www.BlackHelicopters.org/~mwlucas/ My pessimism extends to the point of even suspecting the sincerity of the pessimists. -- Jean Rostand, French biologist and philosopher - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100url=/ ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
[Nagios-users] pnp error: *** CRITICAL Timeout after 5 Sec. ****
Hi, I've searched on this problem, and haven't found anyone else experiencing it in any mailing list archive or forum. What could be causing these timeouts, and how badly are they harming my data? Details: I have PNP installed and almost working with NPCD on FreeBSD 7.0/amd64, with nagios 3.0.2. Nagios gathers perfdata and puts it in the perfcache. process_perfdata frequently runs, and puts data into RRDs. The process_perfdata.pl debugging log shows all sorts of successful updates, but then I get an entry like this: 2008-10-07 12:15:39 [62022] No Custom Template found for check_dcerpc (/usr/local/etc/pnp//check_commands/check_dcerpc.cfg) 2008-10-07 12:15:39 [62022] RRD Datatype is GAUGE 2008-10-07 12:15:39 [62022] Template is check_dcerpc.php 2008-10-07 12:15:39 [62022] data2rrd called 2008-10-07 12:15:39 [62022] RRDs::update /var/spool/nagios/pnp/rrd/viper025.am.local/Windows_DCERPC.rrd 1223396130:0.002143 2008-10-07 12:15:39 [62022] *** CRITICAL Timeout after 5 Sec. When this occurs a perfdata file remains, such as: service-perfdata.1223396254-PID-88114 This file is not deleted. Once NPCD thinks it's done, it processes these files again renames it to: service-perfdata.1223396194-PID-87765-PID-90732 If I let NPCD run, it eventually processes and removes all of these files. If these errors cause occasional blank spots in my graphs, that's OK; I can live with that while I investigate the timeouts. If they will cause obviously incorrect or misleading graphs, that's more serious and requires that I shut down user access to PNP until I debug it. (No data is better than wrong data!) Any thoughts, folks? Thanks, ==ml -- Michael W. Lucas[EMAIL PROTECTED], [EMAIL PROTECTED] http://www.BlackHelicopters.org/~mwlucas/ My pessimism extends to the point of even suspecting the sincerity of the pessimists. -- Jean Rostand, French biologist and philosopher - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100url=/ ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
Re: [Nagios-users] Controlling critical states with extended interface information
And to reply to my own message, for the archives' sake: use -a. This is a great plugin, but there are a whole pile of options... ==ml On Tue, Sep 16, 2008 at 05:12:17PM -0400, Michael W. Lucas wrote: Hi, I'm using the check_snmp_netint.pl plugin 2.21b on Nagios 3 to check for interface errors, as per assorted suggestions I got from this list. (Thank you all!) It's returning status and extended PNP info nicely. Right now, I'm using as so: $USER1$/check_snmp_netint.pl -l $USER3$ -x $USER7$ -X $USER8$ -H $HOSTADDRESS$ -w 0,0,0,0,0,0 -c 0,0,0,0,0,0 -n $ARG1$ -f -e -k -q -mm -F /usr/local/nagios/var/cache/$HOSTADDRESS$ $ARG1$ is something like ^F.+0/1\$ , for FastEthernet 0/1. I have established a service for each port on my test switch, and am setting up a hostgroup for each switch model. This way I can generate PNP traffic graphs for each interface. So far, so good. This is for closet switches, where clients might turn their PCs off for the night. I don't want an alarm for these actions, but I want to be proactive when I start seeing errors. I want to return CRITICAL or WARN as follows: -- If the port is down, return OK. -- If the port is up and shows no errors, return OK. -- If the port is up, but I am receiving errors or discards, return WARN or CRIT as per the threshold I set. It seems I should be able to do this with various combinations of -w and -c levels (say, setting the -c to 0,0,100,100,100,100, but that doesn't seem to work. Anyone using this plugin similarly? Thanks, ==ml -- Michael W. Lucas [EMAIL PROTECTED], [EMAIL PROTECTED] http://www.BlackHelicopters.org/~mwlucas/ My pessimism extends to the point of even suspecting the sincerity of the pessimists. -- Jean Rostand, French biologist and philosopher - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100url=/ ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null -- Michael W. Lucas[EMAIL PROTECTED], [EMAIL PROTECTED] http://www.BlackHelicopters.org/~mwlucas/ My pessimism extends to the point of even suspecting the sincerity of the pessimists. -- Jean Rostand, French biologist and philosopher - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100url=/ ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
[Nagios-users] Controlling critical states with extended interface information
Hi, I'm using the check_snmp_netint.pl plugin 2.21b on Nagios 3 to check for interface errors, as per assorted suggestions I got from this list. (Thank you all!) It's returning status and extended PNP info nicely. Right now, I'm using as so: $USER1$/check_snmp_netint.pl -l $USER3$ -x $USER7$ -X $USER8$ -H $HOSTADDRESS$ -w 0,0,0,0,0,0 -c 0,0,0,0,0,0 -n $ARG1$ -f -e -k -q -mm -F /usr/local/nagios/var/cache/$HOSTADDRESS$ $ARG1$ is something like ^F.+0/1\$ , for FastEthernet 0/1. I have established a service for each port on my test switch, and am setting up a hostgroup for each switch model. This way I can generate PNP traffic graphs for each interface. So far, so good. This is for closet switches, where clients might turn their PCs off for the night. I don't want an alarm for these actions, but I want to be proactive when I start seeing errors. I want to return CRITICAL or WARN as follows: -- If the port is down, return OK. -- If the port is up and shows no errors, return OK. -- If the port is up, but I am receiving errors or discards, return WARN or CRIT as per the threshold I set. It seems I should be able to do this with various combinations of -w and -c levels (say, setting the -c to 0,0,100,100,100,100, but that doesn't seem to work. Anyone using this plugin similarly? Thanks, ==ml -- Michael W. Lucas[EMAIL PROTECTED], [EMAIL PROTECTED] http://www.BlackHelicopters.org/~mwlucas/ My pessimism extends to the point of even suspecting the sincerity of the pessimists. -- Jean Rostand, French biologist and philosopher - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100url=/ ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
[Nagios-users] Changing contacts for the same service
Hi, I'm running a medium-sized Nagios setup (250 hosts, 700 services). Most of the hardware and software is configured identically, so monitoring is fairly straightforward. The one complication is mapping Nagios alerts onto people. I think I must be doing it the hard way, and I can't find a solution in the archives or docs. Summary: I want a global setting that says Both hosts and service alerts for system X go to this one contact group. We have different project teams to manage different groups of servers. Team A should only get the alerts for team A's hosts and services, team B should only get the alerts for team B's hosts and services, and so on. The teams, of course, are defined as contact groups. Each server has an associated contact group, that's easy. Services, however... I have defined services such as Team A C Drive Disk Space listing Team A as the contact group, then Team B C Drive Disk Space with team B as the contact group, and so on. Both services have the same check command. This has resulted in a massive proliferation of services. Surely there's some way to say that Both host and service alerts for system X go to this contact group? Thanks, ==ml -- Michael W. Lucas[EMAIL PROTECTED], [EMAIL PROTECTED] http://www.BlackHelicopters.org/~mwlucas/ Now Shipping: Absolute FreeBSD -- http://www.AbsoluteFreeBSD.com On 5/4/2007, the TSA kept 3 pairs of my soiled undies for security reasons. - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/ ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
Re: [Nagios-users] nagios-process with 100% CPU after update toNagios-2.10
On Thu, Jan 17, 2008 at 10:52:19PM +0100, Bernd Kuhlen wrote: Hi Jonathan I fixed it by rolling back to FreeBSD6.2, now Nagios is stable again. HELLO OUT THERE, PLEASE DO NOT TRY TO UPGRADE TO FREEBSD6.3 IF YOU'RE RUNNING NAGIOS! AT LEAST NOT AT THE MOMENT. Seems to be a serious bug. I'd definitely bring this up on the freebsd-stable mailing list, then. I'm running 2.10 on 6-stable and 8-current, no troubles. ==ml -- Michael W. Lucas[EMAIL PROTECTED], [EMAIL PROTECTED] http://www.BlackHelicopters.org/~mwlucas/ Now Shipping: Absolute FreeBSD -- http://www.AbsoluteFreeBSD.com On 5/4/2007, the TSA kept 3 pairs of my soiled undies for security reasons. - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/ ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
Re: [Nagios-users] Unknow status for a SNMP check
On Tue, Dec 18, 2007 at 02:52:51PM +0100, Pili Mu?oz Gargallo wrote: hi Stephen thanks for answering so soon yes, i sure it is the right version of SNMP. I am trying to get the value from the shell and i get: snmpget -v 1 -c public 62.81.189.117 .1.3.6.1.4.1.12394.1.1.6.5.1.4 Error in packet Reason: (noSuchName) There is no such variable name in this MIB. Failed object: SNMPv2-SMI::enterprises.12394.1.1.6.5.1.4 Are you sure that getif actually queried the host, or did it just show MIBs it found in its internal MIB files? Try an snmpwalk(1) instead, referring to a higher level of the tree, to see what the device is reporting. Perhaps: snmpwalk -v 1 -c public 62.81.189.117 .1.3.6.1.4.1.12394 ==ml -- Michael W. Lucas[EMAIL PROTECTED], [EMAIL PROTECTED] http://www.BlackHelicopters.org/~mwlucas/ Now Shipping: Absolute FreeBSD -- http://www.AbsoluteFreeBSD.com On 5/4/2007, the TSA kept 3 pairs of my soiled undies for security reasons. - SF.Net email is sponsored by: Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
Re: [Nagios-users] Monitoring Nagios
On Wed, Nov 28, 2007 at 02:52:13PM +0100, Mohr James wrote: Hi All! We had a problem the other day where the nagios process died and no one noticed it for over 30 minutes. Therefore, I was thinking about ways to monitor Nagios itself. One simply way would be a cronjob that checks if the nagios process is running and then uses yaps or something to send an SMS. But what about cases where the nagios process is running, but for whatever reason the messages are not being processed. I was thinking about setting up a service that is triggered by a cronjob and then sends a notification. This notification writes a flag file and every X minutes a cron job checks the age of the flag file. If the flag file is too old, it sends an SMS via yaps. Rather than re-invent the wheel, I was wondering if other people had already implemented something similar. Daemontools' supervise program will restart nagios if it crashes. http://cr.yp.to/daemontools.html In the event that supervise cannot restart the program, you can have it send an email. ==ml -- Michael W. Lucas[EMAIL PROTECTED], [EMAIL PROTECTED] http://www.BlackHelicopters.org/~mwlucas/ Now Shipping: Absolute FreeBSD -- http://www.AbsoluteFreeBSD.com On 5/4/2007, the TSA kept 3 pairs of my soiled undies for security reasons. - SF.Net email is sponsored by: The Future of Linux Business White Paper from Novell. From the desktop to the data center, Linux is going mainstream. Let it simplify your IT future. http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4 ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
Re: [Nagios-users] Plugin for monitoring FreeBSD for updates (like check_apt)?
On Tue, Nov 13, 2007 at 08:06:08AM +0100, Matthias Kellermann wrote: Michael W. Lucas schrieb: On Mon, Nov 12, 2007 at 04:42:40PM +0100, Matthias Kellermann wrote: Hi list, anyone knows of a Nagios plugin to check the FreeBSD ports and base system for updates? I'm searching for something like check_apt for Debian/Ubuntu. One important thing is that I also want to monitor all the FreeBSD jails for updates, too. Any help/hint appreciated :) None exists today. It should be fairly simple to write a NRPE wrapper around portmaster, however. I believe (but might be wrong) that net-snmp also has the ability to read the FreeBSD package database; you could run a snmpwalk on the target machine and compare that to a master package database. Good luck, and if you implement something be sure to let us know about it. Thanks for your answer Michael. I will see what I can do. If I have found/implemented something useful I will let you know. BTW: Looking forward for your new book coming out these days. Hope it will be released in Europe also on November 14th :) The book physically exists, and is being shipped to stores now. You should be able to find it any day now. I really need to change my .sig... ==ml -- Michael W. Lucas[EMAIL PROTECTED], [EMAIL PROTECTED] http://www.BlackHelicopters.org/~mwlucas/ Coming Soon: Absolute FreeBSD -- http://www.AbsoluteFreeBSD.com On 5/4/2007, the TSA kept 3 pairs of my soiled undies for security reasons. - This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now http://get.splunk.com/ ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
Re: [Nagios-users] Plugin for monitoring FreeBSD for updates (like check_apt)?
On Mon, Nov 12, 2007 at 04:42:40PM +0100, Matthias Kellermann wrote: Hi list, anyone knows of a Nagios plugin to check the FreeBSD ports and base system for updates? I'm searching for something like check_apt for Debian/Ubuntu. One important thing is that I also want to monitor all the FreeBSD jails for updates, too. Any help/hint appreciated :) None exists today. It should be fairly simple to write a NRPE wrapper around portmaster, however. I believe (but might be wrong) that net-snmp also has the ability to read the FreeBSD package database; you could run a snmpwalk on the target machine and compare that to a master package database. Good luck, and if you implement something be sure to let us know about it. ==ml Matthias - This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now http://get.splunk.com/ ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null -- Michael W. Lucas[EMAIL PROTECTED], [EMAIL PROTECTED] http://www.BlackHelicopters.org/~mwlucas/ Coming Soon: Absolute FreeBSD -- http://www.AbsoluteFreeBSD.com On 5/4/2007, the TSA kept 3 pairs of my soiled undies for security reasons. - This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now http://get.splunk.com/ ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
[Nagios-users] check_nt and nsclient++: treat unknown as critical
Hi, I'm using nsclient++ and check_nt to monitor services on a whole slew of Windows boxes. Works very nicely, but I have to change part of the system behavior and the plugin doesn't seem to have that option. When you check a service and the service is not installed, the plugin returns unknown. I need to treat those unknowns as critical. In our environment, those errors mean that someone is playing games with their server. Any suggestions? Or should I use a different plugin if I want this behavior? I can get this with SNMP easily enough, but nsclient++ seems easiest. Thanks, ==ml -- Michael W. Lucas[EMAIL PROTECTED], [EMAIL PROTECTED] http://www.BlackHelicopters.org/~mwlucas/ Coming Soon: Absolute FreeBSD -- http://www.AbsoluteFreeBSD.com On 5/4/2007, the TSA kept 3 pairs of my soiled undies for security reasons. - This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now http://get.splunk.com/ ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
Re: [Nagios-users] v3 stability
On Fri, Oct 05, 2007 at 02:53:05PM -0400, Don Shesnicky wrote: I'm wondering about which version to install v2 or v3? I understand that v3 is nearing full release, we're already on b4. Any comments on the stability of v3.0b4 and or which direction to head. I'll be running on Solaris by the way version 9 or a container on Solaris 10. Hi, Even though v3 is beta, if you have problems you'll be expected to help debug them. If you're comfortable with that you can certainly run v3. If you want something with more outside support, though, you want v2. ==ml -- Michael W. Lucas[EMAIL PROTECTED], [EMAIL PROTECTED] http://www.BlackHelicopters.org/~mwlucas/ Coming Soon: Absolute FreeBSD -- http://www.AbsoluteFreeBSD.com On 5/4/2007, the TSA kept 3 pairs of my soiled undies for security reasons. - This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now http://get.splunk.com/ ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
[Nagios-users] managing latency-induced host down alerts
Hi, I'm using Nagios 2.9 on FreeBSD, on a wide area network that has remote networks scattered across the USA and Mexico. We have a problem where latency on some remote circuits rises due to congestion. This means that various service checks time out, as they take more than 10 seconds to complete. (Yes, this is a real problem, and we're addressing it. I'm using smokeping to track latency at these sites now, analyzing traffic, etc.) When we get a latency delay, Nagios checks the host to see if it's alive. Latency is too high, so the host check times out. Host checks crawl up the chain to the parent router for the site, and flag it as down. The end result is that Nagios sees brief two-minute outages at the remote site. When we get a Nagios alert, it goes into our trouble ticket system and is distributed to the appropriate administrator. When the ticket is issued for latency, however, it is a) viewed as a false positive and b) detracts from real remote site outages. With Nagios 3 I would repeat the host check five minutes later before sending an alert. That's not an option in Nagios 2.9. I'm not entirely comfortable running beta code in this production environment, for political reasons rather than technical ones. I'd like to separate the latency problem from a site down problem. I can think of a couple ways to do this: 1) increase the 10-second maximum timeout for a service check to complete. Can this be done in Nagios? 2) have the trouble ticket system be a escalation contact that is only notified after the problem persists for five minutes. We're not using escalations today, but they can't be too hard. Has anyone dealt with this type of problem before? Any other suggestions or advice on monitoring and alarming in this sort of environment? Thanks, ==ml -- Michael W. Lucas[EMAIL PROTECTED], [EMAIL PROTECTED] http://www.BlackHelicopters.org/~mwlucas/ Coming Soon: Absolute FreeBSD -- http://www.AbsoluteFreeBSD.com On 5/4/2007, the TSA kept 3 pairs of my soiled undies for security reasons. - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/ ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
Re: [Nagios-users] managing latency-induced host down alerts
On Wed, Sep 12, 2007 at 10:02:51AM -0500, Marc Powell wrote: -Original Message- From: [EMAIL PROTECTED] [mailto:nagios-users- [EMAIL PROTECTED] On Behalf Of Michael W. Lucas Sent: Wednesday, September 12, 2007 9:46 AM To: nagios-users@lists.sourceforge.net Subject: [Nagios-users] managing latency-induced host down alerts Hi, I'm using Nagios 2.9 on FreeBSD, on a wide area network that has remote networks scattered across the USA and Mexico. We have a problem where latency on some remote circuits rises due to congestion. This means that various service checks time out, as they take more than 10 seconds to complete. (Yes, this is a real problem, and we're addressing it. I'm using smokeping to track latency at these sites now, analyzing traffic, etc.) I'd like to separate the latency problem from a site down problem. I can think of a couple ways to do this: 1) increase the 10-second maximum timeout for a service check to complete. Can this be done in Nagios? Yes, and is the route I would take since it's the simplest. All standard plugins support a timeout parameter, usually -t. You can run ./plugin --help to verify if it's supported. Just add an appropriate timeout for the test you're trying to complete in the command{} definition. You'll also need to increase the master service_check_timeout parameter in nagios.cfg. That's a fallback timeout in case the plugin doesn't terminate itself properly. I have my plugin timeouts generally set at 45 seconds and the master at 60. Hi, My understanding was that Nagios terminated service checks after 10 seconds, no matter how long the plugin took to complete? I have my plugins set to 10 seconds, but when I increase them beyond 10 seconds Nagios still reports the maximum time for any check is 10 seconds. Thanks, ==ml -- Michael W. Lucas[EMAIL PROTECTED], [EMAIL PROTECTED] http://www.BlackHelicopters.org/~mwlucas/ Coming Soon: Absolute FreeBSD -- http://www.AbsoluteFreeBSD.com On 5/4/2007, the TSA kept 3 pairs of my soiled undies for security reasons. - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/ ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
Re: [Nagios-users] managing latency-induced host down alerts
On Wed, Sep 12, 2007 at 10:15:54AM -0500, Marc Powell wrote: -Original Message- From: [EMAIL PROTECTED] [mailto:nagios-users- [EMAIL PROTECTED] On Behalf Of Michael W. Lucas Sent: Wednesday, September 12, 2007 10:07 AM To: Marc Powell Cc: nagios-users@lists.sourceforge.net Subject: Re: [Nagios-users] managing latency-induced host down alerts My understanding was that Nagios terminated service checks after 10 seconds, no matter how long the plugin took to complete? Only because that's the default setting. I have my plugins set to 10 seconds, but when I increase them beyond 10 seconds Nagios still reports the maximum time for any check is 10 seconds. Sounds like you didn't adjust the master service_check_timeout parameter. That would be because I didn't know about it. :-) Thanks, I'm sure the problem is solved now. ==ml -- Marc - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/ ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null -- Michael W. Lucas[EMAIL PROTECTED], [EMAIL PROTECTED] http://www.BlackHelicopters.org/~mwlucas/ Coming Soon: Absolute FreeBSD -- http://www.AbsoluteFreeBSD.com On 5/4/2007, the TSA kept 3 pairs of my soiled undies for security reasons. - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/ ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
Re: [Nagios-users] Ftp issue
We use SNMP Informant to track and alarm on any Performance Counter value. I believe check_nt and nsclient++ will let you do the same thing. ==ml On Tue, Sep 04, 2007 at 07:57:04PM +0530, vadi wrote: Dear All, How I can configures to monitor number of session and number of ftp user login (its windows system). Due to max connection, my ftp server is always going died. I need to configure maximize parameter for monitor windows ftp. check_ftp plug-in will not give better information for me. I kindly request you people to help me. Thanks, Vadiraj - This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now http://get.splunk.com/ ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null -- Michael W. Lucas[EMAIL PROTECTED], [EMAIL PROTECTED] http://www.BlackHelicopters.org/~mwlucas/ Coming Soon: Absolute FreeBSD -- http://www.AbsoluteFreeBSD.com On 5/4/2007, the TSA kept 3 pairs of my soiled undies for security reasons. - This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now http://get.splunk.com/ ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
Re: [Nagios-users] Ftp issue
Hi, I no longer have access to a Windows FTP server, sorry. However, I believe there is a Performance Monitor counter for current FTP users. If there is a Performance Monitor value, I know that SNMP will give that to you. I use SNMP Informant, you will probably find additional tools if you look. I believe that NSClient++ can also report on arbitrary performance monitor counters. Check Perfmon. If you can identify a counter that provides the current number of FTP users -- that is, if Windows provides the information -- than these tools will alarm on it for you. ==ml On Tue, Sep 04, 2007 at 08:06:53PM +0530, vadi wrote: Dear Michael, First let me tell thanks for all your help !!! I am not possible to monitor the total number of users connected to window ftp server. I don't think we can use check_nt and nsclient++ for this ? If you know any thing ?please help me Thanks, Vadiraj On 9/4/07, Michael W. Lucas [EMAIL PROTECTED] wrote: We use SNMP Informant to track and alarm on any Performance Counter value. I believe check_nt and nsclient++ will let you do the same thing. ==ml On Tue, Sep 04, 2007 at 07:57:04PM +0530, vadi wrote: Dear All, How I can configures to monitor number of session and number of ftp user login (its windows system). Due to max connection, my ftp server is always going died. I need to configure maximize parameter for monitor windows ftp. check_ftp plug-in will not give better information for me. I kindly request you people to help me. Thanks, Vadiraj - This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now http://get.splunk.com/ ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null -- Michael W. Lucas[EMAIL PROTECTED], [EMAIL PROTECTED] http://www.BlackHelicopters.org/~mwlucas/ Coming Soon: Absolute FreeBSD -- http://www.AbsoluteFreeBSD.com On 5/4/2007, the TSA kept 3 pairs of my soiled undies for security reasons. -- Michael W. Lucas[EMAIL PROTECTED], [EMAIL PROTECTED] http://www.BlackHelicopters.org/~mwlucas/ Coming Soon: Absolute FreeBSD -- http://www.AbsoluteFreeBSD.com On 5/4/2007, the TSA kept 3 pairs of my soiled undies for security reasons. - This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now http://get.splunk.com/ ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
Re: [Nagios-users] NDOutils on FreeBSD -- solved
On Wed, Aug 22, 2007 at 09:13:29AM +0100, Ton Voon wrote: Hi Michael, On 21 Aug 2007, at 22:16, Michael W. Lucas wrote: The problem is in ndoutils-x/include/config.h . The configure script puts all the libraries under /usr/lib instead of letting mysql be under /usr/local/lib. I edited config.h as shown, and ndoutils compiled just fine. Can you try this patch we posted on altinity.org? http:// altinity.blogs.com/dotorg/2007/04/better_mysqlcli.html It uses the same detection mechanism that the Nagios Plugins uses. I've tested on Mac OS X which has mysql in /usr/local/mysql/lib, which is also non-standard. No joy. I did the following: download the patch and the np_mysqlclient.m4 into my home dir. extract a clean ndoutils, go into it patch ../ndoutils_better_mysql_detection_cvs.patch mkdir m4 mv ../np_mysqlclient.m4 m4/ Ran configure, and got: Script started on Wed Aug 22 09:15:52 2007 aubsr023~/ndoutils-1.4b4;configure[9D[K./configure checking for a BSD-compatible install... /usr/bin/install -c checking build system type... i386-unknown-freebsd6.2 checking host system type... i386-unknown-freebsd6.2 checking for gcc... gcc checking for C compiler default output file name... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ANSI C... none needed checking whether make sets $(MAKE)... yes checking how to run the C preprocessor... gcc -E checking for egrep... grep -E checking for ANSI C header files... yes checking whether time.h and sys/time.h may both be included... yes checking for sys/wait.h that is POSIX.1 compatible... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking arpa/inet.h usability... yes checking arpa/inet.h presence... yes checking for arpa/inet.h... yes checking ctype.h usability... yes checking ctype.h presence... yes checking for ctype.h... yes checking dirent.h usability... yes checking dirent.h presence... yes checking for dirent.h... yes checking dlfcn.h usability... yes checking dlfcn.h presence... yes checking for dlfcn.h... yes checking errno.h usability... yes checking errno.h presence... yes checking for errno.h... yes checking fcntl.h usability... yes checking fcntl.h presence... yes checking for fcntl.h... yes checking float.h usability... yes checking float.h presence... yes checking for float.h... yes checking getopt.h usability... yes checking getopt.h presence... yes checking for getopt.h... yes checking grp.h usability... yes checking grp.h presence... yes checking for grp.h... yes checking for inttypes.h... (cached) yes checking limits.h usability... yes checking limits.h presence... yes checking for limits.h... yes checking ltdl.h usability... no checking ltdl.h presence... no checking for ltdl.h... no checking math.h usability... yes checking math.h presence... yes checking for math.h... yes checking netdb.h usability... yes checking netdb.h presence... yes checking for netdb.h... yes checking netinet/in.h usability... yes checking netinet/in.h presence... yes checking for netinet/in.h... yes checking pthread.h usability... yes checking pthread.h presence... yes checking for pthread.h... yes checking pwd.h usability... yes checking pwd.h presence... yes checking for pwd.h... yes checking regex.h usability... yes checking regex.h presence... yes checking for regex.h... yes checking signal.h usability... yes checking signal.h presence... yes checking for signal.h... yes checking socket.h usability... no checking socket.h presence... no checking for socket.h... no checking for stdint.h... (cached) yes checking for string.h... (cached) yes checking for strings.h... (cached) yes checking sys/ipc.h usability... yes checking sys/ipc.h presence... yes checking for sys/ipc.h... yes checking sys/mman.h usability... yes checking sys/mman.h presence... yes checking for sys/mman.h... yes checking sys/msg.h usability... yes checking sys/msg.h presence... yes checking for sys/msg.h... yes checking sys/poll.h usability... yes checking sys/poll.h presence... yes checking for sys/poll.h... yes checking sys/resource.h usability... yes checking sys/resource.h presence... yes checking for sys/resource.h... yes checking sys/sendfile.h usability... no checking sys/sendfile.h presence... no checking for sys/sendfile.h... no checking sys/socket.h usability... yes checking sys/socket.h presence... yes checking for sys/socket.h... yes checking for sys/stat.h... (cached) yes checking sys/time.h usability... yes checking sys/time.h presence... yes checking for sys/time.h... yes checking
Re: [Nagios-users] NDOutils on FreeBSD -- solved
On Wed, Aug 22, 2007 at 03:11:38PM +0100, Ton Voon wrote: On 22 Aug 2007, at 14:23, Michael W. Lucas wrote: No joy. I did the following: download the patch and the np_mysqlclient.m4 into my home dir. extract a clean ndoutils, go into it patch ../ndoutils_better_mysql_detection_cvs.patch mkdir m4 mv ../np_mysqlclient.m4 m4/ Ran configure, and got: You need to run aclocal -I m4 autoconf in the top level directory before you run configure. The configure log doesn't have any entries re: mysql_config which is what this patch will try to use. Sorry, still no joy. This was with aclocal14 and autoconf259; are particular versions required? (I'm a BSD guy, so this aclocal and autoconf stuff is foreign, sorry.) Thanks, ==ml -- Michael W. Lucas[EMAIL PROTECTED], [EMAIL PROTECTED] http://www.BlackHelicopters.org/~mwlucas/ Coming Soon: Absolute FreeBSD -- http://www.AbsoluteFreeBSD.com On 5/4/2007, the TSA kept 3 pairs of my soiled undies for security reasons. - This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now http://get.splunk.com/ ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
Re: [Nagios-users] Map / Host Parents / Redundant Rings
My network has a few small rings in it. Certain hosts have multiple IP addresses. I use separate hosts entries for those. It's ugly, but it works. On Wed, Aug 22, 2007 at 10:50:44AM -0400, Adam Kennedy wrote: I am also interested in everyone elses feedback with this. We have several rings in our network for redundancy and currently I can only monitor one path of the ring. Giles Coochey wrote: Hi, I have a query with regard to setting up links in the statusmap. In our environment we have high availability redundant rings, e.g. MetroEthernet RPR. If I try to set up parents as per the infrastructure e.g. each member of a ring has parents of both its neighbors then Nagios complains during the pre-flight check: Error: There is a circular parent/child path that exists for host 'HostA'! Well, yes, very true ? that is our infrastructure design. I understand that Nagios might have some problems with it?s reachability algorithms, but I would like to know how people with this kind of infrastructure set this up. Feedback is appreciated. Best regards Giles - This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now http://get.splunk.com/ ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null -- Adam Kennedy Network Administrator Cyberlink International Phone: 888-293-3693 x4352 Fax: 574-855-5761 - This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now http://get.splunk.com/ ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null -- Michael W. Lucas[EMAIL PROTECTED], [EMAIL PROTECTED] http://www.BlackHelicopters.org/~mwlucas/ Coming Soon: Absolute FreeBSD -- http://www.AbsoluteFreeBSD.com On 5/4/2007, the TSA kept 3 pairs of my soiled undies for security reasons. - This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now http://get.splunk.com/ ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
Re: [Nagios-users] NDOutils on FreeBSD -- solved
On Wed, Aug 22, 2007 at 04:32:15PM +0100, Ton Voon wrote: On 22 Aug 2007, at 15:49, Michael W. Lucas wrote: On Wed, Aug 22, 2007 at 03:37:21PM +0100, Ton Voon wrote: I'll try and create a new tarball for ndoutils later today for you to try. I'll post on our blog site. Let me know, I'm happy to test. The tarball (based on ndoutils-1.4b3) is here: http:// resources.opsview.org/ndoutils-1.4b3_with_mysql_patch.tar.gz ./configure should give output like: checking for mysql_config... /usr/local/mysql/bin/mysql_config ... checking for type of socket size... size_t checking for linker flags for loadable modules... -shared checking for mysql_config... /usr/local/bin/mysql_config checking for mysql_init in -lmysqlclient... yes MySQL library and include file(s) were found! ... This is more like it. Now make the main distribution work like that. ;-) Thanks much, ==ml -- Michael W. Lucas[EMAIL PROTECTED], [EMAIL PROTECTED] http://www.BlackHelicopters.org/~mwlucas/ Coming Soon: Absolute FreeBSD -- http://www.AbsoluteFreeBSD.com On 5/4/2007, the TSA kept 3 pairs of my soiled undies for security reasons. - This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now http://get.splunk.com/ ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
[Nagios-users] DBOUtils and Nagios 3 beta?
Hi, Can anyone comment on using the nagios 3 betas with NDOUtils and NagViz? I'm looking at moving to nagios3 to get the new host check behavior (where the system can recheck host state after a few minutes before issuing a critical alert). I also need to deploy NagViz, which means I need NDOUtils. I'd rather deploy the new version than upgrade later. Is the NDOUtils/Nagios3 interface finalized yet? How likely is an internal change that would break my setup? Thanks, ==ml -- Michael W. Lucas[EMAIL PROTECTED], [EMAIL PROTECTED] http://www.BlackHelicopters.org/~mwlucas/ Coming Soon: Absolute FreeBSD -- http://www.AbsoluteFreeBSD.com On 5/4/2007, the TSA kept 3 pairs of my soiled undies for security reasons. - This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now http://get.splunk.com/ ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
Re: [Nagios-users] check_nt
nc_net includes its own version of check_nt. Personally, I wish they'd change the name... On Mon, Jul 23, 2007 at 02:40:08PM -0400, [EMAIL PROTECTED] wrote: Hi Group, Does anyone know what these are the only tests compiled into the 1.4.9 plugins for check_nt are ~ CHECK_NONE, CHECK_CLIENTVERSION, CHECK_CPULOAD, CHECK_UPTIME, CHECK_USEDDISKSPACE, CHECK_SERVICESTATE, CHECK_PROCSTATE, CHECK_MEMUSE, CHECK_COUNTER, CHECK_FILEAGE, Some other ones like are mentioned in the NC_NET documentation. ENUMCONFIG ENUMPASSIVE ENUMSERVICE ENUMPROCESS ENUMCOUNTER ENUMCOUNTERDESC WMICAT WMICOUNTER Am I missing something? - This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now http://get.splunk.com/ ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null -- Michael W. Lucas[EMAIL PROTECTED], [EMAIL PROTECTED] http://www.BlackHelicopters.org/~mwlucas/ Coming Soon: Absolute FreeBSD -- http://www.AbsoluteFreeBSD.com On 5/4/2007, the TSA kept 3 pairs of my soiled undies for security reasons. - This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now http://get.splunk.com/ ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
Re: [Nagios-users] The statusmap...CGIs are missing or dont work!
On Mon, Jul 16, 2007 at 02:13:23PM -0500, Marc Powell wrote: I have Nagios running on FreeBSD 6.2 . How do I add the missing libraries ? I cannot find them in the ports collection. If you can't find them through Google or through the FreeBSD support groups, you may need to build them from source. You may be fortunate and find someone here that's done it but OS support is really beyond the scope of this list. I'd search other resources to be proactive if I were you. Hi, If you build Nagios from ports, it will automatically include all of these dependencies. Installing Nagios via pkg_add -r nagios works equally well. All I've ever done for a complete Nagios setup on FreeBSD is cd /usr/ports/www/my-favorite-apache-version make all install clean cd /usr/ports/net-mgmt/nagios make all install clean ==ml -- Michael W. Lucas[EMAIL PROTECTED], [EMAIL PROTECTED] http://www.BlackHelicopters.org/~mwlucas/ Coming Soon: Absolute FreeBSD -- http://www.AbsoluteFreeBSD.com On 5/4/2007, the TSA kept 3 pairs of my soiled undies for security reasons. - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
Re: [Nagios-users] using Nagios to find cause(s) of jitter in VoIP network
On Fri, Jul 06, 2007 at 12:18:53PM -0700, Rob Groome wrote: On Jul 6, 2007, at 10:56 AM, Rogelio Bastardo wrote: How might one use Nagios to monitor an MPLS SLA (service level agreement)? Some VoIP phones are experiencing jitter, and I'm looking for tools (ideally, Nagios-friendly) which might help me find the chokepoint(s). Any help showing in the right direction would be greatly appreciated. My first thought is, are your VoIP phones in a gold CAR on the MPLS? While VoIP works fine in any QoS queue on a lightly loaded MPLS circuit, you'll get all kinds of jitter under load if not. Not that I've had that happen, or anything. ==ml -- Michael W. Lucas[EMAIL PROTECTED], [EMAIL PROTECTED] http://www.BlackHelicopters.org/~mwlucas/ Coming Soon: Absolute FreeBSD -- http://www.AbsoluteFreeBSD.com On 5/4/2007, the TSA kept 3 pairs of my soiled undies for security reasons. - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
Re: [Nagios-users] Problems with FreeBSD and Nagios
On Mon, Jun 18, 2007 at 06:42:18PM -0500, Kyle Sexton wrote: On 12/14/06, Andreas Ericsson [EMAIL PROTECTED] wrote: Jonathan Call wrote: Given your ideas and some google work I seem to have found my problem: http://lists.freebsd.org/pipermail/freebsd-hackers/2005-August/013247.ht ml Not a pretty discussion. :( Nope. Definitely not. The problem for Nagios is that threading was added after the fact so nagios actually breaks some of the *strong* recommendations on what to do and what not to do in a threaded application after a fork(). The problem for *BSD and their thread implementation of the thread library is that Nagios actually works everywhere but on *BSD, and it *often* works there too, but not always. This often-but-not-always is usually a sign of a broken implementation, although exactly often-but-not-always is a sign of the errors you'll run into when you do what Nagios does post-fork(). I don't know of any other program that has the same problem on *BSD, but it would be interesting to see if there's a common pattern so one can pinpoint the exact pattern that causes the lock contention and races. It would, from a practical point of view, be best to patch it in the library, as that is a fix that would work for all possible future problems as well, although it's technically more correct to fix it in Nagios. Ugly discussion indeed. I'll try using a non SMP kernel to see it might help. If it doesn't this pretty much renders Nagios useless on FreeBSD. (Which makes me wonder why they even bother maintaining it in ports?) Out of curiousity, do you use passive checks, active checks or a mix of both in your setup? Was there ever a solution found to this problem? Skimming the (long) discussion thread, my first thought is to try libthr instead of libkse. The discussion seems to be on 5.x, I'd definitely try libthr on 6.x. Check libmap.conf for details. ==ml -- Michael W. Lucas[EMAIL PROTECTED], [EMAIL PROTECTED] http://www.BlackHelicopters.org/~mwlucas/ Coming Soon: Absolute FreeBSD -- http://www.AbsoluteFreeBSD.com On 5/4/2007, the TSA kept 3 pairs of my soiled undies for security reasons. - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
[Nagios-users] gcc4.2 and nagios-snmp-plugins
Hi, I'm running Nagios 2.9 on FreeBSD/amd64 7. The official FreeBSD port of nagios-snmp-plugins indicates that the software is broken with gcc 4.2. My attempts to compile it indicate that, yes, it's broken. While I could install compat6x and a FreeBSD 6.x package of nagios-snmp-plugins, and then brutalize it into working for me, I would really like my nice clean new server to at least start its production life without such a hack in place. Has anyone managed to build nagios-snmp-plugins with gcc2.9? Any pointers or suggestions? Thanks, ==ml -- Michael W. Lucas[EMAIL PROTECTED], [EMAIL PROTECTED] http://www.BlackHelicopters.org/~mwlucas/ Coming Soon: Absolute FreeBSD -- http://www.AbsoluteFreeBSD.com On 5/4/2007, the TSA kept 3 pairs of my soiled undies for security reasons. - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
[Nagios-users] Nagios end-user interfaces
Hi, I've searched through Nagiosexchange for options here, but wanted to ask for input before installing and evaluating thirty different tools. Any suggestions would be appreciated. I'm running Nagios 2.9 on FreeBSD/amd64. I need to offer Nagios information to end users without granting them access to the CGIs. Ideally, I don't want users to even know that the CGIs exist. The users need a bank of green/red lights and a network map. It appears that Nagios Looking Glass will handle the green and red lights. The network map is a little more complicated, but it appears that I could use Dashboard (http://www.nagiosexchange.org/Frontends.37.0.html?tx_netnagext_pi1[p_view]=962) to create a custom map without any further access, and offer a generic user for that map. Is this correct? Are there better tools for this problem? While Nagiosexchange is grand, it's hard to tell which tools are good and which aren't... Thanks for any shared experience, ==ml -- Michael W. Lucas[EMAIL PROTECTED], [EMAIL PROTECTED] http://www.BlackHelicopters.org/~mwlucas/ Coming Soon: Absolute FreeBSD -- http://www.AbsoluteFreeBSD.com On 5/4/2007, the TSA kept 3 pairs of my soiled undies for security reasons. - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
Re: [Nagios-users] identifying the slow check
Actually, this is very interesting. I found and killed my slow check (a fping, as someone else suggested). Running the profile script below gives me: Total Execution Time: 47 (sec) NumChecks: 144 Average Time: 0.332 (sec) From reading status.dat, this is about what I'd expect. On the other hand, the Active Service Checks in the Web interface shows very different numbers: Active Service Checks: Time Frame Checks Completed = 1 minute:44 (30.6%) = 5 minutes: 144 (100.0%) = 15 minutes: 144 (100.0%) = 1 hour: 144 (100.0%) Since program start:144 (100.0%) Does the Web present a long-term average or some such? Thanks, ==ml On Mon, Jun 04, 2007 at 09:45:09PM -0700, william(at)elan.net wrote: http://william.leibzon.org/nagios/profile_nagios_executiontime.pl On Mon, 4 Jun 2007, Michael W. Lucas wrote: Hi, I've followed the advice for optimizing Nagios from the FAQ, and get the following performance stats. Check Execution Time:0.01 sec10.01 sec 0.248 sec Check Latency: 0.00 sec2.31 sec0.144 sec Percent State Change:0.00% 6.25% 0.08% Overall, the times are pretty good, but my maximum check time is pretty consistently about 10 seconds. I'd like to identify which check(s) that is. I'm sure it can either be optimized away or performed in some other manner. Any suggestions? Thanks much, ==ml -- Michael W. Lucas[EMAIL PROTECTED], [EMAIL PROTECTED] http://www.BlackHelicopters.org/~mwlucas/ Coming Soon: Absolute FreeBSD -- http://www.AbsoluteFreeBSD.com On 5/4/2007, the TSA kept 3 pairs of my soiled undies for security reasons. - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
[Nagios-users] identifying the slow check
Hi, I've followed the advice for optimizing Nagios from the FAQ, and get the following performance stats. Check Execution Time: 0.01 sec10.01 sec 0.248 sec Check Latency: 0.00 sec2.31 sec0.144 sec Percent State Change: 0.00% 6.25% 0.08% Overall, the times are pretty good, but my maximum check time is pretty consistently about 10 seconds. I'd like to identify which check(s) that is. I'm sure it can either be optimized away or performed in some other manner. Any suggestions? Thanks much, ==ml -- Michael W. Lucas[EMAIL PROTECTED], [EMAIL PROTECTED] http://www.BlackHelicopters.org/~mwlucas/ Coming Soon: Absolute FreeBSD -- http://www.AbsoluteFreeBSD.com On 5/4/2007, the TSA kept 3 pairs of my soiled undies for security reasons. - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null