From andrew at fulgent.co.uk Sun Jan 1 10:41:49 2012 From: andrew at fulgent.co.uk (Andrew Thompson) Date: Sun, 1 Jan 2012 09:41:49 +0000 Subject: Gammu SMS Daemon writes Nagios text alerts to MYSQL but they dont get sent out to mobile! Message-ID: Hi all, I know this is a Nagios support list but my question it more a Gammu, MYSQL and Nagios combination help that I am after. Software: Gammu 1.28 MYSQL Server Ubuntu Desktop 11.04 32bit Nokia 6021 via USB cable Nagios 3.3.1 I have got everything working but 1 thing. Nagios uses: /usr/bin/printf "***NAGIOS ALERT*** \n\n $NOTIFICATIONTYPE$\n\n$HOSTALIAS$ is $HOSTSTATE$" | /usr/bin/gammu-smsd-inject TEXT $CONTACTPAGER$ Nagios writes the text alerts to the Outbox table of the database as it should. But that's where they stay; the daemon doesn't forward them out of the DB to the recipients phone! If I change the command line a little and tell Nagios to use this: /usr/bin/printf "***NAGIOS ALERT*** \n\n $NOTIFICATIONTYPE$\n\n$HOSTALIAS$ is $HOSTSTATE$" | /usr/bin/gammu --sendsms TEXT $CONTACTPAGER$ The phone sends any Nagios text alerts staright to the correct mobile phones so I know sending through the phone works fine. These are my Gammu relevant setups I have a smsd.conf file in /etc/init directory to try and keep the daemon alive #smsd # #This service maintains the SMS Daemon from the point the system is started until it is shut down again Description "SMSD DAEMON" Start on runlevel [2345] Stop on runlevel [016] Respawn Exec /usr/local/bin/smsd.sh Script in /usr/local/bin/smsd.sh #! /bin/sh Export LANG=en_US /usr/bin/gammu-smsd MYSQL /etc/gammu-smsdrc My gammu-smsdrc content: [gammu] Port = /dev/ttyUSB0 Connection = fbus Model = 6021 [smsd] Service = MYSQL Commtimeout = 10 Sendtimeout = 30 Recievefrequency = 30 Deliveryreport = log User = root Password = xxxxxxxxxx Pc = 127.0.0.1 Database = Nagios_Text If I run /sbin/initctl start smsd it replies with smsd start/running, process XXXX Then if straight away I run /sbin/initctl status smsd it replies with smsd stop/waiting Is this correct or is this the reason the messages never leave the DB? Somebody offer me any assistance on getting those messages out the DB - im so close, yet so far!! I need to present my boss with a full working Nagios setup to go live by Wed 4 Jan and I can nearly touch it. Please help. Thank you so much -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Ridiculously easy VDI. With Citrix VDI-in-a-Box, you don't need a complex infrastructure or vast IT resources to deliver seamless, secure access to virtual desktops. With this all-in-one solution, easily deploy virtual desktops for less than the cost of PCs and save 60% on VDI infrastructure costs. Try it free! http://p.sf.net/sfu/Citrix-VDIinabox -------------- 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_mustaquim at yahoo.com Tue Jan 3 10:22:24 2012 From: m_mustaquim at yahoo.com (mohd mustaquim) Date: Tue, 3 Jan 2012 01:22:24 -0800 (PST) Subject: 7 Message-ID: <1325582544.20976.yint-ygo-j2me@web120104.mail.ne1.yahoo.com> Happy new year! Look at this! I?ve never seen anything before!.. http://idsl2.fr/new.year.php?ufiID=19ys4 ------------------------------------------------------------------------------ Write once. Port to many. Get the SDK and tools to simplify cross-platform app development. Create new or port existing apps to sell to consumers worldwide. Explore the Intel AppUpSM program developer opportunity. appdeveloper.intel.com/join http://p.sf.net/sfu/intel-appdev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From paul.willis at kent.pnn.police.uk Tue Jan 3 11:26:52 2012 From: paul.willis at kent.pnn.police.uk (Paul WILLIS PSE 55499) Date: Tue, 03 Jan 2012 10:26:52 +0000 Subject: check_ntp_peer reports stratum off-by-one? In-Reply-To: <918C015A-E51F-4F19-A335-677ECA5F97AB@conundrum.com> References: <4EFD9A7C020000C40002D6F5@kent.pnn.police.uk> <918C015A-E51F-4F19-A335-677ECA5F97AB@conundrum.com> Message-ID: <4F02D7EC020000C40002D7BA@kent.pnn.police.uk> Hi Matthew I apologise for lecturing you, I thought you were confused over that aspect. But certainly it is reporting the stratum of its peer. With -v on one of our servers I get for example in part parsing stratum from peer bf36: 2 and bf36 hex is 48950 which is the associationID of our timesource which is stratum 2. We only have a single timesource so I'm not sure how it deals with multiple host strata. My guess would be it just takes that of the asterisked timesource. Regards Paul Willis >>> Matthew Pounsett 30/12/11 17:06 >>> On 2011/12/30, at 06:03, Paul WILLIS PSE 55499 wrote: > Hi Matthew > > Its neither, its actually you not understanding what peer means. Peer is effectively the next time server (or servers) up the chain, > so generally they will be different by one. To see what peer means, type in ntpq, then type in peer. That will list the peers of your server and their strata, NOT the stratum of your server. The main usage of peers is to make sure you are getting time from the correct source or sources. If it is only showing local sources for example it indicates you have lost contact with the external ntp sources and are just using the hardware clock. I understand exactly how NTP works and what a peer is. The ntpq command I ran is giving me the stratum of that server, not of its peers. Are you saying that check_ntp_peer connects to a remote server and reports on its *peers* rather than on it? That seems to contradict the help documentation. How is it able to distill the strata of several of that server's peers into a single stratum value? ------------------------------------------------------------------------------ Ridiculously easy VDI. With Citrix VDI-in-a-Box, you don't need a complex infrastructure or vast IT resources to deliver seamless, secure access to virtual desktops. With this all-in-one solution, easily deploy virtual desktops for less than the cost of PCs and save 60% on VDI infrastructure costs. Try it free! http://p.sf.net/sfu/Citrix-VDIinabox _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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 -------------- ------------------------------------------------------------------------------ Write once. Port to many. Get the SDK and tools to simplify cross-platform app development. Create new or port existing apps to sell to consumers worldwide. Explore the Intel AppUpSM program developer opportunity. appdeveloper.intel.com/join http://p.sf.net/sfu/intel-appdev -------------- 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 alexus at gmail.com Tue Jan 3 21:58:29 2012 From: alexus at gmail.com (alexus) Date: Tue, 3 Jan 2012 15:58:29 -0500 Subject: Parent/Child relationship for HV/VM Message-ID: I have few hyper-visors that running bunch of VMs. Each VM runs on a HV and can be migrated from one host to another at any given time for whatever reason(s). Should I specify all HVs (where VM can run) for each VM as a parent? -- http://alexus.org/ ------------------------------------------------------------------------------ Write once. Port to many. Get the SDK and tools to simplify cross-platform app development. Create new or port existing apps to sell to consumers worldwide. Explore the Intel AppUpSM program developer opportunity. appdeveloper.intel.com/join http://p.sf.net/sfu/intel-appdev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jim at jimavery.me.uk Tue Jan 3 22:51:53 2012 From: jim at jimavery.me.uk (Jim Avery) Date: Tue, 3 Jan 2012 21:51:53 +0000 Subject: Parent/Child relationship for HV/VM In-Reply-To: References: Message-ID: On 3 January 2012 20:58, alexus wrote: > I have few hyper-visors that running bunch of VMs. Each VM runs on a > HV and can be migrated from one host to another at any given time for > whatever reason(s). > Should I specify all HVs (where VM can run) for each VM as a parent? That's what I do, yes. ------------------------------------------------------------------------------ Write once. Port to many. Get the SDK and tools to simplify cross-platform app development. Create new or port existing apps to sell to consumers worldwide. Explore the Intel AppUpSM program developer opportunity. appdeveloper.intel.com/join http://p.sf.net/sfu/intel-appdev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Wed Jan 4 08:53:34 2012 From: ck at claudiokuenzler.com (Claudio Kuenzler) Date: Wed, 4 Jan 2012 08:53:34 +0100 Subject: Parent/Child relationship for HV/VM In-Reply-To: References: Message-ID: I created a fake host (with IP 0.0.0.0) for the cluster with active checks and notifications disabled. This way I have one and the same parent for all VM's in that cluster. Let me show it this way: switch ---> esx1------------> VM-CLUSTER-1 ----------> VM1 | ------------> esx2------------> | --------------------------------> VM2 | ------------> esx3------------> | --------------------------------> VM3 | ------------> esx4------------> |---------------------------------> VM4 I hope you see what I'm trying to show. In text: Parent of vm's 1-4 is the 'fake' host VM-CLUSTER-1. Parents of VM-CLUSTER-1 are esx1, esx2, esx3, esx4. Parent of esx1-4 is switch. Positive: You can represent the cluster with a host and in the map it's clearly seen which physical hosts are part of this cluster. Negative: The host will stay "grey" (pending) in Nagios as no check will be executed on the fake host. In Nagvis it looks good and it makes sense. On Tue, Jan 3, 2012 at 10:51 PM, Jim Avery wrote: > On 3 January 2012 20:58, alexus wrote: > > I have few hyper-visors that running bunch of VMs. Each VM runs on a > > HV and can be migrated from one host to another at any given time for > > whatever reason(s). > > Should I specify all HVs (where VM can run) for each VM as a parent? > > That's what I do, yes. > > > ------------------------------------------------------------------------------ > Write once. Port to many. > Get the SDK and tools to simplify cross-platform app development. Create > new or port existing apps to sell to consumers worldwide. Explore the > Intel AppUpSM program developer opportunity. appdeveloper.intel.com/join > http://p.sf.net/sfu/intel-appdev > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 -------------- ------------------------------------------------------------------------------ Ridiculously easy VDI. With Citrix VDI-in-a-Box, you don't need a complex infrastructure or vast IT resources to deliver seamless, secure access to virtual desktops. With this all-in-one solution, easily deploy virtual desktops for less than the cost of PCs and save 60% on VDI infrastructure costs. Try it free! http://p.sf.net/sfu/Citrix-VDIinabox -------------- 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 jim at jimavery.me.uk Wed Jan 4 11:11:59 2012 From: jim at jimavery.me.uk (Jim Avery) Date: Wed, 4 Jan 2012 10:11:59 +0000 Subject: Parent/Child relationship for HV/VM In-Reply-To: References: Message-ID: On 4 January 2012 07:53, Claudio Kuenzler wrote: > I created a fake host (with IP 0.0.0.0) for the cluster with active checks > and notifications disabled. > This way I have one and the same parent for all VM's in that cluster. > > Let me show it this way: > > switch ---> esx1------------>? VM-CLUSTER-1 ----------> VM1 > | ------------> esx2------------>? | --------------------------------> VM2 > | ------------> esx3------------>? | --------------------------------> VM3 > | ------------> esx4------------>? |---------------------------------> VM4 > > I hope you see what I'm trying to show. > In text: > Parent of vm's 1-4 is the 'fake' host VM-CLUSTER-1. Parents of VM-CLUSTER-1 > are esx1, esx2, esx3, esx4. Parent of esx1-4 is switch. > > Positive: You can represent the cluster with a host and in the map it's > clearly seen which physical hosts are part of this cluster. > Negative: The host will stay "grey" (pending) in Nagios as no check will be > executed on the fake host. > > In Nagvis it looks good and it makes sense. That's a good idea. Another advantage is if you add or remove host servers to the cluster you only need to change the one host definition. You could use check_cluster as the host check for your fake host, then its status would be meaningful too. I'll have a go at doing that myself when I get a minute. The documentation for check_cluster if you run "check_cluster --help" isn't all that helpful. Some examples can be found after some googling for example at: http://www.nagios-wiki.de/nagios/doku3/clusters If I recall I learned how to use the check_cluster plugin by reading Wolfgang Barth's book. Cheers, Jim ------------------------------------------------------------------------------ Ridiculously easy VDI. With Citrix VDI-in-a-Box, you don't need a complex infrastructure or vast IT resources to deliver seamless, secure access to virtual desktops. With this all-in-one solution, easily deploy virtual desktops for less than the cost of PCs and save 60% on VDI infrastructure costs. Try it free! http://p.sf.net/sfu/Citrix-VDIinabox _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From cbeattie at geninfo.com Wed Jan 4 17:08:01 2012 From: cbeattie at geninfo.com (Chris Beattie) Date: Wed, 4 Jan 2012 11:08:01 -0500 Subject: Parent/Child relationship for HV/VM In-Reply-To: References: Message-ID: <4F047961.6050606@geninfo.com> On 1/4/2012 5:11 AM, Jim Avery wrote: > Another advantage is if you add or remove host servers to the cluster > you only need to change the one host definition. > > You could use check_cluster as the host check for your fake host, then > its status would be meaningful too. I'll have a go at doing that > myself when I get a minute. Yes, that is what you want to do. It's what I did. First, make sure you've defined all your VM hosts. The check_cluster command will collate their states to determine the cluster's state. Then, define a command to check your clusters. This one can check hosts or services, depending on what you pass for $ARG1$. ----- define command { # # $ARG1$ is either "host" or "service" # command_name check_cluster command_line $USER1$/check_cluster --$ARG1$ --label=$HOSTNAME$ --warning=$ARG2$ --critical=$ARG3$ --data=$ARG4$ } ----- Next, define a host to represent your cluster. I pass "host" as $ARG1$. I set a warning if one is not-OK and critical if two or more are not-OK. I don't recall where I saw the use of the @ and : documented in defining thresholds, but I seem to recall that without the "or more" part the check will do something odd when a third VM host goes down. ----- define host { use generic-server host_name cluster_1 alias cluster_1 parents foo1,foo2,foo3,foo4 check_command check_cluster!host!@1:!@2:!$HOSTSTATEID:foo1$,$HOSTSTATEID:foo2$,$HOSTSTATEID:foo3$,$HOSTSTATEID:foo4$ } ----- I also define a service check for the cluster so I don't run into service-less hosts not showing up on Nagios' web pages. ----- define service { use standard_service host_name cluster_1 check_command check_cluster!service!@1:!@2:!$SERVICESTATEID:foo1:Ping$,$SERVICESTATEID:foo2:Ping$,$SERVICESTATEID:foo3:Ping$,$SERVICESTATEID:foo4:Ping$ } ----- Nothing in this message is intended to make or accept an offer or to form a contract, except that an attachment that is an image of a contract bearing the signature of an officer of our company may be or become a contract. This message (including any attachments) is intended only for the use of the individual or entity to whom it is addressed. It may contain information that is non-public, proprietary, privileged, confidential, and exempt from disclosure under applicable law or may constitute as attorney work product. If you are not the intended recipient, we hereby notify you that any use, dissemination, distribution, or copying of this message is strictly prohibited. If you have received this message in error, please notify us immediately by telephone and delete this message immediately. Thank you. ------------------------------------------------------------------------------ Ridiculously easy VDI. With Citrix VDI-in-a-Box, you don't need a complex infrastructure or vast IT resources to deliver seamless, secure access to virtual desktops. With this all-in-one solution, easily deploy virtual desktops for less than the cost of PCs and save 60% on VDI infrastructure costs. Try it free! http://p.sf.net/sfu/Citrix-VDIinabox _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Paul.Harrington at nmni.com Thu Jan 5 10:22:46 2012 From: Paul.Harrington at nmni.com (Paul Harrington) Date: Thu, 5 Jan 2012 09:22:46 +0000 Subject: check_hp_bladechassis Message-ID: <2CFB00906E8236489DAFE172A547F9B95372469D@nmniMBX.magni.local> check_hp_bladechassis from http://folk.uio.no/trondham/software/check_hp_bladechassis.html This is a great plugin, as a suggestion for an update, I?d like to be able to see the enclosure temperature as well. Can anyone point me in the right direction? I tried using check_ilo2_health, but when I query the OA I get ILO2_HEALTH UNKNOWN - ERROR: No parseable output. Thanks for any help! Paul Paul Harrington ICT Officer National Museums Northern Ireland Cultra, Holywood, Co. Down, BT18 0EU T - 028 9039 5281 E - paul.harrington at nmni.com [http://www.nmni.com/images/nationalmuseumslogo.gif] www.nmni.com This message contains confidential information and is intended only for nagios-users at lists.sourceforge.net. If you are not one of the intended recipients, you should not disseminate, distribute or copy this e-mail. Please notify paul.harrington at nmni.com immediately by e-mail if you have received this e-mail by mistake and delete this e-mail from your system. E-mail transmission cannot be guaranteed to be secure or error-free as information could be intercepted, corrupted, lost, destroyed, arrive late or incomplete, or contain viruses. Paul Harrington therefore does not accept liability for any errors or omissions in the contents of this message, which arise as a result of e-mail transmission. If verification is required please request a hard-copy version. Please consider the environment before printing this email. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Ridiculously easy VDI. With Citrix VDI-in-a-Box, you don't need a complex infrastructure or vast IT resources to deliver seamless, secure access to virtual desktops. With this all-in-one solution, easily deploy virtual desktops for less than the cost of PCs and save 60% on VDI infrastructure costs. Try it free! http://p.sf.net/sfu/Citrix-VDIinabox -------------- 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 honza801 at gmail.com Thu Jan 5 14:35:05 2012 From: honza801 at gmail.com (Jan Krcmar) Date: Thu, 5 Jan 2012 14:35:05 +0100 Subject: log rotation problem on system time change Message-ID: hi, i have got problem with nagios log rotation. running FreeBSD 8.1-RELEASE-p1 (jail), nagios-3.2.3 we have nagios configured to rotate logs every day log_rotation_method=d but there is some problem with time. every midnight the log says: [1325287647] Warning: A system time change of 0d 0h 36m 3s (forwards in time) has been detected. Compensating... [Sat Dec 31 00:27:27 2011] as you can see the time stuff happens before 00:00:00 and shifts time after this stamp i've searched in the nagios sources and found, that "Compensating..." does event re-schedule. this schedules the event to the next day, so the rotation never happens am i right? :) has enyone seen this before? thanks jan ------------------------------------------------------------------------------ Ridiculously easy VDI. With Citrix VDI-in-a-Box, you don't need a complex infrastructure or vast IT resources to deliver seamless, secure access to virtual desktops. With this all-in-one solution, easily deploy virtual desktops for less than the cost of PCs and save 60% on VDI infrastructure costs. Try it free! http://p.sf.net/sfu/Citrix-VDIinabox _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Mon Jan 9 15:26:36 2012 From: f at zz.de (Florian Lohoff) Date: Mon, 9 Jan 2012 15:26:36 +0100 Subject: Dualstack monitoring best practice Message-ID: <20120109142636.GA6585@pax.zz.de> Hi, i am thinking about the monitoring with dualstack targets/hosts. I'd expect all our hosts and services to be dual stacked or at least single stacked services to be the exception. So adding a v6 host for all v4 hosts seems so odd. I was thinking about adding some _v6address variable to all host definitions and defining v6 services using host HOSTADDRESS but _HOSTV6ADDRESS. In the end it would even be more natural to check_ping to check both address families if available and go to CRITICAL if one of them fails. In the end v6 should be a equivalent member of the family. Whats the preferred way people have chosen and what where the pitfalls? 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 -------------- ------------------------------------------------------------------------------ Ridiculously easy VDI. With Citrix VDI-in-a-Box, you don't need a complex infrastructure or vast IT resources to deliver seamless, secure access to virtual desktops. With this all-in-one solution, easily deploy virtual desktops for less than the cost of PCs and save 60% on VDI infrastructure costs. Try it free! http://p.sf.net/sfu/Citrix-VDIinabox -------------- 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 robert at robertvbolton.com Mon Jan 9 18:23:13 2012 From: robert at robertvbolton.com (Robert V. Bolton) Date: Mon, 9 Jan 2012 10:23:13 -0700 Subject: Dualstack monitoring best practice In-Reply-To: <20120109142636.GA6585@pax.zz.de> References: <20120109142636.GA6585@pax.zz.de> Message-ID: On Mon, Jan 9, 2012 at 7:26 AM, Florian Lohoff wrote: > > Hi, > > i am thinking about the monitoring with dualstack targets/hosts. I'd expect > all our hosts and services to be dual stacked or at least single stacked > services > to be the exception. > > So adding a v6 host for all v4 hosts seems so odd. I was thinking about > adding > some _v6address variable to all host definitions and defining v6 services > using > host HOSTADDRESS but _HOSTV6ADDRESS. > > In the end it would even be more natural to check_ping to check both > address families > if available and go to CRITICAL if one of them fails. In the end v6 should > be a equivalent > member of the family. > > Whats the preferred way people have chosen and what where the pitfalls? > > Flo > -- > Florian Lohoff f at zz.de > > Hi Flo, At work we have started to go dualstack with all of our servers. Currently our web servers are 100% dualstack so most of our monitoring dualstack experience is based off of these servers. We have noticed that IPv4 connectivity is more important than IPv6 since a client is more likely to have an IPv4 address than IPv6, also if a web client accesses a server over IPv6 and the server doesn't respond on IPv6 it will timeout and fall back to IPv4. I suggest that you monitor these ping check separately so that you'll be able to troubleshoot where the problem is on the IPv4 side of the IPv6 side. If you really want to monitor these together I would look into clustering these two ping checks and set a warning if one of these fails. Here is the info about check_cluster -- *Robert V. Bolton* Email: robert at robertvbolton.com Web: http://robertvbolton.com -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Ridiculously easy VDI. With Citrix VDI-in-a-Box, you don't need a complex infrastructure or vast IT resources to deliver seamless, secure access to virtual desktops. With this all-in-one solution, easily deploy virtual desktops for less than the cost of PCs and save 60% on VDI infrastructure costs. Try it free! http://p.sf.net/sfu/Citrix-VDIinabox -------------- 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 michael.friedrich at univie.ac.at Mon Jan 9 19:25:11 2012 From: michael.friedrich at univie.ac.at (Michael Friedrich) Date: Mon, 09 Jan 2012 19:25:11 +0100 Subject: Dualstack monitoring best practice In-Reply-To: <20120109142636.GA6585@pax.zz.de> References: <20120109142636.GA6585@pax.zz.de> Message-ID: <4F0B3107.50104@univie.ac.at> Florian Lohoff wrote: > Hi, > > i am thinking about the monitoring with dualstack targets/hosts. I'd expect > all our hosts and services to be dual stacked or at least single stacked services > to be the exception. > > So adding a v6 host for all v4 hosts seems so odd. I was thinking about adding > some _v6address variable to all host definitions and defining v6 services using > host HOSTADDRESS but _HOSTV6ADDRESS. there's a patch for nagios around, adding address6 as host attribute. even if there are custom variables, it's more intentional for keeping the systems dualstacked in the future by adding that. > > In the end it would even be more natural to check_ping to check both address families > if available and go to CRITICAL if one of them fails. In the end v6 should be a equivalent > member of the family. > > Whats the preferred way people have chosen and what where the pitfalls? i prefer check_multi, adding 2 checks, one ipv6, one ipv6 and combining the check result based on the expected output and state. some might have ipv6 testing only, but some are depending on a real dualstacked environment, so it's decision based then what overall status can be returned to the host. check_multi is rather easy to configure and extend and works well with pnp4nagios for some nice graphs too. > > Flo > > > ------------------------------------------------------------------------------ > Ridiculously easy VDI. With Citrix VDI-in-a-Box, you don't need a complex > infrastructure or vast IT resources to deliver seamless, secure access to > virtual desktops. With this all-in-one solution, easily deploy virtual > desktops for less than the cost of PCs and save 60% on VDI infrastructure > costs. Try it free! http://p.sf.net/sfu/Citrix-VDIinabox > > > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null -- DI (FH) Michael Friedrich Vienna University Computer Center Universitaetsstrasse 7 A-1010 Vienna, Austria email: michael.friedrich at univie.ac.at phone: +43 1 4277 14359 mobile: +43 664 60277 14359 fax: +43 1 4277 14338 web: http://www.univie.ac.at/zid http://www.aco.net Lead Icinga Core Developer http://www.icinga.org ------------------------------------------------------------------------------ Ridiculously easy VDI. With Citrix VDI-in-a-Box, you don't need a complex infrastructure or vast IT resources to deliver seamless, secure access to virtual desktops. With this all-in-one solution, easily deploy virtual desktops for less than the cost of PCs and save 60% on VDI infrastructure costs. Try it free! http://p.sf.net/sfu/Citrix-VDIinabox _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From michael.friedrich at univie.ac.at Mon Jan 9 19:33:35 2012 From: michael.friedrich at univie.ac.at (Michael Friedrich) Date: Mon, 09 Jan 2012 19:33:35 +0100 Subject: Dualstack monitoring best practice In-Reply-To: <4F0B3107.50104@univie.ac.at> References: <20120109142636.GA6585@pax.zz.de> <4F0B3107.50104@univie.ac.at> Message-ID: <4F0B32FF.1050606@univie.ac.at> Michael Friedrich wrote: > Florian Lohoff wrote: >> Hi, >> >> i am thinking about the monitoring with dualstack targets/hosts. I'd expect >> all our hosts and services to be dual stacked or at least single stacked services >> to be the exception. >> >> So adding a v6 host for all v4 hosts seems so odd. I was thinking about adding >> some _v6address variable to all host definitions and defining v6 services using >> host HOSTADDRESS but _HOSTV6ADDRESS. > there's a patch for nagios around, adding address6 as host attribute. > even if there are custom variables, it's more intentional for keeping > the systems dualstacked in the future by adding that. >> In the end it would even be more natural to check_ping to check both address families >> if available and go to CRITICAL if one of them fails. In the end v6 should be a equivalent >> member of the family. >> >> Whats the preferred way people have chosen and what where the pitfalls? > i prefer check_multi, adding 2 checks, one ipv6, one ipv6 and combining should get more coffee - i meant one for ipv4 and one for ipv6 ... we would be lucky if we could just drop ipv4. > the check result based on the expected output and state. some might have > ipv6 testing only, but some are depending on a real dualstacked > environment, so it's decision based then what overall status can be > returned to the host. check_multi is rather easy to configure and extend > and works well with pnp4nagios for some nice graphs too. > >> Flo >> >> >> ------------------------------------------------------------------------------ >> Ridiculously easy VDI. With Citrix VDI-in-a-Box, you don't need a complex >> infrastructure or vast IT resources to deliver seamless, secure access to >> virtual desktops. With this all-in-one solution, easily deploy virtual >> desktops for less than the cost of PCs and save 60% on VDI infrastructure >> costs. Try it free! http://p.sf.net/sfu/Citrix-VDIinabox >> >> >> _______________________________________________ >> Nagios-users mailing list >> Nagios-users at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/nagios-users >> ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. >> ::: Messages without supporting info will risk being sent to /dev/null > -- DI (FH) Michael Friedrich Vienna University Computer Center Universitaetsstrasse 7 A-1010 Vienna, Austria email: michael.friedrich at univie.ac.at phone: +43 1 4277 14359 mobile: +43 664 60277 14359 fax: +43 1 4277 14338 web: http://www.univie.ac.at/zid http://www.aco.net Lead Icinga Core Developer http://www.icinga.org ------------------------------------------------------------------------------ Ridiculously easy VDI. With Citrix VDI-in-a-Box, you don't need a complex infrastructure or vast IT resources to deliver seamless, secure access to virtual desktops. With this all-in-one solution, easily deploy virtual desktops for less than the cost of PCs and save 60% on VDI infrastructure costs. Try it free! http://p.sf.net/sfu/Citrix-VDIinabox _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From robert at robertvbolton.com Mon Jan 9 20:06:34 2012 From: robert at robertvbolton.com (Robert V. Bolton) Date: Mon, 9 Jan 2012 12:06:34 -0700 Subject: Dualstack monitoring best practice In-Reply-To: <4F0B3107.50104@univie.ac.at> References: <20120109142636.GA6585@pax.zz.de> <4F0B3107.50104@univie.ac.at> Message-ID: On Mon, Jan 9, 2012 at 11:25 AM, Michael Friedrich < michael.friedrich at univie.ac.at> wrote: > there's a patch for nagios around, adding address6 as host attribute. > even if there are custom variables, it's more intentional for keeping > the systems dualstacked in the future by adding that. > You don't need to add the patch to add an address6 variable, just use a Custom Object Variable. I use to run Nagios with patch that added the address6 variable, but it ended up screwing me up in the long run. -- *Robert V. Bolton* Email: robert at robertvbolton.com Web: http://robertvbolton.com -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Ridiculously easy VDI. With Citrix VDI-in-a-Box, you don't need a complex infrastructure or vast IT resources to deliver seamless, secure access to virtual desktops. With this all-in-one solution, easily deploy virtual desktops for less than the cost of PCs and save 60% on VDI infrastructure costs. Try it free! http://p.sf.net/sfu/Citrix-VDIinabox -------------- 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 michael.friedrich at univie.ac.at Mon Jan 9 20:18:12 2012 From: michael.friedrich at univie.ac.at (Michael Friedrich) Date: Mon, 09 Jan 2012 20:18:12 +0100 Subject: Dualstack monitoring best practice In-Reply-To: References: <20120109142636.GA6585@pax.zz.de> <4F0B3107.50104@univie.ac.at> Message-ID: <4F0B3D74.5080209@univie.ac.at> Robert V. Bolton wrote: > On Mon, Jan 9, 2012 at 11:25 AM, Michael Friedrich > > wrote: > > there's a patch for nagios around, adding address6 as host attribute. > even if there are custom variables, it's more intentional for keeping > the systems dualstacked in the future by adding that. > > > You don't need to add the patch to add an address6 variable, just use > a Custom Object Variable > . I use > to run Nagios with patch that added the address6 variable, but it > ended up screwing me up in the long run. sure, the patch needs some rework, but when done, it fits, even it won't make it upstream due to the change of the objects abi. but for safety reasons in upgrading, your solution is better. > > -- > *Robert V. Bolton* > Email: robert at robertvbolton.com > Web: http://robertvbolton.com > > > > ------------------------------------------------------------------------------ > Ridiculously easy VDI. With Citrix VDI-in-a-Box, you don't need a complex > infrastructure or vast IT resources to deliver seamless, secure access to > virtual desktops. With this all-in-one solution, easily deploy virtual > desktops for less than the cost of PCs and save 60% on VDI infrastructure > costs. Try it free! http://p.sf.net/sfu/Citrix-VDIinabox > > > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null -- DI (FH) Michael Friedrich Vienna University Computer Center Universitaetsstrasse 7 A-1010 Vienna, Austria email: michael.friedrich at univie.ac.at phone: +43 1 4277 14359 mobile: +43 664 60277 14359 fax: +43 1 4277 14338 web: http://www.univie.ac.at/zid http://www.aco.net Lead Icinga Core Developer http://www.icinga.org ------------------------------------------------------------------------------ Ridiculously easy VDI. With Citrix VDI-in-a-Box, you don't need a complex infrastructure or vast IT resources to deliver seamless, secure access to virtual desktops. With this all-in-one solution, easily deploy virtual desktops for less than the cost of PCs and save 60% on VDI infrastructure costs. Try it free! http://p.sf.net/sfu/Citrix-VDIinabox _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jake at demonware.net Mon Jan 9 20:53:51 2012 From: jake at demonware.net (Jake Xu) Date: Mon, 9 Jan 2012 11:53:51 -0800 Subject: How to reschedule multiple/all services at once Message-ID: Hi everyone, >From time to time, I need to restart or reschedule all services to verify that some new checks or new hosts are working properly. Is there any easy way to do that? I have a large number of hosts and services, so it would be tedious to click through a bunch of links via the web interface. Using external command is not very feasible as well because I would have to have all host names and service names for the command line commands. I have seen a pretty good idea on Icinga, a Nagios fork, for this purpose. It has a checkbox associated with each service check and a select-all checkbox to select all checkboxes. It would be useful to have that on the Nagios Core, but AFAIK there isn't any. Thanks in advance, Jake -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Ridiculously easy VDI. With Citrix VDI-in-a-Box, you don't need a complex infrastructure or vast IT resources to deliver seamless, secure access to virtual desktops. With this all-in-one solution, easily deploy virtual desktops for less than the cost of PCs and save 60% on VDI infrastructure costs. Try it free! http://p.sf.net/sfu/Citrix-VDIinabox -------------- 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.wittenberg.r0ko at statefarm.com Mon Jan 9 21:26:50 2012 From: daniel.wittenberg.r0ko at statefarm.com (Daniel Wittenberg) Date: Mon, 9 Jan 2012 20:26:50 +0000 Subject: How to reschedule multiple/all services at once In-Reply-To: References: Message-ID: <4288A518A157EC4C8873FEE74F778BF00C0AD8@WPSDGQHH.OPR.STATEFARM.ORG> I'm using Multisite for front-end to Core and do this all the time. Dan From: Jake Xu [mailto:jake at demonware.net] Sent: Monday, January 09, 2012 1:54 PM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] How to reschedule multiple/all services at once Hi everyone, >From time to time, I need to restart or reschedule all services to verify that some new checks or new hosts are working properly. Is there any easy way to do that? I have a large number of hosts and services, so it would be tedious to click through a bunch of links via the web interface. Using external command is not very feasible as well because I would have to have all host names and service names for the command line commands. I have seen a pretty good idea on Icinga, a Nagios fork, for this purpose. It has a checkbox associated with each service check and a select-all checkbox to select all checkboxes. It would be useful to have that on the Nagios Core, but AFAIK there isn't any. Thanks in advance, Jake -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Ridiculously easy VDI. With Citrix VDI-in-a-Box, you don't need a complex infrastructure or vast IT resources to deliver seamless, secure access to virtual desktops. With this all-in-one solution, easily deploy virtual desktops for less than the cost of PCs and save 60% on VDI infrastructure costs. Try it free! http://p.sf.net/sfu/Citrix-VDIinabox -------------- 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 michael.friedrich at univie.ac.at Mon Jan 9 21:53:38 2012 From: michael.friedrich at univie.ac.at (Michael Friedrich) Date: Mon, 09 Jan 2012 21:53:38 +0100 Subject: How to reschedule multiple/all services at once In-Reply-To: References: Message-ID: <4F0B53D2.9000902@univie.ac.at> On 09.01.2012 20:53, Jake Xu wrote: > Hi everyone, > > From time to time, I need to restart or reschedule all services to > verify that some new checks or new hosts are working properly. Is > there any easy way to do that? I have a large number of hosts and > services, so it would be tedious to click through a bunch of links via > the web interface. Using external command is not very feasible as well > because I would have to have all host names and service names for the > command line commands. > > I have seen a pretty good idea on Icinga, a Nagios fork, for this > purpose. It has a checkbox associated with each service check and a > select-all checkbox to select all checkboxes. hehe. you just made ricardo and rune proud :-)) > It would be useful to have that on the Nagios Core, but AFAIK there > isn't any. for the problem itsself - try OMD. nagios, icinga, shinken as core available whilst the gui decision is up to you. http://omdistro.org > > Thanks in advance, > Jake > > > ------------------------------------------------------------------------------ > Ridiculously easy VDI. With Citrix VDI-in-a-Box, you don't need a complex > infrastructure or vast IT resources to deliver seamless, secure access to > virtual desktops. With this all-in-one solution, easily deploy virtual > desktops for less than the cost of PCs and save 60% on VDI infrastructure > costs. Try it free! http://p.sf.net/sfu/Citrix-VDIinabox > > > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null -- DI (FH) Michael Friedrich Vienna University Computer Center Universitaetsstrasse 7 A-1010 Vienna, Austria email: michael.friedrich at univie.ac.at phone: +43 1 4277 14359 mobile: +43 664 60277 14359 fax: +43 1 4277 14338 web: http://www.univie.ac.at/zid http://www.aco.net Lead Icinga Core Developer http://www.icinga.org -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Ridiculously easy VDI. With Citrix VDI-in-a-Box, you don't need a complex infrastructure or vast IT resources to deliver seamless, secure access to virtual desktops. With this all-in-one solution, easily deploy virtual desktops for less than the cost of PCs and save 60% on VDI infrastructure costs. Try it free! http://p.sf.net/sfu/Citrix-VDIinabox -------------- 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 andrew.ford at wellsfargo.com Mon Jan 9 22:17:17 2012 From: andrew.ford at wellsfargo.com (andrew.ford at wellsfargo.com) Date: Mon, 9 Jan 2012 16:17:17 -0500 Subject: How to reschedule multiple/all services at once In-Reply-To: <4F0B53D2.9000902@univie.ac.at> References: <4F0B53D2.9000902@univie.ac.at> Message-ID: <92F840F61CBA7641ABC9FBC87ABE86EB5C0AA3188A@MSGCMSIL1011.ent.wfb.bank.corp> I usually combine the classic external command scripts with a smidge of perl to grab the members of the hostgroup that I want to trigger something for. If you give the following script a hostgroup name, it will grab the members from objects.cache: #!/usr/local/nagios/bin/perl use warnings; use strict; my $hostgroup = $ARGV[0]; # here's the spot where I should be checking that $hostgroup is defined... open my $objects,'<','/usr/local/nagios/var/objects.cache' or die "Failure opening objects file: $!\n"; $/ = '}'; while (<$objects>) { if (/hostgroup_name\s+($hostgroup)/gs) { /members\s+(\S+)/gs; my $members = $1; my @members = split /,/,$members; for my $member (@members) { print "$member\n"; } } } close $objects; When you run that you get a list that you can feed to your external command script. Here's the idea in shell on the command line: bash# for x in `get_hostgroup_members big_switches`;do trigger_service_script $x;done Andy Ford Network Security Engineer | Solutions Design & Automation| Information Security Technology 314-348-4937 andrew.ford at wellsfargo.com From: Michael Friedrich [mailto:michael.friedrich at univie.ac.at] Sent: Monday, January 09, 2012 2:54 PM To: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] How to reschedule multiple/all services at once On 09.01.2012 20:53, Jake Xu wrote: Hi everyone, >From time to time, I need to restart or reschedule all services to verify that some new checks or new hosts are working properly. Is there any easy way to do that? I have a large number of hosts and services, so it would be tedious to click through a bunch of links via the web interface. Using external command is not very feasible as well because I would have to have all host names and service names for the command line commands. I have seen a pretty good idea on Icinga, a Nagios fork, for this purpose. It has a checkbox associated with each service check and a select-all checkbox to select all checkboxes. hehe. you just made ricardo and rune proud :-)) It would be useful to have that on the Nagios Core, but AFAIK there isn't any. for the problem itsself - try OMD. nagios, icinga, shinken as core available whilst the gui decision is up to you. http://omdistro.org Thanks in advance, Jake ------------------------------------------------------------------------------ Ridiculously easy VDI. With Citrix VDI-in-a-Box, you don't need a complex infrastructure or vast IT resources to deliver seamless, secure access to virtual desktops. With this all-in-one solution, easily deploy virtual desktops for less than the cost of PCs and save 60% on VDI infrastructure costs. Try it free! http://p.sf.net/sfu/Citrix-VDIinabox _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null -- DI (FH) Michael Friedrich Vienna University Computer Center Universitaetsstrasse 7 A-1010 Vienna, Austria email: michael.friedrich at univie.ac.at phone: +43 1 4277 14359 mobile: +43 664 60277 14359 fax: +43 1 4277 14338 web: http://www.univie.ac.at/zid http://www.aco.net Lead Icinga Core Developer http://www.icinga.org -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Ridiculously easy VDI. With Citrix VDI-in-a-Box, you don't need a complex infrastructure or vast IT resources to deliver seamless, secure access to virtual desktops. With this all-in-one solution, easily deploy virtual desktops for less than the cost of PCs and save 60% on VDI infrastructure costs. Try it free! http://p.sf.net/sfu/Citrix-VDIinabox -------------- 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 Tue Jan 10 01:26:59 2012 From: f at zz.de (Florian Lohoff) Date: Tue, 10 Jan 2012 01:26:59 +0100 Subject: Dualstack monitoring best practice In-Reply-To: References: <20120109142636.GA6585@pax.zz.de> Message-ID: <20120110002659.GB18501@pax.zz.de> On Mon, Jan 09, 2012 at 10:23:13AM -0700, Robert V. Bolton wrote: > Hi Flo, > > At work we have started to go dualstack with all of our servers. Currently > our web servers are 100% dualstack so most of our monitoring dualstack > experience is based off of these servers. We have noticed that IPv4 > connectivity is more important than IPv6 since a client is more likely to > have an IPv4 address than IPv6, also if a web client accesses a server over > IPv6 and the server doesn't respond on IPv6 it will timeout and fall back > to IPv4. I suggest that you monitor these ping check separately so that > you'll be able to troubleshoot where the problem is on the IPv4 side of the > IPv6 side. If you really want to monitor these together I would look into > clustering these two ping checks and set a warning if one of these fails. > Here is the info about check_cluster I have seen tons of buggy clients - not especially web browser but e.g. jabber clients failing if the host in the srv records has a AAAA records but does not accept connections on that. Fallback is not a feature of the IP Stack but the applications and we'll see more broken applications the next years. So one you enable some ipv6 on a service its as important that it works as the ipv4 part. I tried a little today, used _v6address and thus _HOSTV6ADDRESS in the checks and made PING and PINGv6 services (and dnscache, dnsauth etc services). v6 check commands use the _HOSTV6ADDRESS automatically. Another thing which bit me today was routers having ipv6 config on interfaces but which were not doing ipv6. Monitoring ipv6ifOperStatus now but thats a different story ... 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 -------------- ------------------------------------------------------------------------------ Write once. Port to many. Get the SDK and tools to simplify cross-platform app development. Create new or port existing apps to sell to consumers worldwide. Explore the Intel AppUpSM program developer opportunity. appdeveloper.intel.com/join http://p.sf.net/sfu/intel-appdev -------------- 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 Tue Jan 10 10:18:36 2012 From: ae at op5.se (Andreas Ericsson) Date: Tue, 10 Jan 2012 10:18:36 +0100 Subject: .Re: How to reschedule multiple/all services at once In-Reply-To: References: Message-ID: <4F0C026C.7090502@op5.se> On 01/09/2012 08:53 PM, Jake Xu wrote: > Hi everyone, > >> From time to time, I need to restart or reschedule all services to verify > that some new checks or new hosts are working properly. Is there any easy > way to do that? I have a large number of hosts and services, so it would be > tedious to click through a bunch of links via the web interface. Using > external command is not very feasible as well because I would have to have > all host names and service names for the command line commands. > > I have seen a pretty good idea on Icinga, a Nagios fork, for this purpose. > It has a checkbox associated with each service check and a select-all > checkbox to select all checkboxes. It would be useful to have that on the > Nagios Core, but AFAIK there isn't any. > Pretty much all other UI's but the basic one has this capability. Speedwise, I'd imagine Thruk and Multisite would suit you very well. It sort of depends on how you define "large number of hosts and services" though. Most UI's scale just fine to a couple of thousand hosts, although certain parts of it might suck donkey balls with huge networks. Multisite suffers when creating reports, for example, but is crazy fast at showing current status. Thruk is faster at both (last time I checked), but it's, imo, pretty ugly (sorry Sven) and lacks a bunch of boss-bling type features that other UI's have. YMMV. As for adding that capability to the "default" ui; That's not going to happen unless someone provides a patch for it. None of the maintainers have any interest in adding features to the cgi, so they're there simply as a fallback and will most likely be removed some time in the future in favour of a ui written in some more easily hackable language. -- 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. ------------------------------------------------------------------------------ Write once. Port to many. Get the SDK and tools to simplify cross-platform app development. Create new or port existing apps to sell to consumers worldwide. Explore the Intel AppUpSM program developer opportunity. appdeveloper.intel.com/join http://p.sf.net/sfu/intel-appdev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Jan 10 10:51:21 2012 From: ae at op5.se (Andreas Ericsson) Date: Tue, 10 Jan 2012 10:51:21 +0100 Subject: Dualstack monitoring best practice In-Reply-To: <4F0B3D74.5080209@univie.ac.at> References: <20120109142636.GA6585@pax.zz.de> <4F0B3107.50104@univie.ac.at> <4F0B3D74.5080209@univie.ac.at> Message-ID: <4F0C0A19.1040609@op5.se> On 01/09/2012 08:18 PM, Michael Friedrich wrote: > Robert V. Bolton wrote: >> On Mon, Jan 9, 2012 at 11:25 AM, Michael Friedrich >> > > wrote: >> >> there's a patch for nagios around, adding address6 as host attribute. >> even if there are custom variables, it's more intentional for keeping >> the systems dualstacked in the future by adding that. >> >> >> You don't need to add the patch to add an address6 variable, just use >> a Custom Object Variable >> . I use >> to run Nagios with patch that added the address6 variable, but it >> ended up screwing me up in the long run. > > sure, the patch needs some rework, but when done, it fits, even it won't > make it upstream due to the change of the objects abi. but for safety > reasons in upgrading, your solution is better. > We might turn "address" into an array variable later. I'm not sure it's worth it though. Until someone finds a best practice that is flexible enough to allow all setups while making the most common one really, really simple we probably won't try to do anything that will lock people in to a particular kind of reasoning. That ofcourse requires someone to actually figure out first what the most common case is, and then to figure out a best practice for how to monitor it that enough people agree on to make it at least a majority vote that we dictators implement. Until such a time, custom variables, plugin hackery and check command voodoo seems to do the trick for most people. -- 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. ------------------------------------------------------------------------------ Write once. Port to many. Get the SDK and tools to simplify cross-platform app development. Create new or port existing apps to sell to consumers worldwide. Explore the Intel AppUpSM program developer opportunity. appdeveloper.intel.com/join http://p.sf.net/sfu/intel-appdev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From saulo.zimbaro at acotel.com Tue Jan 10 12:36:56 2012 From: saulo.zimbaro at acotel.com (Saulo Zimbaro) Date: Tue, 10 Jan 2012 09:36:56 -0200 Subject: Acknowledge link on service commands Message-ID: I want to know if have a solution for link acknowledge bug in nagios services commands. I?ve already upgrade to nagios 3.3.1 but the link still not appears for some services. thanks, -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Write once. Port to many. Get the SDK and tools to simplify cross-platform app development. Create new or port existing apps to sell to consumers worldwide. Explore the Intel AppUpSM program developer opportunity. appdeveloper.intel.com/join http://p.sf.net/sfu/intel-appdev -------------- 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 jim at jimavery.me.uk Tue Jan 10 13:17:49 2012 From: jim at jimavery.me.uk (Jim Avery) Date: Tue, 10 Jan 2012 12:17:49 +0000 Subject: Acknowledge link on service commands In-Reply-To: References: Message-ID: On 10 January 2012 11:36, Saulo Zimbaro wrote: > I want to know if have a solution for link acknowledge bug in nagios > services commands. I?ve already upgrade to nagios 3.3.1 but the link still > not appears for some services. The Acknowledge button is only available if the service (or host) is in a Hard state, is not OK and is not already acknowledged. For information on state types, see:- http://nagios.sourceforge.net/docs/nagioscore/3/en/statetypes.html ------------------------------------------------------------------------------ Write once. Port to many. Get the SDK and tools to simplify cross-platform app development. Create new or port existing apps to sell to consumers worldwide. Explore the Intel AppUpSM program developer opportunity. appdeveloper.intel.com/join http://p.sf.net/sfu/intel-appdev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jake at demonware.net Tue Jan 10 21:14:40 2012 From: jake at demonware.net (Jake Xu) Date: Tue, 10 Jan 2012 12:14:40 -0800 Subject: How to reschedule multiple/all services at once In-Reply-To: <92F840F61CBA7641ABC9FBC87ABE86EB5C0AA3188A@MSGCMSIL1011.ent.wfb.bank.corp> References: <4F0B53D2.9000902@univie.ac.at> <92F840F61CBA7641ABC9FBC87ABE86EB5C0AA3188A@MSGCMSIL1011.ent.wfb.bank.corp> Message-ID: Just attached Andreas' response from another thread. @Dan, I've taken a look at Multisite. It seems to have some crazy batch commands/comments which are exactly what I am looking for. I tried it a bit but ended up getting segfault from apache when I accessed the webpage localhost/check_mk/. It's probably because I have too many sites running on my test box. Will try again later. Thanks for the recommendation. @Michael, Icinga would be good if I started from sratch. It is pain for me to migrate everything to Icinga though because the default file structure is different and the web ui is not as straightforward as Nagios core. Thanks for showing me the OMD, didn't aware of it at all. @Andreas, I am defining "large number of hosts" as >= one thousand, and each host is likely to have +/- 10 services, so you get the idea :) I agree with you that Thruk doesn't look as good as others, so I am looking into Check_MK Multisite as it has some pretty useful commands/shortcuts/features. I don't use the report feature that much, so Multisite should be good enough. Yeah, hacking the cgi is really undesirable. I will just try to adapt anohter UI like Multisite. Thanks for all the response! Jake On Tue, Jan 10, 2012 at 1:18 AM, Andreas Ericsson wrote: > On 01/09/2012 08:53 PM, Jake Xu wrote: > > Hi everyone, > > > >> From time to time, I need to restart or reschedule all services to > verify > > that some new checks or new hosts are working properly. Is there any easy > > way to do that? I have a large number of hosts and services, so it would > be > > tedious to click through a bunch of links via the web interface. Using > > external command is not very feasible as well because I would have to > have > > all host names and service names for the command line commands. > > > > I have seen a pretty good idea on Icinga, a Nagios fork, for this > purpose. > > It has a checkbox associated with each service check and a select-all > > checkbox to select all checkboxes. It would be useful to have that on the > > Nagios Core, but AFAIK there isn't any. > > > > Pretty much all other UI's but the basic one has this capability. > Speedwise, > I'd imagine Thruk and Multisite would suit you very well. It sort of > depends > on how you define "large number of hosts and services" though. Most UI's > scale just fine to a couple of thousand hosts, although certain parts of it > might suck donkey balls with huge networks. Multisite suffers when creating > reports, for example, but is crazy fast at showing current status. Thruk is > faster at both (last time I checked), but it's, imo, pretty ugly (sorry > Sven) > and lacks a bunch of boss-bling type features that other UI's have. > > YMMV. > > As for adding that capability to the "default" ui; That's not going to > happen > unless someone provides a patch for it. None of the maintainers have any > interest in adding features to the cgi, so they're there simply as a > fallback > and will most likely be removed some time in the future in favour of a ui > written in some more easily hackable language. > > -- > 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. > On Mon, Jan 9, 2012 at 1:17 PM, wrote: > I usually combine the classic external command scripts with a smidge of > perl to grab the members of the hostgroup that I want to trigger something > for.**** > > ** ** > > If you give the following script a hostgroup name, it will grab the > members from objects.cache:**** > > ** ** > > #!/usr/local/nagios/bin/perl**** > > use warnings;**** > > use strict;**** > > ** ** > > my $hostgroup = $ARGV[0];**** > > # here?s the spot where I should be checking that $hostgroup is defined?** > ** > > open my $objects,'<','/usr/local/nagios/var/objects.cache' or die "Failure > opening objects file: $!\n";**** > > $/ = '}';**** > > while (<$objects>) {**** > > if (/hostgroup_name\s+($hostgroup)/gs) {**** > > /members\s+(\S+)/gs;**** > > my $members = $1;**** > > my @members = split /,/,$members;**** > > for my $member (@members) {**** > > print "$member\n";**** > > }**** > > }**** > > }**** > > close $objects;**** > > ** ** > > When you run that you get a list that you can feed to your external > command script.**** > > Here?s the idea in shell on the command line:**** > > ** ** > > bash# for x in `get_hostgroup_members big_switches`;do > trigger_service_script $x;done **** > > ** > > ** > > ** ** > > Andy Ford**** > > Network Security Engineer | Solutions Design & Automation| Information > Security Technology**** > > 314-348-4937**** > > andrew.ford at wellsfargo.com**** > > ** ** > > *From:* Michael Friedrich [mailto:michael.friedrich at univie.ac.at] > *Sent:* Monday, January 09, 2012 2:54 PM > *To:* nagios-users at lists.sourceforge.net > *Subject:* Re: [Nagios-users] How to reschedule multiple/all services at > once**** > > ** ** > > On 09.01.2012 20:53, Jake Xu wrote: **** > > Hi everyone, **** > > ** ** > > From time to time, I need to restart or reschedule all services to verify > that some new checks or new hosts are working properly. Is there any easy > way to do that? I have a large number of hosts and services, so it would be > tedious to click through a bunch of links via the web interface. Using > external command is not very feasible as well because I would have to have > all host names and service names for the command line commands.**** > > ** ** > > I have seen a pretty good idea on Icinga, a Nagios fork, for this purpose. > It has a checkbox associated with each service check and a select-all > checkbox to select all checkboxes. **** > > > hehe. you just made ricardo and rune proud :-)) > > > **** > > It would be useful to have that on the Nagios Core, but AFAIK there isn't > any.**** > > > > for the problem itsself - try OMD. nagios, icinga, shinken as core > available whilst the gui decision is up to you. > > http://omdistro.org > > > **** > > ** ** > > Thanks in advance,**** > > Jake**** > > ** ** > > ** ** > > ------------------------------------------------------------------------------**** > > Ridiculously easy VDI. With Citrix VDI-in-a-Box, you don't need a complex**** > > infrastructure or vast IT resources to deliver seamless, secure access to**** > > virtual desktops. With this all-in-one solution, easily deploy virtual **** > > desktops for less than the cost of PCs and save 60% on VDI infrastructure **** > > costs. Try it free! http://p.sf.net/sfu/Citrix-VDIinabox**** > > ** ** > > ** ** > > _______________________________________________**** > > Nagios-users mailing list**** > > Nagios-users at lists.sourceforge.net**** > > https://lists.sourceforge.net/lists/listinfo/nagios-users**** > > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. **** > > ::: Messages without supporting info will risk being sent to /dev/null**** > > > > > **** > > -- **** > > DI (FH) Michael Friedrich**** > > ** ** > > Vienna University Computer Center**** > > Universitaetsstrasse 7 A-1010 Vienna, Austria**** > > ** ** > > email: michael.friedrich at univie.ac.at**** > > phone: +43 1 4277 14359**** > > mobile: +43 664 60277 14359**** > > fax: +43 1 4277 14338**** > > web: http://www.univie.ac.at/zid**** > > http://www.aco.net**** > > ** ** > > Lead Icinga Core Developer**** > > http://www.icinga.org**** > > > > ------------------------------------------------------------------------------ > Ridiculously easy VDI. With Citrix VDI-in-a-Box, you don't need a complex > infrastructure or vast IT resources to deliver seamless, secure access to > virtual desktops. With this all-in-one solution, easily deploy virtual > desktops for less than the cost of PCs and save 60% on VDI infrastructure > costs. Try it free! http://p.sf.net/sfu/Citrix-VDIinabox > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 -------------- ------------------------------------------------------------------------------ Write once. Port to many. Get the SDK and tools to simplify cross-platform app development. Create new or port existing apps to sell to consumers worldwide. Explore the Intel AppUpSM program developer opportunity. appdeveloper.intel.com/join http://p.sf.net/sfu/intel-appdev -------------- 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.wittenberg.r0ko at statefarm.com Tue Jan 10 21:23:11 2012 From: daniel.wittenberg.r0ko at statefarm.com (Daniel Wittenberg) Date: Tue, 10 Jan 2012 20:23:11 +0000 Subject: How to reschedule multiple/all services at once In-Reply-To: References: <4F0B53D2.9000902@univie.ac.at> <92F840F61CBA7641ABC9FBC87ABE86EB5C0AA3188A@MSGCMSIL1011.ent.wfb.bank.corp> Message-ID: <4288A518A157EC4C8873FEE74F778BF00C1320@WPSDGQHH.OPR.STATEFARM.ORG> Scalability might still be an issue with Multisite, there are some things that make it perform really slow to be aware of, but I have it accessing 34 nagios servers, about 36,000 devices and 1.5 million service checks, so it's definitely do-able. Dan From: Jake Xu [mailto:jake at demonware.net] Sent: Tuesday, January 10, 2012 2:15 PM To: Nagios Users List Subject: Re: [Nagios-users] How to reschedule multiple/all services at once Just attached Andreas' response from another thread. @Dan, I've taken a look at Multisite. It seems to have some crazy batch commands/comments which are exactly what I am looking for. I tried it a bit but ended up getting segfault from apache when I accessed the webpage localhost/check_mk/. It's probably because I have too many sites running on my test box. Will try again later. Thanks for the recommendation. @Michael, Icinga would be good if I started from sratch. It is pain for me to migrate everything to Icinga though because the default file structure is different and the web ui is not as straightforward as Nagios core. Thanks for showing me the OMD, didn't aware of it at all. @Andreas, I am defining "large number of hosts" as >= one thousand, and each host is likely to have +/- 10 services, so you get the idea :) I agree with you that Thruk doesn't look as good as others, so I am looking into Check_MK Multisite as it has some pretty useful commands/shortcuts/features. I don't use the report feature that much, so Multisite should be good enough. Yeah, hacking the cgi is really undesirable. I will just try to adapt anohter UI like Multisite. Thanks for all the response! Jake On Tue, Jan 10, 2012 at 1:18 AM, Andreas Ericsson > wrote: On 01/09/2012 08:53 PM, Jake Xu wrote: > Hi everyone, > >> From time to time, I need to restart or reschedule all services to verify > that some new checks or new hosts are working properly. Is there any easy > way to do that? I have a large number of hosts and services, so it would be > tedious to click through a bunch of links via the web interface. Using > external command is not very feasible as well because I would have to have > all host names and service names for the command line commands. > > I have seen a pretty good idea on Icinga, a Nagios fork, for this purpose. > It has a checkbox associated with each service check and a select-all > checkbox to select all checkboxes. It would be useful to have that on the > Nagios Core, but AFAIK there isn't any. > Pretty much all other UI's but the basic one has this capability. Speedwise, I'd imagine Thruk and Multisite would suit you very well. It sort of depends on how you define "large number of hosts and services" though. Most UI's scale just fine to a couple of thousand hosts, although certain parts of it might suck donkey balls with huge networks. Multisite suffers when creating reports, for example, but is crazy fast at showing current status. Thruk is faster at both (last time I checked), but it's, imo, pretty ugly (sorry Sven) and lacks a bunch of boss-bling type features that other UI's have. YMMV. As for adding that capability to the "default" ui; That's not going to happen unless someone provides a patch for it. None of the maintainers have any interest in adding features to the cgi, so they're there simply as a fallback and will most likely be removed some time in the future in favour of a ui written in some more easily hackable language. -- 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. On Mon, Jan 9, 2012 at 1:17 PM, > wrote: I usually combine the classic external command scripts with a smidge of perl to grab the members of the hostgroup that I want to trigger something for. If you give the following script a hostgroup name, it will grab the members from objects.cache: #!/usr/local/nagios/bin/perl use warnings; use strict; my $hostgroup = $ARGV[0]; # here's the spot where I should be checking that $hostgroup is defined... open my $objects,'<','/usr/local/nagios/var/objects.cache' or die "Failure opening objects file: $!\n"; $/ = '}'; while (<$objects>) { if (/hostgroup_name\s+($hostgroup)/gs) { /members\s+(\S+)/gs; my $members = $1; my @members = split /,/,$members; for my $member (@members) { print "$member\n"; } } } close $objects; When you run that you get a list that you can feed to your external command script. Here's the idea in shell on the command line: bash# for x in `get_hostgroup_members big_switches`;do trigger_service_script $x;done Andy Ford Network Security Engineer | Solutions Design & Automation| Information Security Technology 314-348-4937 andrew.ford at wellsfargo.com From: Michael Friedrich [mailto:michael.friedrich at univie.ac.at] Sent: Monday, January 09, 2012 2:54 PM To: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] How to reschedule multiple/all services at once On 09.01.2012 20:53, Jake Xu wrote: Hi everyone, >From time to time, I need to restart or reschedule all services to verify that some new checks or new hosts are working properly. Is there any easy way to do that? I have a large number of hosts and services, so it would be tedious to click through a bunch of links via the web interface. Using external command is not very feasible as well because I would have to have all host names and service names for the command line commands. I have seen a pretty good idea on Icinga, a Nagios fork, for this purpose. It has a checkbox associated with each service check and a select-all checkbox to select all checkboxes. hehe. you just made ricardo and rune proud :-)) It would be useful to have that on the Nagios Core, but AFAIK there isn't any. for the problem itsself - try OMD. nagios, icinga, shinken as core available whilst the gui decision is up to you. http://omdistro.org Thanks in advance, Jake ------------------------------------------------------------------------------ Ridiculously easy VDI. With Citrix VDI-in-a-Box, you don't need a complex infrastructure or vast IT resources to deliver seamless, secure access to virtual desktops. With this all-in-one solution, easily deploy virtual desktops for less than the cost of PCs and save 60% on VDI infrastructure costs. Try it free! http://p.sf.net/sfu/Citrix-VDIinabox _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null -- DI (FH) Michael Friedrich Vienna University Computer Center Universitaetsstrasse 7 A-1010 Vienna, Austria email: michael.friedrich at univie.ac.at phone: +43 1 4277 14359 mobile: +43 664 60277 14359 fax: +43 1 4277 14338 web: http://www.univie.ac.at/zid http://www.aco.net Lead Icinga Core Developer http://www.icinga.org ------------------------------------------------------------------------------ Ridiculously easy VDI. With Citrix VDI-in-a-Box, you don't need a complex infrastructure or vast IT resources to deliver seamless, secure access to virtual desktops. With this all-in-one solution, easily deploy virtual desktops for less than the cost of PCs and save 60% on VDI infrastructure costs. Try it free! http://p.sf.net/sfu/Citrix-VDIinabox _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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 -------------- ------------------------------------------------------------------------------ Write once. Port to many. Get the SDK and tools to simplify cross-platform app development. Create new or port existing apps to sell to consumers worldwide. Explore the Intel AppUpSM program developer opportunity. appdeveloper.intel.com/join http://p.sf.net/sfu/intel-appdev -------------- 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 michael.friedrich at univie.ac.at Tue Jan 10 21:57:53 2012 From: michael.friedrich at univie.ac.at (Michael Friedrich) Date: Tue, 10 Jan 2012 21:57:53 +0100 Subject: How to reschedule multiple/all services at once In-Reply-To: References: <4F0B53D2.9000902@univie.ac.at> <92F840F61CBA7641ABC9FBC87ABE86EB5C0AA3188A@MSGCMSIL1011.ent.wfb.bank.corp> Message-ID: <4F0CA651.5060606@univie.ac.at> On 10.01.2012 21:14, Jake Xu wrote: > Just attached Andreas' response from another thread. > > @Dan, I've taken a look at Multisite. It seems to have some crazy > batch commands/comments which are exactly what I am looking for. I > tried it a bit but ended up getting segfault from apache when I > accessed the webpage localhost/check_mk/. It's probably because I have > too many sites running on my test box. Will try again later. Thanks > for the recommendation. multsite requires mk_livestatus as core neb module. keep that in mind when installing it. ah well, and it's python. that could be the problem on your apache. best will be to debug it on the logs and report back to developers. > > @Michael, Icinga would be good if I started from sratch. It is pain > for me to migrate everything to Icinga though because the default file > structure is different and the web ui is not as straightforward as > Nagios core. Thanks for showing me the OMD, didn't aware of it at all. migration is not really painful when you know the right docs to read (i won't post them here, see the official docs). that comes to mind when reading omd as well where the file structures remains even more different (site based), but that's one of those things being traversed into a benefit of keeping different sites for testing and having one as production setup - and doing other upgrade stuff. icinga webui - there are 2 of them (new idoutils based and old classicui, having 2 developer teams on the project). when comparing icinga's classic ui to nagios classic ui, compound commands is one of those things people are asking a lot about (mostly for acknowledging problems, but also to schedule checks or downtimes). to be honest, i couldn't work with nagios classic ui again if someone would pin me other there. but that's just my humble opinion and not really liked ;) as remarked by andreas, nagios developers do not seem to have the intention to feature enhance the classic ui so it will be a dead end requesting features like compound commands. patching that is not really funny, but you can meet rune or ricardo on irc.freenode.net and ask by yourself ;-) generally speaking you should give the omd setup a test install and then decide what to do. if you now stick with nagios core 3.2.3 and wait for a 3.4.x stable release until you test various other guis and tools, wouldn't make much difference then not doing it ;-) > @Andreas, I am defining "large number of hosts" as >= one thousand, > and each host is likely to have +/- 10 services, so you get the idea > :) I agree with you that Thruk doesn't look as good as others, so I am > looking into Check_MK Multisite as it has some pretty useful > commands/shortcuts/features. I don't use the report feature that much, > so Multisite should be good enough. Yeah, hacking the cgi is really > undesirable. I will just try to adapt anohter UI like Multisite. even if thruk doesn't look that good, it is feature rich and sven is a good developer responding fast to ideas and demands. and from what i have seen, you can use other templates as well - perl catalyst power. someone might have wanted a mindmap or an integrated config editor as well - he added that to thruk. irc or the nagios portal might be the best address to discuss such topics though. kind regards, michael > > > Thanks for all the response! > > Jake > > On Tue, Jan 10, 2012 at 1:18 AM, Andreas Ericsson > wrote: > > On 01/09/2012 08:53 PM, Jake Xu wrote: > > Hi everyone, > > > >> From time to time, I need to restart or reschedule all services > to verify > > that some new checks or new hosts are working properly. Is there > any easy > > way to do that? I have a large number of hosts and services, so > it would be > > tedious to click through a bunch of links via the web interface. > Using > > external command is not very feasible as well because I would > have to have > > all host names and service names for the command line commands. > > > > I have seen a pretty good idea on Icinga, a Nagios fork, for > this purpose. > > It has a checkbox associated with each service check and a > select-all > > checkbox to select all checkboxes. It would be useful to have > that on the > > Nagios Core, but AFAIK there isn't any. > > > > Pretty much all other UI's but the basic one has this capability. > Speedwise, > I'd imagine Thruk and Multisite would suit you very well. It sort > of depends > on how you define "large number of hosts and services" though. > Most UI's > scale just fine to a couple of thousand hosts, although certain > parts of it > might suck donkey balls with huge networks. Multisite suffers when > creating > reports, for example, but is crazy fast at showing current status. > Thruk is > faster at both (last time I checked), but it's, imo, pretty ugly > (sorry Sven) > and lacks a bunch of boss-bling type features that other UI's have. > > > YMMV. > > As for adding that capability to the "default" ui; That's not > going to happen > unless someone provides a patch for it. None of the maintainers > have any > interest in adding features to the cgi, so they're there simply as > a fallback > and will most likely be removed some time in the future in favour > of a ui > written in some more easily hackable language. > > -- > 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. > > > > On Mon, Jan 9, 2012 at 1:17 PM, > wrote: > > I usually combine the classic external command scripts with a > smidge of perl to grab the members of the hostgroup that I want to > trigger something for. > > If you give the following script a hostgroup name, it will grab > the members from objects.cache: > > #!/usr/local/nagios/bin/perl > > use warnings; > > use strict; > > my $hostgroup = $ARGV[0]; > > # here?s the spot where I should be checking that $hostgroup is > defined? > > open my $objects,'<','/usr/local/nagios/var/objects.cache' or die > "Failure opening objects file: $!\n"; > > $/ = '}'; > > while (<$objects>) { > > if (/hostgroup_name\s+($hostgroup)/gs) { > > /members\s+(\S+)/gs; > > my $members = $1; > > my @members = split /,/,$members; > > for my $member (@members) { > > print "$member\n"; > > } > > } > > } > > close $objects; > > When you run that you get a list that you can feed to your > external command script. > > Here?s the idea in shell on the command line: > > bash# for x in `get_hostgroup_members big_switches`;do > trigger_service_script $x;done > > > Andy Ford > > Network Security Engineer | Solutions Design & Automation| > Information Security Technology > > 314-348-4937 > > andrew.ford at wellsfargo.com > > *From:*Michael Friedrich [mailto:michael.friedrich at univie.ac.at > ] > > *Sent:* Monday, January 09, 2012 2:54 PM > *To:* nagios-users at lists.sourceforge.net > > *Subject:* Re: [Nagios-users] How to reschedule multiple/all > services at once > > On 09.01.2012 20:53, Jake Xu wrote: > > Hi everyone, > > From time to time, I need to restart or reschedule all services to > verify that some new checks or new hosts are working properly. Is > there any easy way to do that? I have a large number of hosts and > services, so it would be tedious to click through a bunch of links > via the web interface. Using external command is not very feasible > as well because I would have to have all host names and service > names for the command line commands. > > I have seen a pretty good idea on Icinga, a Nagios fork, for this > purpose. It has a checkbox associated with each service check and > a select-all checkbox to select all checkboxes. > > > hehe. you just made ricardo and rune proud :-)) > > > It would be useful to have that on the Nagios Core, but AFAIK > there isn't any. > > > > for the problem itsself - try OMD. nagios, icinga, shinken as core > available whilst the gui decision is up to you. > > http://omdistro.org > > > Thanks in advance, > > Jake > > > > > > ------------------------------------------------------------------------------ > > Ridiculously easy VDI. With Citrix VDI-in-a-Box, you don't need a complex > > infrastructure or vast IT resources to deliver seamless, secure access to > > virtual desktops. With this all-in-one solution, easily deploy virtual > > desktops for less than the cost of PCs and save 60% on VDI infrastructure > > costs. Try it free!http://p.sf.net/sfu/Citrix-VDIinabox > > > > > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > > ::: Messages without supporting info will risk being sent to /dev/null > > > > > -- > > DI (FH) Michael Friedrich > > > > Vienna University Computer Center > > Universitaetsstrasse 7 A-1010 Vienna, Austria > > > > email:michael.friedrich at univie.ac.at > > phone:+43 1 4277 14359 > > mobile:+43 664 60277 14359 > > fax:+43 1 4277 14338 > > web:http://www.univie.ac.at/zid > > http://www.aco.net > > > > Lead Icinga Core Developer > > http://www.icinga.org > > > ------------------------------------------------------------------------------ > Ridiculously easy VDI. With Citrix VDI-in-a-Box, you don't need a > complex > infrastructure or vast IT resources to deliver seamless, secure > access to > virtual desktops. With this all-in-one solution, easily deploy virtual > desktops for less than the cost of PCs and save 60% on VDI > infrastructure > costs. Try it free! http://p.sf.net/sfu/Citrix-VDIinabox > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > > > > > ------------------------------------------------------------------------------ > Write once. Port to many. > Get the SDK and tools to simplify cross-platform app development. Create > new or port existing apps to sell to consumers worldwide. Explore the > Intel AppUpSM program developer opportunity. appdeveloper.intel.com/join > http://p.sf.net/sfu/intel-appdev > > > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null -- DI (FH) Michael Friedrich Vienna University Computer Center Universitaetsstrasse 7 A-1010 Vienna, Austria email: michael.friedrich at univie.ac.at phone: +43 1 4277 14359 mobile: +43 664 60277 14359 fax: +43 1 4277 14338 web: http://www.univie.ac.at/zid http://www.aco.net Lead Icinga Core Developer http://www.icinga.org -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Write once. Port to many. Get the SDK and tools to simplify cross-platform app development. Create new or port existing apps to sell to consumers worldwide. Explore the Intel AppUpSM program developer opportunity. appdeveloper.intel.com/join http://p.sf.net/sfu/intel-appdev -------------- 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 michael.friedrich at univie.ac.at Tue Jan 10 22:23:16 2012 From: michael.friedrich at univie.ac.at (Michael Friedrich) Date: Tue, 10 Jan 2012 22:23:16 +0100 Subject: Dualstack monitoring best practice In-Reply-To: <4F0C0A19.1040609@op5.se> References: <20120109142636.GA6585@pax.zz.de> <4F0B3107.50104@univie.ac.at> <4F0B3D74.5080209@univie.ac.at> <4F0C0A19.1040609@op5.se> Message-ID: <4F0CAC44.1010608@univie.ac.at> On 10.01.2012 10:51, Andreas Ericsson wrote: >> >> sure, the patch needs some rework, but when done, it fits, even it won't >> make it upstream due to the change of the objects abi. but for safety >> reasons in upgrading, your solution is better. >> > > We might turn "address" into an array variable later. I'm not sure it's > worth it though. It's being demanded as "multiple addresses for one host" which comes to mind when seeing a host as - management ip, and a bunch of service ip addresses (for naming purposes custom vars will be better) - vmware / xen cluster with more than one unique address - dualstacked ip addresses as well as other examples. > Until someone finds a best practice that is flexible > enough to allow all setups while making the most common one really, really > simple we probably won't try to do anything that will lock people in to a > particular kind of reasoning. it's pretty hard to determine what might be best. especially when more addresses would mean more macros to be processed, and performance gain would suffer more than such enhancements will bring to those actually having demanded that. making things opt-in is not always an option either. > That ofcourse requires someone to actually > figure out first what the most common case is, and then to figure out a > best practice for how to monitor it that enough people agree on to make > it at least a majority vote that we dictators implement. ideas.nagios.org might be a good place to vote. http://ideas.nagios.org/a/dtd/Better-support-for-multihomed-hosts---more-than-one-address-entry/8006-3955 and it doesn't need to be you "dictators", maybe others got time, ideas, patches. like the guy asking for the additional icon defintion for action|notes_url patch - that's rather huge and might address such attribute questions by good example. even better is the address6 patch adding new macros too. but maybe there are too many changes in recent svn commits and 3.2.3 => 3.3.1 which makes people fear that their patch work could not be used. (maybe git solves it ;) > > Until such a time, custom variables, plugin hackery and check command > voodoo seems to do the trick for most people. Yep that's true. Adding the address6 patch was solely for the reason of integrating our management databases better into the network and server monitoring. But i truly understand your demand to keep the object abi clean and compatible. Btw - seen a patch on svn for changing the scheduling logic and adding a hash attribute to objects.h - hopefully targetted head against 3.4 then? kind regards, michael -- DI (FH) Michael Friedrich Vienna University Computer Center Universitaetsstrasse 7 A-1010 Vienna, Austria email: michael.friedrich at univie.ac.at phone: +43 1 4277 14359 mobile: +43 664 60277 14359 fax: +43 1 4277 14338 web: http://www.univie.ac.at/zid http://www.aco.net Lead Icinga Core Developer http://www.icinga.org ------------------------------------------------------------------------------ Write once. Port to many. Get the SDK and tools to simplify cross-platform app development. Create new or port existing apps to sell to consumers worldwide. Explore the Intel AppUpSM program developer opportunity. appdeveloper.intel.com/join http://p.sf.net/sfu/intel-appdev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From goddymugo at gmail.com Wed Jan 11 05:19:16 2012 From: goddymugo at gmail.com (GODDY MUGO) Date: Wed, 11 Jan 2012 07:19:16 +0300 Subject: NAGIOS CONFIGURATION Message-ID: Hi, I am new to Nagios and would like assistance on how to configure my Nagios installed in Fedora 15, to monitor the flow of HL7 data and their ports and also monitor DICOM in my network, and last to have it send mail notifications. Thanks in advance. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Ridiculously easy VDI. With Citrix VDI-in-a-Box, you don't need a complex infrastructure or vast IT resources to deliver seamless, secure access to virtual desktops. With this all-in-one solution, easily deploy virtual desktops for less than the cost of PCs and save 60% on VDI infrastructure costs. Try it free! http://p.sf.net/sfu/Citrix-VDIinabox -------------- 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 giles at coochey.net Wed Jan 11 10:43:41 2012 From: giles at coochey.net (Giles Coochey) Date: Wed, 11 Jan 2012 10:43:41 +0100 Subject: NAGIOS CONFIGURATION In-Reply-To: References: Message-ID: <92d6708bc63412ef21699760bbe5e5b5.squirrel@www.coochey.net> On Wed, January 11, 2012 05:19, GODDY MUGO wrote: > Hi, > > I am new to Nagios and would like assistance on how to configure my Nagios > installed in Fedora 15, to monitor > the flow of HL7 data and their ports and also monitor DICOM in my network, > and last to have it send mail notifications. > Hi, Having been away from Nagios for a while, I had a similar requirement to get Nagios running on Centos yesterday evening. I followed the following quickstart which worked just fine, the quickstart is designed for Fedora so should be just what you're looking for: http://nagios.sourceforge.net/docs/3_0/quickstart-fedora.html ------------------------------------------------------------------------------ Ridiculously easy VDI. With Citrix VDI-in-a-Box, you don't need a complex infrastructure or vast IT resources to deliver seamless, secure access to virtual desktops. With this all-in-one solution, easily deploy virtual desktops for less than the cost of PCs and save 60% on VDI infrastructure costs. Try it free! http://p.sf.net/sfu/Citrix-VDIinabox _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Timothy.Boyer at opm.gov Wed Jan 11 20:54:12 2012 From: Timothy.Boyer at opm.gov (Boyer, Timothy A.) Date: Wed, 11 Jan 2012 14:54:12 -0500 Subject: check_nc_net and WMICHECK Message-ID: <0F3D91EA70124C468301FF70A8ED16D402F026D1BE@BOYV7EXVS1.opm.gov> I'm having some issues trying to do WMI queries, and was hoping for some help from the list. First of all, something simple. Help on the check_nc_net says: # * - list all namespaces # namespace^* - list all classes in namespace # namespace^ full query statement - enter a full query statement as second parameter # namespace^*^class - list all instances in class 'List all classes in namespace' works fine. 'List all instances in class' doesn't: # ./check_nc_net -H 192.168.0.2 -v WMICHECK -l "DEFAULT^*^StdRegProv" Client - ERROR: Could not find result # ./check_nc_net -H 192.168.0.2 -v WMICHECK -l "DEFAULT^*^RegistryEvent" Client - ERROR: Could not find result Same result no matter what class. Second, I'm trying to do a WMI query. Most work just fine, but others - straight from the WQL examples - don't. Specifically, I'm trying to look for a registry change, like so: ./check_nc_net -H 192.168.0.2 -v WMICHECK -l "CIMV2^SELECT * FROM __InstanceModificationEvent WITHIN 10 WHERE TargetInstance ISA 'Win32_Service' AND TargetInstance._Class = 'win32_TerminalService'" and I get back Client - ERROR: Exeption occured in check wmi: Select: cimv2:SELECT * FROM __InstanceModificationEvent WITHIN 10 WHERE TargetInstance ISA 'Win32_Service' AND TargetInstance._Class = 'win32_TerminalService'::>Invalid query + exit 0 Am I missing something simple, or is this just not possible? Thanks.... -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Ridiculously easy VDI. With Citrix VDI-in-a-Box, you don't need a complex infrastructure or vast IT resources to deliver seamless, secure access to virtual desktops. With this all-in-one solution, easily deploy virtual desktops for less than the cost of PCs and save 60% on VDI infrastructure costs. Try it free! http://p.sf.net/sfu/Citrix-VDIinabox -------------- 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 andrew at fulgent.co.uk Thu Jan 12 13:13:46 2012 From: andrew at fulgent.co.uk (Andrew Thompson) Date: Thu, 12 Jan 2012 12:13:46 +0000 Subject: Scheduled downtime for mass hosts? Message-ID: Hi all, Tonight I will be forming maintenance on over 50 of my servers and will be taking firewall and routing links out. I have 86 hosts that this will affect. Im going to put them into scheduled downtime in Nagios. I have my hosts divided into hostgroups. Is there a quick way to schedule all 86 hosts into Nagios downtime rather than having to click on each host in the web GUI and doing them individually? Thanks -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ RSA(R) Conference 2012 Mar 27 - Feb 2 Save $400 by Jan. 27 Register now! http://p.sf.net/sfu/rsa-sfdev2dev2 -------------- 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 cbeattie at geninfo.com Thu Jan 12 14:22:00 2012 From: cbeattie at geninfo.com (Chris Beattie) Date: Thu, 12 Jan 2012 08:22:00 -0500 Subject: Scheduled downtime for mass hosts? In-Reply-To: References: Message-ID: <4F0EDE78.5030503@geninfo.com> On 1/12/2012 7:13 AM, Andrew Thompson wrote: > Is there a quick way to schedule all 86 hosts into Nagios downtime > rather than having to click on each host in the web GUI and doing them > individually? If you've set the parent/child relationships of the hosts, then all you should have to do is schedule downtime for the firewall, maybe checking the option to schedule downtime for the child hosts as well. If you have external commands enabled, you can wrap the sample script (http://old.nagios.org/developerinfo/externalcommands/commandinfo.php?command_id=28) in a FOR loop that iterates through a list of your host names. -- -Chris Nothing in this message is intended to make or accept an offer or to form a contract, except that an attachment that is an image of a contract bearing the signature of an officer of our company may be or become a contract. This message (including any attachments) is intended only for the use of the individual or entity to whom it is addressed. It may contain information that is non-public, proprietary, privileged, confidential, and exempt from disclosure under applicable law or may constitute as attorney work product. If you are not the intended recipient, we hereby notify you that any use, dissemination, distribution, or copying of this message is strictly prohibited. If you have received this message in error, please notify us immediately by telephone and delete this message immediately. Thank you. ------------------------------------------------------------------------------ RSA(R) Conference 2012 Mar 27 - Feb 2 Save $400 by Jan. 27 Register now! http://p.sf.net/sfu/rsa-sfdev2dev2 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From benny at bennyvision.com Thu Jan 12 15:11:22 2012 From: benny at bennyvision.com (C. Bensend) Date: Thu, 12 Jan 2012 08:11:22 -0600 Subject: Scheduled downtime for mass hosts? In-Reply-To: References: Message-ID: > Tonight I will be forming maintenance on over 50 of my servers and will be > taking firewall and routing links out. > > I have 86 hosts that this will affect. > > Im going to put them into scheduled downtime in Nagios. > > I have my hosts divided into hostgroups. > > Is there a quick way to schedule all 86 hosts into Nagios downtime rather > than having to click on each host in the web GUI and doing them > individually? This is precisely why I have a hostgroup that contains *all* my hosts. I just issue a single downtime command for the host*group*, and voila. Benny -- "Cats land on their feet. Toast lands peanut butter side down. A cat with toast strapped to its back will hover above the ground in a state of quantum indecision." -- Unknown ------------------------------------------------------------------------------ RSA(R) Conference 2012 Mar 27 - Feb 2 Save $400 by Jan. 27 Register now! http://p.sf.net/sfu/rsa-sfdev2dev2 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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.wittenberg.r0ko at statefarm.com Thu Jan 12 15:37:52 2012 From: daniel.wittenberg.r0ko at statefarm.com (Daniel Wittenberg) Date: Thu, 12 Jan 2012 14:37:52 +0000 Subject: Scheduled downtime for mass hosts? In-Reply-To: References: Message-ID: <4288A518A157EC4C8873FEE74F778BF00EDB4D@WPSDGQHH.OPR.STATEFARM.ORG> Another reason something like Multisite is handy :) Dan -----Original Message----- From: C. Bensend [mailto:benny at bennyvision.com] Sent: Thursday, January 12, 2012 8:11 AM To: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Scheduled downtime for mass hosts? > Tonight I will be forming maintenance on over 50 of my servers and will be > taking firewall and routing links out. > > I have 86 hosts that this will affect. > > Im going to put them into scheduled downtime in Nagios. > > I have my hosts divided into hostgroups. > > Is there a quick way to schedule all 86 hosts into Nagios downtime rather > than having to click on each host in the web GUI and doing them > individually? This is precisely why I have a hostgroup that contains *all* my hosts. I just issue a single downtime command for the host*group*, and voila. Benny -- "Cats land on their feet. Toast lands peanut butter side down. A cat with toast strapped to its back will hover above the ground in a state of quantum indecision." -- Unknown ------------------------------------------------------------------------------ RSA(R) Conference 2012 Mar 27 - Feb 2 Save $400 by Jan. 27 Register now! http://p.sf.net/sfu/rsa-sfdev2dev2 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------------ RSA(R) Conference 2012 Mar 27 - Feb 2 Save $400 by Jan. 27 Register now! http://p.sf.net/sfu/rsa-sfdev2dev2 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From andrew at fulgent.co.uk Thu Jan 12 18:02:40 2012 From: andrew at fulgent.co.uk (Andrew Thompson) Date: Thu, 12 Jan 2012 17:02:40 +0000 Subject: Scheduled downtime for mass hosts? Message-ID: Ah Benny, I didn't know you could schedule maintenance for each individual host group!!!! I have my 86 hosts arranged into 4 hostgroups so I will just do this. 4 clicks and job done, thought I was in for the long haul by clicking all 86 hosts 1 by 1. Thanks, you have saved me a load of time! From: Andrew Thompson Sent: 12 January 2012 12:14 To: nagios-users at lists.sourceforge.net Subject: Scheduled downtime for mass hosts? Hi all, Tonight I will be forming maintenance on over 50 of my servers and will be taking firewall and routing links out. I have 86 hosts that this will affect. Im going to put them into scheduled downtime in Nagios. I have my hosts divided into hostgroups. Is there a quick way to schedule all 86 hosts into Nagios downtime rather than having to click on each host in the web GUI and doing them individually? Thanks -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ RSA(R) Conference 2012 Mar 27 - Feb 2 Save $400 by Jan. 27 Register now! http://p.sf.net/sfu/rsa-sfdev2dev2 -------------- 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 benny at bennyvision.com Thu Jan 12 18:13:46 2012 From: benny at bennyvision.com (C. Bensend) Date: Thu, 12 Jan 2012 11:13:46 -0600 Subject: Scheduled downtime for mass hosts? In-Reply-To: References: Message-ID: > Ah Benny, I didn't know you could schedule maintenance for each individual > host group!!!! > > I have my 86 hosts arranged into 4 hostgroups so I will just do this. > > 4 clicks and job done, thought I was in for the long haul by clicking all > 86 hosts 1 by 1. > > Thanks, you have saved me a load of time! You can issue commands to both hostgroups and servicegroups... It makes it much easier to deal with outages and scheduled maintenance. And because hosts and services can be in more than one group, you can arrange them however you like according to roles, network placement, or even physical site. :) Benny -- "Cats land on their feet. Toast lands peanut butter side down. A cat with toast strapped to its back will hover above the ground in a state of quantum indecision." -- Unknown ------------------------------------------------------------------------------ RSA(R) Conference 2012 Mar 27 - Feb 2 Save $400 by Jan. 27 Register now! http://p.sf.net/sfu/rsa-sfdev2dev2 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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_mustaquim at yahoo.com Fri Jan 13 11:32:57 2012 From: m_mustaquim at yahoo.com (mohd mustaquim) Date: Fri, 13 Jan 2012 02:32:57 -0800 (PST) Subject: (no subject) Message-ID: <1326450777.70003.yint-ygo-j2me@web120103.mail.ne1.yahoo.com> http://umbilicalpharma.in/happy_month.php?ewavo=94&owaxi=411&pidaxjz=57 ------------------------------------------------------------------------------ RSA(R) Conference 2012 Mar 27 - Feb 2 Save $400 by Jan. 27 Register now! http://p.sf.net/sfu/rsa-sfdev2dev2 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From andrew at fulgent.co.uk Fri Jan 13 11:37:20 2012 From: andrew at fulgent.co.uk (Andrew Thompson) Date: Fri, 13 Jan 2012 10:37:20 +0000 Subject: Nofification Anomaly Message-ID: Hi all, I have a strange notification problem that I cant seem to get to the bottom of. In a nut shell I am using escalations to limit the amount of notifications for any given host to 5. Host Down notification 1 comes via form of Email and Text Then I have Not 2-5 if down to come via email If it recovers between 2-5 it will email and text. The email works fine in all scenarios but I have a text message issue in the sense it doesn't send out a text message if notification 2 is a recovery text! Nagios doesn't even seem to run the notify by SMS command! Any other notification number is fine but just not notification number 2 being a recovery text! I know above is a bit gargled so an example of my following notification escalations may make it a bit clearer. ############################################################# #!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!# # # # HOST ESCALATIONS # # # # Use escalations to limit the amount of email and text message alerts that # # are recieved for hosts in a problem state # # # #!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!# ############################################################# ######################################################## # OFFICE SERVERS # ######################################################## define hostescalation{ host_name HOST first_notification 1 last_notification 4 notification_interval 15 contact_groups servers email escalation_options d,r } define hostescalation{ host_name HOST first_notification 5 last_notification 0 notification_interval 0 contact_groups servers email escalation_options d,r } define hostescalation{ host_name HOST first_notification 1 last_notification 1 notification_interval 15 contact_groups servers sms escalation_options d } define hostescalation{ host_name HOST first_notification 2 last_notification 4 notification_interval 15 contact_groups servers sms escalation_options r } define hostescalation{ host_name HOST first_notification 5 last_notification 0 notification_interval 0 contact_groups servers sms escalation_options r } ############################################################# #!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!# # # # SERVICE ESCALATIONS # # # # Use escalations to limit the amount of email and text message alerts that # # are recieved for services in a problem state # # # #!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!# ############################################################# ################################################### # OFFICE SERVERS # ################################################### define serviceescalation{ host_name HOST service_description PING first_notification 1 last_notification 4 notification_interval 15 contact_groups servers email escalation_options c,r } define serviceescalation{ host_name HOST service_description PING first_notification 5 last_notification 0 notification_interval 0 contact_groups servers email escalation_options c,r } define serviceescalation{ host_name HOST service_description PING first_notification 1 last_notification 1 notification_interval 15 contact_groups servers sms escalation_options c } define serviceescalation{ host_name HOST service_description PING first_notification 2 last_notification 4 notification_interval 15 contact_groups servers sms escalation_options r } define serviceescalation{ host_name HOST service_description PING first_notification 5 last_notification 0 notification_interval 0 contact_groups servers sms escalation_options r } Notification 1 - DOWN - Text and Email ok Notification 2 - DOWN - Email ok. UP - Email ok, NO text Notification 3 - DOWN - Email ok. UP - Email and text ok Notification 4 - DOWN - Email ok. UP - Email and text ok Notification 5 - DOWN - Email ok. UP - Email and text ok Notification X - UP - Email and text ok I have these escalations in place so I only receive a text message for the 1st notification to say a host is down and then I only want another text when the host recovers. A visual of the notifications from the Nagios web GUI can be found at this link http://dl.dropbox.com/u/895609/New%20Nagios%20host%20output.doc The numbers represent what I am above referring to as Notification 1, notification2 etc etc It does this to all of my hosts that I monitor (86 currently) Anybody any idea as to why if the second notification is a recovery it Nagios refuses to run the notify by text command? Cheers -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ RSA(R) Conference 2012 Mar 27 - Feb 2 Save $400 by Jan. 27 Register now! http://p.sf.net/sfu/rsa-sfdev2dev2 -------------- 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 morty+nagios at frakir.org Fri Jan 13 11:44:21 2012 From: morty+nagios at frakir.org (Morty) Date: Fri, 13 Jan 2012 05:44:21 -0500 Subject: how to avoid host dependency with check_cluster Message-ID: <20120113104421.GB24986@red-sonja> I've gotten check_cluster working to monitor a service cluster per the docs. It works at a basic level. Thanks! Problem: service definitions seem to require an associated host or hostgroup. I don't want to tie the check_cluster to an individual host, because if that host goes down, a different host in the cluster could still be up. But I also don't want it tied to every host in the cluster because then I could get duplicate notifications. What am I missing? Thanks! - Morty ------------------------------------------------------------------------------ RSA(R) Conference 2012 Mar 27 - Feb 2 Save $400 by Jan. 27 Register now! http://p.sf.net/sfu/rsa-sfdev2dev2 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 at benshort.co.uk Fri Jan 13 14:59:20 2012 From: ben at benshort.co.uk (Ben Short) Date: Fri, 13 Jan 2012 13:59:20 +0000 Subject: Using display_name in a Host Definition Message-ID: Hi, I'm trying to use the display_name param in my host definitions. But it's not being used as the host name in the Nagios website. I know that the document website [1] says 'Note: The current CGIs do not use this option, although future versions of the web interface will.' but I have found a bug [2] that has been marked as fixed. Did this bug make it into Nagios Core? I'm running Nagios? Core? Version 3.3.1. Regards Ben [1] http://nagios.sourceforge.net/docs/3_0/objectdefinitions.html#host [2] https://dev.icinga.org/issues/307 ------------------------------------------------------------------------------ RSA(R) Conference 2012 Mar 27 - Feb 2 Save $400 by Jan. 27 Register now! http://p.sf.net/sfu/rsa-sfdev2dev2 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From michael.friedrich at univie.ac.at Fri Jan 13 16:41:37 2012 From: michael.friedrich at univie.ac.at (Michael Friedrich) Date: Fri, 13 Jan 2012 16:41:37 +0100 Subject: Using display_name in a Host Definition In-Reply-To: References: Message-ID: <4F1050B1.70709@univie.ac.at> Ben Short wrote: > Hi, > > I'm trying to use the display_name param in my host definitions. But > it's not being used as the host name in the Nagios website. $ grep display_name cgi/* > > I know that the document website [1] says 'Note: The current CGIs do > not use this option, although future versions of the web interface > will.' but I have found a bug [2] that has been marked as fixed. Did > this bug make it into Nagios Core? this feature was reported to nagios as display_name for statusmap.cgi, somewhere on nagios-devel lists. i took the liberty to implement full display_name support in icinga classic ui at that time but never reported nor backported a patch to nagios. given the recent statement by nagios developers on not enhancing the nagios classic ui anymore, i don't see the need to invest some spare time to backport feature patches from icinga to nagios anymore. i for myself only use icinga with classic ui, so call me happy. for the time being, i'd suggest migrating to OMD where you'll get the best of all worlds (nagios, icinga, shinken as well as guis supporting display_name). jm2c, michael > > I'm running Nagios? Core? Version 3.3.1. > > Regards > > Ben > > [1] http://nagios.sourceforge.net/docs/3_0/objectdefinitions.html#host > [2] https://dev.icinga.org/issues/307 > > ------------------------------------------------------------------------------ > RSA(R) Conference 2012 > Mar 27 - Feb 2 > Save $400 by Jan. 27 > Register now! > http://p.sf.net/sfu/rsa-sfdev2dev2 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null -- DI (FH) Michael Friedrich Vienna University Computer Center Universitaetsstrasse 7 A-1010 Vienna, Austria email: michael.friedrich at univie.ac.at phone: +43 1 4277 14359 mobile: +43 664 60277 14359 fax: +43 1 4277 14338 web: http://www.univie.ac.at/zid http://www.aco.net Lead Icinga Core Developer http://www.icinga.org ------------------------------------------------------------------------------ RSA(R) Conference 2012 Mar 27 - Feb 2 Save $400 by Jan. 27 Register now! http://p.sf.net/sfu/rsa-sfdev2dev2 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 at benshort.co.uk Fri Jan 13 17:06:07 2012 From: ben at benshort.co.uk (Ben Short) Date: Fri, 13 Jan 2012 16:06:07 +0000 Subject: Using display_name in a Host Definition In-Reply-To: <4F1050B1.70709@univie.ac.at> References: <4F1050B1.70709@univie.ac.at> Message-ID: Hi Michael, Thanks for the reply. I'll take a look at OMD. Ben On 13 January 2012 15:41, Michael Friedrich wrote: > Ben Short wrote: >> Hi, >> >> I'm trying to use the display_name param in my host definitions. But >> it's not being used as the host name in the Nagios website. > > $ grep display_name cgi/* > >> >> I know that the document website [1] says 'Note: The current CGIs do >> not use this option, although future versions of the web interface >> will.' but I have found a bug [2] that has been marked as fixed. Did >> this bug make it into Nagios Core? > > this feature was reported to nagios as display_name for statusmap.cgi, > somewhere on nagios-devel lists. > > i took the liberty to implement full display_name support in icinga > classic ui at that time but never reported nor backported a patch to nagios. > > given the recent statement by nagios developers on not enhancing the > nagios classic ui anymore, i don't see the need to invest some spare > time to backport feature patches from icinga to nagios anymore. i for > myself only use icinga with classic ui, so call me happy. > > for the time being, i'd suggest migrating to OMD where you'll get the > best of all worlds (nagios, icinga, shinken as well as guis supporting > display_name). > > jm2c, > michael > >> >> I'm running Nagios? Core? Version 3.3.1. >> >> Regards >> >> Ben >> >> [1] http://nagios.sourceforge.net/docs/3_0/objectdefinitions.html#host >> [2] https://dev.icinga.org/issues/307 >> >> ------------------------------------------------------------------------------ >> RSA(R) Conference 2012 >> Mar 27 - Feb 2 >> Save $400 by Jan. 27 >> Register now! >> http://p.sf.net/sfu/rsa-sfdev2dev2 >> _______________________________________________ >> Nagios-users mailing list >> Nagios-users at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/nagios-users >> ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. >> ::: Messages without supporting info will risk being sent to /dev/null > > > -- > DI (FH) Michael Friedrich > > Vienna University Computer Center > Universitaetsstrasse 7 A-1010 Vienna, Austria > > email: ?michael.friedrich at univie.ac.at > phone: ?+43 1 4277 14359 > mobile: +43 664 60277 14359 > fax: ? ?+43 1 4277 14338 > web: ? ?http://www.univie.ac.at/zid > ? ? ? ? http://www.aco.net > > Lead Icinga Core Developer > http://www.icinga.org > > > ------------------------------------------------------------------------------ > RSA(R) Conference 2012 > Mar 27 - Feb 2 > Save $400 by Jan. 27 > Register now! > http://p.sf.net/sfu/rsa-sfdev2dev2 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------------ RSA(R) Conference 2012 Mar 27 - Feb 2 Save $400 by Jan. 27 Register now! http://p.sf.net/sfu/rsa-sfdev2dev2 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mike-nagios at 5dninja.net Fri Jan 13 19:49:36 2012 From: mike-nagios at 5dninja.net (Mike Lindsey) Date: Fri, 13 Jan 2012 10:49:36 -0800 Subject: how to avoid host dependency with check_cluster In-Reply-To: <20120113104421.GB24986@red-sonja> References: <20120113104421.GB24986@red-sonja> Message-ID: <4F107CC0.8080303@5dninja.net> On 1/13/12 2:44 AM, Morty wrote: > I've gotten check_cluster working to monitor a service cluster per the > docs. It works at a basic level. Thanks! > > Problem: service definitions seem to require an associated host or > hostgroup. I don't want to tie the check_cluster to an individual > host, because if that host goes down, a different host in the cluster > could still be up. But I also don't want it tied to every host in the > cluster because then I could get duplicate notifications. > > What am I missing? > The easy solution. Add a host entry called "WWW-Cluster1" or whatever you want it to be called.. Set the ip address to 127.0.0.1, and your host up/down check to some always-alive check ("echo OK" will do fine). Then attach your cluster services to that. You could even have your host availability check be a check_cluster command that pings all your hosts. -- Mike Lindsey ------------------------------------------------------------------------------ RSA(R) Conference 2012 Mar 27 - Feb 2 Save $400 by Jan. 27 Register now! http://p.sf.net/sfu/rsa-sfdev2dev2 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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_mustaquim at yahoo.com Sat Jan 14 03:29:35 2012 From: m_mustaquim at yahoo.com (mohd mustaquim) Date: Fri, 13 Jan 2012 18:29:35 -0800 (PST) Subject: Fwd: Message-ID: <1326508175.7515.yint-ygo-j2me@web120115.mail.ne1.yahoo.com> http://kuzeymekanik.com.tr/happy_month.php?equcuxywawy=29&owaxoqjh=645&xiwofefy=41 ------------------------------------------------------------------------------ RSA(R) Conference 2012 Mar 27 - Feb 2 Save $400 by Jan. 27 Register now! http://p.sf.net/sfu/rsa-sfdev2dev2 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From gaurav.kansal at nic.in Mon Jan 16 11:30:01 2012 From: gaurav.kansal at nic.in (Gaurav kansal) Date: Mon, 16 Jan 2012 16:00:01 +0530 Subject: Email Alerts in Nagios Message-ID: <000101ccd439$cd86ce10$68946a30$@nic.in> Dear All, Can anyone please explain how to set up email alerts for network monitoring with Nagios. I tried to find out that in google and get some explanation but didn't get success in enabling Email Alerts in Nagios. Thanks n Regards, GAURAV KANSAL 9910118448 VoIP - 6259 Operation And Routing Unit NIC , NEW DELHI Please don't print this e-mail until & unless you really need, it will save Trees on Planet Earth. IPv4 is Over, Are your ready for new Network. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ RSA(R) Conference 2012 Mar 27 - Feb 2 Save $400 by Jan. 27 Register now! http://p.sf.net/sfu/rsa-sfdev2dev2 -------------- 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 achapela.rexistros at gmail.com Mon Jan 16 12:33:40 2012 From: achapela.rexistros at gmail.com (Adrian Chapela) Date: Mon, 16 Jan 2012 12:33:40 +0100 Subject: Email Alerts in Nagios In-Reply-To: <000101ccd439$cd86ce10$68946a30$@nic.in> References: <000101ccd439$cd86ce10$68946a30$@nic.in> Message-ID: <4F140B14.7070101@gmail.com> Here it is: http://nagios.sourceforge.net/docs/nagioscore/3/en/notifications.html This is the doc for what you are looking for... Regards. El 16/01/12 11:30, Gaurav kansal escribi?: > > Dear All, > > > > Can anyone please explain how to set up email alerts for network > monitoring with Nagios. > > > > I tried to find out that in google and get some explanation but didn't > get success in enabling Email Alerts in Nagios. > > > > > > > > Thanks n Regards, > GAURAV KANSAL > 9910118448 > VoIP - 6259 > Operation And Routing Unit > NIC , NEW DELHI > > > > Please don't print this e-mail until & unless you really need, it will > save Trees on Planet Earth. > IPv4 is Over, > > Are your ready for new Network. > > > > > > ------------------------------------------------------------------------------ > RSA(R) Conference 2012 > Mar 27 - Feb 2 > Save $400 by Jan. 27 > Register now! > http://p.sf.net/sfu/rsa-sfdev2dev2 > > > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 -------------- ------------------------------------------------------------------------------ RSA(R) Conference 2012 Mar 27 - Feb 2 Save $400 by Jan. 27 Register now! http://p.sf.net/sfu/rsa-sfdev2dev2 -------------- 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 andrew at fulgent.co.uk Mon Jan 16 16:03:37 2012 From: andrew at fulgent.co.uk (Andrew Thompson) Date: Mon, 16 Jan 2012 15:03:37 +0000 Subject: Nofification Anomaly In-Reply-To: References: Message-ID: Ok I seem to have sorted it by amending the first_notification setting from: define hostescalation{ host_name HOST first_notification 2 last_notification 4 notification_interval 15 contact_groups servers sms escalation_options r } to: define hostescalation{ host_name HOST first_notification 1 last_notification 4 notification_interval 15 contact_groups servers sms escalation_options r } Now I get SMS alerts if the 2nd notification is a recovery. Doesn't make sense to me as I now have 2 separate escalations both effective from N1 just with different D or R options but it works so hey-ho! From: Andrew Thompson Sent: 13 January 2012 10:37 To: nagios-users at lists.sourceforge.net Subject: Nofification Anomaly Hi all, I have a strange notification problem that I cant seem to get to the bottom of. In a nut shell I am using escalations to limit the amount of notifications for any given host to 5. Host Down notification 1 comes via form of Email and Text Then I have Not 2-5 if down to come via email If it recovers between 2-5 it will email and text. The email works fine in all scenarios but I have a text message issue in the sense it doesn't send out a text message if notification 2 is a recovery text! Nagios doesn't even seem to run the notify by SMS command! Any other notification number is fine but just not notification number 2 being a recovery text! I know above is a bit gargled so an example of my following notification escalations may make it a bit clearer. ############################################################# #!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!# # # # HOST ESCALATIONS # # # # Use escalations to limit the amount of email and text message alerts that # # are recieved for hosts in a problem state # # # #!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!# ############################################################# ######################################################## # OFFICE SERVERS # ######################################################## define hostescalation{ host_name HOST first_notification 1 last_notification 4 notification_interval 15 contact_groups servers email escalation_options d,r } define hostescalation{ host_name HOST first_notification 5 last_notification 0 notification_interval 0 contact_groups servers email escalation_options d,r } define hostescalation{ host_name HOST first_notification 1 last_notification 1 notification_interval 15 contact_groups servers sms escalation_options d } define hostescalation{ host_name HOST first_notification 2 last_notification 4 notification_interval 15 contact_groups servers sms escalation_options r } define hostescalation{ host_name HOST first_notification 5 last_notification 0 notification_interval 0 contact_groups servers sms escalation_options r } ############################################################# #!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!# # # # SERVICE ESCALATIONS # # # # Use escalations to limit the amount of email and text message alerts that # # are recieved for services in a problem state # # # #!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!# ############################################################# ################################################### # OFFICE SERVERS # ################################################### define serviceescalation{ host_name HOST service_description PING first_notification 1 last_notification 4 notification_interval 15 contact_groups servers email escalation_options c,r } define serviceescalation{ host_name HOST service_description PING first_notification 5 last_notification 0 notification_interval 0 contact_groups servers email escalation_options c,r } define serviceescalation{ host_name HOST service_description PING first_notification 1 last_notification 1 notification_interval 15 contact_groups servers sms escalation_options c } define serviceescalation{ host_name HOST service_description PING first_notification 2 last_notification 4 notification_interval 15 contact_groups servers sms escalation_options r } define serviceescalation{ host_name HOST service_description PING first_notification 5 last_notification 0 notification_interval 0 contact_groups servers sms escalation_options r } Notification 1 - DOWN - Text and Email ok Notification 2 - DOWN - Email ok. UP - Email ok, NO text Notification 3 - DOWN - Email ok. UP - Email and text ok Notification 4 - DOWN - Email ok. UP - Email and text ok Notification 5 - DOWN - Email ok. UP - Email and text ok Notification X - UP - Email and text ok I have these escalations in place so I only receive a text message for the 1st notification to say a host is down and then I only want another text when the host recovers. A visual of the notifications from the Nagios web GUI can be found at this link http://dl.dropbox.com/u/895609/New%20Nagios%20host%20output.doc The numbers represent what I am above referring to as Notification 1, notification2 etc etc It does this to all of my hosts that I monitor (86 currently) Anybody any idea as to why if the second notification is a recovery it Nagios refuses to run the notify by text command? Cheers -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ RSA(R) Conference 2012 Mar 27 - Feb 2 Save $400 by Jan. 27 Register now! http://p.sf.net/sfu/rsa-sfdev2dev2 -------------- 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 noc at fohnet.co.uk Mon Jan 16 20:47:47 2012 From: noc at fohnet.co.uk (Richard Clark) Date: Mon, 16 Jan 2012 19:47:47 +0000 Subject: Email Alerts in Nagios In-Reply-To: <000101ccd439$cd86ce10$68946a30$@nic.in> References: <000101ccd439$cd86ce10$68946a30$@nic.in> Message-ID: <-4519887326532062932@unknownmsgid> On 16 Jan 2012, at 10:48, Gaurav kansal wrote: Dear All, Can anyone please explain how to set up email alerts for network monitoring with Nagios. I tried to find out that in google and get some explanation but didn?t get success in enabling Email Alerts in Nagios. http://google.com/search?q=nagios+email+notifications returns about 5000 examples of how to do this. More information would help.. what OS/MTA are you using? Can your MTA already send mail? What error messages (if any) do you get? -- Richard Clark richard at fohnet.co.uk -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ RSA(R) Conference 2012 Mar 27 - Feb 2 Save $400 by Jan. 27 Register now! http://p.sf.net/sfu/rsa-sfdev2dev2 -------------- 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 tom at limepepper.co.uk Tue Jan 17 15:13:47 2012 From: tom at limepepper.co.uk (Tom) Date: Tue, 17 Jan 2012 14:13:47 +0000 Subject: Segmentation fault under 3.2.3 on CentOS release 5.7 Message-ID: <4F15821B.9010706@limepepper.co.uk> Hi, I upgraded my nagios to the 3.2.3 base rpm from rpmforge and I'm seeing seg faults... [root at g0801 nagios]# /usr/bin/nagios /etc/nagios/nagios.cfg Nagios Core 3.2.3 Copyright (c) 2009-2010 Nagios Core Development Team and Community Contributors Copyright (c) 1999-2009 Ethan Galstad Last Modified: 10-03-2010 License: GPL Website: http://www.nagios.org Nagios 3.2.3 starting... (PID=20891) Local time is Tue Jan 17 14:08:25 UTC 2012 Segmentation fault Any suggestions on how to proceed? Cheers, Tom ------------------------------------------------------------------------------ Keep Your Developer Skills Current with LearnDevNow! The most comprehensive online learning library for Microsoft developers is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, Metro Style Apps, more. Free future releases when you subscribe now! http://p.sf.net/sfu/learndevnow-d2d _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From tom at limepepper.co.uk Tue Jan 17 15:26:34 2012 From: tom at limepepper.co.uk (Tom) Date: Tue, 17 Jan 2012 14:26:34 +0000 Subject: Segmentation fault under 3.2.3 on CentOS release 5.7 In-Reply-To: <4F15821B.9010706@limepepper.co.uk> References: <4F15821B.9010706@limepepper.co.uk> Message-ID: <4F15851A.2050608@limepepper.co.uk> On 17/01/12 14:13, Tom wrote: > > Hi, > > I upgraded my nagios to the 3.2.3 base rpm from rpmforge and I'm > seeing seg faults... This is the strace of "strace /usr/bin/nagios /etc/nagios/nagios.cfg" stat("/usr/lib64/perl5/site_perl/5.8.7/x86_64-linux-thread-multi", 0x7fff3eaa72a0) = -1 ENOENT (No such file or directory) stat("/usr/lib/perl5/site_perl/5.8.7", 0x7fff3eaa72a0) = -1 ENOENT (No such file or directory) stat("/usr/lib64/perl5/site_perl/5.8.6/x86_64-linux-thread-multi", 0x7fff3eaa72a0) = -1 ENOENT (No such file or directory) stat("/usr/lib/perl5/site_perl/5.8.6", 0x7fff3eaa72a0) = -1 ENOENT (No such file or directory) stat("/usr/lib64/perl5/site_perl/5.8.5/x86_64-linux-thread-multi", 0x7fff3eaa72a0) = -1 ENOENT (No such file or directory) stat("/usr/lib/perl5/site_perl/5.8.5", 0x7fff3eaa72a0) = -1 ENOENT (No such file or directory) stat("/usr/lib64/perl5/vendor_perl/5.8.7/x86_64-linux-thread-multi", 0x7fff3eaa72a0) = -1 ENOENT (No such file or directory) stat("/usr/lib/perl5/vendor_perl/5.8.7", 0x7fff3eaa72a0) = -1 ENOENT (No such file or directory) stat("/usr/lib64/perl5/vendor_perl/5.8.6/x86_64-linux-thread-multi", 0x7fff3eaa72a0) = -1 ENOENT (No such file or directory) stat("/usr/lib/perl5/vendor_perl/5.8.6", 0x7fff3eaa72a0) = -1 ENOENT (No such file or directory) stat("/usr/lib64/perl5/vendor_perl/5.8.5/x86_64-linux-thread-multi", 0x7fff3eaa72a0) = -1 ENOENT (No such file or directory) stat("/usr/lib/perl5/vendor_perl/5.8.5", 0x7fff3eaa72a0) = -1 ENOENT (No such file or directory) ioctl(0, SNDCTL_TMR_TIMEBASE or TCGETS, {B38400 opost isig icanon echo ...}) = 0 lseek(0, 0, SEEK_CUR) = -1 ESPIPE (Illegal seek) ioctl(1, SNDCTL_TMR_TIMEBASE or TCGETS, {B38400 opost isig icanon echo ...}) = 0 lseek(1, 0, SEEK_CUR) = -1 ESPIPE (Illegal seek) ioctl(2, SNDCTL_TMR_TIMEBASE or TCGETS, {B38400 opost isig icanon echo ...}) = 0 lseek(2, 0, SEEK_CUR) = -1 ESPIPE (Illegal seek) open("/usr/bin/p1.pl", O_RDONLY) = 4 ioctl(4, SNDCTL_TMR_TIMEBASE or TCGETS, 0x7fff3eaa7170) = -1 ENOTTY (Inappropriate ioctl for device) lseek(4, 0, SEEK_CUR) = 0 fcntl(4, F_SETFD, FD_CLOEXEC) = 0 fstat(4, {st_mode=S_IFREG|0664, st_size=31878, ...}) = 0 rt_sigaction(SIGCHLD, NULL, {SIG_DFL, [], 0}, 8) = 0 readlink("/proc/self/exe", "/usr/bin/nagios"..., 4095) = 15 --- SIGSEGV (Segmentation fault) @ 0 (0) --- +++ killed by SIGSEGV +++ ------------------------------------------------------------------------------ Keep Your Developer Skills Current with LearnDevNow! The most comprehensive online learning library for Microsoft developers is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, Metro Style Apps, more. Free future releases when you subscribe now! http://p.sf.net/sfu/learndevnow-d2d _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Tue Jan 17 16:32:39 2012 From: mark.elsen at gmail.com (Mark Elsen) Date: Tue, 17 Jan 2012 16:32:39 +0100 Subject: Segmentation fault under 3.2.3 on CentOS release 5.7 In-Reply-To: <4F15851A.2050608@limepepper.co.uk> References: <4F15821B.9010706@limepepper.co.uk> <4F15851A.2050608@limepepper.co.uk> Message-ID: >> >> I upgraded my nagios to the 3.2.3 base rpm from rpmforge and I'm >> seeing seg faults... > > > This is the strace of "strace /usr/bin/nagios ?/etc/nagios/nagios.cfg" > > > stat("/usr/lib64/perl5/site_perl/5.8.7/x86_64-linux-thread-multi", - Check /var/log/messages on your system; watchout for any system events and or errors. Check : # dmesg too. M. ------------------------------------------------------------------------------ Keep Your Developer Skills Current with LearnDevNow! The most comprehensive online learning library for Microsoft developers is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, Metro Style Apps, more. Free future releases when you subscribe now! http://p.sf.net/sfu/learndevnow-d2d _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From tom at limepepper.co.uk Tue Jan 17 16:59:39 2012 From: tom at limepepper.co.uk (Tom) Date: Tue, 17 Jan 2012 15:59:39 +0000 Subject: Segmentation fault under 3.2.3 on CentOS release 5.7 In-Reply-To: References: <4F15821B.9010706@limepepper.co.uk> <4F15851A.2050608@limepepper.co.uk> Message-ID: <4F159AEB.6010308@limepepper.co.uk> On 17/01/12 15:32, Mark Elsen wrote: >>> I upgraded my nagios to the 3.2.3 base rpm from rpmforge and I'm >>> seeing seg faults... >> >> This is the strace of "strace /usr/bin/nagios /etc/nagios/nagios.cfg" >> >> >> stat("/usr/lib64/perl5/site_perl/5.8.7/x86_64-linux-thread-multi", > - Check /var/log/messages on your system; watchout for any system > events and or errors. > > Check : > > # dmesg > dmesg shows; nagios[14069]: segfault at 00007fff81f79710 rip 0000003165e3432c rsp 00007fff81f45320 error 4 /var/log/messages; Jan 17 07:46:23 opencirrus-g0801 kernel: nagios[14069]: segfault at 00007fff81f79710 rip 0000003165e3432c rsp 00007fff81f45320 error 4 ------------------------------------------------------------------------------ Keep Your Developer Skills Current with LearnDevNow! The most comprehensive online learning library for Microsoft developers is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, Metro Style Apps, more. Free future releases when you subscribe now! http://p.sf.net/sfu/learndevnow-d2d _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From tom at limepepper.co.uk Tue Jan 17 17:05:52 2012 From: tom at limepepper.co.uk (Tom) Date: Tue, 17 Jan 2012 16:05:52 +0000 Subject: can't disable embedded perl Message-ID: <4F159C60.6060502@limepepper.co.uk> So I tried to disable the embedded perl... [root at g0801 nagios]# grep embedded /etc/nagios/nagios.cfg enable_embedded_perl=0 use_embedded_perl_implicitly=0 but its still segfaulting trying to init embedded perl.... [root at g0801 nagios]# gdb -q --args /usr/bin/nagios -d /etc/nagios/nagios.cfg Reading symbols from /usr/bin/nagios...(no debugging symbols found)...done. (gdb) run Starting program: /usr/bin/nagios -d /etc/nagios/nagios.cfg warning: no loadable sections found in added symbol-file system-supplied DSO at 0x2aaaaaaab000 [Thread debugging using libthread_db enabled] Program received signal SIGSEGV, Segmentation fault. 0x0000003165e3432c in ?? () from /usr/lib64/perl5/5.8.8/x86_64-linux-thread-multi/CORE/libperl.so (gdb) backtrace #0 0x0000003165e3432c in ?? () from /usr/lib64/perl5/5.8.8/x86_64-linux-thread-multi/CORE/libperl.so #1 0x0000003165e360eb in ?? () from /usr/lib64/perl5/5.8.8/x86_64-linux-thread-multi/CORE/libperl.so #2 0x0000003165e385a9 in perl_parse () from /usr/lib64/perl5/5.8.8/x86_64-linux-thread-multi/CORE/libperl.so #3 0x000000000043e9af in init_embedded_perl () #4 0x0000000000413443 in main () (gdb) fstat(4, {st_mode=S_IFREG|0664, st_size=31878, ...}) = 0 rt_sigaction(SIGCHLD, NULL, {SIG_DFL, [], 0}, 8) = 0 readlink("/proc/self/exe", "/usr/bin/nagios"..., 4095) = 15 --- SIGSEGV (Segmentation fault) @ 0 (0) --- +++ killed by SIGSEGV +++ -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Keep Your Developer Skills Current with LearnDevNow! The most comprehensive online learning library for Microsoft developers is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, Metro Style Apps, more. Free future releases when you subscribe now! http://p.sf.net/sfu/learndevnow-d2d -------------- 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 Tue Jan 17 17:10:07 2012 From: mark.elsen at gmail.com (Mark Elsen) Date: Tue, 17 Jan 2012 17:10:07 +0100 Subject: Segmentation fault under 3.2.3 on CentOS release 5.7 In-Reply-To: <4F159AEB.6010308@limepepper.co.uk> References: <4F15821B.9010706@limepepper.co.uk> <4F15851A.2050608@limepepper.co.uk> <4F159AEB.6010308@limepepper.co.uk> Message-ID: On Tue, Jan 17, 2012 at 4:59 PM, Tom wrote: > On 17/01/12 15:32, Mark Elsen wrote: >>>> I upgraded my nagios to the 3.2.3 base rpm from rpmforge and I'm >>>> seeing seg faults... >>> >>> This is the strace of "strace /usr/bin/nagios ?/etc/nagios/nagios.cfg" >>> >>> >>> stat("/usr/lib64/perl5/site_perl/5.8.7/x86_64-linux-thread-multi", >> ? ?- Check /var/log/messages on your system; watchout for any system >> events and or errors. >> >> Check : >> >> ? ? ?# dmesg >> > > dmesg shows; > nagios[14069]: segfault at 00007fff81f79710 rip 0000003165e3432c rsp > 00007fff81f45320 error 4 > > /var/log/messages; > Jan 17 07:46:23 opencirrus-g0801 kernel: nagios[14069]: segfault at > 00007fff81f79710 rip 0000003165e3432c rsp 00007fff81f45320 error 4 > > > > - Check wether you can verify your nagios configuration using % nagios -v.../nagios.cfg M. ------------------------------------------------------------------------------ Keep Your Developer Skills Current with LearnDevNow! The most comprehensive online learning library for Microsoft developers is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, Metro Style Apps, more. Free future releases when you subscribe now! http://p.sf.net/sfu/learndevnow-d2d _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Jan 17 17:21:43 2012 From: ae at op5.se (Andreas Ericsson) Date: Tue, 17 Jan 2012 17:21:43 +0100 Subject: Segmentation fault under 3.2.3 on CentOS release 5.7 In-Reply-To: <4F15851A.2050608@limepepper.co.uk> References: <4F15821B.9010706@limepepper.co.uk> <4F15851A.2050608@limepepper.co.uk> Message-ID: <4F15A017.9060603@op5.se> On 01/17/2012 03:26 PM, Tom wrote: > On 17/01/12 14:13, Tom wrote: >> >> Hi, >> >> I upgraded my nagios to the 3.2.3 base rpm from rpmforge and I'm >> seeing seg faults... > > > This is the strace of "strace /usr/bin/nagios /etc/nagios/nagios.cfg" > > > stat("/usr/lib64/perl5/site_perl/5.8.7/x86_64-linux-thread-multi", > 0x7fff3eaa72a0) = -1 ENOENT (No such file or directory) Disable embedded perl. I'm 99.99999999999999991% certain that's what causing this problem. enable_embedded_perl=0 in nagios.cfg > stat("/usr/lib/perl5/site_perl/5.8.7", 0x7fff3eaa72a0) = -1 ENOENT (No > such file or directory) > stat("/usr/lib64/perl5/site_perl/5.8.6/x86_64-linux-thread-multi", > 0x7fff3eaa72a0) = -1 ENOENT (No such file or directory) > stat("/usr/lib/perl5/site_perl/5.8.6", 0x7fff3eaa72a0) = -1 ENOENT (No > such file or directory) > stat("/usr/lib64/perl5/site_perl/5.8.5/x86_64-linux-thread-multi", > 0x7fff3eaa72a0) = -1 ENOENT (No such file or directory) > stat("/usr/lib/perl5/site_perl/5.8.5", 0x7fff3eaa72a0) = -1 ENOENT (No > such file or directory) > stat("/usr/lib64/perl5/vendor_perl/5.8.7/x86_64-linux-thread-multi", > 0x7fff3eaa72a0) = -1 ENOENT (No such file or directory) > stat("/usr/lib/perl5/vendor_perl/5.8.7", 0x7fff3eaa72a0) = -1 ENOENT (No > such file or directory) > stat("/usr/lib64/perl5/vendor_perl/5.8.6/x86_64-linux-thread-multi", > 0x7fff3eaa72a0) = -1 ENOENT (No such file or directory) > stat("/usr/lib/perl5/vendor_perl/5.8.6", 0x7fff3eaa72a0) = -1 ENOENT (No > such file or directory) > stat("/usr/lib64/perl5/vendor_perl/5.8.5/x86_64-linux-thread-multi", > 0x7fff3eaa72a0) = -1 ENOENT (No such file or directory) > stat("/usr/lib/perl5/vendor_perl/5.8.5", 0x7fff3eaa72a0) = -1 ENOENT (No > such file or directory) > ioctl(0, SNDCTL_TMR_TIMEBASE or TCGETS, {B38400 opost isig icanon echo > ...}) = 0 > lseek(0, 0, SEEK_CUR) = -1 ESPIPE (Illegal seek) > ioctl(1, SNDCTL_TMR_TIMEBASE or TCGETS, {B38400 opost isig icanon echo > ...}) = 0 > lseek(1, 0, SEEK_CUR) = -1 ESPIPE (Illegal seek) > ioctl(2, SNDCTL_TMR_TIMEBASE or TCGETS, {B38400 opost isig icanon echo > ...}) = 0 > lseek(2, 0, SEEK_CUR) = -1 ESPIPE (Illegal seek) > open("/usr/bin/p1.pl", O_RDONLY) = 4 > ioctl(4, SNDCTL_TMR_TIMEBASE or TCGETS, 0x7fff3eaa7170) = -1 ENOTTY > (Inappropriate ioctl for device) > lseek(4, 0, SEEK_CUR) = 0 > fcntl(4, F_SETFD, FD_CLOEXEC) = 0 > fstat(4, {st_mode=S_IFREG|0664, st_size=31878, ...}) = 0 > rt_sigaction(SIGCHLD, NULL, {SIG_DFL, [], 0}, 8) = 0 > readlink("/proc/self/exe", "/usr/bin/nagios"..., 4095) = 15 > --- SIGSEGV (Segmentation fault) @ 0 (0) --- > +++ killed by SIGSEGV +++ > > > ------------------------------------------------------------------------------ > Keep Your Developer Skills Current with LearnDevNow! > The most comprehensive online learning library for Microsoft developers > is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, > Metro Style Apps, more. Free future releases when you subscribe now! > http://p.sf.net/sfu/learndevnow-d2d > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Tel: +46 8-230225 Fax: +46 8-230231 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. ------------------------------------------------------------------------------ Keep Your Developer Skills Current with LearnDevNow! The most comprehensive online learning library for Microsoft developers is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, Metro Style Apps, more. Free future releases when you subscribe now! http://p.sf.net/sfu/learndevnow-d2d _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From tom at limepepper.co.uk Tue Jan 17 17:22:51 2012 From: tom at limepepper.co.uk (Tom) Date: Tue, 17 Jan 2012 16:22:51 +0000 Subject: Segmentation fault under 3.2.3 on CentOS release 5.7 In-Reply-To: <4F15A017.9060603@op5.se> References: <4F15821B.9010706@limepepper.co.uk> <4F15851A.2050608@limepepper.co.uk> <4F15A017.9060603@op5.se> Message-ID: <4F15A05B.8000404@limepepper.co.uk> On 17/01/12 16:21, Andreas Ericsson wrote: > On 01/17/2012 03:26 PM, Tom wrote: >> On 17/01/12 14:13, Tom wrote: >>> Hi, >>> >>> I upgraded my nagios to the 3.2.3 base rpm from rpmforge and I'm >>> seeing seg faults... >> >> This is the strace of "strace /usr/bin/nagios /etc/nagios/nagios.cfg" >> >> >> stat("/usr/lib64/perl5/site_perl/5.8.7/x86_64-linux-thread-multi", >> 0x7fff3eaa72a0) = -1 ENOENT (No such file or directory) > Disable embedded perl. I'm 99.99999999999999991% certain that's what > causing this problem. enable_embedded_perl=0 in nagios.cfg > hi, yeah. I tried that. See the other thread. Its ignoring me! ;-) ------------------------------------------------------------------------------ Keep Your Developer Skills Current with LearnDevNow! The most comprehensive online learning library for Microsoft developers is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, Metro Style Apps, more. Free future releases when you subscribe now! http://p.sf.net/sfu/learndevnow-d2d _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From tom at limepepper.co.uk Tue Jan 17 17:24:05 2012 From: tom at limepepper.co.uk (Tom) Date: Tue, 17 Jan 2012 16:24:05 +0000 Subject: Segmentation fault under 3.2.3 on CentOS release 5.7 In-Reply-To: References: <4F15821B.9010706@limepepper.co.uk> <4F15851A.2050608@limepepper.co.uk> <4F159AEB.6010308@limepepper.co.uk> Message-ID: <4F15A0A5.6080009@limepepper.co.uk> On 17/01/12 16:10, Mark Elsen wrote: > > - Check wether you can verify your nagios configuration using > > % nagios -v.../nagios.cfg > Yeah, was my first check... but it is OK.. [root at g0801 nagios]# /usr/bin/nagios -v /etc/nagios/nagios.cfg | grep okay Read main config file okay... Read object config files okay... Things look okay - No serious problems were detected during the pre-flight check Thanks, Tom [root at g0801 nagios]# /usr/bin/nagios -v /etc/nagios/nagios.cfg Nagios Core 3.2.3 Copyright (c) 2009-2010 Nagios Core Development Team and Community Contributors Copyright (c) 1999-2009 Ethan Galstad Last Modified: 10-03-2010 License: GPL Website: http://www.nagios.org Reading configuration data... Read main config file okay... Processing object config directory '/etc/nagios/conf.d'... Processing object config file '/etc/nagios/conf.d/timeperiods.cfg'... Processing object config file '/etc/nagios/conf.d/commands.cfg'... Processing object config file '/etc/nagios/conf.d/hostgroups.cfg'... Processing object config file '/etc/nagios/conf.d/hosts.cfg'... Processing object config file '/etc/nagios/conf.d/contacts.cfg'... Processing object config file '/etc/nagios/conf.d/services.cfg'... Processing object config file '/etc/nagios/conf.d/templates.cfg'... Read object config files okay... Running pre-flight check on configuration data... Checking services... Checked 43 services. Checking hosts... Checked 7 hosts. Checking host groups... Checked 18 host groups. Checking service groups... Checked 0 service groups. Checking contacts... Checked 2 contacts. Checking contact groups... Checked 2 contact groups. Checking service escalations... Checked 0 service escalations. Checking service dependencies... Checked 0 service dependencies. Checking host escalations... Checked 0 host escalations. Checking host dependencies... Checked 0 host dependencies. Checking commands... Checked 62 commands. Checking time periods... Checked 1 time periods. Checking for circular paths between hosts... Checking for circular host and service dependencies... Checking global event handlers... Checking obsessive compulsive processor commands... Checking misc settings... Total Warnings: 0 Total Errors: 0 Things look okay - No serious problems were detected during the pre-flight check [root at g0801 nagios]# /usr/bin/nagios -v /etc/nagios/nagios.cfg | grep okat [root at g0801 nagios]# /usr/bin/nagios -v /etc/nagios/nagios.cfg | grep okay Read main config file okay... Read object config files okay... Things look okay - No serious problems were detected during the pre-flight check ------------------------------------------------------------------------------ Keep Your Developer Skills Current with LearnDevNow! The most comprehensive online learning library for Microsoft developers is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, Metro Style Apps, more. Free future releases when you subscribe now! http://p.sf.net/sfu/learndevnow-d2d _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From tom at limepepper.co.uk Tue Jan 17 17:35:12 2012 From: tom at limepepper.co.uk (Tom) Date: Tue, 17 Jan 2012 16:35:12 +0000 Subject: can't disable embedded perl In-Reply-To: <4F15A28D.8030407@consol.de> References: <4F159C60.6060502@limepepper.co.uk> <4F15A28D.8030407@consol.de> Message-ID: <4F15A340.50509@limepepper.co.uk> On 17/01/12 16:32, Sven Nierlein wrote: > > > Nagios will always init embedded perl even when it is disabled by the > config. > Recompiling without embedded perl is the only way to fully remove epn. Damn. I was really pleased to find a known yum repo with a packaged copy, I thought it would save a whole bunch of time building a source package and installing it. Looks like I am back to square 1. :-( ------------------------------------------------------------------------------ Keep Your Developer Skills Current with LearnDevNow! The most comprehensive online learning library for Microsoft developers is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, Metro Style Apps, more. Free future releases when you subscribe now! http://p.sf.net/sfu/learndevnow-d2d _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Sven.Nierlein at consol.de Tue Jan 17 17:32:13 2012 From: Sven.Nierlein at consol.de (Sven Nierlein) Date: Tue, 17 Jan 2012 17:32:13 +0100 Subject: can't disable embedded perl In-Reply-To: <4F159C60.6060502@limepepper.co.uk> References: <4F159C60.6060502@limepepper.co.uk> Message-ID: <4F15A28D.8030407@consol.de> Hi, On 1/17/12 17:05, Tom wrote: > So I tried to disable the embedded perl... > > [root at g0801 nagios]# grep embedded /etc/nagios/nagios.cfg > enable_embedded_perl=0 > use_embedded_perl_implicitly=0 This is not possible after compile time. See base/nagios.c line 740: /* initialize embedded Perl interpreter */ /* NOTE 02/15/08 embedded Perl must be initialized if compiled in, regardless of whether or not its enabled in the config file */ /* It compiled it, but not initialized, Nagios will segfault in readdir() calls, as libperl takes this function over */ Nagios will always init embedded perl even when it is disabled by the config. Recompiling without embedded perl is the only way to fully remove epn. Bye, Sven ------------------------------------------------------------------------------ Keep Your Developer Skills Current with LearnDevNow! The most comprehensive online learning library for Microsoft developers is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, Metro Style Apps, more. Free future releases when you subscribe now! http://p.sf.net/sfu/learndevnow-d2d _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Sven.Nierlein at consol.de Tue Jan 17 18:17:04 2012 From: Sven.Nierlein at consol.de (Sven Nierlein) Date: Tue, 17 Jan 2012 18:17:04 +0100 Subject: can't disable embedded perl In-Reply-To: <4F15A340.50509@limepepper.co.uk> References: <4F159C60.6060502@limepepper.co.uk> <4F15A28D.8030407@consol.de> <4F15A340.50509@limepepper.co.uk> Message-ID: <4F15AD10.6060608@consol.de> On 1/17/12 17:35, Tom wrote: > Damn. I was really pleased to find a known yum repo with a packaged > copy, I thought it would save a whole bunch of time building a source > package and installing it. Just make sure your perl installation/packages match the nagios packages. Don't mix up different sources of rpms. ------------------------------------------------------------------------------ Keep Your Developer Skills Current with LearnDevNow! The most comprehensive online learning library for Microsoft developers is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, Metro Style Apps, more. Free future releases when you subscribe now! http://p.sf.net/sfu/learndevnow-d2d _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From rab at walkermartyn.co.uk Wed Jan 18 09:58:08 2012 From: rab at walkermartyn.co.uk (Robert Jackson) Date: Wed, 18 Jan 2012 08:58:08 -0000 Subject: The Best Way Forward? Message-ID: I've been looking at Nagios on and off for a while now without ever implementing anything. However I would now like to get something going live that would allow us to monitor our network better. The current scenario is that in our office basement server/comms room we have 4 x Cisco 2950G Series switches which we use as core switches (in a fail over configuration) for our server/firewall connections. These switches then connect to 2 fibre media convertors. These convertors connect to the rest of the building network via a fibre cable which runs up the length of the building terminating on each of the 3 floors of our office. Thus every floor operates independently of any other. On each floor there is a fibre transceiver which connects to a Cisco 2950 Series switch (not G series). My questions are: 1. What is the best setup to monitor the failover status of the core switches as well as bandwidth over the uplinks? 2. What is the best setup to monitor the activity/bandwidth over the fibre transceivers which are connected to each floor's switch uplink port? 3. I've also had a quick look at Fully Automated Nagios (FAN). Do you think this would be the best way to get started or building something from scratch? 4. If using FAN is not a good idea, which O/S would be the best to run Nagios on (we use Solaris and RHEL mostly)? 5. If using FAN is not a good idea, which add-ons etc. would be useful for visuals (GUI, graphs etc.) and configuration? Really sorry for all the questions (there will probably be more at some point). Many thanks for your time. Regards, Rab. ============================================================= Robert Jackson Phone: +44 (0) 141 332 7999 IT Manager Fax: +44 (0) 141 331 2820 Walker Martyn Ltd 1 Park Circus Place Email: rab at walkermartyn.co.uk Glasgow G3 6AH, Scotland Web: http://www.walkermartyn.co.uk ============================================================= ************************************************************************ The information in this internet E-mail is confidential and is intended solely for the addressee. Access, copying or re-use of information in it by anyone else is unauthorised. Any views or opinions presented are solely those of the author and do not necessarily represent those of Walker Martyn Ltd or any of its affiliates. If you are not the intended recipient please contact administrator at walkermartyn.co.uk Walker Martyn Ltd, company number SC197533. Company is registered in Scotland and has its registered office at 1 Park Circus Place, Glasgow G3 6AH, UK. **************************************************************** -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Keep Your Developer Skills Current with LearnDevNow! The most comprehensive online learning library for Microsoft developers is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, Metro Style Apps, more. Free future releases when you subscribe now! http://p.sf.net/sfu/learndevnow-d2d -------------- 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 Ales.Rikovsky at upol.cz Wed Jan 18 10:09:22 2012 From: Ales.Rikovsky at upol.cz (Ales Rikovsky) Date: Wed, 18 Jan 2012 10:09:22 +0100 Subject: GSM gateway - virtualization ... In-Reply-To: References: Message-ID: <4F168C42.9030207@upol.cz> Hi, I'd like to ask any guru here in the list.... Is there anbody, who has experienced the subject mentioned above. I'm running Nagios on OpenSUSE. OpenSUSE is a virtual machine under the Windows 2008 HYPER-V. I'd like to send SMS messages instead of e-mails, because mails can't be delivered in case the SMTP server is down. I don't know any specific hardware for GSM gateway and I have no idea how to use it in virtual environment, how to connect it to RS232? port in the host machine and forward it to the Nagios on the SUSE virtual?? Would anyone be so kind and give me an advice and will share his opinions? Thanks in advance. Ales -- Ales Rikovsky +420 585631826 Ales.Rikovsky at upol.cz Biskupske nam. 1 Palacky University Computer Center 771 11 Olomouc ------------------------------------------------------------------------------ Keep Your Developer Skills Current with LearnDevNow! The most comprehensive online learning library for Microsoft developers is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, Metro Style Apps, more. Free future releases when you subscribe now! http://p.sf.net/sfu/learndevnow-d2d _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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_mustaquim at yahoo.com Wed Jan 18 12:43:37 2012 From: m_mustaquim at yahoo.com (mohd mustaquim) Date: Wed, 18 Jan 2012 03:43:37 -0800 (PST) Subject: (no subject) Message-ID: <1326887017.91807.yint-ygo-j2me@web120105.mail.ne1.yahoo.com> http://www.niuiccdm.com/yahoo-page.php?ovapuzj=96&djfuvaf=231&vuhyc=24 ------------------------------------------------------------------------------ Keep Your Developer Skills Current with LearnDevNow! The most comprehensive online learning library for Microsoft developers is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, Metro Style Apps, more. Free future releases when you subscribe now! http://p.sf.net/sfu/learndevnow-d2d _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From tobias.dinse at stegbauer.info Wed Jan 18 14:14:52 2012 From: tobias.dinse at stegbauer.info (Tobias Dinse) Date: Wed, 18 Jan 2012 14:14:52 +0100 Subject: check_openmanage Message-ID: <4F16C5CC.7060709@stegbauer.info> Hi all, i have seen that I can use this mailing list for bug reports or questions about the plugin "check_openmanage" from http://folk.uio.no/trondham/software/check_openmanage.html We have different Dell Servers and the Plugin mostly works. Today I have installed OMSA 6.5 on a Debian Squeeze x64 Dell R710 Maschine and I can run the check manually without any problems. We use OMD with Version 0.52 which includes Nagios Core 3.2.3. The Server perform the Check over NRPE. On the Webgui (check_mk) i "only" gain the follow errors as Output: Couldn't close filehandle for command '"/opt/dell/srvadmin/bin/omreport" -? 2>&1': Couldn't close filehandle for command '"/opt/dell/srvadmin/bin/omreport" system -fmt ssv': Problem running 'omreport storage controller': Error! Invalid command specified. Problem running 'omreport chassis memory': Error! Invalid command specified. Problem running 'omreport chassis fans': Error! Invalid command specified. Problem running 'omreport chassis pwrsupplies': Error! Invalid command specified. Problem running 'omreport chassis temps': Error! Invalid command specified. Problem running 'omreport chassis processors': Error! Invalid command specified. Problem running 'omreport chassis volts': Error! Invalid command specified. Problem running 'omreport chassis batteries': Error! Invalid command specified. Problem running 'omreport chassis pwrmonitoring': Error! Invalid command specified. Couldn't close filehandle for command '"/opt/dell/srvadmin/bin/omreport" chassis pwrmonitor any ideas what could be wrong? regards Tobias ------------------------------------------------------------------------------ Keep Your Developer Skills Current with LearnDevNow! The most comprehensive online learning library for Microsoft developers is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, Metro Style Apps, more. Free future releases when you subscribe now! http://p.sf.net/sfu/learndevnow-d2d _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Wed Jan 18 15:00:15 2012 From: eero.volotinen at iki.fi (Eero Volotinen) Date: Wed, 18 Jan 2012 16:00:15 +0200 Subject: check_openmanage In-Reply-To: <4F16C5CC.7060709@stegbauer.info> References: <4F16C5CC.7060709@stegbauer.info> Message-ID: 2012/1/18 Tobias Dinse : > Hi all, > > i have seen that I can use this mailing list for bug reports or > questions about the plugin "check_openmanage" from > http://folk.uio.no/trondham/software/check_openmanage.html We have > different Dell Servers and the Plugin mostly works. Today I have > installed OMSA 6.5 on a Debian Squeeze x64 Dell R710 Maschine and I can > run the check manually without any problems. > > We use OMD with Version 0.52 which includes Nagios Core 3.2.3. The > Server perform the Check over NRPE. On the Webgui (check_mk) i "only" > gain the follow errors as Output: > > Couldn't close filehandle for command '"/opt/dell/srvadmin/bin/omreport" > -? 2>&1': > Couldn't close filehandle for command '"/opt/dell/srvadmin/bin/omreport" > system -fmt ssv': > Problem running 'omreport storage controller': Error! Invalid command > specified. > Problem running 'omreport chassis memory': Error! Invalid command specified. > Problem running 'omreport chassis fans': Error! Invalid command specified. > Problem running 'omreport chassis pwrsupplies': Error! Invalid command > specified. > Problem running 'omreport chassis temps': Error! Invalid command specified. > Problem running 'omreport chassis processors': Error! Invalid command > specified. > Problem running 'omreport chassis volts': Error! Invalid command specified. > Problem running 'omreport chassis batteries': Error! Invalid command > specified. > Problem running 'omreport chassis pwrmonitoring': Error! Invalid command > specified. > Couldn't close filehandle for command '"/opt/dell/srvadmin/bin/omreport" > chassis pwrmonitor is dell omsa (dell openmanage) installed at server and working correctly? -- Eero ------------------------------------------------------------------------------ Keep Your Developer Skills Current with LearnDevNow! The most comprehensive online learning library for Microsoft developers is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, Metro Style Apps, more. Free future releases when you subscribe now! http://p.sf.net/sfu/learndevnow-d2d _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From tobias.dinse at stegbauer.info Wed Jan 18 15:15:05 2012 From: tobias.dinse at stegbauer.info (Tobias Dinse) Date: Wed, 18 Jan 2012 15:15:05 +0100 Subject: check_openmanage In-Reply-To: References: <4F16C5CC.7060709@stegbauer.info> Message-ID: <4F16D3E9.2090607@stegbauer.info> Yes, i can run all commands on the local system without errors. Thats why I m confused. I also can execute the check_openmanage Script manual on the local Maschine as Nagios User without problems. I think it must be an Problem between the script output. But why it works on other r710?s with debian squeeze? *confused* Am 18.01.2012 15:00, schrieb Eero Volotinen: > 2012/1/18 Tobias Dinse: >> Hi all, >> >> i have seen that I can use this mailing list for bug reports or >> questions about the plugin "check_openmanage" from >> http://folk.uio.no/trondham/software/check_openmanage.html We have >> different Dell Servers and the Plugin mostly works. Today I have >> installed OMSA 6.5 on a Debian Squeeze x64 Dell R710 Maschine and I can >> run the check manually without any problems. >> >> We use OMD with Version 0.52 which includes Nagios Core 3.2.3. The >> Server perform the Check over NRPE. On the Webgui (check_mk) i "only" >> gain the follow errors as Output: >> >> Couldn't close filehandle for command '"/opt/dell/srvadmin/bin/omreport" >> -? 2>&1': >> Couldn't close filehandle for command '"/opt/dell/srvadmin/bin/omreport" >> system -fmt ssv': >> Problem running 'omreport storage controller': Error! Invalid command >> specified. >> Problem running 'omreport chassis memory': Error! Invalid command specified. >> Problem running 'omreport chassis fans': Error! Invalid command specified. >> Problem running 'omreport chassis pwrsupplies': Error! Invalid command >> specified. >> Problem running 'omreport chassis temps': Error! Invalid command specified. >> Problem running 'omreport chassis processors': Error! Invalid command >> specified. >> Problem running 'omreport chassis volts': Error! Invalid command specified. >> Problem running 'omreport chassis batteries': Error! Invalid command >> specified. >> Problem running 'omreport chassis pwrmonitoring': Error! Invalid command >> specified. >> Couldn't close filehandle for command '"/opt/dell/srvadmin/bin/omreport" >> chassis pwrmonitor > is dell omsa (dell openmanage) installed at server and working correctly? > > -- > Eero > > ------------------------------------------------------------------------------ > Keep Your Developer Skills Current with LearnDevNow! > The most comprehensive online learning library for Microsoft developers > is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, > Metro Style Apps, more. Free future releases when you subscribe now! > http://p.sf.net/sfu/learndevnow-d2d > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null -- # Stegbauer Datawork # Tobias Dinse # +49 (8571) 922213 # Oberjulbachring 9, 84387 Julbach ------------------------------------------------------------------------------ Keep Your Developer Skills Current with LearnDevNow! The most comprehensive online learning library for Microsoft developers is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, Metro Style Apps, more. Free future releases when you subscribe now! http://p.sf.net/sfu/learndevnow-d2d _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From benny at bennyvision.com Wed Jan 18 15:16:25 2012 From: benny at bennyvision.com (C. Bensend) Date: Wed, 18 Jan 2012 08:16:25 -0600 Subject: GSM gateway - virtualization ... In-Reply-To: <4F168C42.9030207@upol.cz> References: <4F168C42.9030207@upol.cz> Message-ID: <5a1ab675ff3b64c03af4b9d68e6338c3.squirrel@webmail.stinkweasel.net> > I'm running Nagios on OpenSUSE. OpenSUSE is a virtual machine under the > Windows 2008 HYPER-V. I'd like to send SMS messages instead of e-mails, > because mails can't be delivered in case the SMTP server is down. I > don't know any specific hardware for GSM gateway and I have no idea how > to use it in virtual environment, how to connect it to RS232? port in > the host machine and forward it to the Nagios on the SUSE virtual?? > Would anyone be so kind and give me an advice and will share his opinions? We run Nagios servers as virtual machines on mid-sized ESX clusters, so our VMs might end up on any given ESX host at any given time. As a result, I virtualized our serial modem using the IOLAN product from Perle. It is basically a network-to-serial adapter. Our serial USR modem plugins into it, and it plugs into the network. Then, on the Nagios servers (RHEL), the Perle software is installed and creates a "serial port" that Nagios talks to. That virtual port simply talks to the IOLAN device over the network, and acts as a local serial modem. Now, our Nagios servers can end up anywhere they like, and the modem always stays "local" as far as Nagios is concerned. It's not infallible, every now and again the two components lose communications, but I check for that via Nagios. There certainly exists the possibility that we could: 1) Lose communications with the virtual modem AND 2) Have a widespread network outage at the same time that would completely clobber notifications, but the chances are pretty minor, and the costs are very reasonable. Benny -- "Cats land on their feet. Toast lands peanut butter side down. A cat with toast strapped to its back will hover above the ground in a state of quantum indecision." -- Unknown ------------------------------------------------------------------------------ Keep Your Developer Skills Current with LearnDevNow! The most comprehensive online learning library for Microsoft developers is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, Metro Style Apps, more. Free future releases when you subscribe now! http://p.sf.net/sfu/learndevnow-d2d _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Wed Jan 18 16:12:39 2012 From: m.borsani at it.net (Marco Borsani) Date: Wed, 18 Jan 2012 16:12:39 +0100 Subject: check_nt : segmentation fault Message-ID: <015801ccd5f3$a4628130$ed278390$@it.net> Hi all Nagios server: 1.4.1 Nagios plugins : 1.4.15 SO: Centos 5.7 64bit I still receive this errors (but check_nt runs on every server): check_nt[10383]: segfault at 0000000000000000 rip 000000394a637a04 rsp 00007fff6bf3d3e0 error 4 check_nt[15038]: segfault at 0000000000000000 rip 000000394a637a04 rsp 00007fff90fe42a0 error 4 check_nt[19873]: segfault at 0000000000000000 rip 000000394a637a04 rsp 00007fff222f89b0 error 4 check_nt[24428]: segfault at 0000000000000000 rip 000000394a637a04 rsp 00007ffffd838f10 error 4 check_nt[29177]: segfault at 0000000000000000 rip 000000394a637a04 rsp 00007fffaad060c0 error 4 check_nt[1510]: segfault at 0000000000000000 rip 000000394a637a04 rsp 00007fffb8555450 error 4 check_nt[6387]: segfault at 0000000000000000 rip 000000394a637a04 rsp 00007fff42383290 error 4 check_nt[11234]: segfault at 0000000000000000 rip 000000394a637a04 rsp 00007fff15652e90 error 4 check_nt[20926]: segfault at 0000000000000000 rip 000000394a637a04 rsp 00007fffc118f5b0 error 4 check_nt[25407]: segfault at 0000000000000000 rip 000000394a637a04 rsp 00007fffd984fec0 error 4 check_nt[30172]: segfault at 0000000000000000 rip 000000394a637a04 rsp 00007fff847a95d0 error 4 check_nt[2476]: segfault at 0000000000000000 rip 000000394a637a04 rsp 00007fff4fc15250 error 4 .. Before, with same Nagios releases, but with another hardware (and centos 5.3 32 bit), no erros. Any idea ? Marco Borsani Unix and Monitoring Sysadmin Technical Operations Dpt. tel: +39 010 4310115 fax: +39 02 30130311 cell: +39 329 5953944 ITnet Srl Societ? con socio unico Direzione e Coordinamento di -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Keep Your Developer Skills Current with LearnDevNow! The most comprehensive online learning library for Microsoft developers is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, Metro Style Apps, more. Free future releases when you subscribe now! http://p.sf.net/sfu/learndevnow-d2d -------------- 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 nagios at flatto.net Wed Jan 18 16:47:26 2012 From: nagios at flatto.net (Assaf Flatto) Date: Wed, 18 Jan 2012 15:47:26 +0000 Subject: check_nt : segmentation fault In-Reply-To: <015801ccd5f3$a4628130$ed278390$@it.net> References: <015801ccd5f3$a4628130$ed278390$@it.net> Message-ID: <4F16E98E.5090309@flatto.net> Please tell me that the nagios version is a typo. if not , you should upgrade to version 3 , and the sooner the better . Since check_nt is communicating with windows server was there any change on the MS platforms ? Did you compile the chdck_nt for the old machine , and just copied across ? Marco Borsani wrote: > > Hi all > > Nagios server: 1.4.1 > > Nagios plugins : 1.4.15 > > SO: Centos 5.7 64bit > > I still receive this errors (but check_nt runs on every server): > > check_nt[10383]: segfault at 0000000000000000 rip 000000394a637a04 rsp > 00007fff6bf3d3e0 error 4 > > check_nt[15038]: segfault at 0000000000000000 rip 000000394a637a04 rsp > 00007fff90fe42a0 error 4 > > check_nt[19873]: segfault at 0000000000000000 rip 000000394a637a04 rsp > 00007fff222f89b0 error 4 > > check_nt[24428]: segfault at 0000000000000000 rip 000000394a637a04 rsp > 00007ffffd838f10 error 4 > > check_nt[29177]: segfault at 0000000000000000 rip 000000394a637a04 rsp > 00007fffaad060c0 error 4 > > check_nt[1510]: segfault at 0000000000000000 rip 000000394a637a04 rsp > 00007fffb8555450 error 4 > > check_nt[6387]: segfault at 0000000000000000 rip 000000394a637a04 rsp > 00007fff42383290 error 4 > > check_nt[11234]: segfault at 0000000000000000 rip 000000394a637a04 rsp > 00007fff15652e90 error 4 > > check_nt[20926]: segfault at 0000000000000000 rip 000000394a637a04 rsp > 00007fffc118f5b0 error 4 > > check_nt[25407]: segfault at 0000000000000000 rip 000000394a637a04 rsp > 00007fffd984fec0 error 4 > > check_nt[30172]: segfault at 0000000000000000 rip 000000394a637a04 rsp > 00007fff847a95d0 error 4 > > check_nt[2476]: segfault at 0000000000000000 rip 000000394a637a04 rsp > 00007fff4fc15250 error 4 > > ???????.. > > Before, with same Nagios releases, but with another hardware (and > centos 5.3 32 bit), no erros. > > Any idea ? > > Marco Borsani > > *Unix and Monitoring Sysadmin* > > *Technical Operations Dpt.* > > tel: +39 010 4310115 > > fax: +39 02 30130311 > > cell: +39 329 5953944 > > ITnet Srl > > Societ? con socio unico > > Direzione e Coordinamento di ? > > ------------------------------------------------------------------------ > > ------------------------------------------------------------------------------ > Keep Your Developer Skills Current with LearnDevNow! > The most comprehensive online learning library for Microsoft developers > is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, > Metro Style Apps, more. Free future releases when you subscribe now! > http://p.sf.net/sfu/learndevnow-d2d > ------------------------------------------------------------------------ > > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------------ Keep Your Developer Skills Current with LearnDevNow! The most comprehensive online learning library for Microsoft developers is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, Metro Style Apps, more. Free future releases when you subscribe now! http://p.sf.net/sfu/learndevnow-d2d _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Wed Jan 18 17:12:53 2012 From: ck at claudiokuenzler.com (Claudio Kuenzler) Date: Wed, 18 Jan 2012 17:12:53 +0100 Subject: check_nt : segmentation fault In-Reply-To: <015801ccd5f3$a4628130$ed278390$@it.net> References: <015801ccd5f3$a4628130$ed278390$@it.net> Message-ID: Were the plugins compiled for 32bit? Now you're using them on a 64bit machine. I'd redownload the Nagios plugins and recompile them on your new hw/architecture. On Wed, Jan 18, 2012 at 4:12 PM, Marco Borsani wrote: > Hi all**** > > ** ** > > Nagios server: 1.4.1**** > > Nagios plugins : 1.4.15**** > > SO: Centos 5.7 64bit**** > > ** ** > > I still receive this errors (but check_nt runs on every server):**** > > ** ** > > check_nt[10383]: segfault at 0000000000000000 rip 000000394a637a04 rsp > 00007fff6bf3d3e0 error 4**** > > check_nt[15038]: segfault at 0000000000000000 rip 000000394a637a04 rsp > 00007fff90fe42a0 error 4**** > > check_nt[19873]: segfault at 0000000000000000 rip 000000394a637a04 rsp > 00007fff222f89b0 error 4**** > > check_nt[24428]: segfault at 0000000000000000 rip 000000394a637a04 rsp > 00007ffffd838f10 error 4**** > > check_nt[29177]: segfault at 0000000000000000 rip 000000394a637a04 rsp > 00007fffaad060c0 error 4**** > > check_nt[1510]: segfault at 0000000000000000 rip 000000394a637a04 rsp > 00007fffb8555450 error 4**** > > check_nt[6387]: segfault at 0000000000000000 rip 000000394a637a04 rsp > 00007fff42383290 error 4**** > > check_nt[11234]: segfault at 0000000000000000 rip 000000394a637a04 rsp > 00007fff15652e90 error 4**** > > check_nt[20926]: segfault at 0000000000000000 rip 000000394a637a04 rsp > 00007fffc118f5b0 error 4**** > > check_nt[25407]: segfault at 0000000000000000 rip 000000394a637a04 rsp > 00007fffd984fec0 error 4**** > > check_nt[30172]: segfault at 0000000000000000 rip 000000394a637a04 rsp > 00007fff847a95d0 error 4**** > > check_nt[2476]: segfault at 0000000000000000 rip 000000394a637a04 rsp > 00007fff4fc15250 error 4**** > > ???????..**** > > ** ** > > Before, with same Nagios releases, but with another hardware (and centos > 5.3 32 bit), no erros.**** > > ** ** > > Any idea ?**** > > ** ** > > ** ** > > Marco Borsani**** > > *Unix and Monitoring Sysadmin* > > *Technical Operations Dpt.* > > tel: +39 010 4310115**** > > fax: +39 02 30130311**** > > cell: +39 329 5953944**** > > ITnet Srl**** > > Societ? con socio unico**** > > Direzione e Coordinamento di ?**** > > ** ** > > > ------------------------------------------------------------------------------ > Keep Your Developer Skills Current with LearnDevNow! > The most comprehensive online learning library for Microsoft developers > is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, > Metro Style Apps, more. Free future releases when you subscribe now! > http://p.sf.net/sfu/learndevnow-d2d > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 -------------- ------------------------------------------------------------------------------ Keep Your Developer Skills Current with LearnDevNow! The most comprehensive online learning library for Microsoft developers is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, Metro Style Apps, more. Free future releases when you subscribe now! http://p.sf.net/sfu/learndevnow-d2d -------------- 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 nagiosusers at edcint.co.nz Thu Jan 19 04:39:37 2012 From: nagiosusers at edcint.co.nz (Matthew Jurgens) Date: Thu, 19 Jan 2012 14:39:37 +1100 Subject: check_nc_net and WMICHECK In-Reply-To: <0F3D91EA70124C468301FF70A8ED16D402F026D1BE@BOYV7EXVS1.opm.gov> References: <0F3D91EA70124C468301FF70A8ED16D402F026D1BE@BOYV7EXVS1.opm.gov> Message-ID: <4F179079.4080000@edcint.co.nz> What are you trying to check? I'm mean, you look like you are trying to get some basic WMI queries working so that you can check something? What is it you are trying to check, maybe there is some other way to do it -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Keep Your Developer Skills Current with LearnDevNow! The most comprehensive online learning library for Microsoft developers is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, Metro Style Apps, more. Free future releases when you subscribe now! http://p.sf.net/sfu/learndevnow-d2d -------------- 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_mustaquim at yahoo.com Thu Jan 19 05:42:18 2012 From: m_mustaquim at yahoo.com (mohd mustaquim) Date: Wed, 18 Jan 2012 20:42:18 -0800 (PST) Subject: Fwd: Message-ID: <1326948138.53336.yint-ygo-j2me@web120103.mail.ne1.yahoo.com> http://www.espaciosyoficinas.com/yahoo-page.php?jlycyqaljgo=32&herypipaty=961&niwjk=54 ------------------------------------------------------------------------------ Keep Your Developer Skills Current with LearnDevNow! The most comprehensive online learning library for Microsoft developers is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, Metro Style Apps, more. Free future releases when you subscribe now! http://p.sf.net/sfu/learndevnow-d2d _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From m.borsani at it.net Thu Jan 19 09:34:57 2012 From: m.borsani at it.net (Marco Borsani) Date: Thu, 19 Jan 2012 09:34:57 +0100 Subject: R: check_nt : segmentation fault In-Reply-To: <4F16E98E.5090309@flatto.net> References: <015801ccd5f3$a4628130$ed278390$@it.net> <4F16E98E.5090309@flatto.net> Message-ID: <003401ccd685$3fdc2c10$bf948430$@it.net> I can't upgrade to 3. I compiled nagios and plugins on the new HW, not copied them from the older server. It seems that check_nt run correctly, but I still receive those errors in the syslog. -----Messaggio originale----- Da: Assaf Flatto [mailto:nagios at flatto.net] Inviato: mercoled? 18 gennaio 2012 16:47 A: Nagios Users List Oggetto: Re: [Nagios-users] check_nt : segmentation fault Please tell me that the nagios version is a typo. if not , you should upgrade to version 3 , and the sooner the better . Since check_nt is communicating with windows server was there any change on the MS platforms ? Did you compile the chdck_nt for the old machine , and just copied across ? Marco Borsani wrote: > > Hi all > > Nagios server: 1.4.1 > > Nagios plugins : 1.4.15 > > SO: Centos 5.7 64bit > > I still receive this errors (but check_nt runs on every server): > > check_nt[10383]: segfault at 0000000000000000 rip 000000394a637a04 rsp > 00007fff6bf3d3e0 error 4 > > check_nt[15038]: segfault at 0000000000000000 rip 000000394a637a04 rsp > 00007fff90fe42a0 error 4 > > check_nt[19873]: segfault at 0000000000000000 rip 000000394a637a04 rsp > 00007fff222f89b0 error 4 > > check_nt[24428]: segfault at 0000000000000000 rip 000000394a637a04 rsp > 00007ffffd838f10 error 4 > > check_nt[29177]: segfault at 0000000000000000 rip 000000394a637a04 rsp > 00007fffaad060c0 error 4 > > check_nt[1510]: segfault at 0000000000000000 rip 000000394a637a04 rsp > 00007fffb8555450 error 4 > > check_nt[6387]: segfault at 0000000000000000 rip 000000394a637a04 rsp > 00007fff42383290 error 4 > > check_nt[11234]: segfault at 0000000000000000 rip 000000394a637a04 rsp > 00007fff15652e90 error 4 > > check_nt[20926]: segfault at 0000000000000000 rip 000000394a637a04 rsp > 00007fffc118f5b0 error 4 > > check_nt[25407]: segfault at 0000000000000000 rip 000000394a637a04 rsp > 00007fffd984fec0 error 4 > > check_nt[30172]: segfault at 0000000000000000 rip 000000394a637a04 rsp > 00007fff847a95d0 error 4 > > check_nt[2476]: segfault at 0000000000000000 rip 000000394a637a04 rsp > 00007fff4fc15250 error 4 > > .. > > Before, with same Nagios releases, but with another hardware (and > centos 5.3 32 bit), no erros. > > Any idea ? > > Marco Borsani > > *Unix and Monitoring Sysadmin* > > *Technical Operations Dpt.* > > tel: +39 010 4310115 > > fax: +39 02 30130311 > > cell: +39 329 5953944 > > ITnet Srl > > Societ? con socio unico > > Direzione e Coordinamento di > > ---------------------------------------------------------------------- > -- > > ---------------------------------------------------------------------- > -------- Keep Your Developer Skills Current with LearnDevNow! > The most comprehensive online learning library for Microsoft > developers is just $99.99! Visual Studio, SharePoint, SQL - plus > HTML5, CSS3, MVC3, Metro Style Apps, more. Free future releases when you subscribe now! > http://p.sf.net/sfu/learndevnow-d2d > ---------------------------------------------------------------------- > -- > > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null ---------------------------------------------------------------------------- -- Keep Your Developer Skills Current with LearnDevNow! The most comprehensive online learning library for Microsoft developers is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, Metro Style Apps, more. Free future releases when you subscribe now! http://p.sf.net/sfu/learndevnow-d2d _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------------ Keep Your Developer Skills Current with LearnDevNow! The most comprehensive online learning library for Microsoft developers is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, Metro Style Apps, more. Free future releases when you subscribe now! http://p.sf.net/sfu/learndevnow-d2d _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From m.borsani at it.net Thu Jan 19 09:35:27 2012 From: m.borsani at it.net (Marco Borsani) Date: Thu, 19 Jan 2012 09:35:27 +0100 Subject: R: check_nt : segmentation fault In-Reply-To: References: <015801ccd5f3$a4628130$ed278390$@it.net> Message-ID: <003501ccd685$516fd620$f44f8260$@it.net> I recompiled the plugins. Marco Da: Claudio Kuenzler [mailto:ck at claudiokuenzler.com] Inviato: mercoled? 18 gennaio 2012 17:13 A: Nagios Users List Oggetto: Re: [Nagios-users] check_nt : segmentation fault Were the plugins compiled for 32bit? Now you're using them on a 64bit machine. I'd redownload the Nagios plugins and recompile them on your new hw/architecture. On Wed, Jan 18, 2012 at 4:12 PM, Marco Borsani wrote: Hi all Nagios server: 1.4.1 Nagios plugins : 1.4.15 SO: Centos 5.7 64bit I still receive this errors (but check_nt runs on every server): check_nt[10383]: segfault at 0000000000000000 rip 000000394a637a04 rsp 00007fff6bf3d3e0 error 4 check_nt[15038]: segfault at 0000000000000000 rip 000000394a637a04 rsp 00007fff90fe42a0 error 4 check_nt[19873]: segfault at 0000000000000000 rip 000000394a637a04 rsp 00007fff222f89b0 error 4 check_nt[24428]: segfault at 0000000000000000 rip 000000394a637a04 rsp 00007ffffd838f10 error 4 check_nt[29177]: segfault at 0000000000000000 rip 000000394a637a04 rsp 00007fffaad060c0 error 4 check_nt[1510]: segfault at 0000000000000000 rip 000000394a637a04 rsp 00007fffb8555450 error 4 check_nt[6387]: segfault at 0000000000000000 rip 000000394a637a04 rsp 00007fff42383290 error 4 check_nt[11234]: segfault at 0000000000000000 rip 000000394a637a04 rsp 00007fff15652e90 error 4 check_nt[20926]: segfault at 0000000000000000 rip 000000394a637a04 rsp 00007fffc118f5b0 error 4 check_nt[25407]: segfault at 0000000000000000 rip 000000394a637a04 rsp 00007fffd984fec0 error 4 check_nt[30172]: segfault at 0000000000000000 rip 000000394a637a04 rsp 00007fff847a95d0 error 4 check_nt[2476]: segfault at 0000000000000000 rip 000000394a637a04 rsp 00007fff4fc15250 error 4 .. Before, with same Nagios releases, but with another hardware (and centos 5.3 32 bit), no erros. Any idea ? Marco Borsani Unix and Monitoring Sysadmin Technical Operations Dpt. tel: +39 010 4310115 fax: +39 02 30130311 cell: +39 329 5953944 ITnet Srl Societ? con socio unico Direzione e Coordinamento di ---------------------------------------------------------------------------- -- Keep Your Developer Skills Current with LearnDevNow! The most comprehensive online learning library for Microsoft developers is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, Metro Style Apps, more. Free future releases when you subscribe now! http://p.sf.net/sfu/learndevnow-d2d _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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 -------------- ------------------------------------------------------------------------------ Keep Your Developer Skills Current with LearnDevNow! The most comprehensive online learning library for Microsoft developers is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, Metro Style Apps, more. Free future releases when you subscribe now! http://p.sf.net/sfu/learndevnow-d2d -------------- 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 james.osbourn at citrix.com Thu Jan 19 10:20:53 2012 From: james.osbourn at citrix.com (James Osbourn) Date: Thu, 19 Jan 2012 09:20:53 +0000 Subject: check_http frequent timeouts Message-ID: <09051C7A8945F944AB7AC4E86BEB1ED5B6FFD55F0C@LONPMAILBOX01.citrite.net> I am monitoring an external web server at one of our sites from a Nagios instance at another site. During the day I will see frequent timeouts retrieving the webpage. I have increased the timeout to 20 seconds and the problem still occurs. What is interesting is that I have other web serves at the same site being monitored in the same way that are not exhibiting the same issue. I am trying to pin down whether this is a related to the Nagios check or if the server itself is as fault, or perhaps the path in between. The only difference with those servers that are working and the one that is giving time outs is the web server that is be running. The one with the time outs is running lighttp and the others are running apache. Has anyone seen any similar situation and could lend any suggestions as to a possible fix. Thanks James ------------------------------------------------------------------------------ Keep Your Developer Skills Current with LearnDevNow! The most comprehensive online learning library for Microsoft developers is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, Metro Style Apps, more. Free future releases when you subscribe now! http://p.sf.net/sfu/learndevnow-d2d _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From bluethundr at jokefire.com Fri Jan 20 00:28:53 2012 From: bluethundr at jokefire.com (Tim Dunphy) Date: Thu, 19 Jan 2012 23:28:53 -0000 (UTC) Subject: nagios url checks Message-ID: <20312434-b097-41fe-864f-c4ea40dfa69b@li289-212> the check url with check_http results in warning in the web interface: FOO.com Notifications for this service have been disabled UNKNOWN 01-19-2012 17:12:04 0d 0h 0m 9s 1/4 check_http: Warning threshold must be integer - /index.jsp the command definition is set to this: 'check_url' command definition define command{ command_name check_url command_line $USER1$/check_http -H $HOSTADDRESS$ -u $ARG1$ -w $ARG2$ -c $ARG3$ } the service definition is set to this: define service{ use local-service ; Name of service template to use host_name localhost service_description foo.com check_command check_url!foo.com!/index.jsp!5!10 notifications_enabled 0 } the command I am trying to use does work on the command line: [root at mlb-nag ~]# /usr/local/nagios/libexec/check_http -H foo.com -u /index.jsp -w 5 -c 10 HTTP OK: HTTP/1.0 200 OK - 143385 bytes in 0.161 second response time |time=0.161110s;5.000000;10.000000;0.000000 size=143385B;;;0 The reason I am taking this approach is that the URL is a large load balanced web environment with over 200 web servers and the load balancer is set to not respond to pings. If I use a traditional host check, the host is reported as 'down' tho the URL check usually works if handled in this manner. I am attempting to monitor the URL in such a way that the host check is not reported as down. thanks tim ------------------------------------------------------------------------------ Keep Your Developer Skills Current with LearnDevNow! The most comprehensive online learning library for Microsoft developers is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, Metro Style Apps, more. Free future releases when you subscribe now! http://p.sf.net/sfu/learndevnow-d2d _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mgagne at iweb.com Fri Jan 20 02:07:04 2012 From: mgagne at iweb.com (=?ISO-8859-1?Q?Mathieu_Gagn=E9?=) Date: Thu, 19 Jan 2012 20:07:04 -0500 Subject: nagios url checks In-Reply-To: <20312434-b097-41fe-864f-c4ea40dfa69b@li289-212> References: <20312434-b097-41fe-864f-c4ea40dfa69b@li289-212> Message-ID: <4F18BE38.80603@iweb.com> On 1/19/12 6:28 PM, Tim Dunphy wrote: > > the check url with check_http results in warning in the web interface: > > > FOO.com > > Notifications for this service have been disabled > UNKNOWN 01-19-2012 17:12:04 0d 0h 0m 9s 1/4 check_http: Warning threshold must be integer - /index.jsp > Your command check_url accepts 3 arguments: command_line $USER1$/check_http -H $HOSTADDRESS$ -u $ARG1$ -w $ARG2$ -c $ARG3$ You provided 4 arguments: check_command check_url!foo.com!/index.jsp!5!10 "foo.com" seems to be extra. You should check it. -- Mathieu ------------------------------------------------------------------------------ Keep Your Developer Skills Current with LearnDevNow! The most comprehensive online learning library for Microsoft developers is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, Metro Style Apps, more. Free future releases when you subscribe now! http://p.sf.net/sfu/learndevnow-d2d _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From marc at onereason.com.au Fri Jan 20 05:03:50 2012 From: marc at onereason.com.au (Marc Lucke) Date: Fri, 20 Jan 2012 15:03:50 +1100 Subject: nagios3: notify-host-by-email: $CONTACTEMAIL$ not expanded Message-ID: Hi all, I'm at my whit's end with this & am hoping one of you will have seen this before. I've googled for it and come up with close, but not the answer: debug log shows: ----- [1327031437.121800] [2048.0] [pid=17470] WARNING: An error occurred processing macro 'CONTACTEMAIL'! [1327031437.121807] [2048.1] [pid=17470] Done. Final output: '/usr/bin/printf "%b" "***** Nagios *****\n\nSent to: $CONTACTEMAIL$\n\nNotification Type: \nHost: vpsau01\nState: UP\nAddress: localhost\nInfo: PING OK - Packet loss = 0%, RTA = 0.05 ms\n\nDate/Time: Fri Jan 20 14:50:37 EST 2012\n" | /usr/bin/mail -s "** Host Alert: vpsau01 is UP **" $CONTACTEMAIL$' ----- The $CONTACTEMAIL$ is not being expanded whilst everything else is. version: Nagios Core 3.3.1 dist: debian squeeze config: contacts.cfg: define contact { contact_name nagiosadmin alias Nagios Admin contactgroups null host_notifications_enabled 1 service_notifications_enabled 1 host_notification_period 24x7 service_notification_period 24x7 host_notification_options d,u,r,f,s service_notification_options w,u,c,r,f,s host_notification_commands notify-host-by-email service_notification_commands notify-service-by-email can_submit_commands 1 retain_status_information 1 retain_nonstatus_information 1 email my at email.address register 1 } Any thoughts appreciated. ------------------------------------------------------------------------------ Keep Your Developer Skills Current with LearnDevNow! The most comprehensive online learning library for Microsoft developers is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, Metro Style Apps, more. Free future releases when you subscribe now! http://p.sf.net/sfu/learndevnow-d2d _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Fri Jan 20 09:15:59 2012 From: ck at claudiokuenzler.com (Claudio Kuenzler) Date: Fri, 20 Jan 2012 09:15:59 +0100 Subject: R: check_nt : segmentation fault In-Reply-To: <003401ccd685$3fdc2c10$bf948430$@it.net> References: <015801ccd5f3$a4628130$ed278390$@it.net> <4F16E98E.5090309@flatto.net> <003401ccd685$3fdc2c10$bf948430$@it.net> Message-ID: It's a bummer you can't upgrade to 3.x... I'm not sure if anyone still uses Nagios 1.x on a 64bit machine. Maybe this is a problem of the old Nagios (core) version itself? You can just for the "fun" of it install a new Nagios 3.x on a similar machine and just set up some basic configuration to compare the syslogs of both machines. On Thu, Jan 19, 2012 at 9:34 AM, Marco Borsani wrote: > I can't upgrade to 3. > > I compiled nagios and plugins on the new HW, not copied them from the older > server. > > It seems that check_nt run correctly, but I still receive those errors in > the syslog. > > -----Messaggio originale----- > Da: Assaf Flatto [mailto:nagios at flatto.net] > Inviato: mercoled? 18 gennaio 2012 16:47 > A: Nagios Users List > Oggetto: Re: [Nagios-users] check_nt : segmentation fault > > Please tell me that the nagios version is a typo. > > if not , you should upgrade to version 3 , and the sooner the better . > Since check_nt is communicating with windows server was there any change on > the MS platforms ? > Did you compile the chdck_nt for the old machine , and just copied across ? > > Marco Borsani wrote: > > > > Hi all > > > > Nagios server: 1.4.1 > > > > Nagios plugins : 1.4.15 > > > > SO: Centos 5.7 64bit > > > > I still receive this errors (but check_nt runs on every server): > > > > check_nt[10383]: segfault at 0000000000000000 rip 000000394a637a04 rsp > > 00007fff6bf3d3e0 error 4 > > > > check_nt[15038]: segfault at 0000000000000000 rip 000000394a637a04 rsp > > 00007fff90fe42a0 error 4 > > > > check_nt[19873]: segfault at 0000000000000000 rip 000000394a637a04 rsp > > 00007fff222f89b0 error 4 > > > > check_nt[24428]: segfault at 0000000000000000 rip 000000394a637a04 rsp > > 00007ffffd838f10 error 4 > > > > check_nt[29177]: segfault at 0000000000000000 rip 000000394a637a04 rsp > > 00007fffaad060c0 error 4 > > > > check_nt[1510]: segfault at 0000000000000000 rip 000000394a637a04 rsp > > 00007fffb8555450 error 4 > > > > check_nt[6387]: segfault at 0000000000000000 rip 000000394a637a04 rsp > > 00007fff42383290 error 4 > > > > check_nt[11234]: segfault at 0000000000000000 rip 000000394a637a04 rsp > > 00007fff15652e90 error 4 > > > > check_nt[20926]: segfault at 0000000000000000 rip 000000394a637a04 rsp > > 00007fffc118f5b0 error 4 > > > > check_nt[25407]: segfault at 0000000000000000 rip 000000394a637a04 rsp > > 00007fffd984fec0 error 4 > > > > check_nt[30172]: segfault at 0000000000000000 rip 000000394a637a04 rsp > > 00007fff847a95d0 error 4 > > > > check_nt[2476]: segfault at 0000000000000000 rip 000000394a637a04 rsp > > 00007fff4fc15250 error 4 > > > > ???????.. > > > > Before, with same Nagios releases, but with another hardware (and > > centos 5.3 32 bit), no erros. > > > > Any idea ? > > > > Marco Borsani > > > > *Unix and Monitoring Sysadmin* > > > > *Technical Operations Dpt.* > > > > tel: +39 010 4310115 > > > > fax: +39 02 30130311 > > > > cell: +39 329 5953944 > > > > ITnet Srl > > > > Societ? con socio unico > > > > Direzione e Coordinamento di ? > > > > ---------------------------------------------------------------------- > > -- > > > > ---------------------------------------------------------------------- > > -------- Keep Your Developer Skills Current with LearnDevNow! > > The most comprehensive online learning library for Microsoft > > developers is just $99.99! Visual Studio, SharePoint, SQL - plus > > HTML5, CSS3, MVC3, Metro Style Apps, more. Free future releases when you > subscribe now! > > http://p.sf.net/sfu/learndevnow-d2d > > ---------------------------------------------------------------------- > > -- > > > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > > ::: Messages without supporting info will risk being sent to /dev/null > > > > ---------------------------------------------------------------------------- > -- > Keep Your Developer Skills Current with LearnDevNow! > The most comprehensive online learning library for Microsoft developers is > just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, Metro > Style Apps, more. Free future releases when you subscribe now! > http://p.sf.net/sfu/learndevnow-d2d > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting > any issue. > ::: Messages without supporting info will risk being sent to /dev/null > > > > ------------------------------------------------------------------------------ > Keep Your Developer Skills Current with LearnDevNow! > The most comprehensive online learning library for Microsoft developers > is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, > Metro Style Apps, more. Free future releases when you subscribe now! > http://p.sf.net/sfu/learndevnow-d2d > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 -------------- ------------------------------------------------------------------------------ Keep Your Developer Skills Current with LearnDevNow! The most comprehensive online learning library for Microsoft developers is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, Metro Style Apps, more. Free future releases when you subscribe now! http://p.sf.net/sfu/learndevnow-d2d -------------- 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 redkrieg at gmail.com Fri Jan 20 20:48:23 2012 From: redkrieg at gmail.com (Brandon Whaley) Date: Fri, 20 Jan 2012 14:48:23 -0500 Subject: Availability data from avail.cgi often incorrect due to 'SOFT' OK messages Message-ID: I've been working on the cause of this issue for a few months and just today had time to really dig in and science it. When we pull data from avail.cgi for reporting, often times a host that was recently rebooted will show some services CRITICAL from the reboot until the midnight log rotation for that day. After some manual editing of the archived history logs that avail.cgi is reading, I found that this happens when a post-reboot service check logs a 'soft' OK but doesn't happen for 'hard' OK messages. Right now I've implemented a cron to run post-archive and simply convert all SOFT OK entries to HARD OK entries, which has made my data correct to the best of my knowledge. I just have a couple questions about this: 1) Is this skewing my data in any way? The timestamps look right based on the observed length of service outage after doing this. 2) Is this a bug in avail.cgi or in the actual logging of this data? Should there have been a second "HARD" OK status entry in the log or was the first entry supposed to be "HARD"? Also, I am on an older version of nagios than current (3.2.3). If I've wasted my time working around something fixed in a more recent version, please let me know. I'd prefer not to upgrade unless necessary as the version we're on has been very stable excepting this one bug. ------------------------------------------------------------------------------ Keep Your Developer Skills Current with LearnDevNow! The most comprehensive online learning library for Microsoft developers is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, Metro Style Apps, more. Free future releases when you subscribe now! http://p.sf.net/sfu/learndevnow-d2d _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From harm.ensing at atos.net Fri Jan 20 10:18:04 2012 From: harm.ensing at atos.net (Ensing, Harm) Date: Fri, 20 Jan 2012 09:18:04 +0000 Subject: question about check_disk Message-ID: <238001B4A0541345BCB6A2BED55F7FC91CE1C1FD@AOWNLEX020.europe.nl.intra> Hi, Please help See this output: $ df -h /S00022_BACKUP Filesystem size used avail capacity Mounted on S00022_BACKUP 2.6T 94G 307G 24% /S00022_BACKUP $ plugins/check_disk -E -w 20% -c 10% -W 10% -K 8% -u MB -p /S00022_BACKUP DISK OK - free space: /S00022_BACKUP 314182 MB (76% inode=99%);| /S00022_BACKUP=95885MB;328053;36906 0;0;410067 $ zpool list S00022_BACKUP NAME SIZE ALLOC FREE CAP HEALTH ALTROOT S00022_BACKUP 2.66T 2.32T 349G 87% ONLINE - df says FS is 24% free, so no problem. Check_disk says 76% full, so that matches, still no problem. Assuming inode=99% reports inode table 99% full (!) I would expect a warning/critical from '-W 10% -K 8%' but it does not do that. 'zpool list' shows '87%' which is totally different. - Am I interpreting the info wrong? - How can I dig up more detailed info on inode usage in a zpool? - What causes the difference between 'df -h' and 'check_disk' on one side and 'zpool list' on the other side? Regards, Harm B. J. Ensing unix system administrator T: +31 (0) 8826 51609 M: +31 (0) 6 5158 4736 harm.ensing at atos.net team 3 group North51 T: +31 (0) 8826 51617 gmnl-uxonorth51 at atos.net Henri Dunantlaan 2 9728 HD Groningen http://www.atos.net [cid:image002.png at 01CCD75C.18917250] Dit bericht is vertrouwelijk en kan geheime informatie bevatten enkel bestemd voor de geadresseerde. Indien dit bericht niet voor u is bestemd, verzoeken wij u dit onmiddellijk aan ons te melden en het bericht te vernietigen. Aangezien de integriteit van het bericht niet veilig gesteld is middels verzending via internet, kan Atos Nederland B.V. niet aansprakelijk worden gehouden voor de inhoud daarvan. Hoewel wij ons inspannen een virusvrij netwerk te hanteren, geven wij geen enkele garantie dat dit bericht virusvrij is, noch aanvaarden wij enige aansprakelijkheid voor de mogelijke aanwezigheid van een virus in dit bericht. Op al onze rechtsverhoudingen, aanbiedingen en overeenkomsten waaronder Atos Nederland B.V. goederen en/of diensten levert zijn met uitsluiting van alle andere voorwaarden de Leveringsvoorwaarden van Atos Nederland B.V. van toepassing. Deze worden u op aanvraag direct kosteloos toegezonden. This e-mail and the documents attached are confidential and intended solely for the addressee; it may also be privileged. If you receive this e-mail in error, please notify the sender immediately and destroy it. As its integrity cannot be secured on the Internet, the Atos Nederland B.V. group liability cannot be triggered for the message content. Although the sender endeavours to maintain a computer virus-free network, the sender does not warrant that this transmission is virus-free and will not be liable for any damages resulting from any virus transmitted. On all offers and agreements under which Atos Nederland B.V. supplies goods and/or services of whatever nature, the Terms of Delivery from Atos Nederland B.V. exclusively apply. The Terms of Delivery shall be promptly submitted to you on your request. Atos Nederland B.V. / Utrecht KvK Utrecht 30132762 -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image001.png Type: image/png Size: 167 bytes Desc: image001.png URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image002.png Type: image/png Size: 4722 bytes Desc: image002.png URL: -------------- next part -------------- ------------------------------------------------------------------------------ Keep Your Developer Skills Current with LearnDevNow! The most comprehensive online learning library for Microsoft developers is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, Metro Style Apps, more. Free future releases when you subscribe now! http://p.sf.net/sfu/learndevnow-d2d -------------- 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 jeffrey.w.watts at gmail.com Fri Jan 20 21:46:50 2012 From: jeffrey.w.watts at gmail.com (Jeffrey Watts) Date: Fri, 20 Jan 2012 14:46:50 -0600 Subject: question about check_disk In-Reply-To: <238001B4A0541345BCB6A2BED55F7FC91CE1C1FD@AOWNLEX020.europe.nl.intra> References: <238001B4A0541345BCB6A2BED55F7FC91CE1C1FD@AOWNLEX020.europe.nl.intra> Message-ID: You have it backwards. 'df' says 24% used, not remaining. 'check_disk' shows how much is remaining (76% and 99% in this case). I've never liked how check_disk displays its results by default, most Unix tools show as a primary metric how much of a resource is used and not how much is remaining. It always looks wrong. Jeffrey. On Fri, Jan 20, 2012 at 3:18 AM, Ensing, Harm wrote: > Hi, > > > > Please help > > See this output: > > > > $ df -h /S00022_BACKUP > > Filesystem size used avail capacity Mounted on > > S00022_BACKUP 2.6T 94G 307G 24% /S00022_BACKUP > > > > $ plugins/check_disk -E -w 20% -c 10% -W 10% -K 8% -u MB -p /S00022_BACKUP > > DISK OK - free space: /S00022_BACKUP 314182 MB (76% inode=99%);| > /S00022_BACKUP=95885MB;328053;36906 0;0;410067 > > > > $ zpool list S00022_BACKUP > > NAME SIZE ALLOC FREE CAP HEALTH ALTROOT > > S00022_BACKUP 2.66T 2.32T 349G 87% ONLINE - > > > > df says FS is 24% free, so no problem. > > Check_disk says 76% full, so that matches, still no problem. > > Assuming inode=99% reports inode table 99% full (!) I would expect a > warning/critical from ?-W 10% -K 8%? but it does not do that. > > > > ?zpool list? shows ?87%? which is totally different. > > > > - Am I interpreting the info wrong? > > - How can I dig up more detailed info on inode usage in a zpool? > > - What causes the difference between ?df ?h? and ?check_disk? on one > side and ?zpool list? on the other side? > > > -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Keep Your Developer Skills Current with LearnDevNow! The most comprehensive online learning library for Microsoft developers is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, Metro Style Apps, more. Free future releases when you subscribe now! http://p.sf.net/sfu/learndevnow-d2d -------------- 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 rubensovlod at yahoo.com Sat Jan 21 16:48:22 2012 From: rubensovlod at yahoo.com (RaciC) Date: Sat, 21 Jan 2012 07:48:22 -0800 (PST) Subject: status.cgi displaying question marks ('???') in the state duration column Message-ID: <1327160902.39828.YahooMailNeo@web39303.mail.mud.yahoo.com> Hi, During last power outage my server went down and it seems some files were damaged during the improper shutdown. Now status.cgi shows question marks (exactly such string: '???') in the column titled 'Duration'. The question marks appear on the localhost (disks, users, processess) as well as on remote hosts (PING). How can I fix this? I'm using Nagios v3.0.6 - packaged for Debian 5. best regards, Wlodek ------------------------------------------------------------------------------ Try before you buy = See our experts in action! The most comprehensive online learning library for Microsoft developers is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, Metro Style Apps, more. Free future releases when you subscribe now! http://p.sf.net/sfu/learndevnow-dev2 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Timothy.Boyer at opm.gov Sun Jan 22 19:54:38 2012 From: Timothy.Boyer at opm.gov (Boyer, Timothy A.) Date: Sun, 22 Jan 2012 13:54:38 -0500 Subject: check_nc_net and WMICHECK In-Reply-To: <4F179079.4080000@edcint.co.nz> References: <0F3D91EA70124C468301FF70A8ED16D402F026D1BE@BOYV7EXVS1.opm.gov>, <4F179079.4080000@edcint.co.nz> Message-ID: <0F3D91EA70124C468301FF70A8ED16D4030231A19A@BOYV7EXVS1.opm.gov> I've got a couple of registry values on a bunch of Windows servers that I want to track and see if and when they get changed. And being a good sysadmin, I'm trying to be lazy. :) I'm sure it's possible - probably trivial - to write a small script that I could put on the Windows boxes and do so and report back to NC_Net, but it would be much easier - since the boxes allready have NC-Net on them - to do it once on the Nagios box. So the WMICHECK way of doing it is either to use RegistryKeyChangeEvent - the preferred way; it would catch any registry change - or StdRegPRov and GetMultiStringValue, and store and compare it on the host side. But I'm having problems getting either of them to work. ________________________________________ From: Matthew Jurgens [nagiosusers at edcint.co.nz] Sent: Wednesday, January 18, 2012 10:39 PM To: Nagios Users List Subject: Re: [Nagios-users] check_nc_net and WMICHECK What are you trying to check? I'm mean, you look like you are trying to get some basic WMI queries working so that you can check something? What is it you are trying to check, maybe there is some other way to do it ------------------------------------------------------------------------------ Try before you buy = See our experts in action! The most comprehensive online learning library for Microsoft developers is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, Metro Style Apps, more. Free future releases when you subscribe now! http://p.sf.net/sfu/learndevnow-dev2 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From marc at onereason.com.au Sun Jan 22 23:44:40 2012 From: marc at onereason.com.au (Marc Lucke) Date: Mon, 23 Jan 2012 09:44:40 +1100 Subject: nagios3: notify-host-by-email: $CONTACTEMAIL$ not expanded In-Reply-To: References: Message-ID: I was using NagiosQL. I scrapped my entire configuration and instead imported the example, modified, and now I am getting expected behavior. On 20 January 2012 15:03, Marc Lucke wrote: > Hi all, > > I'm at my whit's end with this & am hoping one of you will have seen > this before. ?I've googled for it and come up with close, but not the > answer: > > debug log shows: > > ----- > [1327031437.121800] [2048.0] [pid=17470] ?WARNING: An error occurred > processing macro 'CONTACTEMAIL'! > [1327031437.121807] [2048.1] [pid=17470] ? Done. ?Final output: > '/usr/bin/printf "%b" "***** Nagios *****\n\nSent to: > $CONTACTEMAIL$\n\nNotification Type: \nHost: vpsau01\nState: > UP\nAddress: localhost\nInfo: PING OK - Packet loss = 0%, RTA = 0.05 > ms\n\nDate/Time: Fri Jan 20 14:50:37 EST 2012\n" | /usr/bin/mail -s > "** ?Host Alert: vpsau01 is UP **" $CONTACTEMAIL$' > ----- > > The $CONTACTEMAIL$ is not being expanded whilst everything else is. > > version: Nagios Core 3.3.1 > dist: debian squeeze > > config: contacts.cfg: > > define contact { > ? ? ? ?contact_name ? ? ? ? ? ? ? ? ? ?nagiosadmin > ? ? ? ?alias ? ? ? ? ? ? ? ? ? ? ? ? ? Nagios Admin > ? ? ? ?contactgroups ? ? ? ? ? ? ? ? ? null > ? ? ? ?host_notifications_enabled ? ? ?1 > ? ? ? ?service_notifications_enabled ? 1 > ? ? ? ?host_notification_period ? ? ? ?24x7 > ? ? ? ?service_notification_period ? ? 24x7 > ? ? ? ?host_notification_options ? ? ? d,u,r,f,s > ? ? ? ?service_notification_options ? ?w,u,c,r,f,s > ? ? ? ?host_notification_commands ? ? ?notify-host-by-email > ? ? ? ?service_notification_commands ? notify-service-by-email > ? ? ? ?can_submit_commands ? ? ? ? ? ? 1 > ? ? ? ?retain_status_information ? ? ? 1 > ? ? ? ?retain_nonstatus_information ? ?1 > ? ? ? ?email ? ? ? ? ? ? ? ? ? ? ? ? ? my at email.address > ? ? ? ?register ? ? ? ? ? ? ? ? ? ? ? ?1 > ? ? ? ?} > > Any thoughts appreciated. ------------------------------------------------------------------------------ Try before you buy = See our experts in action! The most comprehensive online learning library for Microsoft developers is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, Metro Style Apps, more. Free future releases when you subscribe now! http://p.sf.net/sfu/learndevnow-dev2 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From W.Miah at uea.ac.uk Mon Jan 23 12:48:42 2012 From: W.Miah at uea.ac.uk (Wadud Miah (ITCS)) Date: Mon, 23 Jan 2012 11:48:42 +0000 Subject: Nagios check frequency Message-ID: Hello Nagios users, I would like Nagios to increase the check frequency once the service is in a critical state. For example, if a check has a frequency of every 60 minutes, once it has reached a critical state, I want the check frequency to run at, say, every 10 minutes until the check has reached an OK state. I have set the max_check_attempts to three, and wanted to know if this is the case when nrpe times out. Does it check nrpe checks 3 times even if it times out on the first attempt? Thanks in advance for your help. Wadud. ------------------------------------------------------------------------------ Try before you buy = See our experts in action! The most comprehensive online learning library for Microsoft developers is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, Metro Style Apps, more. Free future releases when you subscribe now! http://p.sf.net/sfu/learndevnow-dev2 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Jan 23 13:19:45 2012 From: ae at op5.se (Andreas Ericsson) Date: Mon, 23 Jan 2012 13:19:45 +0100 Subject: Nagios check frequency In-Reply-To: References: Message-ID: <4F1D5061.2010100@op5.se> On 01/23/2012 12:48 PM, Wadud Miah (ITCS) wrote: > Hello Nagios users, > > I would like Nagios to increase the check frequency once the service > is in a critical state. For example, if a check has a frequency of > every 60 minutes, once it has reached a critical state, I want the > check frequency to run at, say, every 10 minutes until the check has > reached an OK state. > Use retry_interval. > I have set the max_check_attempts to three, and wanted to know if > this is the case when nrpe times out. Does it check nrpe checks 3 > times even if it times out on the first attempt? > That depends on how you've configured it. Timeouts doesn't matter in the slightest for Nagios' scheduling logic though, so it will run the check 3 times if that's what you've configured. -- 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 before you buy = See our experts in action! The most comprehensive online learning library for Microsoft developers is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, Metro Style Apps, more. Free future releases when you subscribe now! http://p.sf.net/sfu/learndevnow-dev2 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From W.Miah at uea.ac.uk Mon Jan 23 13:23:53 2012 From: W.Miah at uea.ac.uk (Wadud Miah (ITCS)) Date: Mon, 23 Jan 2012 12:23:53 +0000 Subject: Nagios check frequency In-Reply-To: <4F1D5061.2010100@op5.se> References: <4F1D5061.2010100@op5.se> Message-ID: Hi Andreas, Thanks for the reply. The retry_interval will retry to ensure the service is actually down, which is the case here. This is set to three in my configuration. However, once it exceeds retry_interval and the service is deemed as not-OK, it is then that I want it to increase the check frequency. I couldn't find anything in the documentation. Regards, Wadud. >-----Original Message----- >From: Andreas Ericsson [mailto:ae at op5.se] >Sent: Monday, January 23, 2012 12:20 PM >To: Nagios Users List >Cc: Wadud Miah (ITCS) >Subject: Re: [Nagios-users] Nagios check frequency > >On 01/23/2012 12:48 PM, Wadud Miah (ITCS) wrote: >> Hello Nagios users, >> >> I would like Nagios to increase the check frequency once the service >> is in a critical state. For example, if a check has a frequency of >> every 60 minutes, once it has reached a critical state, I want the >> check frequency to run at, say, every 10 minutes until the check has >> reached an OK state. >> > >Use retry_interval. > >> I have set the max_check_attempts to three, and wanted to know if >> this is the case when nrpe times out. Does it check nrpe checks 3 >> times even if it times out on the first attempt? >> > >That depends on how you've configured it. Timeouts doesn't matter in >the slightest for Nagios' scheduling logic though, so it will run the >check 3 times if that's what you've configured. > >-- >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 before you buy = See our experts in action! The most comprehensive online learning library for Microsoft developers is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, Metro Style Apps, more. Free future releases when you subscribe now! http://p.sf.net/sfu/learndevnow-dev2 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Mon Jan 23 13:27:23 2012 From: ismael.puerto at seres.es (Ismael Puerto) Date: Mon, 23 Jan 2012 13:27:23 +0100 Subject: Nagios check frequency In-Reply-To: References: Message-ID: <4F1D522B.9040202@seres.es> Hi Wadud copy/paste: External Command Check Interval Format: command_check_interval=[s] Example: command_check_interval=1 If you specify a number with an "s" appended to it (i.e. 30s), this is the number of seconds to wait between external command checks. If you leave off the "s", this is the number of "time units" to wait between external command checks. Unless you?ve changed the interval_length value (as defined below) from the default value of 60, this number will mean minutes. Note: By setting this value to -1, Nagios will check for external commands as often as possible. Each time Nagios checks for external commands it will read and process all commands present in the command file before continuing on with its other duties. More information on external commands can be found here. Best regards On 01/23/2012 12:48 PM, Wadud Miah (ITCS) wrote: > Hello Nagios users, > > I would like Nagios to increase the check frequency once the service is in a critical state. For example, if a check has a frequency of every 60 minutes, once it has reached a critical state, I want the check frequency to run at, say, every 10 minutes until the check has reached an OK state. > > I have set the max_check_attempts to three, and wanted to know if this is the case when nrpe times out. Does it check nrpe checks 3 times even if it times out on the first attempt? > > Thanks in advance for your help. > Wadud. > > ------------------------------------------------------------------------------ > Try before you buy = See our experts in action! > The most comprehensive online learning library for Microsoft developers > is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, > Metro Style Apps, more. Free future releases when you subscribe now! > http://p.sf.net/sfu/learndevnow-dev2 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 before you buy = See our experts in action! The most comprehensive online learning library for Microsoft developers is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, Metro Style Apps, more. Free future releases when you subscribe now! http://p.sf.net/sfu/learndevnow-dev2 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Deborah.Martin at kognitio.com Mon Jan 23 13:48:28 2012 From: Deborah.Martin at kognitio.com (Deborah Martin) Date: Mon, 23 Jan 2012 04:48:28 -0800 Subject: Nagios check frequency In-Reply-To: References: <4F1D5061.2010100@op5.se> Message-ID: Wadud, Surely, a check frequency of 60 minutes is not a good idea since, it could be that the node has been down for an hour before anyone knows anything about it ? I would recommend checking every 10 minutes to start with since that is the frequency you'd want to check if it was a NON-OK status anyway. You can set your notifications to be a longer period between checks which is how I configure Nagios. We check a database every 20 minutes for example, for RAM usage, but only notify every 4 hours. So, users still get the initial alert that ram usage has breached a threshold but are only reminded every 4 hours. And of course, if there is a recovery to an OK status within that 4 hours, users would be emailed as well. It works well for us and doesn't bombard users with emails either which means they are less likely to filter nagios alerts into the "Deleted" email folder. Of course, you probably have an excellent reason for only checking every 60 minutes which I haven't thought of so this is really just my tuppence worth....! Regards, Deborah -----Original Message----- From: Wadud Miah (ITCS) [mailto:W.Miah at uea.ac.uk] Sent: 23 January 2012 12:24 To: Andreas Ericsson; Nagios Users List Subject: Re: [Nagios-users] Nagios check frequency Hi Andreas, Thanks for the reply. The retry_interval will retry to ensure the service is actually down, which is the case here. This is set to three in my configuration. However, once it exceeds retry_interval and the service is deemed as not-OK, it is then that I want it to increase the check frequency. I couldn't find anything in the documentation. Regards, Wadud. >-----Original Message----- >From: Andreas Ericsson [mailto:ae at op5.se] >Sent: Monday, January 23, 2012 12:20 PM >To: Nagios Users List >Cc: Wadud Miah (ITCS) >Subject: Re: [Nagios-users] Nagios check frequency > >On 01/23/2012 12:48 PM, Wadud Miah (ITCS) wrote: >> Hello Nagios users, >> >> I would like Nagios to increase the check frequency once the service >> is in a critical state. For example, if a check has a frequency of >> every 60 minutes, once it has reached a critical state, I want the >> check frequency to run at, say, every 10 minutes until the check has >> reached an OK state. >> > >Use retry_interval. > >> I have set the max_check_attempts to three, and wanted to know if >> this is the case when nrpe times out. Does it check nrpe checks 3 >> times even if it times out on the first attempt? >> > >That depends on how you've configured it. Timeouts doesn't matter in >the slightest for Nagios' scheduling logic though, so it will run the >check 3 times if that's what you've configured. > >-- >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 before you buy = See our experts in action! The most comprehensive online learning library for Microsoft developers is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, Metro Style Apps, more. Free future releases when you subscribe now! http://p.sf.net/sfu/learndevnow-dev2 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null Complimentary Events and Webinars on In-Memory, Massively Parallel Processing and 'In the Cloud' - for more information click here This e-mail and any files transmitted with it are 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 before you buy = See our experts in action! The most comprehensive online learning library for Microsoft developers is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, Metro Style Apps, more. Free future releases when you subscribe now! http://p.sf.net/sfu/learndevnow-dev2 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From rab at walkermartyn.co.uk Mon Jan 23 14:09:27 2012 From: rab at walkermartyn.co.uk (Robert Jackson) Date: Mon, 23 Jan 2012 13:09:27 -0000 Subject: Windows Active Sessions Message-ID: Does anyone know how to return the number of active sessions from a Windows Terminal server? I have installed the NSClient++ service on the Windows server and obviously have the NRPE plugin installed on my Nagios host. Regards, Rab. ============================================================= Robert Jackson Phone: +44 (0) 141 332 7999 IT Manager Fax: +44 (0) 141 331 2820 Walker Martyn Ltd 1 Park Circus Place Email: rab at walkermartyn.co.uk Glasgow G3 6AH, Scotland Web: http://www.walkermartyn.co.uk ============================================================= ************************************************************************ The information in this internet E-mail is confidential and is intended solely for the addressee. Access, copying or re-use of information in it by anyone else is unauthorised. Any views or opinions presented are solely those of the author and do not necessarily represent those of Walker Martyn Ltd or any of its affiliates. If you are not the intended recipient please contact administrator at walkermartyn.co.uk Walker Martyn Ltd, company number SC197533. Company is registered in Scotland and has its registered office at 1 Park Circus Place, Glasgow G3 6AH, UK. **************************************************************** -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Try before you buy = See our experts in action! The most comprehensive online learning library for Microsoft developers is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, Metro Style Apps, more. Free future releases when you subscribe now! http://p.sf.net/sfu/learndevnow-dev2 -------------- 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 Mon Jan 23 14:00:28 2012 From: mwiese at beit.de (mwiese at beit.de) Date: Mon, 23 Jan 2012 14:00:28 +0100 Subject: =?iso-8859-1?q?Marco_Wiese/BEIT_GmbH_ist_au=DFer_H?= =?iso-8859-1?q?aus=2E?= Message-ID: Ich werde vom 23.01.2012 bis einschlie?lich 27.01.2012 nicht im B?ro sein. Ich werde Ihre Nachricht nach meiner R?ckkehr schnellstm?glich beantworten. ------------------------------------------------------ I will be out of the office starting 23/09/2011 and will not return until 30/09/2011. I will answer your message after my return. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Try before you buy = See our experts in action! The most comprehensive online learning library for Microsoft developers is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, Metro Style Apps, more. Free future releases when you subscribe now! http://p.sf.net/sfu/learndevnow-dev2 -------------- 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 jim at jimavery.me.uk Mon Jan 23 14:42:47 2012 From: jim at jimavery.me.uk (Jim Avery) Date: Mon, 23 Jan 2012 13:42:47 +0000 Subject: Windows Active Sessions In-Reply-To: References: Message-ID: On 23 January 2012 13:09, Robert Jackson wrote: > Does anyone know how to return the number of active sessions from a Windows > Terminal server? I have installed the NSClient++ service on the Windows > server and obviously have the NRPE plugin installed on my Nagios host. Rab, if I've understood correctly then you can query a Windows performance counter. I use an entry in the NSClient++ config file in the [External Alias] section that looks like this:- alias_CheckCounter-ts_act_sess=CheckCounter "Counter:sessions=\Terminal Services\Active Sessions" ShowAll MaxWarn=40 MaxCrit=50 Then on the Nagios side, the command is simply check_nrpe -H thehostname -c alias_CheckCounter-ts_act_sess So the command definition in Nagios is:- define command{ command_name check_nrpe command_line $USER1$/check_nrpe -H $HOSTADDRESS$ -u $ARG1$ } And the service definition looks something like this:- define service{ use srv-pnp,generic-service host_name myhost service_description TS_Active_Sessions check_command check_nrpe!-c ts_act_sess notes Number of Terminal Services Active Sessions contact_groups notify-engineers } There are lots of similar ways to do this sort of think using NSClient++. Precisely how you set it up depends a bit on how obsessive you are about security and your particular preference. The method shown above means you can have allow_arguments=0 and allow_nasty_meta_chars=0 in the [nrpe] section which is good for security. The downside is that if you need to change the warning theshold, you have to edit the nsc.ini file on the target system. hth, Jim ------------------------------------------------------------------------------ Try before you buy = See our experts in action! The most comprehensive online learning library for Microsoft developers is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, Metro Style Apps, more. Free future releases when you subscribe now! http://p.sf.net/sfu/learndevnow-dev2 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From rab at walkermartyn.co.uk Mon Jan 23 14:54:13 2012 From: rab at walkermartyn.co.uk (Robert Jackson) Date: Mon, 23 Jan 2012 13:54:13 -0000 Subject: Windows Active Sessions Message-ID: Hi Jim, Many thanks for the excellent reply. I'll give it a bash and see if I can get it going. -----Original Message----- From: Jim Avery [mailto:jim at jimavery.me.uk] Sent: Monday 23 January 2012 13:43 To: Nagios Users List Subject: rab at walkermartyn.co.uk - Re: [Nagios-users] Windows Active Sessions - Bayesian Filter detected spam On 23 January 2012 13:09, Robert Jackson wrote: > Does anyone know how to return the number of active sessions from a Windows > Terminal server? I have installed the NSClient++ service on the Windows > server and obviously have the NRPE plugin installed on my Nagios host. Rab, if I've understood correctly then you can query a Windows performance counter. I use an entry in the NSClient++ config file in the [External Alias] section that looks like this:- alias_CheckCounter-ts_act_sess=CheckCounter "Counter:sessions=\Terminal Services\Active Sessions" ShowAll MaxWarn=40 MaxCrit=50 Then on the Nagios side, the command is simply check_nrpe -H thehostname -c alias_CheckCounter-ts_act_sess So the command definition in Nagios is:- define command{ command_name check_nrpe command_line $USER1$/check_nrpe -H $HOSTADDRESS$ -u $ARG1$ } And the service definition looks something like this:- define service{ use srv-pnp,generic-service host_name myhost service_description TS_Active_Sessions check_command check_nrpe!-c ts_act_sess notes Number of Terminal Services Active Sessions contact_groups notify-engineers } There are lots of similar ways to do this sort of think using NSClient++. Precisely how you set it up depends a bit on how obsessive you are about security and your particular preference. The method shown above means you can have allow_arguments=0 and allow_nasty_meta_chars=0 in the [nrpe] section which is good for security. The downside is that if you need to change the warning theshold, you have to edit the nsc.ini file on the target system. hth, Jim ------------------------------------------------------------------------ ------ Try before you buy = See our experts in action! The most comprehensive online learning library for Microsoft developers is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, Metro Style Apps, more. Free future releases when you subscribe now! http://p.sf.net/sfu/learndevnow-dev2 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ************************************************************************ The information in this internet E-mail is confidential and is intended solely for the addressee. Access, copying or re-use of information in it by anyone else is unauthorised. Any views or opinions presented are solely those of the author and do not necessarily represent those of Walker Martyn Ltd or any of its affiliates. If you are not the intended recipient please contact administrator at walkermartyn.co.uk Walker Martyn Ltd, company number SC197533. Company is registered in Scotland and has its registered office at 1 Park Circus Place, Glasgow G3 6AH, UK. **************************************************************** ------------------------------------------------------------------------------ Try before you buy = See our experts in action! The most comprehensive online learning library for Microsoft developers is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, Metro Style Apps, more. Free future releases when you subscribe now! http://p.sf.net/sfu/learndevnow-dev2 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Jan 23 15:18:56 2012 From: ck at claudiokuenzler.com (Claudio Kuenzler) Date: Mon, 23 Jan 2012 15:18:56 +0100 Subject: Windows Active Sessions In-Reply-To: References: Message-ID: There's also an existing plugin for this: check_user_count.bat http://exchange.nagios.org/directory/Plugins/Remote-Access/Count-number-of-terminal-server-sessions/details However I suggest to use checkCounter, as Jim Avery mentioned it. That way you keep independent of additional files. On Mon, Jan 23, 2012 at 2:54 PM, Robert Jackson wrote: > Hi Jim, > > Many thanks for the excellent reply. I'll give it a bash and see if I > can get it going. > > -----Original Message----- > From: Jim Avery [mailto:jim at jimavery.me.uk] > Sent: Monday 23 January 2012 13:43 > To: Nagios Users List > Subject: rab at walkermartyn.co.uk - Re: [Nagios-users] Windows Active > Sessions - Bayesian Filter detected spam > > On 23 January 2012 13:09, Robert Jackson wrote: > > Does anyone know how to return the number of active sessions from a > Windows > > Terminal server? I have installed the NSClient++ service on the > Windows > > server and obviously have the NRPE plugin installed on my Nagios host. > > > Rab, > > if I've understood correctly then you can query a Windows performance > counter. > > I use an entry in the NSClient++ config file in the [External Alias] > section that looks like this:- > > alias_CheckCounter-ts_act_sess=CheckCounter > "Counter:sessions=\Terminal Services\Active Sessions" ShowAll > MaxWarn=40 MaxCrit=50 > > > Then on the Nagios side, the command is simply check_nrpe -H > thehostname -c alias_CheckCounter-ts_act_sess > > So the command definition in Nagios is:- > > > define command{ > command_name check_nrpe > command_line $USER1$/check_nrpe -H $HOSTADDRESS$ -u $ARG1$ > } > > > And the service definition looks something like this:- > > define service{ > use srv-pnp,generic-service > host_name myhost > service_description TS_Active_Sessions > check_command check_nrpe!-c ts_act_sess > notes Number of Terminal Services Active Sessions > contact_groups notify-engineers > } > > > There are lots of similar ways to do this sort of think using > NSClient++. Precisely how you set it up depends a bit on how > obsessive you are about security and your particular preference. > > The method shown above means you can have allow_arguments=0 and > allow_nasty_meta_chars=0 in the [nrpe] section which is good for > security. The downside is that if you need to change the warning > theshold, you have to edit the nsc.ini file on the target system. > > hth, > > Jim > > ------------------------------------------------------------------------ > ------ > Try before you buy = See our experts in action! > The most comprehensive online learning library for Microsoft developers > is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, > Metro Style Apps, more. Free future releases when you subscribe now! > http://p.sf.net/sfu/learndevnow-dev2 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > > > > ************************************************************************ > The information in this internet E-mail is confidential and is intended > solely for the addressee. Access, copying or re-use of information in it > by anyone else is unauthorised. Any views or opinions presented are > solely those of the author and do not necessarily represent those of > Walker Martyn Ltd or any of its affiliates. If you are not the > intended recipient please contact administrator at walkermartyn.co.uk > > Walker Martyn Ltd, company number SC197533. Company is > registered in Scotland and has its registered office at 1 Park > Circus Place, Glasgow G3 6AH, UK. > **************************************************************** > > > > > > ------------------------------------------------------------------------------ > Try before you buy = See our experts in action! > The most comprehensive online learning library for Microsoft developers > is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, > Metro Style Apps, more. Free future releases when you subscribe now! > http://p.sf.net/sfu/learndevnow-dev2 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 before you buy = See our experts in action! The most comprehensive online learning library for Microsoft developers is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, Metro Style Apps, more. Free future releases when you subscribe now! http://p.sf.net/sfu/learndevnow-dev2 -------------- 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 rab at walkermartyn.co.uk Mon Jan 23 15:56:34 2012 From: rab at walkermartyn.co.uk (Robert Jackson) Date: Mon, 23 Jan 2012 14:56:34 -0000 Subject: Windows Active Sessions Message-ID: Hi Jim, Managed to get some output, but not what I expected: "I (0.3.8.75 2010-05-27) seem to be doing fine" I get the same manually running check_nrpe from the Nagios host command line. Any ideas? -----Original Message----- From: Jim Avery [mailto:jim at jimavery.me.uk] Sent: Monday 23 January 2012 13:43 To: Nagios Users List Subject: rab at walkermartyn.co.uk - Re: [Nagios-users] Windows Active Sessions - Bayesian Filter detected spam On 23 January 2012 13:09, Robert Jackson wrote: > Does anyone know how to return the number of active sessions from a Windows > Terminal server? I have installed the NSClient++ service on the Windows > server and obviously have the NRPE plugin installed on my Nagios host. Rab, if I've understood correctly then you can query a Windows performance counter. I use an entry in the NSClient++ config file in the [External Alias] section that looks like this:- alias_CheckCounter-ts_act_sess=CheckCounter "Counter:sessions=\Terminal Services\Active Sessions" ShowAll MaxWarn=40 MaxCrit=50 Then on the Nagios side, the command is simply check_nrpe -H thehostname -c alias_CheckCounter-ts_act_sess So the command definition in Nagios is:- define command{ command_name check_nrpe command_line $USER1$/check_nrpe -H $HOSTADDRESS$ -u $ARG1$ } And the service definition looks something like this:- define service{ use srv-pnp,generic-service host_name myhost service_description TS_Active_Sessions check_command check_nrpe!-c ts_act_sess notes Number of Terminal Services Active Sessions contact_groups notify-engineers } There are lots of similar ways to do this sort of think using NSClient++. Precisely how you set it up depends a bit on how obsessive you are about security and your particular preference. The method shown above means you can have allow_arguments=0 and allow_nasty_meta_chars=0 in the [nrpe] section which is good for security. The downside is that if you need to change the warning theshold, you have to edit the nsc.ini file on the target system. hth, Jim ------------------------------------------------------------------------ ------ Try before you buy = See our experts in action! The most comprehensive online learning library for Microsoft developers is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, Metro Style Apps, more. Free future releases when you subscribe now! http://p.sf.net/sfu/learndevnow-dev2 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ************************************************************************ The information in this internet E-mail is confidential and is intended solely for the addressee. Access, copying or re-use of information in it by anyone else is unauthorised. Any views or opinions presented are solely those of the author and do not necessarily represent those of Walker Martyn Ltd or any of its affiliates. If you are not the intended recipient please contact administrator at walkermartyn.co.uk Walker Martyn Ltd, company number SC197533. Company is registered in Scotland and has its registered office at 1 Park Circus Place, Glasgow G3 6AH, UK. **************************************************************** ------------------------------------------------------------------------------ Try before you buy = See our experts in action! The most comprehensive online learning library for Microsoft developers is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, Metro Style Apps, more. Free future releases when you subscribe now! http://p.sf.net/sfu/learndevnow-dev2 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mail at catsnest.co.uk Mon Jan 23 17:35:50 2012 From: mail at catsnest.co.uk (mail at catsnest.co.uk) Date: Mon, 23 Jan 2012 16:35:50 +0000 Subject: service / host contact_groups Additive Inheritance Message-ID: Hi All, I have a questions about "Additive Inheritance" I have a service that inherits is contact_groups from its host, for this one service I wants to add an additional contact_group(s) but i seem to be having an issue with my understanding of Additive Inheritance an example of the config is define host { ... use generic-host } define service { ... contact_groups +extra_group } so without adding the contact_groups to the service, its contacts are 'contact_group1' and 'contact_group2' When adding the contact_groups to the service (with or without the +), its contact groups are are just 'extra_group' if there is a 'contacts' defined for the host the services: When adding the contact_groups to the service (with or without the +), contacts end up being 'contact1', 'extra_group' Should the + or "Additive Inheritance" not make the service have 'contact_group1' , 'contact_group2' and 'extra_group'? -- <-- http://23.me.uk/2 --> <--Time flies like an arrow; fruit flies like a banana. --> -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Try before you buy = See our experts in action! The most comprehensive online learning library for Microsoft developers is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, Metro Style Apps, more. Free future releases when you subscribe now! http://p.sf.net/sfu/learndevnow-dev2 -------------- 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 jim at jimavery.me.uk Mon Jan 23 18:06:59 2012 From: jim at jimavery.me.uk (Jim Avery) Date: Mon, 23 Jan 2012 17:06:59 +0000 Subject: Windows Active Sessions In-Reply-To: References: Message-ID: On 23 January 2012 14:56, Robert Jackson wrote: > Hi Jim, > > Managed to get some output, but not what I expected: > > "I (0.3.8.75 2010-05-27) seem to be doing fine" > > I get the same manually running check_nrpe from the Nagios host command > line. > > > Any ideas? I've not seen that myself, but a quick google for "nsclient++ seem to be doing fine" comes up with this. http://www.nsclient.org/nscp/discussion/topic/510 I think that's very likely your solution. ------------------------------------------------------------------------------ Try before you buy = See our experts in action! The most comprehensive online learning library for Microsoft developers is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, Metro Style Apps, more. Free future releases when you subscribe now! http://p.sf.net/sfu/learndevnow-dev2 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From lovesaikrishna at gmail.com Mon Jan 23 22:06:46 2012 From: lovesaikrishna at gmail.com (Saikrishna) Date: Mon, 23 Jan 2012 16:06:46 -0500 Subject: Nagios is sending critical false alerts about current users Message-ID: Hello All, Nagios seems to be sending false alerts about few hosts, (ex: There were no users on one host and still Nagios was reporting a critical alert and says 6 users are logged in. How do I fix this one? Also, I have installed nagios and added 12 hosts as a start and monitoring few details on them, how do I send false alerts and check if they are being reported through nagios server? [root at proof etc]# uname -a Linux proof 2.6.18-274.el5 #1 SMP Fri Jul 22 04:43:29 EDT 2011 x86_64 x86_64 x86_64 GNU/Linux [root at proof etc]# cat /etc/redhat-release CentOS release 5.7 (Final) [root at proof objects]# /usr/local/nagios/bin/nagios -v Nagios Core 3.2.3 Copyright (c) 2009-2010 Nagios Core Development Team and Community Contributors Copyright (c) 1999-2009 Ethan Galstad Last Modified: 10-03-2010 License: GPL Website: http://www.nagios.org Usage: /usr/local/nagios/bin/nagios [options] Options: -v, --verify-config Verify all configuration data -s, --test-scheduling Shows projected/recommended check scheduling and other diagnostic info based on the current configuration files. -x, --dont-verify-paths Don't check for circular object paths - USE WITH CAUTION! -p, --precache-objects Precache object configuration - use with -v or -s options -u, --use-precached-objects Use precached object config file -d, --daemon Starts Nagios in daemon mode, instead of as a foreground process Visit the Nagios website at http://www.nagios.org/ for bug fixes, new releases, online documentation, FAQs, information on subscribing to the mailing lists, and commercial support options for Nagios. [root at proof objects]# /usr/local/nagios/bin/nagiostats Nagios Stats 3.2.3 Copyright (c) 2003-2008 Ethan Galstad (www.nagios.org) Last Modified: 10-03-2010 License: GPL CURRENT STATUS DATA ------------------------------------------------------ Status File: /usr/local/nagios/var/status.dat Status File Age: 0d 0h 0m 7s Status File Version: 3.2.3 Program Running Time: 0d 1h 16m 58s Nagios PID: 28047 Used/High/Total Command Buffers: 0 / 0 / 4096 Total Services: 78 Services Checked: 78 Services Scheduled: 78 Services Actively Checked: 78 Services Passively Checked: 0 Total Service State Change: 0.000 / 12.700 / 1.263 % Active Service Latency: 0.015 / 12.142 / 0.551 sec Active Service Execution Time: 0.005 / 4.028 / 0.678 sec Active Service State Change: 0.000 / 12.700 / 1.263 % Active Services Last 1/5/15/60 min: 16 / 44 / 78 / 78 Passive Service Latency: 0.000 / 0.000 / 0.000 sec Passive Service State Change: 0.000 / 0.000 / 0.000 % Passive Services Last 1/5/15/60 min: 0 / 0 / 0 / 0 Services Ok/Warn/Unk/Crit: 65 / 0 / 0 / 13 Services Flapping: 0 Services In Downtime: 0 Total Hosts: 13 Hosts Checked: 13 Hosts Scheduled: 13 Hosts Actively Checked: 13 Host Passively Checked: 0 Total Host State Change: 0.000 / 0.000 / 0.000 % Active Host Latency: 4.145 / 23.283 / 12.981 sec Active Host Execution Time: 4.008 / 4.016 / 4.010 sec Active Host State Change: 0.000 / 0.000 / 0.000 % Active Hosts Last 1/5/15/60 min: 0 / 13 / 13 / 13 Passive Host Latency: 0.000 / 0.000 / 0.000 sec Passive Host State Change: 0.000 / 0.000 / 0.000 % Passive Hosts Last 1/5/15/60 min: 0 / 0 / 0 / 0 Hosts Up/Down/Unreach: 13 / 0 / 0 Hosts Flapping: 0 Hosts In Downtime: 0 Active Host Checks Last 1/5/15 min: 3 / 22 / 55 Scheduled: 0 / 13 / 33 On-demand: 3 / 9 / 22 Parallel: 0 / 13 / 33 Serial: 0 / 0 / 0 Cached: 3 / 9 / 22 Passive Host Checks Last 1/5/15 min: 0 / 0 / 0 Active Service Checks Last 1/5/15 min: 16 / 44 / 135 Scheduled: 16 / 44 / 135 On-demand: 0 / 0 / 0 Cached: 0 / 0 / 0 Passive Service Checks Last 1/5/15 min: 0 / 0 / 0 External Commands Last 1/5/15 min: 0 / 0 / 0 Thanks Saikrishna -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Try before you buy = See our experts in action! The most comprehensive online learning library for Microsoft developers is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, Metro Style Apps, more. Free future releases when you subscribe now! http://p.sf.net/sfu/learndevnow-dev2 -------------- 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 gaangio at gmail.com Mon Jan 23 21:00:07 2012 From: gaangio at gmail.com (=?ISO-8859-1?Q?Gabriel_Angi=F3?=) Date: Mon, 23 Jan 2012 17:00:07 -0300 Subject: ndomod: Still unable to connect to data sink Message-ID: Hello list, Since the first time, I am having this problem, when I look at the syslog: it appears [1327288417] ndomod: Still unable to connect to data sink. 3502824 items lost, 5000 queued items to flush. [1327289329] ndomod: Still unable to connect to data sink. 3506486 items lost, 5000 queued items to flush. [1327290241] ndomod: Still unable to connect to data sink. 3510157 items lost, 5000 queued items to flush. [1327290410] Auto-save of retention data completed successfully. As a result, the database is not updating the values, and therefore my "nagios semaphore" is not working properly. I have tried to restart the machine without much luck. Any hint? Regards, Gabriel -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Try before you buy = See our experts in action! The most comprehensive online learning library for Microsoft developers is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, Metro Style Apps, more. Free future releases when you subscribe now! http://p.sf.net/sfu/learndevnow-dev2 -------------- 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 nagios at flatto.net Mon Jan 23 23:25:20 2012 From: nagios at flatto.net (Assaf Flatto) Date: Mon, 23 Jan 2012 22:25:20 +0000 Subject: ndomod: Still unable to connect to data sink In-Reply-To: References: Message-ID: <4F1DDE50.1010908@flatto.net> Can you provide some information about your configuration , it might shed some light on your problem? Is the data base active ? did you specify the scheme as specified in the NDO documentation ? On 23/01/12 20:00, Gabriel Angi? wrote: > Hello list, > > Since the first time, I am having this problem, when I look at the syslog: it appears > > > [1327288417] ndomod: Still unable to connect to data sink. 3502824 items lost, 5000 queued items to flush. > [1327289329] ndomod: Still unable to connect to data sink. 3506486 items lost, 5000 queued items to flush. > [1327290241] ndomod: Still unable to connect to data sink. 3510157 items lost, 5000 queued items to flush. > [1327290410] Auto-save of retention data completed successfully. > > > > As a result, the database is not updating the values, and therefore my "nagios semaphore" is not working properly. I have tried to restart the machine without much luck. > > Any hint? > > Regards, > Gabriel > > > ------------------------------------------------------------------------------ > Try before you buy = See our experts in action! > The most comprehensive online learning library for Microsoft developers > is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, > Metro Style Apps, more. Free future releases when you subscribe now! > http://p.sf.net/sfu/learndevnow-dev2 > > > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 before you buy = See our experts in action! The most comprehensive online learning library for Microsoft developers is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, Metro Style Apps, more. Free future releases when you subscribe now! http://p.sf.net/sfu/learndevnow-dev2 -------------- 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 frnkblk at iname.com Tue Jan 24 03:55:13 2012 From: frnkblk at iname.com (Frank Bulk) Date: Mon, 23 Jan 2012 20:55:13 -0600 Subject: Nagios check frequency In-Reply-To: <4F1D5061.2010100@op5.se> References: <4F1D5061.2010100@op5.se> Message-ID: <00aa01ccda43$9832ecc0$c898c640$@iname.com> Try "retry_check_interval": http://www.mail-archive.com/nagios-users at lists.sourceforge.net/msg02734.html Frank -----Original Message----- From: Andreas Ericsson [mailto:ae at op5.se] Sent: Monday, January 23, 2012 6:20 AM To: Nagios Users List Cc: Wadud Miah (ITCS) Subject: Re: [Nagios-users] Nagios check frequency On 01/23/2012 12:48 PM, Wadud Miah (ITCS) wrote: > Hello Nagios users, > > I would like Nagios to increase the check frequency once the service > is in a critical state. For example, if a check has a frequency of > every 60 minutes, once it has reached a critical state, I want the > check frequency to run at, say, every 10 minutes until the check has > reached an OK state. > Use retry_interval. > I have set the max_check_attempts to three, and wanted to know if > this is the case when nrpe times out. Does it check nrpe checks 3 > times even if it times out on the first attempt? > That depends on how you've configured it. Timeouts doesn't matter in the slightest for Nagios' scheduling logic though, so it will run the check 3 times if that's what you've configured. -- 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 before you buy = See our experts in action! The most comprehensive online learning library for Microsoft developers is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, Metro Style Apps, more. Free future releases when you subscribe now! http://p.sf.net/sfu/learndevnow-dev2 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------------ Keep Your Developer Skills Current with LearnDevNow! The most comprehensive online learning library for Microsoft developers is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, Metro Style Apps, more. Free future releases when you subscribe now! http://p.sf.net/sfu/learndevnow-d2d _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Tue Jan 24 11:54:36 2012 From: ck at claudiokuenzler.com (Claudio Kuenzler) Date: Tue, 24 Jan 2012 11:54:36 +0100 Subject: Nagios is sending critical false alerts about current users In-Reply-To: References: Message-ID: When Nagios sends the notifications, how is the actual status of that service on the UI? Also, do you see the notifications as they were emailed on the UI (in Notifications)? On Mon, Jan 23, 2012 at 10:06 PM, Saikrishna wrote: > Hello All, > > Nagios seems to be sending false alerts about few hosts, (ex: There were > no users on one host and still Nagios was reporting a critical alert and > says 6 users are logged in. How do I fix this one? > > Also, I have installed nagios and added 12 hosts as a start and monitoring > few details on them, how do I send false alerts and check if they are being > reported through nagios server? > > [root at proof etc]# uname -a > Linux proof 2.6.18-274.el5 #1 SMP Fri Jul 22 04:43:29 EDT 2011 x86_64 > x86_64 x86_64 GNU/Linux > [root at proof etc]# cat /etc/redhat-release > CentOS release 5.7 (Final) > > [root at proof objects]# /usr/local/nagios/bin/nagios -v > > Nagios Core 3.2.3 > Copyright (c) 2009-2010 Nagios Core Development Team and Community > Contributors > Copyright (c) 1999-2009 Ethan Galstad > Last Modified: 10-03-2010 > License: GPL > > Website: http://www.nagios.org > Usage: /usr/local/nagios/bin/nagios [options] > > Options: > > -v, --verify-config Verify all configuration data > -s, --test-scheduling Shows projected/recommended check > scheduling and other > diagnostic info based on the current > configuration files. > -x, --dont-verify-paths Don't check for circular object paths - USE > WITH CAUTION! > -p, --precache-objects Precache object configuration - use with -v > or -s options > -u, --use-precached-objects Use precached object config file > -d, --daemon Starts Nagios in daemon mode, instead of as > a foreground process > > Visit the Nagios website at http://www.nagios.org/ for bug fixes, new > releases, online documentation, FAQs, information on subscribing to > the mailing lists, and commercial support options for Nagios. > > [root at proof objects]# /usr/local/nagios/bin/nagiostats > > Nagios Stats 3.2.3 > Copyright (c) 2003-2008 Ethan Galstad (www.nagios.org) > Last Modified: 10-03-2010 > License: GPL > > CURRENT STATUS DATA > ------------------------------------------------------ > Status File: /usr/local/nagios/var/status.dat > Status File Age: 0d 0h 0m 7s > Status File Version: 3.2.3 > > Program Running Time: 0d 1h 16m 58s > Nagios PID: 28047 > Used/High/Total Command Buffers: 0 / 0 / 4096 > > Total Services: 78 > Services Checked: 78 > Services Scheduled: 78 > Services Actively Checked: 78 > Services Passively Checked: 0 > Total Service State Change: 0.000 / 12.700 / 1.263 % > Active Service Latency: 0.015 / 12.142 / 0.551 sec > Active Service Execution Time: 0.005 / 4.028 / 0.678 sec > Active Service State Change: 0.000 / 12.700 / 1.263 % > Active Services Last 1/5/15/60 min: 16 / 44 / 78 / 78 > Passive Service Latency: 0.000 / 0.000 / 0.000 sec > Passive Service State Change: 0.000 / 0.000 / 0.000 % > Passive Services Last 1/5/15/60 min: 0 / 0 / 0 / 0 > Services Ok/Warn/Unk/Crit: 65 / 0 / 0 / 13 > Services Flapping: 0 > Services In Downtime: 0 > > Total Hosts: 13 > Hosts Checked: 13 > Hosts Scheduled: 13 > Hosts Actively Checked: 13 > Host Passively Checked: 0 > Total Host State Change: 0.000 / 0.000 / 0.000 % > Active Host Latency: 4.145 / 23.283 / 12.981 sec > Active Host Execution Time: 4.008 / 4.016 / 4.010 sec > Active Host State Change: 0.000 / 0.000 / 0.000 % > Active Hosts Last 1/5/15/60 min: 0 / 13 / 13 / 13 > Passive Host Latency: 0.000 / 0.000 / 0.000 sec > Passive Host State Change: 0.000 / 0.000 / 0.000 % > Passive Hosts Last 1/5/15/60 min: 0 / 0 / 0 / 0 > Hosts Up/Down/Unreach: 13 / 0 / 0 > Hosts Flapping: 0 > Hosts In Downtime: 0 > > Active Host Checks Last 1/5/15 min: 3 / 22 / 55 > Scheduled: 0 / 13 / 33 > On-demand: 3 / 9 / 22 > Parallel: 0 / 13 / 33 > Serial: 0 / 0 / 0 > Cached: 3 / 9 / 22 > Passive Host Checks Last 1/5/15 min: 0 / 0 / 0 > Active Service Checks Last 1/5/15 min: 16 / 44 / 135 > Scheduled: 16 / 44 / 135 > On-demand: 0 / 0 / 0 > Cached: 0 / 0 / 0 > Passive Service Checks Last 1/5/15 min: 0 / 0 / 0 > > External Commands Last 1/5/15 min: 0 / 0 / 0 > > > > Thanks > Saikrishna > > ------------------------------------------------------------------------------ > Try before you buy = See our experts in action! > The most comprehensive online learning library for Microsoft developers > is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, > Metro Style Apps, more. Free future releases when you subscribe now! > http://p.sf.net/sfu/learndevnow-dev2 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 -------------- ------------------------------------------------------------------------------ Keep Your Developer Skills Current with LearnDevNow! The most comprehensive online learning library for Microsoft developers is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, Metro Style Apps, more. Free future releases when you subscribe now! http://p.sf.net/sfu/learndevnow-d2d -------------- 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 hdperfors at che.nl Tue Jan 24 15:00:35 2012 From: hdperfors at che.nl (Perfors, Henny) Date: Tue, 24 Jan 2012 15:00:35 +0100 Subject: monitoring dhcp Message-ID: <944EFA13E9A01F47823F16D30BD9DAAB2706@CHECEXCL02.che.local> We've a Windows 2008 server with DHCP role. There is an option to display the statics of the scope. Total Addresses .. In Use .. % Available ..% Is it possible to gt these information available in Nagios. Please advise. Thanks! Henry -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Keep Your Developer Skills Current with LearnDevNow! The most comprehensive online learning library for Microsoft developers is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, Metro Style Apps, more. Free future releases when you subscribe now! http://p.sf.net/sfu/learndevnow-d2d -------------- 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 giles at coochey.net Tue Jan 24 15:30:51 2012 From: giles at coochey.net (Giles Coochey) Date: Tue, 24 Jan 2012 14:30:51 +0000 Subject: monitoring dhcp In-Reply-To: <944EFA13E9A01F47823F16D30BD9DAAB2706@CHECEXCL02.che.local> References: <944EFA13E9A01F47823F16D30BD9DAAB2706@CHECEXCL02.che.local> Message-ID: <0e1a714a1be62239966ebec56683c19d@www.coochey.net> On 2012-01-24 14:00, Perfors, Henny wrote: > We've a Windows 2008 server with DHCP role. There is an option to display the statics of the scope. > > Total Addresses .. > > In Use .. % > > Available ..% > > Is it possible to gt these information available in Nagios. > > Please advise. > > Thanks! > Henry It might be possible via SNMP, ensure you have the windows DHCP MIB loaded, and try walking 1.3.6.1.4.1.311.1.3 and see what is available to you. -- Message sent via my webmail account. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Keep Your Developer Skills Current with LearnDevNow! The most comprehensive online learning library for Microsoft developers is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, Metro Style Apps, more. Free future releases when you subscribe now! http://p.sf.net/sfu/learndevnow-d2d -------------- 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 benny at bennyvision.com Tue Jan 24 15:36:24 2012 From: benny at bennyvision.com (C. Bensend) Date: Tue, 24 Jan 2012 08:36:24 -0600 Subject: monitoring dhcp In-Reply-To: <944EFA13E9A01F47823F16D30BD9DAAB2706@CHECEXCL02.che.local> References: <944EFA13E9A01F47823F16D30BD9DAAB2706@CHECEXCL02.che.local> Message-ID: <5cd28458115f7ad76f8ea956754df30c.squirrel@webmail.stinkweasel.net> > We've a Windows 2008 server with DHCP role. There is an option to display > the statics of the scope. > Total Addresses .. > In Use .. % > Available ..% > > Is it possible to gt these information available in Nagios. I haven't had much luck with this. Microsoft doesn't expose hardly any of this data via WMI or any other interface that I've found. I haven't looked at Powershell yet, mostly because many of my servers do not have it installed (2003 -vs- 2008). The best I've been able to do is watch the event log for DHCP server complaints about a scope getting close to consumed. Even *that* has been problematic, as the DHCP server service seems to arbitrarily decide when it wants to complain. I ended up writing a custom plugin that watches the event log for those events, parsing the output, and deciding on whether it's appropriate to alert. Benny -- "Cats land on their feet. Toast lands peanut butter side down. A cat with toast strapped to its back will hover above the ground in a state of quantum indecision." -- Unknown ------------------------------------------------------------------------------ Keep Your Developer Skills Current with LearnDevNow! The most comprehensive online learning library for Microsoft developers is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, Metro Style Apps, more. Free future releases when you subscribe now! http://p.sf.net/sfu/learndevnow-d2d _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From giles at coochey.net Tue Jan 24 15:41:06 2012 From: giles at coochey.net (Giles Coochey) Date: Tue, 24 Jan 2012 14:41:06 +0000 Subject: monitoring dhcp In-Reply-To: <5cd28458115f7ad76f8ea956754df30c.squirrel@webmail.stinkweasel.net> References: <944EFA13E9A01F47823F16D30BD9DAAB2706@CHECEXCL02.che.local> <5cd28458115f7ad76f8ea956754df30c.squirrel@webmail.stinkweasel.net> Message-ID: On 2012-01-24 14:36, C. Bensend wrote: >> We've a Windows 2008 server with DHCP role. There is an option to >> display >> the statics of the scope. >> Total Addresses .. >> In Use .. % >> Available ..% >> >> Is it possible to gt these information available in Nagios. > > I haven't had much luck with this. Microsoft doesn't expose hardly > any of this data via WMI or any other interface that I've found. > I haven't looked at Powershell yet, mostly because many of my > servers do not have it installed (2003 -vs- 2008). > > The best I've been able to do is watch the event log for DHCP > server complaints about a scope getting close to consumed. Even > *that* has been problematic, as the DHCP server service seems to > arbitrarily decide when it wants to complain. I ended up writing > a custom plugin that watches the event log for those events, parsing > the output, and deciding on whether it's appropriate to alert. > I don't think you'll have much trouble getting this via SNMP. It is defined in the MIB on a per-scope basis, suggest you go a snmpwalk on the OID I gave earlier and see what you get. MIB excerpt: scopeTable OBJECT-TYPE SYNTAX SEQUENCE OF ScopeTableEntry ACCESS read-only STATUS mandatory DESCRIPTION "A list of subnets maintained by the server" ::= { dhcpScope 1 } scopeTableEntry OBJECT-TYPE SYNTAX ScopeTableEntry ACCESS read-only STATUS mandatory DESCRIPTION "This is the row corresponding to a subnet" INDEX { subnetAdd } ::= { scopeTable 1 } ScopeTableEntry ::= SEQUENCE { subnetAdd IpAddress, noAddInUse Counter, noAddFree Counter, noPendingOffers Counter } subnetAdd OBJECT-TYPE SYNTAX IpAddress ACCESS read-only STATUS mandatory DESCRIPTION "This is the subnet address " ::= { scopeTableEntry 1 } noAddInUse OBJECT-TYPE SYNTAX Counter ACCESS read-only STATUS mandatory DESCRIPTION "This is the no. of addresses in use" ::= { scopeTableEntry 2 } noAddFree OBJECT-TYPE SYNTAX Counter ACCESS read-only STATUS mandatory DESCRIPTION "This is the no. of addresses that are free " ::= { scopeTableEntry 3 } noPendingOffers OBJECT-TYPE SYNTAX Counter ACCESS read-only STATUS mandatory DESCRIPTION "This is the no. of addresses that are currently in the offer state" ::= { scopeTableEntry 4 } END -- Message sent via my webmail account. ------------------------------------------------------------------------------ Keep Your Developer Skills Current with LearnDevNow! The most comprehensive online learning library for Microsoft developers is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, Metro Style Apps, more. Free future releases when you subscribe now! http://p.sf.net/sfu/learndevnow-d2d _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From benny at bennyvision.com Tue Jan 24 15:47:25 2012 From: benny at bennyvision.com (C. Bensend) Date: Tue, 24 Jan 2012 08:47:25 -0600 Subject: monitoring dhcp In-Reply-To: References: <944EFA13E9A01F47823F16D30BD9DAAB2706@CHECEXCL02.che.local> <5cd28458115f7ad76f8ea956754df30c.squirrel@webmail.stinkweasel.net> Message-ID: > I don't think you'll have much trouble getting this via SNMP. It is > defined in the MIB on a per-scope basis, suggest you go a snmpwalk on > the OID I gave earlier and see what you get. > > MIB excerpt: > > scopeTable OBJECT-TYPE > SYNTAX SEQUENCE OF ScopeTableEntry > ACCESS read-only > STATUS mandatory > DESCRIPTION > "A list of subnets maintained by the server" > ::= { dhcpScope 1 } > > scopeTableEntry OBJECT-TYPE > SYNTAX ScopeTableEntry > ACCESS read-only > STATUS mandatory > DESCRIPTION > "This is the row corresponding to a subnet" > INDEX { subnetAdd } > ::= { scopeTable 1 } > > ScopeTableEntry ::= SEQUENCE { > subnetAdd > IpAddress, > > noAddInUse > Counter, > > noAddFree > Counter, > > noPendingOffers > Counter > > } > subnetAdd OBJECT-TYPE > SYNTAX IpAddress > ACCESS read-only > STATUS mandatory > DESCRIPTION > "This is the subnet address " > ::= { scopeTableEntry 1 } > > > noAddInUse OBJECT-TYPE > SYNTAX Counter > ACCESS read-only > STATUS mandatory > DESCRIPTION > "This is the no. of addresses in use" > ::= { scopeTableEntry 2 } > > noAddFree OBJECT-TYPE > SYNTAX Counter > ACCESS read-only > STATUS mandatory > DESCRIPTION > "This is the no. of addresses that are free " > ::= { scopeTableEntry 3 } > > noPendingOffers OBJECT-TYPE > SYNTAX Counter > ACCESS read-only > STATUS mandatory > DESCRIPTION > "This is the no. of addresses that are currently in the offer > state" > ::= { scopeTableEntry 4 } > > END Thank you, Giles! This doesn't help me (I don't have SNMP enabled on my hosts and don't plan on doing so), but it's good to know for the future... That's certainly better than what is exposed elsewhere... Benny -- "Cats land on their feet. Toast lands peanut butter side down. A cat with toast strapped to its back will hover above the ground in a state of quantum indecision." -- Unknown ------------------------------------------------------------------------------ Keep Your Developer Skills Current with LearnDevNow! The most comprehensive online learning library for Microsoft developers is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, Metro Style Apps, more. Free future releases when you subscribe now! http://p.sf.net/sfu/learndevnow-d2d _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From T.AtLee at cfertech.com Tue Jan 24 15:41:57 2012 From: T.AtLee at cfertech.com (Tim AtLee) Date: Tue, 24 Jan 2012 07:41:57 -0700 Subject: monitoring dhcp In-Reply-To: <0e1a714a1be62239966ebec56683c19d@www.coochey.net> References: <944EFA13E9A01F47823F16D30BD9DAAB2706@CHECEXCL02.che.local> <0e1a714a1be62239966ebec56683c19d@www.coochey.net> Message-ID: <0421E521817FC542AF7BA8F20E099B810121839660@exchsrv.cfertech.com> I use check_mk, which included a plugin for monitoring Windows DHCP server: netsh dhcp server show mibinfo | find /V ": dhcp." | find /V "DHCP-Serverversion wurde" | find /V "nicht richtig funktionieren." | find /V ": dhcp server show mibinfo." So, either you could either write a plugin for NSClient++ or get handy with winexe in Linux. Though ? a quick glance at the MIB shows the same data.. In the end, that may save you some scripting grief. From: Giles Coochey [mailto:giles at coochey.net] Sent: Tuesday, January 24, 2012 7:31 AM To: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] monitoring dhcp On 2012-01-24 14:00, Perfors, Henny wrote: We?ve a Windows 2008 server with DHCP role. There is an option to display the statics of the scope. Total Addresses .. In Use .. % Available ..% Is it possible to gt these information available in Nagios. Please advise. Thanks! Henry It might be possible via SNMP, ensure you have the windows DHCP MIB loaded, and try walking 1.3.6.1.4.1.311.1.3 and see what is available to you. -- Message sent via my webmail account. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Keep Your Developer Skills Current with LearnDevNow! The most comprehensive online learning library for Microsoft developers is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, Metro Style Apps, more. Free future releases when you subscribe now! http://p.sf.net/sfu/learndevnow-d2d -------------- 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 Craig.Stewart at corp.xplornet.com Tue Jan 24 16:07:25 2012 From: Craig.Stewart at corp.xplornet.com (Craig Stewart) Date: Tue, 24 Jan 2012 11:07:25 -0400 Subject: Can passive results cause active check rescheduling? Message-ID: <4F1EC92D.9030007@corp.xplornet.com> Good day! Here is a question. Can the processing of a passive service check schedule a pending active service check? Here's a simple example from a distributed monitoring setup. Lets say we have a service called check_alive that simply pings a host. It's defined on the probe and the central server. On the probe, it's scheduled to check every 60 seconds, and submit the results to the central server. On the central server, it's scheduled to check every 120 seconds. Is there a way to cause the following behaviour to occur? - Probe checks and submits the results to central. It reschedules the check for 60 seconds from now. - Central receives and processes the results (assume an okay state here) and reschedules it's active check that was going to run within short time frame to 120 seconds from now, without running the active check. - 60 seconds later the probe checks and submits (still in an okay state) it's check to the central server. - The central server receives and processes the check result, and reschedules (postpones) it's active service check for 120 seconds from now, without actually running it. - Repeat until a non-okay result comes in. This way if the probe goes silent, the central server will pick up monitoring nearly seamlessly. I know I can get the results I want using the check freshness option. What is happening now, if I enable active service checks on the central server is that the passive result comes in, is processed and the active service check is run at exactly the scheduled time. There is no postponing the central server's check time. There are a couple of problems. 1) My central server also does active service checking for some devices that are not associated with a probe. I can build these to have a separate template, but I'm already getting into template complexity. I don't want to have to have two templates, one for local and one for remote monitoring of each device type. 2) I have an individual that doesn't like to see red on the Nagios interface. They are sufficiently far up the food chain that all I can really do is say "Yes sir, yes sir, three bags full sir" and hope they forget about it. All the 10000 plus services show up in the Nagios interface as disabled and have a red background. Please assume any valid arguments on my part have been made. None of my reading has suggested that this behaviour is possible, but I thought I'd put it out there and ask. Cheers! Craig -- Craig Stewart Systems Integration Analyst Craig.Stewart at corp.xplornet.com Xplornet - Broadband, Everywhere This e-mail (including any attachments) is for the sole use of the intended recipient and may contain confidential information protected by duties of confidentiality or privilege. If you are not the intended recipient of this e-mail, please immediately notify us by return e-mail or by telephone, delete this e-mail and destroy any copies. Thank you. ________________________________________________________________________________ Ce message est destin? uniquement ? la personne pr?vue et peut contenir des renseignements confidentiels et/ou privil?gi?s au titre d?une obligation de confidentialit?. Si vous n'?tes pas le destinataire vis?, veuillez nous en informer sans d?lai par courriel ou t?l?phone et d?truire ce message ainsi que toute pi?ce jointe, sans en garder de copie. Merci. ------------------------------------------------------------------------------ Keep Your Developer Skills Current with LearnDevNow! The most comprehensive online learning library for Microsoft developers is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, Metro Style Apps, more. Free future releases when you subscribe now! http://p.sf.net/sfu/learndevnow-d2d _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jim at jimavery.me.uk Tue Jan 24 18:25:20 2012 From: jim at jimavery.me.uk (Jim Avery) Date: Tue, 24 Jan 2012 17:25:20 +0000 Subject: Can passive results cause active check rescheduling? In-Reply-To: <4F1EC92D.9030007@corp.xplornet.com> References: <4F1EC92D.9030007@corp.xplornet.com> Message-ID: On 24 January 2012 15:07, Craig Stewart wrote: > Good day! > > Here is a question. ?Can the processing of a passive service check > schedule a pending active service check? > > Here's a simple example from a distributed monitoring setup. > > Lets say we have a service called check_alive that simply pings a host. > ?It's defined on the probe and the central server. ?On the probe, it's > scheduled to check every 60 seconds, and submit the results to the > central server. ?On the central server, it's scheduled to check every > 120 seconds. ?Is there a way to cause the following behaviour to occur? > > - Probe checks and submits the results to central. ?It reschedules the > check for 60 seconds from now. > > - Central receives and processes the results (assume an okay state here) > and reschedules it's active check that was going to run within short > time frame to 120 seconds from now, without running the active check. > > - 60 seconds later the probe checks and submits (still in an okay state) > it's check to the central server. > > - The central server receives and processes the check result, and > reschedules (postpones) it's active service check for 120 seconds from > now, without actually running it. > > - Repeat until a non-okay result comes in. > > > > This way if the probe goes silent, the central server will pick up > monitoring nearly seamlessly. I know I can get the results I want using > the check freshness option. > > What is happening now, if I enable active service checks on the central > server is that the passive result comes in, is processed and the active > service check is run at exactly the scheduled time. ?There is no > postponing the central server's check time. > > There are a couple of problems. > > 1) My central server also does active service checking for some devices > that are not associated with a probe. ?I can build these to have a > separate template, but I'm already getting into template complexity. ?I > don't want to have to have two templates, one for local and one for > remote monitoring of each device type. > > 2) I have an individual that doesn't like to see red on the Nagios > interface. ?They are sufficiently far up the food chain that all I can > really do is say "Yes sir, yes sir, three bags full sir" and hope they > forget about it. ?All the 10000 plus services show up in the Nagios > interface as disabled and have a red background. ?Please assume any > valid arguments on my part have been made. > > None of my reading has suggested that this behaviour is possible, but I > thought I'd put it out there and ask. My understanding of what Nagios does is it schedules the active check, it goes in to the schedule queue with the specific time it's scheduled to run and that is the time it will run regardless of what passive checks come in in the mean time. I don't understand why it's a problem to you to have the active checks run in their regular times under the control of the Nagios scheduler with passive checks coming in too at whatever times they come in. Granted you will fairly often have the two checks run at almost the same time, but does that cause you a problem? You're right you could use freshness checking. Is there a particular reason why you chose not to? ------------------------------------------------------------------------------ Keep Your Developer Skills Current with LearnDevNow! The most comprehensive online learning library for Microsoft developers is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, Metro Style Apps, more. Free future releases when you subscribe now! http://p.sf.net/sfu/learndevnow-d2d _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Craig.Stewart at corp.xplornet.com Tue Jan 24 19:55:47 2012 From: Craig.Stewart at corp.xplornet.com (Craig Stewart) Date: Tue, 24 Jan 2012 14:55:47 -0400 Subject: Can passive results cause active check rescheduling? In-Reply-To: References: <4F1EC92D.9030007@corp.xplornet.com> Message-ID: <4F1EFEB3.1030904@corp.xplornet.com> Jim, I do use freshness checking to get the desired behaviour. I don't want the active check to run unless they need to. If it (the central server) is doing active service checks, one of the main reasons to run a distributed setup, distribution of resource requirements, gets tossed. Admittedly, in a set up where the hosts are being "double monitored" it will speed the discovery of events and clears. Of course that causes "problems" where the NMS gets blamed for causing too many "false alarms." I'm sure many people here are familiar with this concept. The main reason I was looking at this was to make someone who doesn't understand at what he's looking, and with the title director after his name happy. Trying to find a technical fix to a non-problem. Craig -- Craig Stewart Systems Integration Analyst Craig.Stewart at corp.xplornet.com Xplornet - Broadband, Everywhere On 01/24/2012 01:25 PM, Jim Avery wrote: > > My understanding of what Nagios does is it schedules the active check, > it goes in to the schedule queue with the specific time it's scheduled > to run and that is the time it will run regardless of what passive > checks come in in the mean time. > > I don't understand why it's a problem to you to have the active checks > run in their regular times under the control of the Nagios scheduler > with passive checks coming in too at whatever times they come in. > Granted you will fairly often have the two checks run at almost the > same time, but does that cause you a problem? > > You're right you could use freshness checking. Is there a particular > reason why you chose not to? > This e-mail (including any attachments) is for the sole use of the intended recipient and may contain confidential information protected by duties of confidentiality or privilege. If you are not the intended recipient of this e-mail, please immediately notify us by return e-mail or by telephone, delete this e-mail and destroy any copies. Thank you. ________________________________________________________________________________ Ce message est destin? uniquement ? la personne pr?vue et peut contenir des renseignements confidentiels et/ou privil?gi?s au titre d?une obligation de confidentialit?. Si vous n'?tes pas le destinataire vis?, veuillez nous en informer sans d?lai par courriel ou t?l?phone et d?truire ce message ainsi que toute pi?ce jointe, sans en garder de copie. Merci. ------------------------------------------------------------------------------ Keep Your Developer Skills Current with LearnDevNow! The most comprehensive online learning library for Microsoft developers is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, Metro Style Apps, more. Free future releases when you subscribe now! http://p.sf.net/sfu/learndevnow-d2d _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From shaun.watson at verizon.com Tue Jan 24 21:18:58 2012 From: shaun.watson at verizon.com (Watson, Shaun) Date: Tue, 24 Jan 2012 15:18:58 -0500 Subject: hosts change from soft to hard state after first attempt Message-ID: <80885C93C7800D46B3DC926961A5FF5AB907EEC4@FHDP1LUMXC7V31.us.one.verizon.com> I am looking for some help tracking down what I think is potentially a timing bug or something of the sort. I show entries in my logs which look like this: [1327419369] HOST ALERT: testhost;DOWN;SOFT;1;CRITICAL - 10.11.12.13: rta nan, lost 100% [1327419369] HOST ALERT: testhost;DOWN;HARD;1;CRITICAL - 10.11.12.13: rta nan, lost 100% The host entry is configured as active on-demand (not scheduled) with a check attempts of 5. I see the above quite frequently where within the same second, it changes state to DOWN/SOFT 1/5 and then to DOWN/HARD 1/5. After performing some debugging, it appears that there are two service checks failing back-to-back and both scheduling a on-demand host check within fractions of a second. Looking through the codebase, it looks like there are provisions in place to abort a check if there is one already executing, but based on the output of the debug, there are two on-demand host checks being executed simultaneously. Any help would be appreciated. System is running Nagios 3.3.1 on RedHat ES5 32-bit. [1327419359.134875] [016.0] [pid=12950] Attempting to run scheduled check of service 'check_ssh' on host 'testhost': check options=0, latency=0.134000 [1327419359.134899] [016.0] [pid=12950] Checking service 'check_ssh' on host 'testhost'... [1327419359.222060] [016.0] [pid=12950] Attempting to run scheduled check of service 'check_icmp_latency' on host 'testhost': check options=0, latency=0.222000 [1327419359.222085] [016.0] [pid=12950] Checking service 'check_icmp_latency' on host 'testhost'... [1327419365.212247] [016.1] [pid=12950] Handling check result for service 'check_ssh' on host 'testhost'... [1327419365.212254] [016.0] [pid=12950] ** Handling check result for service 'check_ssh' on host 'testhost'... [1327419365.212260] [016.1] [pid=12950] HOST: testhost, SERVICE: check_ssh, CHECK TYPE: Active, OPTIONS: 0, SCHEDULED: Yes, RESCHEDULE: Yes, EXITED OK: Yes, RETURN CODE: 2, OUTPUT: CRITICAL - Timed out connecting to remote host [1327419365.212290] [016.0] [pid=12950] ** Running async check of host 'testhost'... [1327419365.212306] [016.0] [pid=12950] Checking host 'testhost'... [1327419365.220665] [016.0] [pid=12950] Scheduling a non-forced, active check of service 'check_ssh' on host 'testhost' @ Tue Jan 24 15:38:29 2012 [1327419365.223831] [016.1] [pid=12950] Checking service 'check_ssh' on host 'testhost' for flapping... [1327419365.223854] [016.1] [pid=12950] Checking host 'testhost' for flapping... [1327419365.265025] [016.1] [pid=12950] Handling check result for service 'check_icmp_latency' on host 'testhost'... [1327419365.265033] [016.0] [pid=12950] ** Handling check result for service 'check_icmp_latency' on host 'testhost'... [1327419365.265040] [016.1] [pid=12950] HOST: testhost, SERVICE: check_icmp_latency, CHECK TYPE: Active, OPTIONS: 0, SCHEDULED: Yes, RESCHEDULE: Yes, EXITED OK: Yes, RETURN CODE: 2, OUTPUT: CRITICAL - 10.11.12.13: rta nan, lost 100%|rta=0.000ms;600.000;1000.000;0; pl=100%;33;66;; \n [1327419365.265106] [016.0] [pid=12950] ** Running async check of host 'testhost'... [1327419365.265364] [016.0] [pid=12950] Scheduling a non-forced, active check of service 'check_icmp_latency' on host 'testhost' @ Tue Jan 24 15:38:29 2012 [1327419365.266349] [016.1] [pid=12950] Checking service 'check_icmp_latency' on host 'testhost' for flapping... [1327419365.266360] [016.1] [pid=12950] Checking host 'testhost' for flapping... [1327419369.079254] [016.1] [pid=12950] Handling check result for host 'testhost'... [1327419369.079261] [016.1] [pid=12950] ** Handling async check result for host 'testhost'... [1327419369.080141] [016.1] [pid=12950] HOST: testhost, ATTEMPT=1/5, CHECK TYPE=ACTIVE, STATE TYPE=HARD, OLD STATE=0, NEW STATE=1 [1327419369.080175] [016.1] [pid=12950] Pre-handle_host_state() Host: testhost, Attempt=1/5, Type=SOFT, Final State=1 [1327419369.080290] [016.1] [pid=12950] Post-handle_host_state() Host: testhost, Attempt=1/5, Type=SOFT, Final State=1 [1327419369.080327] [016.1] [pid=12950] Checking host 'testhost' for flapping... [1327419369.080368] [016.0] [pid=12950] Scheduling a non-forced, active check of host 'testhost' @ Tue Jan 24 15:37:09 2012 [1327419369.084229] [016.1] [pid=12950] ** Async check result for host 'testhost' handled: new state=1 [1327419369.084266] [016.1] [pid=12950] Handling check result for host 'testhost'... [1327419369.084273] [016.1] [pid=12950] ** Handling async check result for host 'testhost'... [1327419369.084348] [016.1] [pid=12950] HOST: testhost, ATTEMPT=1/5, CHECK TYPE=ACTIVE, STATE TYPE=SOFT, OLD STATE=1, NEW STATE=1 [1327419369.084394] [016.1] [pid=12950] Pre-handle_host_state() Host: testhost, Attempt=1/5, Type=HARD, Final State=1 [1327419369.798706] [016.1] [pid=12950] Post-handle_host_state() Host: testhost, Attempt=1/5, Type=HARD, Final State=1 [1327419369.798734] [016.1] [pid=12950] Checking host 'testhost' for flapping... [1327419369.798781] [016.1] [pid=12950] ** Async check result for host 'testhost' handled: new state=1 ------------------------------------------------------------------------------ Keep Your Developer Skills Current with LearnDevNow! The most comprehensive online learning library for Microsoft developers is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, Metro Style Apps, more. Free future releases when you subscribe now! http://p.sf.net/sfu/learndevnow-d2d _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From tjudd at sfsu.edu Tue Jan 24 23:07:51 2012 From: tjudd at sfsu.edu (Taylor A Judd) Date: Tue, 24 Jan 2012 22:07:51 +0000 Subject: Inharitance for service check in host group Message-ID: <746A67E575098E42B19DFD3E80882995237285@EMX41.ad.sfsu.edu> Greetings, We have a nagios setup that uses inheritance to a larger degree than I am used to. I've read the documentation at: http://nagios.sourceforge.net/docs/3_0/objectinheritance.html But I still can't get my head around how to accomplish my goal. I have server/host that has notified for procs warning. I investigated this and it is a known bug and safely ignored for this specific server. Ideally I'd like to increase the warning/critical points for the service definition for just this host; but I'm also comfortable just not using this service check until a patch for the current problem is issued. Disabling via the web interface is not an acceptable option for my mangers. Service definition: define service{ use unix-agent-service hostgroup_name linux-servers service_description Agent: Total Processes check_command check_nrpe!check_total_procs } The host definition: define host{ use linux-server host_name unixlab alias Unix Lab address PRIVATE } Group/server Definition: # Linux host definition template define host{ name linux-server use generic-host alias Linux server hostgroups linux-servers register 0 } The host inherits all the services defined in the hostgroup linux-servers. I've tried giving the service check a name and then setting that name to null in the host definition, but I think this syntax is wrong and/or I'm not understanding that part of inheritance: define service{ name agent-total-processes use unix-agent-service hostgroup_name linux-servers service_description Agent: Total Processes check_command check_nrpe!check_total_procs } The host definition: define host{ use linux-server host_name unixlab alias Unix Lab address PRIVATE agent-total-processes null } I'm sure I'm missing something obvious... based on my reading of inheritance this should be possible but I'm not able to wrap my head around it. Thoughts? Taylor -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Keep Your Developer Skills Current with LearnDevNow! The most comprehensive online learning library for Microsoft developers is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, Metro Style Apps, more. Free future releases when you subscribe now! http://p.sf.net/sfu/learndevnow-d2d -------------- 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 nagios at flatto.net Wed Jan 25 17:51:51 2012 From: nagios at flatto.net (Assaf Flatto) Date: Wed, 25 Jan 2012 16:51:51 +0000 Subject: Inharitance for service check in host group In-Reply-To: <746A67E575098E42B19DFD3E80882995237285@EMX41.ad.sfsu.edu> References: <746A67E575098E42B19DFD3E80882995237285@EMX41.ad.sfsu.edu> Message-ID: <4F203327.9020007@flatto.net> Taylor A Judd wrote: > > Greetings, > > We have a nagios setup that uses inheritance to a larger degree than I > am used to. I?ve read the documentation at: > > http://nagios.sourceforge.net/docs/3_0/objectinheritance.html But I > still can?t get my head around how to accomplish my goal. > > I have server/host that has notified for procs warning. I investigated > this and it is a known bug and safely ignored for this specific > server. Ideally I?d like to increase the warning/critical points for > the service definition for just this host; but I?m also comfortable > just not using this service check until a patch for the current > problem is issued. Disabling via the web interface is not an > acceptable option for my mangers. > > Service definition: > > define service{ > > use unix-agent-service > > hostgroup_name linux-servers > > service_description Agent: Total Processes > > check_command check_nrpe!check_total_procs > > } > > The host definition: > > define host{ > > use linux-server > > host_name unixlab > > alias Unix Lab > > address PRIVATE > > } > > Group/server Definition: > > # Linux host definition template > > define host{ > > name linux-server > > use generic-host > > alias Linux server > > hostgroups linux-servers > > register 0 > > } > > The host inherits all the services defined in the hostgroup > linux-servers. I?ve tried giving the service check a name and then > setting that name to null in the host definition, but I think this > syntax is wrong and/or I?m not understanding that part of inheritance: > > define service{ > > *name agent-total-processes * > > use unix-agent-service > > hostgroup_name linux-servers > > service_description Agent: Total Processes > > check_command check_nrpe!check_total_procs > > } > > The host definition: > > define host{ > > use linux-server > > host_name unixlab > > alias Unix Lab > > address PRIVATE > > * agent-total-processes null* > > } > > I?m sure I?m missing something obvious? based on my reading of > inheritance this should be possible but I?m not able to wrap my head > around it. > > Thoughts? > > Taylor > > ------------------------------------------------------------------------ > > ------------------------------------------------------------------------------ > Keep Your Developer Skills Current with LearnDevNow! > The most comprehensive online learning library for Microsoft developers > is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, > Metro Style Apps, more. Free future releases when you subscribe now! > http://p.sf.net/sfu/learndevnow-d2d > ------------------------------------------------------------------------ > > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null You can add to the service declaration host_name !linux-server That will tell nagios to exclude the execution of that service on that host. Assaf ------------------------------------------------------------------------------ Keep Your Developer Skills Current with LearnDevNow! The most comprehensive online learning library for Microsoft developers is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, Metro Style Apps, more. Free future releases when you subscribe now! http://p.sf.net/sfu/learndevnow-d2d _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From andrew at fulgent.co.uk Wed Jan 25 18:14:42 2012 From: andrew at fulgent.co.uk (Andrew Thompson) Date: Wed, 25 Jan 2012 17:14:42 +0000 Subject: I cant get notifications for service alerts Message-ID: Hi all, I have just setup Nagios to monitor the diskspace on my servers. Nagios works fine monitoring and reporting diskspace but I cant get the notifications to work properly. I also ping all my servers and the PING checks I have send me host alerts to say UP or DOWN but I have disabled service alerts as I don't want them for the PING check. So I thought I would so the reverse and setup the disk check commands and disable host alerts and just have service alerts for when said server goes over the critical disk space limit I have sent. Problem is no service alerts get sent out no matter how long the host is in critical state! If I enable host and service alerts for the disk check command I get host alerts to say that the host is DOWN (which it isn't its CRITICAL) My test disk_check config file is located at the below link, thought it be best to provide the whole lot rather than snippets. http://dl.dropbox.com/u/895609/disk_space_test.cfg Can anybody explain why I don't get any service alerts when the host goes CRITICAL and how I can get them please without having host alerts enabled as I don't want them for my disk check commands Thankyou in advance -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Keep Your Developer Skills Current with LearnDevNow! The most comprehensive online learning library for Microsoft developers is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, Metro Style Apps, more. Free future releases when you subscribe now! http://p.sf.net/sfu/learndevnow-d2d -------------- 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 patrick.morris at hp.com Wed Jan 25 21:02:46 2012 From: patrick.morris at hp.com (Morris, Patrick) Date: Wed, 25 Jan 2012 20:02:46 +0000 Subject: I cant get notifications for service alerts In-Reply-To: References: Message-ID: From: Andrew Thompson [mailto:andrew at fulgent.co.uk] Sent: Wednesday, January 25, 2012 9:15 AM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] I cant get notifications for service alerts [snip] So I thought I would so the reverse and setup the disk check commands and disable host alerts and just have service alerts for when said server goes over the critical disk space limit I have sent. Problem is no service alerts get sent out no matter how long the host is in critical state! If I enable host and service alerts for the disk check command I get host alerts to say that the host is DOWN (which it isn't its CRITICAL) My test disk_check config file is located at the below link, thought it be best to provide the whole lot rather than snippets. http://dl.dropbox.com/u/895609/disk_space_test.cfg Can anybody explain why I don't get any service alerts when the host goes CRITICAL and how I can get them please without having host alerts enabled as I don't want them for my disk check commands -- If a service check fails, your host check will be called. That's how Nagios knows if a check is failing because the service is broken, or if it's because the host is not up. Because you've specified the same check for both, so both will always fail at the same time, Nagios is always going to think the host is down. Your host check should generally be a simple check they will tell you whether a host is up or down. Setting things up the way you have will cause the behavior you are seeing. If you really don't want a host check, just use a dummy check that always succeeds. -------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/x-pkcs7-signature Size: 6231 bytes Desc: not available URL: -------------- next part -------------- ------------------------------------------------------------------------------ Keep Your Developer Skills Current with LearnDevNow! The most comprehensive online learning library for Microsoft developers is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, Metro Style Apps, more. Free future releases when you subscribe now! http://p.sf.net/sfu/learndevnow-d2d -------------- 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 andrew at fulgent.co.uk Wed Jan 25 22:32:18 2012 From: andrew at fulgent.co.uk (Andrew Thompson) Date: Wed, 25 Jan 2012 21:32:18 +0000 Subject: Fwd: I cant get notifications for service alerts In-Reply-To: References: Message-ID: Hi Patrick, so what check do I suggest I add in fir the host? For example my servers cfg uses check-server-alive for the host and check_ping for the service. But the hosts are ok in that scenario as I only want to know when the host is up or down, I don't want to know when the service is critical. But in the disk space scenario I only want to know when the service us critical because the disk usage as hit the threshold, I don't need a host up our down check notification. hope this makes sense? Regards Sent from My Samsung Galaxy -------- Original message -------- Subject: I cant get notifications for service alerts From: Andrew Thompson To: "nagios-users at lists.sourceforge.net" CC: Hi all, I have just setup Nagios to monitor the diskspace on my servers. Nagios works fine monitoring and reporting diskspace but I cant get the notifications to work properly. I also ping all my servers and the PING checks I have send me host alerts to say UP or DOWN but I have disabled service alerts as I don?t want them for the PING check. So I thought I would so the reverse and setup the disk check commands and disable host alerts and just have service alerts for when said server goes over the critical disk space limit I have sent. Problem is no service alerts get sent out no matter how long the host is in critical state! If I enable host and service alerts for the disk check command I get host alerts to say that the host is DOWN (which it isn?t its CRITICAL) My test disk_check config file is located at the below link, thought it be best to provide the whole lot rather than snippets. http://dl.dropbox.com/u/895609/disk_space_test.cfg Can anybody explain why I don?t get any service alerts when the host goes CRITICAL and how I can get them please without having host alerts enabled as I don?t want them for my disk check commands Thankyou in advance -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Keep Your Developer Skills Current with LearnDevNow! The most comprehensive online learning library for Microsoft developers is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, Metro Style Apps, more. Free future releases when you subscribe now! http://p.sf.net/sfu/learndevnow-d2d -------------- 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 mike-nagios at 5dninja.net Wed Jan 25 23:44:49 2012 From: mike-nagios at 5dninja.net (Mike Lindsey) Date: Wed, 25 Jan 2012 14:44:49 -0800 Subject: Opinions on load balancing and failover mechanisms Message-ID: <4F2085E1.6050703@5dninja.net> There are a lot of options.. DNX, Merlin, mod_gearman to name a few... I could read the docs (and have read a good portion of some of them) and could implement test environments (and will eventually need to) but first I want opinions from people who've done this at large scale. I need to improve on our load distribution and failover mechanisms. Right now worker node outages are handled through freshness checking, and master node outages are handled through a load balanced vip and some fancy cron jobs that kick up a cold spare. What are the better options for local load distribution and geographic master failover? Which options will better handle thousands of servers across a dozen colos, in half a dozen countries, when the goal is that no single host (or colo!) going offline can be allowed to have an effect on any other subset of the infrastructure? Which options should I avoid? Currently running Nagios Core 3.2.1 with NSCA 2.9 on mostly FreeBSD systems. Soon that should be Core 3.3, with XI on top, plus whatever load distribution mechanism wins the dog fight. -- Mike Lindsey ------------------------------------------------------------------------------ Keep Your Developer Skills Current with LearnDevNow! The most comprehensive online learning library for Microsoft developers is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, Metro Style Apps, more. Free future releases when you subscribe now! http://p.sf.net/sfu/learndevnow-d2d _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Sven.Nierlein at consol.de Thu Jan 26 00:31:23 2012 From: Sven.Nierlein at consol.de (Sven Nierlein) Date: Thu, 26 Jan 2012 00:31:23 +0100 Subject: Opinions on load balancing and failover mechanisms In-Reply-To: <4F2085E1.6050703@5dninja.net> References: <4F2085E1.6050703@5dninja.net> Message-ID: <4F2090CB.2090303@consol.de> Hi Mike, Mod-Gearman is more or less the successor of DNX and probably the fastest worker available at the moment. It has hostgroup/servicegroup affinity included as well as embedded perl support. It is high available with automatic loadbalancing when you setup at least 2 worker per network segment. But Mod-Gearman has a central configuration/scheduling. So when all master are down/unreachable, no checks are done. Merlin is the only addon capable for multimaster setups. I would try Merlin for a Multi-Master with Mod-Gearman worker but i never tried that. I usually use only Mod-Gearman with a single Master and vmware/veritas/heartbeat/whatever failover solution. All this applys to the Nagios opensource version. I cannot say anything about Nagios XI. Bye, Sven On 1/25/12 23:44, Mike Lindsey wrote: > There are a lot of options.. DNX, Merlin, mod_gearman to name a few... > I could read the docs (and have read a good portion of some of them) and > could implement test environments (and will eventually need to) but > first I want opinions from people who've done this at large scale. > > I need to improve on our load distribution and failover mechanisms. > Right now worker node outages are handled through freshness checking, > and master node outages are handled through a load balanced vip and some > fancy cron jobs that kick up a cold spare. > > What are the better options for local load distribution and geographic > master failover? Which options will better handle thousands of servers > across a dozen colos, in half a dozen countries, when the goal is that > no single host (or colo!) going offline can be allowed to have an effect > on any other subset of the infrastructure? Which options should I avoid? > > Currently running Nagios Core 3.2.1 with NSCA 2.9 on mostly FreeBSD > systems. Soon that should be Core 3.3, with XI on top, plus whatever > load distribution mechanism wins the dog fight. ------------------------------------------------------------------------------ Keep Your Developer Skills Current with LearnDevNow! The most comprehensive online learning library for Microsoft developers is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, Metro Style Apps, more. Free future releases when you subscribe now! http://p.sf.net/sfu/learndevnow-d2d _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From andrew at fulgent.co.uk Thu Jan 26 12:10:06 2012 From: andrew at fulgent.co.uk (Andrew Thompson) Date: Thu, 26 Jan 2012 11:10:06 +0000 Subject: FW: I cant get notifications for service alerts In-Reply-To: References: Message-ID: So this morning I have added a check_ping command to the host and left the check_nt on the service. Disabled host alerts and left service alerts activated for the disk check service group Nailed a drive space and got my service alerts in both email and sms format. Thanks for the explanation and pointing out to me where I was going wrong Patrick. Kind Regards Andrew From: Andrew Thompson Sent: 25 January 2012 21:32 To: nagios-users at lists.sourceforge.net Subject: Fwd: I cant get notifications for service alerts Hi Patrick, so what check do I suggest I add in fir the host? For example my servers cfg uses check-server-alive for the host and check_ping for the service. But the hosts are ok in that scenario as I only want to know when the host is up or down, I don't want to know when the service is critical. But in the disk space scenario I only want to know when the service us critical because the disk usage as hit the threshold, I don't need a host up our down check notification. hope this makes sense? Regards Sent from My Samsung Galaxy -------- Original message -------- Subject: I cant get notifications for service alerts From: Andrew Thompson > To: "nagios-users at lists.sourceforge.net" > CC: Hi all, I have just setup Nagios to monitor the diskspace on my servers. Nagios works fine monitoring and reporting diskspace but I cant get the notifications to work properly. I also ping all my servers and the PING checks I have send me host alerts to say UP or DOWN but I have disabled service alerts as I don't want them for the PING check. So I thought I would so the reverse and setup the disk check commands and disable host alerts and just have service alerts for when said server goes over the critical disk space limit I have sent. Problem is no service alerts get sent out no matter how long the host is in critical state! If I enable host and service alerts for the disk check command I get host alerts to say that the host is DOWN (which it isn't its CRITICAL) My test disk_check config file is located at the below link, thought it be best to provide the whole lot rather than snippets. http://dl.dropbox.com/u/895609/disk_space_test.cfg Can anybody explain why I don't get any service alerts when the host goes CRITICAL and how I can get them please without having host alerts enabled as I don't want them for my disk check commands Thankyou in advance -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Keep Your Developer Skills Current with LearnDevNow! The most comprehensive online learning library for Microsoft developers is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, Metro Style Apps, more. Free future releases when you subscribe now! http://p.sf.net/sfu/learndevnow-d2d -------------- 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 Timothy.Boyer at opm.gov Thu Jan 26 14:14:40 2012 From: Timothy.Boyer at opm.gov (Boyer, Timothy A.) Date: Thu, 26 Jan 2012 08:14:40 -0500 Subject: Hiding hostgroups, but still referencing them Message-ID: <0F3D91EA70124C468301FF70A8ED16D4030244194E@BOYV7EXVS1.opm.gov> I've got some scripts that do a wget in order to receive data from a hostgroup. The hostgroup I'm using is an artificial, really big group that is of no use to anyone except to get said report. Is there any way to hide this hostgroup on the display, yet still access it for data? The usual advice for hiding a hostgroup is just to use a 'register 0', but then the wget doesn't return anything when referencing it. Thanks for any pointers... -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Keep Your Developer Skills Current with LearnDevNow! The most comprehensive online learning library for Microsoft developers is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, Metro Style Apps, more. Free future releases when you subscribe now! http://p.sf.net/sfu/learndevnow-d2d -------------- 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 nagios at flatto.net Thu Jan 26 14:22:28 2012 From: nagios at flatto.net (Assaf Flatto) Date: Thu, 26 Jan 2012 13:22:28 +0000 Subject: Hiding hostgroups, but still referencing them In-Reply-To: <0F3D91EA70124C468301FF70A8ED16D4030244194E@BOYV7EXVS1.opm.gov> References: <0F3D91EA70124C468301FF70A8ED16D4030244194E@BOYV7EXVS1.opm.gov> Message-ID: <4F215394.1040201@flatto.net> Boyer, Timothy A. wrote: > I?ve got some scripts that do a wget in order to receive data from a > hostgroup. The hostgroup I?m using is an artificial, really big group > that is of no use to anyone except to get said report. > Is there any way to hide this hostgroup on the display, yet still > access it for data? The usual advice for hiding a hostgroup is just to > use a ?register 0?, but then the wget doesn?t return anything when > referencing it. > Thanks for any pointers? Of course the wget will not work . register 0 tells nagios not to display the group in the WebUI ( it does more , but currently that is the relevant part) and as you are trying to access the data via a HTTP request , the item in question is not passed to the web provider (apache) and there for not coming up for a wget request. ------------------------------------------------------------------------------ Keep Your Developer Skills Current with LearnDevNow! The most comprehensive online learning library for Microsoft developers is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, Metro Style Apps, more. Free future releases when you subscribe now! http://p.sf.net/sfu/learndevnow-d2d _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Timothy.Boyer at opm.gov Thu Jan 26 14:41:26 2012 From: Timothy.Boyer at opm.gov (Boyer, Timothy A.) Date: Thu, 26 Jan 2012 08:41:26 -0500 Subject: Hiding hostgroups, but still referencing them In-Reply-To: <4F215394.1040201@flatto.net> References: <0F3D91EA70124C468301FF70A8ED16D4030244194E@BOYV7EXVS1.opm.gov> <4F215394.1040201@flatto.net> Message-ID: <0F3D91EA70124C468301FF70A8ED16D4030244194F@BOYV7EXVS1.opm.gov> Correct, and I understand that. So is there a way to hide the hostgroup and still reference it? -----Original Message----- From: Assaf Flatto [mailto:nagios at flatto.net] Sent: Thursday, January 26, 2012 8:22 AM To: Nagios Users List Subject: Re: [Nagios-users] Hiding hostgroups, but still referencing them Boyer, Timothy A. wrote: > I've got some scripts that do a wget in order to receive data from a > hostgroup. The hostgroup I'm using is an artificial, really big group > that is of no use to anyone except to get said report. > Is there any way to hide this hostgroup on the display, yet still > access it for data? The usual advice for hiding a hostgroup is just to > use a 'register 0', but then the wget doesn't return anything when > referencing it. > Thanks for any pointers... Of course the wget will not work . register 0 tells nagios not to display the group in the WebUI ( it does more , but currently that is the relevant part) and as you are trying to access the data via a HTTP request , the item in question is not passed to the web provider (apache) and there for not coming up for a wget request. ------------------------------------------------------------------------------ Keep Your Developer Skills Current with LearnDevNow! The most comprehensive online learning library for Microsoft developers is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, Metro Style Apps, more. Free future releases when you subscribe now! http://p.sf.net/sfu/learndevnow-d2d _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------------ Keep Your Developer Skills Current with LearnDevNow! The most comprehensive online learning library for Microsoft developers is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, Metro Style Apps, more. Free future releases when you subscribe now! http://p.sf.net/sfu/learndevnow-d2d _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Jan 26 16:58:49 2012 From: ae at op5.se (Andreas Ericsson) Date: Thu, 26 Jan 2012 16:58:49 +0100 Subject: Opinions on load balancing and failover mechanisms In-Reply-To: <4F2085E1.6050703@5dninja.net> References: <4F2085E1.6050703@5dninja.net> Message-ID: <4F217839.6080807@op5.se> On 01/25/2012 11:44 PM, Mike Lindsey wrote: > There are a lot of options.. DNX, Merlin, mod_gearman to name a few... > I could read the docs (and have read a good portion of some of them) and > could implement test environments (and will eventually need to) but > first I want opinions from people who've done this at large scale. > > I need to improve on our load distribution and failover mechanisms. > Right now worker node outages are handled through freshness checking, > and master node outages are handled through a load balanced vip and some > fancy cron jobs that kick up a cold spare. > > What are the better options for local load distribution and geographic > master failover? Which options will better handle thousands of servers > across a dozen colos, in half a dozen countries, when the goal is that > no single host (or colo!) going offline can be allowed to have an effect > on any other subset of the infrastructure? Which options should I avoid? > > Currently running Nagios Core 3.2.1 with NSCA 2.9 on mostly FreeBSD > systems. Soon that should be Core 3.3, with XI on top, plus whatever > load distribution mechanism wins the dog fight. > For failover, merlin is the only solution. If a poller at some colo or in some country goes down, the master will try to take the checks over, unless you tell it not to. mod_gearman is probably more efficient at running checks with minimal cpu usage on multiple nodes until the new check engine in vanilla Nagios is completed. After that, the in-core one will be superior to all other options for simply distributing load, although it still won't do failover. To forestall your question "When can I expect to see that new check stuff", the answer is "in 9 weeks time, tops". That's when my deadline for it expires. Mid april, if you hate weekcounts as much as I do. -- 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. ------------------------------------------------------------------------------ Keep Your Developer Skills Current with LearnDevNow! The most comprehensive online learning library for Microsoft developers is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, Metro Style Apps, more. Free future releases when you subscribe now! http://p.sf.net/sfu/learndevnow-d2d _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Thu Jan 26 17:10:28 2012 From: ftlnagios at gmail.com (FTL Nagios) Date: Thu, 26 Jan 2012 16:10:28 +0000 Subject: Weekley Report for System uptime Message-ID: Hello, I monitor alot of remote servers and 1 of the service checks i do is check_nt UPTIME Is it possible to have Nagios email me a report of all the system uptimes say every Monday morning at 9am? I pass on my thanks in advance for any help on the matter. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Keep Your Developer Skills Current with LearnDevNow! The most comprehensive online learning library for Microsoft developers is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, Metro Style Apps, more. Free future releases when you subscribe now! http://p.sf.net/sfu/learndevnow-d2d -------------- 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 Jan 26 17:20:29 2012 From: ck at claudiokuenzler.com (Claudio Kuenzler) Date: Thu, 26 Jan 2012 17:20:29 +0100 Subject: Weekley Report for System uptime In-Reply-To: References: Message-ID: I don't know if an addon or something similar exists, but you can also create a script, which pulls the reports directly from the web-interface. You can then parse the downloaded data, create pdf's (if wanted) and send it by e-mail on a monthly schedule. I did exactly this with a weekly schedule and wrote a how-to here: http://www.claudiokuenzler.com/blog/117/create-automatic-nagios-availabiltiy-report-pdf I would be surprised though, if there wasn't a simpler solution to achieve this. On Thu, Jan 26, 2012 at 5:10 PM, FTL Nagios wrote: > Hello, > > I monitor alot of remote servers and 1 of the service checks i do is > check_nt UPTIME > > Is it possible to have Nagios email me a report of all the system uptimes > say every Monday morning at 9am? > > I pass on my thanks in advance for any help on the matter. > > > > > ------------------------------------------------------------------------------ > Keep Your Developer Skills Current with LearnDevNow! > The most comprehensive online learning library for Microsoft developers > is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, > Metro Style Apps, more. Free future releases when you subscribe now! > http://p.sf.net/sfu/learndevnow-d2d > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 -------------- ------------------------------------------------------------------------------ Keep Your Developer Skills Current with LearnDevNow! The most comprehensive online learning library for Microsoft developers is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, Metro Style Apps, more. Free future releases when you subscribe now! http://p.sf.net/sfu/learndevnow-d2d -------------- 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 Thu Jan 26 17:30:29 2012 From: ftlnagios at gmail.com (FTL Nagios) Date: Thu, 26 Jan 2012 16:30:29 +0000 Subject: Weekley Report for System uptime In-Reply-To: References: Message-ID: Hi Claudio This is exactly what id like to achieve The uptime data pulled from the Nagios web UI at 9am each week and then email me with all server uptimes. I will check out your link now. If anybody has any more ideas/ "simpler" ways please share them Thanks in advance On Thu, Jan 26, 2012 at 4:20 PM, Claudio Kuenzler wrote: > I don't know if an addon or something similar exists, but you can also > create a script, which pulls the reports directly from the web-interface. > You can then parse the downloaded data, create pdf's (if wanted) and send > it by e-mail on a monthly schedule. > I did exactly this with a weekly schedule and wrote a how-to here: > > http://www.claudiokuenzler.com/blog/117/create-automatic-nagios-availabiltiy-report-pdf > > I would be surprised though, if there wasn't a simpler solution to achieve > this. > > On Thu, Jan 26, 2012 at 5:10 PM, FTL Nagios wrote: > >> Hello, >> >> I monitor alot of remote servers and 1 of the service checks i do is >> check_nt UPTIME >> >> Is it possible to have Nagios email me a report of all the system uptimes >> say every Monday morning at 9am? >> >> I pass on my thanks in advance for any help on the matter. >> >> >> >> >> ------------------------------------------------------------------------------ >> Keep Your Developer Skills Current with LearnDevNow! >> The most comprehensive online learning library for Microsoft developers >> is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, >> Metro Style Apps, more. Free future releases when you subscribe now! >> http://p.sf.net/sfu/learndevnow-d2d >> _______________________________________________ >> Nagios-users mailing list >> Nagios-users at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/nagios-users >> ::: Please include Nagios version, plugin version (-v) and OS when >> reporting any issue. >> ::: Messages without supporting info will risk being sent to /dev/null >> > > > > ------------------------------------------------------------------------------ > Keep Your Developer Skills Current with LearnDevNow! > The most comprehensive online learning library for Microsoft developers > is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, > Metro Style Apps, more. Free future releases when you subscribe now! > http://p.sf.net/sfu/learndevnow-d2d > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 -------------- ------------------------------------------------------------------------------ Keep Your Developer Skills Current with LearnDevNow! The most comprehensive online learning library for Microsoft developers is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, Metro Style Apps, more. Free future releases when you subscribe now! http://p.sf.net/sfu/learndevnow-d2d -------------- 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 john at stilen.com Thu Jan 26 17:37:11 2012 From: john at stilen.com (John Stile) Date: Thu, 26 Jan 2012 08:37:11 -0800 Subject: osx nrpe: No output returned from plugin Message-ID: <1327595832.20882.11.camel@genx.eng.msli.com> Recently I tried to setup nrpe monitoring of an osx system by installing nagios-plugins-1.4.15.tar.gz and nrpe-2.12.tar.gz on osx 10.5, and locally everything works fine. This works: /usr/local/nagios/libexec/check_nrpe -H localhost -c check_users USERS OK - 3 users currently logged in |users=3;5;10;0 Next I tried to configure my nagios server (debian sarge with packaged nagios 1.3-cvs), and from the server command line, this works: /usr/lib/nagios/plugins/check_nrpe -H mac.my.domain -c check_users USERS OK - 3 users currently logged in |users=0;5;10;0 The problem is adding the monitor to /etc/nagios/services.cfg define service{ use generic-service host_name mac.my.domain service_description Users is_volatile 0 check_period 24x7 max_check_attempts 3 normal_check_interval 5 retry_check_interval 1 contact_groups linux-admins notification_interval 120 notification_period 24x7 notification_options w,u,c,r check_command check_nrpe!check_users } Results in web interface shows: Status: UNKNOWN Status Information: (No output returned from plugin) All other nrpe hosts are monitoring well. I have no other osx nrpe monitored machines as a reference. Can anyone offer some ideas (other than upgrade)? ------------------------------------------------------------------------------ Keep Your Developer Skills Current with LearnDevNow! The most comprehensive online learning library for Microsoft developers is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, Metro Style Apps, more. Free future releases when you subscribe now! http://p.sf.net/sfu/learndevnow-d2d _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jeffrey.w.watts at gmail.com Thu Jan 26 18:56:28 2012 From: jeffrey.w.watts at gmail.com (Jeffrey Watts) Date: Thu, 26 Jan 2012 11:56:28 -0600 Subject: Service dependency help Message-ID: Hello, I'm having some trouble getting a service dependency working and I was hoping for some help. I've read the section in Wolfgang Barth's book "Nagios 2nd Edition" and googled around a bit, but something's still not working right. I'm using Nagios 3.0.6. Specifically, I want to set it up so that my OpenManage (thanks Trond!) and OMSA version checks both are dependent upon SNMP. However, my setup is still sending notifications for OMSA version and OpenManage when I stop the SNMP daemon. Here are the relevant snippets: define service { use generic_service_t service_description SNMP max_check_attempts 3 normal_check_interval 60 retry_check_interval 5 notification_interval 60 check_command check_snmp_custom!-H $HOSTADDRESS$ -C tomgeco -P 2c -o sysDescr.0 event_handler eventhandler_snmpd servicegroups snmp hostgroup_name dellhardware contact_groups techops } define servicedependency{ hostgroup_name dellhardware service_description SNMP dependent_service_description OMSA version,OpenManage inherits_parent 1 execution_failure_criteria n notification_failure_criteria u,c } Any help as to what I'm doing wrong? Jeffrey. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Keep Your Developer Skills Current with LearnDevNow! The most comprehensive online learning library for Microsoft developers is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, Metro Style Apps, more. Free future releases when you subscribe now! http://p.sf.net/sfu/learndevnow-d2d -------------- 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 jtclint at gmail.com Thu Jan 26 19:23:11 2012 From: jtclint at gmail.com (Jason Clint) Date: Thu, 26 Jan 2012 11:23:11 -0700 Subject: Nagios HTTP check Message-ID: Hi I am currently trying to do a check with the check_http or check_http.plplugins. Both are very similar but for some reason I cant get either to work. I am running the checks like this: check_http -H -S www.example.com -u /somestring - gives result: HTTP OK HTTP/1.1 200 OK - 1752 bytes in 0.175 seconds |time=0.175032s;;;0.000000 size=1752B;;;0 check_http.pl -H www.example.com -s -u /somestring - gives result: Status: CRITICAL HTTP/1.1 400 On Server MESSAGE: if I add -p 443 to the first check it gives this result: HTTP WARNING: HTTP/1.1 400 Bad Request also if I remove the -s option from the second check it works fine. I know the page works fine because it comes up however it still does not work with the check? Here is a port check: nc -zv www.example.com 443 Connection to tags.mediaforge.com 443 port [tcp/https] succeeded! I removed the domain due to company security sorry, anyway it comes back just fine. Also in case you are wondering if I am checking against the -u /somestring I tried the ssl on just the standard site and it gives forbidden which is what I would expect since the top sits is blocked: check_http.pl -H www.example.com -s Status: CRITICAL HTTP/1.1 400 On Server MESSAGE: check_http -H -S www.example.com HTTP WARNING: HTTP/1.1 403 Forbidden And the page shows this: 403 Forbidden ------------------------------ nginx/1.0.8 which is normal! Any ideas on what I may be doing wrong would be of great help thanks guys. Jason Clint -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Keep Your Developer Skills Current with LearnDevNow! The most comprehensive online learning library for Microsoft developers is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, Metro Style Apps, more. Free future releases when you subscribe now! http://p.sf.net/sfu/learndevnow-d2d -------------- 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 Fri Jan 27 09:28:49 2012 From: ck at claudiokuenzler.com (Claudio Kuenzler) Date: Fri, 27 Jan 2012 09:28:49 +0100 Subject: Weekley Report for System uptime In-Reply-To: References: Message-ID: This is quite easy to achieve, once you've downloaded the report. You also have the possibility to download the report as csv file, that's even easier to parse the results. Don't hesitate to write me off-list if you have questions. On Thu, Jan 26, 2012 at 5:30 PM, FTL Nagios wrote: > Hi Claudio > > This is exactly what id like to achieve > > The uptime data pulled from the Nagios web UI at 9am each week and then > email me with all server uptimes. > > I will check out your link now. > > If anybody has any more ideas/ "simpler" ways please share them > > Thanks in advance > > On Thu, Jan 26, 2012 at 4:20 PM, Claudio Kuenzler wrote: > >> I don't know if an addon or something similar exists, but you can also >> create a script, which pulls the reports directly from the web-interface. >> You can then parse the downloaded data, create pdf's (if wanted) and send >> it by e-mail on a monthly schedule. >> I did exactly this with a weekly schedule and wrote a how-to here: >> >> http://www.claudiokuenzler.com/blog/117/create-automatic-nagios-availabiltiy-report-pdf >> >> I would be surprised though, if there wasn't a simpler solution to >> achieve this. >> >> On Thu, Jan 26, 2012 at 5:10 PM, FTL Nagios wrote: >> >>> Hello, >>> >>> I monitor alot of remote servers and 1 of the service checks i do is >>> check_nt UPTIME >>> >>> Is it possible to have Nagios email me a report of all the system >>> uptimes say every Monday morning at 9am? >>> >>> I pass on my thanks in advance for any help on the matter. >>> >>> >>> >>> >>> ------------------------------------------------------------------------------ >>> Keep Your Developer Skills Current with LearnDevNow! >>> The most comprehensive online learning library for Microsoft developers >>> is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, >>> Metro Style Apps, more. Free future releases when you subscribe now! >>> http://p.sf.net/sfu/learndevnow-d2d >>> _______________________________________________ >>> Nagios-users mailing list >>> Nagios-users at lists.sourceforge.net >>> https://lists.sourceforge.net/lists/listinfo/nagios-users >>> ::: Please include Nagios version, plugin version (-v) and OS when >>> reporting any issue. >>> ::: Messages without supporting info will risk being sent to /dev/null >>> >> >> >> >> ------------------------------------------------------------------------------ >> Keep Your Developer Skills Current with LearnDevNow! >> The most comprehensive online learning library for Microsoft developers >> is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, >> Metro Style Apps, more. Free future releases when you subscribe now! >> http://p.sf.net/sfu/learndevnow-d2d >> _______________________________________________ >> Nagios-users mailing list >> Nagios-users at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/nagios-users >> ::: Please include Nagios version, plugin version (-v) and OS when >> reporting any issue. >> ::: Messages without supporting info will risk being sent to /dev/null >> > > > > ------------------------------------------------------------------------------ > Keep Your Developer Skills Current with LearnDevNow! > The most comprehensive online learning library for Microsoft developers > is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, > Metro Style Apps, more. Free future releases when you subscribe now! > http://p.sf.net/sfu/learndevnow-d2d > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 before you buy = See our experts in action! The most comprehensive online learning library for Microsoft developers is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, Metro Style Apps, more. Free future releases when you subscribe now! http://p.sf.net/sfu/learndevnow-dev2 -------------- 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 Fri Jan 27 09:42:03 2012 From: ck at claudiokuenzler.com (Claudio Kuenzler) Date: Fri, 27 Jan 2012 09:42:03 +0100 Subject: osx nrpe: No output returned from plugin In-Reply-To: <1327595832.20882.11.camel@genx.eng.msli.com> References: <1327595832.20882.11.camel@genx.eng.msli.com> Message-ID: While Nagios executes the check, do you see a connection on your Mac ? Is anything written in the syslog on your Mac? Something seems to be strange about your output: /usr/lib/nagios/plugins/check_nrpe -H mac.my.domain -c check_users USERS OK - 3 users currently logged in |users=0;5;10;0 Take a look at the perfdata, it shows 0 users while the output shows 3 users. Is that a copy+paste error or is this the actual result when you launch the check on the command line? On Thu, Jan 26, 2012 at 5:37 PM, John Stile wrote: > Recently I tried to setup nrpe monitoring of an osx system by installing > nagios-plugins-1.4.15.tar.gz and nrpe-2.12.tar.gz on osx 10.5, and > locally everything works fine. This works: > /usr/local/nagios/libexec/check_nrpe -H localhost -c check_users > > USERS OK - 3 users currently logged in |users=3;5;10;0 > > Next I tried to configure my nagios server (debian sarge with packaged > nagios 1.3-cvs), and from the server command line, this works: > /usr/lib/nagios/plugins/check_nrpe -H mac.my.domain -c check_users > > USERS OK - 3 users currently logged in |users=0;5;10;0 > > The problem is adding the monitor to /etc/nagios/services.cfg > > define service{ > use generic-service > host_name mac.my.domain > service_description Users > is_volatile 0 > check_period 24x7 > max_check_attempts 3 > normal_check_interval 5 > retry_check_interval 1 > contact_groups linux-admins > notification_interval 120 > notification_period 24x7 > notification_options w,u,c,r > check_command check_nrpe!check_users > } > > Results in web interface shows: > Status: UNKNOWN > Status Information: (No output returned from plugin) > > All other nrpe hosts are monitoring well. > I have no other osx nrpe monitored machines as a reference. > > Can anyone offer some ideas (other than upgrade)? > > > > ------------------------------------------------------------------------------ > Keep Your Developer Skills Current with LearnDevNow! > The most comprehensive online learning library for Microsoft developers > is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, > Metro Style Apps, more. Free future releases when you subscribe now! > http://p.sf.net/sfu/learndevnow-d2d > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 before you buy = See our experts in action! The most comprehensive online learning library for Microsoft developers is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, Metro Style Apps, more. Free future releases when you subscribe now! http://p.sf.net/sfu/learndevnow-dev2 -------------- 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 kae at midnighthax.com Fri Jan 27 17:26:36 2012 From: kae at midnighthax.com (Keith Edmunds) Date: Fri, 27 Jan 2012 16:26:36 +0000 Subject: Service and host notifications: best practise Message-ID: <20120127162636.0d19c983@kae.tiger-computing.wbp> We have a setup similar to: 100 monitored servers split into five groups, A-E. We would like notifications for host and service problems for all servers to be sent to the IT team. In addition, we would like host and service problems for servers in Group A to go to the group A manager, host and service problems for Group B to go to the group B manager, and so on. We tend to manage host notification via host groups, and service notifications via service groups. We really want to manage service notifications on a host group basis, so if Apache fails on a group A machine, we notify the IT team and the Group A manager. I'm looking for ideas for implementing that in a manageable and scalable way. If I've not described the problem clearly enough, I apologise: please ask questions for clarity. Thanks, Keith -- "You can have everything in life you want if you help enough other people get what they want" - Zig Ziglar. Who did you help today? ------------------------------------------------------------------------------ Try before you buy = See our experts in action! The most comprehensive online learning library for Microsoft developers is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, Metro Style Apps, more. Free future releases when you subscribe now! http://p.sf.net/sfu/learndevnow-dev2 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Fri Jan 27 17:57:17 2012 From: ftlnagios at gmail.com (FTL Nagios) Date: Fri, 27 Jan 2012 16:57:17 -0000 Subject: Service and host notifications: best practise In-Reply-To: <20120127162636.0d19c983@kae.tiger-computing.wbp> References: <20120127162636.0d19c983@kae.tiger-computing.wbp> Message-ID: <002d01ccdd14$baff26f0$30fd74d0$@gmail.com> Hi Keith, Escalations are your friend. http://nagios.sourceforge.net/docs/3_0/escalations.html http://nagios.sourceforge.net/docs/3_0/objectdefinitions.html#hostescalation http://nagios.sourceforge.net/docs/3_0/objectdefinitions.html#serviceescalat ion Regards -----Original Message----- From: Keith Edmunds [mailto:kae at midnighthax.com] Sent: 27 January 2012 16:27 To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Service and host notifications: best practise We have a setup similar to: 100 monitored servers split into five groups, A-E. We would like notifications for host and service problems for all servers to be sent to the IT team. In addition, we would like host and service problems for servers in Group A to go to the group A manager, host and service problems for Group B to go to the group B manager, and so on. We tend to manage host notification via host groups, and service notifications via service groups. We really want to manage service notifications on a host group basis, so if Apache fails on a group A machine, we notify the IT team and the Group A manager. I'm looking for ideas for implementing that in a manageable and scalable way. If I've not described the problem clearly enough, I apologise: please ask questions for clarity. Thanks, Keith -- "You can have everything in life you want if you help enough other people get what they want" - Zig Ziglar. Who did you help today? ---------------------------------------------------------------------------- -- Try before you buy = See our experts in action! The most comprehensive online learning library for Microsoft developers is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, Metro Style Apps, more. Free future releases when you subscribe now! http://p.sf.net/sfu/learndevnow-dev2 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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 before you buy = See our experts in action! The most comprehensive online learning library for Microsoft developers is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, Metro Style Apps, more. Free future releases when you subscribe now! http://p.sf.net/sfu/learndevnow-dev2 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From kae at midnighthax.com Fri Jan 27 18:26:26 2012 From: kae at midnighthax.com (Keith Edmunds) Date: Fri, 27 Jan 2012 17:26:26 +0000 Subject: Service and host notifications: best practise In-Reply-To: <002d01ccdd14$baff26f0$30fd74d0$@gmail.com> References: <20120127162636.0d19c983@kae.tiger-computing.wbp> <002d01ccdd14$baff26f0$30fd74d0$@gmail.com> Message-ID: <20120127172626.6132d397@kae.tiger-computing.wbp> > Escalations are your friend. Thanks for the quick and helpful response. Unless I've misunderstood, we would need to configure a service escalation for each service and each of the host groups - is that right? What we really need it notification rather than escalation, although I realise we can use escalations in a similar way to notifications. I'd like to be able to say, "If any service fails on any host in hostgroup A, notify these people". Thanks, Keith -- "You can have everything in life you want if you help enough other people get what they want" - Zig Ziglar. Who did you help today? ------------------------------------------------------------------------------ Try before you buy = See our experts in action! The most comprehensive online learning library for Microsoft developers is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, Metro Style Apps, more. Free future releases when you subscribe now! http://p.sf.net/sfu/learndevnow-dev2 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From work at paul.dubuc.org Fri Jan 27 18:56:14 2012 From: work at paul.dubuc.org (Paul M. Dubuc) Date: Fri, 27 Jan 2012 12:56:14 -0500 Subject: Service and host notifications: best practise In-Reply-To: <20120127172626.6132d397@kae.tiger-computing.wbp> References: <20120127162636.0d19c983@kae.tiger-computing.wbp> <002d01ccdd14$baff26f0$30fd74d0$@gmail.com> <20120127172626.6132d397@kae.tiger-computing.wbp> Message-ID: <4F22E53E.8070206@paul.dubuc.org> Keith Edmunds wrote: >> Escalations are your friend. > > Thanks for the quick and helpful response. Unless I've misunderstood, we > would need to configure a service escalation for each service and each of > the host groups - is that right? > > What we really need it notification rather than escalation, although I > realise we can use escalations in a similar way to notifications. I'd like > to be able to say, "If any service fails on any host in hostgroup A, > notify these people". > > Thanks, > Keith The only way I can think of to do this is to use a template for services that belong to a particular hostgroup: define service{ name hostgroup_A_service register 0 contacts managerA ... } Have all the services on hosts in hostgroup A use that template. Note that using the 'contacts' directive won't override any contacts that you specify with the contact_groups directive in other templates. I use 'contacts' to specify contacts in addition to the default ones that I specify with 'contact_groups'. So you can specify the "IT_team" as a contact_group for all services and hosts and use 'contacts' to specify the manager for particular services. Hope this helps, Paul Dubuc ------------------------------------------------------------------------------ Try before you buy = See our experts in action! The most comprehensive online learning library for Microsoft developers is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, Metro Style Apps, more. Free future releases when you subscribe now! http://p.sf.net/sfu/learndevnow-dev2 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From andrew at fulgent.co.uk Fri Jan 27 20:23:50 2012 From: andrew at fulgent.co.uk (Andrew Thompson) Date: Fri, 27 Jan 2012 19:23:50 +0000 Subject: Write nagios.log data to a SQL Server database hosted on a remote Windows server Message-ID: Is this possible? c I know i can get Nagios to write its nagios.log data to MYSQL on the Nagios sevrer but is it possible to have it write its data to a remote Windows SQL server? Wondering if i can take advantage of Microsoft SQL Reporting Services to manipulate my data into reports ready to email? Or is there a Linux equivilant of SQL Reporting Services? Or can SQL Reporting services access MYSQL databases hosted on Linux machines? Anyboy any experience? Cheers -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Try before you buy = See our experts in action! The most comprehensive online learning library for Microsoft developers is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, Metro Style Apps, more. Free future releases when you subscribe now! http://p.sf.net/sfu/learndevnow-dev2 -------------- 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 rab at walkermartyn.co.uk Sat Jan 28 16:52:25 2012 From: rab at walkermartyn.co.uk (Robert Jackson) Date: Sat, 28 Jan 2012 15:52:25 -0000 Subject: NRPE Woes Monitoring Windows Servers Message-ID: Hope someone can point me in the right direction. For any check_nrpe command (except CheckVersion) I get the following: CHECK_NRPE: Received 0 bytes from daemon. Check the remote server logs for error messages. I know this is a bit sketchy, but I don't understand why the CheckVersion command would work and anything else won't. I'm assuming here that because I get the version of the NSClient++ returned without error, then NSClient++ is configured correctly? I have uncommented the necessary modules within the NSC.ini files on the Windows server. I've tried both CheckMEM and CheckUptime with no success. Can someone please help? Thanks. ************************************************************************ The information in this internet E-mail is confidential and is intended solely for the addressee. Access, copying or re-use of information in it by anyone else is unauthorised. Any views or opinions presented are solely those of the author and do not necessarily represent those of Walker Martyn Ltd or any of its affiliates. If you are not the intended recipient please contact administrator at walkermartyn.co.uk Walker Martyn Ltd, company number SC197533. Company is registered in Scotland and has its registered office at 1 Park Circus Place, Glasgow G3 6AH, UK. **************************************************************** -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Try before you buy = See our experts in action! The most comprehensive online learning library for Microsoft developers is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, Metro Style Apps, more. Free future releases when you subscribe now! http://p.sf.net/sfu/learndevnow-dev2 -------------- 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 jim at jimavery.me.uk Sat Jan 28 20:21:21 2012 From: jim at jimavery.me.uk (Jim Avery) Date: Sat, 28 Jan 2012 19:21:21 +0000 Subject: NRPE Woes Monitoring Windows Servers In-Reply-To: References: Message-ID: On 28 January 2012 15:52, Robert Jackson wrote: > Hope someone can point me in the right direction. For any ?check_nrpe > command (except CheckVersion) I get the following: > > > > CHECK_NRPE: Received 0 bytes from daemon. Check the remote server logs for > error messages. > > > > I know this is a bit sketchy Yes, it is rather. >, but I don?t understand why the CheckVersion > command would work and anything else won?t. I?m assuming here that because I > get the version of the NSClient++ returned without error, then NSClient++ is > configured correctly? I have uncommented the necessary modules within the > NSC.ini files on the Windows server. > I?ve tried both CheckMEM and CheckUptime with no success. Can someone please > help? Does the nsclient.log file contain anything interesting? There are umpteen ways to configure NSClient++ and run checks against it. What specific checks are you trying to run and how are you running them? ------------------------------------------------------------------------------ Try before you buy = See our experts in action! The most comprehensive online learning library for Microsoft developers is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, Metro Style Apps, more. Free future releases when you subscribe now! http://p.sf.net/sfu/learndevnow-dev2 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From rab at walkermartyn.co.uk Sun Jan 29 10:53:24 2012 From: rab at walkermartyn.co.uk (Robert Jackson) Date: Sun, 29 Jan 2012 09:53:24 -0000 Subject: NRPE Woes Monitoring Windows Servers Message-ID: Sorry about the lack of info: I've turned on log debugging and it produced the following: 2012-01-29 09:39:03: debug:NSClient++.cpp:1106: Injecting: CheckVersion: 2012-01-29 09:39:03: debug:NSClient++.cpp:1142: Injected Result: OK '0.3.8.75 2010-05-27' 2012-01-29 09:39:03: debug:NSClient++.cpp:1143: Injected Performance Result: '' 2012-01-29 09:39:15: error:modules\NRPEListener\NRPEListener.cpp:393: Request contained arguments (not currently allowed, check the allow_arguments option). 2012-01-29 09:39:15: error:modules\NRPEListener\NRPEListener.cpp:365: NRPEException: Request contained arguments (not currently allowed, check the allow_arguments option). In the above case the Nagios command issued was: ./check_nrpe -H -p 5666 -c CheckUpTime -a MinWarn=1d MinCrit=12h I'm aiming to get to a point where for all Windows machines (Servers and PCs) I have a default check template of: NSClient++ version Uptime CPU Load Memory Usage Disk Usage (all partitions) Explorer process is running. In the NSC.ini file, the following have all been uncomment: FileLogger.dll CheckSystem.dll CheckDisk.dll NSClientListener.dll NRPEListener.dll SysTray.dll CheckEventLog.dll CheckHelpers.dll CheckWMI.dll ; ; Script to check external scripts and/or internal aliases. CheckExternalScripts.dll Also: allowed_hosts= Regards, Rab. ============================================================= Robert Jackson Phone: +44 (0) 141 332 7999 IT Manager Fax: +44 (0) 141 331 2820 Walker Martyn Ltd 1 Park Circus Place Email: rab at walkermartyn.co.uk Glasgow G3 6AH, Scotland Web: http://www.walkermartyn.co.uk ============================================================= -----Original Message----- From: Jim Avery [mailto:jim at jimavery.me.uk] Sent: Saturday 28 January 2012 19:21 To: Nagios Users List Subject: Re: [Nagios-users] NRPE Woes Monitoring Windows Servers On 28 January 2012 15:52, Robert Jackson wrote: > Hope someone can point me in the right direction. For any ?check_nrpe > command (except CheckVersion) I get the following: > > > > CHECK_NRPE: Received 0 bytes from daemon. Check the remote server logs for > error messages. > > > > I know this is a bit sketchy Yes, it is rather. >, but I don't understand why the CheckVersion > command would work and anything else won't. I'm assuming here that because I > get the version of the NSClient++ returned without error, then NSClient++ is > configured correctly? I have uncommented the necessary modules within the > NSC.ini files on the Windows server. > I've tried both CheckMEM and CheckUptime with no success. Can someone please > help? Does the nsclient.log file contain anything interesting? There are umpteen ways to configure NSClient++ and run checks against it. What specific checks are you trying to run and how are you running them? ------------------------------------------------------------------------------ Try before you buy = See our experts in action! The most comprehensive online learning library for Microsoft developers is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, Metro Style Apps, more. Free future releases when you subscribe now! http://p.sf.net/sfu/learndevnow-dev2 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ************************************************************************ The information in this internet E-mail is confidential and is intended solely for the addressee. Access, copying or re-use of information in it by anyone else is unauthorised. Any views or opinions presented are solely those of the author and do not necessarily represent those of Walker Martyn Ltd or any of its affiliates. If you are not the intended recipient please contact administrator at walkermartyn.co.uk Walker Martyn Ltd, company number SC197533. Company is registered in Scotland and has its registered office at 1 Park Circus Place, Glasgow G3 6AH, UK. **************************************************************** ------------------------------------------------------------------------------ Try before you buy = See our experts in action! The most comprehensive online learning library for Microsoft developers is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, Metro Style Apps, more. Free future releases when you subscribe now! http://p.sf.net/sfu/learndevnow-dev2 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From np121 at hotmail.com Sun Jan 29 14:13:18 2012 From: np121 at hotmail.com (Nick Price) Date: Sun, 29 Jan 2012 14:13:18 +0100 Subject: NRPE Woes Monitoring Windows Servers In-Reply-To: References: Message-ID: Hi You need to check the following is uncommented allow_arguments and it should = 1 port=5666 if you are using NRPE port=12489 did you also add allowed_hosts= you need to add here the Nagios server IP address hope this helps Nick -----Original Message----- From: Robert Jackson [mailto:rab at walkermartyn.co.uk] Sent: Sunday, January 29, 2012 10:53 To: Nagios Users List Subject: Re: [Nagios-users] NRPE Woes Monitoring Windows Servers Sorry about the lack of info: I've turned on log debugging and it produced the following: 2012-01-29 09:39:03: debug:NSClient++.cpp:1106: Injecting: CheckVersion: 2012-01-29 09:39:03: debug:NSClient++.cpp:1142: Injected Result: OK '0.3.8.75 2010-05-27' 2012-01-29 09:39:03: debug:NSClient++.cpp:1143: Injected Performance Result: '' 2012-01-29 09:39:15: error:modules\NRPEListener\NRPEListener.cpp:393: Request contained arguments (not currently allowed, check the allow_arguments option). 2012-01-29 09:39:15: error:modules\NRPEListener\NRPEListener.cpp:365: NRPEException: Request contained arguments (not currently allowed, check the allow_arguments option). In the above case the Nagios command issued was: ./check_nrpe -H -p 5666 -c CheckUpTime -a MinWarn=1d MinCrit=12h I'm aiming to get to a point where for all Windows machines (Servers and PCs) I have a default check template of: NSClient++ version Uptime CPU Load Memory Usage Disk Usage (all partitions) Explorer process is running. In the NSC.ini file, the following have all been uncomment: FileLogger.dll CheckSystem.dll CheckDisk.dll NSClientListener.dll NRPEListener.dll SysTray.dll CheckEventLog.dll CheckHelpers.dll CheckWMI.dll ; ; Script to check external scripts and/or internal aliases. CheckExternalScripts.dll Also: allowed_hosts= Regards, Rab. ============================================================= Robert Jackson Phone: +44 (0) 141 332 7999 IT Manager Fax: +44 (0) 141 331 2820 Walker Martyn Ltd 1 Park Circus Place Email: rab at walkermartyn.co.uk Glasgow G3 6AH, Scotland Web: http://www.walkermartyn.co.uk ============================================================= -----Original Message----- From: Jim Avery [mailto:jim at jimavery.me.uk] Sent: Saturday 28 January 2012 19:21 To: Nagios Users List Subject: Re: [Nagios-users] NRPE Woes Monitoring Windows Servers On 28 January 2012 15:52, Robert Jackson wrote: > Hope someone can point me in the right direction. For any ?check_nrpe > command (except CheckVersion) I get the following: > > > > CHECK_NRPE: Received 0 bytes from daemon. Check the remote server logs > for error messages. > > > > I know this is a bit sketchy Yes, it is rather. >, but I don't understand why the CheckVersion command would work and >anything else won't. I'm assuming here that because I get the version >of the NSClient++ returned without error, then NSClient++ is >configured correctly? I have uncommented the necessary modules within >the NSC.ini files on the Windows server. > I've tried both CheckMEM and CheckUptime with no success. Can someone > please help? Does the nsclient.log file contain anything interesting? There are umpteen ways to configure NSClient++ and run checks against it. What specific checks are you trying to run and how are you running them? ---------------------------------------------------------------------------- -- Try before you buy = See our experts in action! The most comprehensive online learning library for Microsoft developers is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, Metro Style Apps, more. Free future releases when you subscribe now! http://p.sf.net/sfu/learndevnow-dev2 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ************************************************************************ The information in this internet E-mail is confidential and is intended solely for the addressee. Access, copying or re-use of information in it by anyone else is unauthorised. Any views or opinions presented are solely those of the author and do not necessarily represent those of Walker Martyn Ltd or any of its affiliates. If you are not the intended recipient please contact administrator at walkermartyn.co.uk Walker Martyn Ltd, company number SC197533. Company is registered in Scotland and has its registered office at 1 Park Circus Place, Glasgow G3 6AH, UK. **************************************************************** ---------------------------------------------------------------------------- -- Try before you buy = See our experts in action! The most comprehensive online learning library for Microsoft developers is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, Metro Style Apps, more. Free future releases when you subscribe now! http://p.sf.net/sfu/learndevnow-dev2 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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 before you buy = See our experts in action! The most comprehensive online learning library for Microsoft developers is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, Metro Style Apps, more. Free future releases when you subscribe now! http://p.sf.net/sfu/learndevnow-dev2 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From rab at walkermartyn.co.uk Sun Jan 29 14:38:34 2012 From: rab at walkermartyn.co.uk (Robert Jackson) Date: Sun, 29 Jan 2012 13:38:34 -0000 Subject: [SOLVED] RE: Re: NRPE Woes Monitoring Windows Servers Message-ID: Managed to get the issue solved by uncommenting "allow_arguments" . Many thanks. -----Original Message----- From: Nick Price [mailto:np121 at hotmail.com] Sent: Sunday 29 January 2012 13:13 To: 'Nagios Users List' Subject: Re: [Nagios-users] NRPE Woes Monitoring Windows Servers Hi You need to check the following is uncommented allow_arguments and it should = 1 port=5666 if you are using NRPE port=12489 did you also add allowed_hosts= you need to add here the Nagios server IP address hope this helps Nick -----Original Message----- From: Robert Jackson [mailto:rab at walkermartyn.co.uk] Sent: Sunday, January 29, 2012 10:53 To: Nagios Users List Subject: Re: [Nagios-users] NRPE Woes Monitoring Windows Servers Sorry about the lack of info: I've turned on log debugging and it produced the following: 2012-01-29 09:39:03: debug:NSClient++.cpp:1106: Injecting: CheckVersion: 2012-01-29 09:39:03: debug:NSClient++.cpp:1142: Injected Result: OK '0.3.8.75 2010-05-27' 2012-01-29 09:39:03: debug:NSClient++.cpp:1143: Injected Performance Result: '' 2012-01-29 09:39:15: error:modules\NRPEListener\NRPEListener.cpp:393: Request contained arguments (not currently allowed, check the allow_arguments option). 2012-01-29 09:39:15: error:modules\NRPEListener\NRPEListener.cpp:365: NRPEException: Request contained arguments (not currently allowed, check the allow_arguments option). In the above case the Nagios command issued was: /check_nrpe -H -p 5666 -c CheckUpTime -a MinWarn=1d MinCrit=12h I'm aiming to get to a point where for all Windows machines (Servers and PCs) I have a default check template of: NSClient++ version Uptime CPU Load Memory Usage Disk Usage (all partitions) Explorer process is running. In the NSC.ini file, the following have all been uncomment: FileLogger.dll CheckSystem.dll CheckDisk.dll NSClientListener.dll NRPEListener.dll SysTray.dll CheckEventLog.dll CheckHelpers.dll CheckWMI.dll ; ; Script to check external scripts and/or internal aliases. CheckExternalScripts.dll Also: allowed_hosts= Regards, Rab. ============================================================= Robert Jackson Phone: +44 (0) 141 332 7999 IT Manager Fax: +44 (0) 141 331 2820 Walker Martyn Ltd 1 Park Circus Place Email: rab at walkermartyn.co.uk Glasgow G3 6AH, Scotland Web: http://www.walkermartyn.co.uk ============================================================= -----Original Message----- From: Jim Avery [mailto:jim at jimavery.me.uk] Sent: Saturday 28 January 2012 19:21 To: Nagios Users List Subject: Re: [Nagios-users] NRPE Woes Monitoring Windows Servers On 28 January 2012 15:52, Robert Jackson wrote: > Hope someone can point me in the right direction. For any ?check_nrpe > command (except CheckVersion) I get the following: > > > > CHECK_NRPE: Received 0 bytes from daemon. Check the remote server logs > for error messages. > > > > I know this is a bit sketchy Yes, it is rather. >, but I don't understand why the CheckVersion command would work and >anything else won't. I'm assuming here that because I get the version >of the NSClient++ returned without error, then NSClient++ is >configured correctly? I have uncommented the necessary modules within >the NSC.ini files on the Windows server. > I've tried both CheckMEM and CheckUptime with no success. Can someone > please help? Does the nsclient.log file contain anything interesting? There are umpteen ways to configure NSClient++ and run checks against it. What specific checks are you trying to run and how are you running them? ---------------------------------------------------------------------------- -- Try before you buy = See our experts in action! The most comprehensive online learning library for Microsoft developers is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, Metro Style Apps, more. Free future releases when you subscribe now! http://p.sf.net/sfu/learndevnow-dev2 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ************************************************************************ The information in this internet E-mail is confidential and is intended solely for the addressee. Access, copying or re-use of information in it by anyone else is unauthorised. Any views or opinions presented are solely those of the author and do not necessarily represent those of Walker Martyn Ltd or any of its affiliates. If you are not the intended recipient please contact administrator at walkermartyn.co.uk Walker Martyn Ltd, company number SC197533. Company is registered in Scotland and has its registered office at 1 Park Circus Place, Glasgow G3 6AH, UK. **************************************************************** ---------------------------------------------------------------------------- -- Try before you buy = See our experts in action! The most comprehensive online learning library for Microsoft developers is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, Metro Style Apps, more. Free future releases when you subscribe now! http://p.sf.net/sfu/learndevnow-dev2 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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 before you buy = See our experts in action! The most comprehensive online learning library for Microsoft developers is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, Metro Style Apps, more. Free future releases when you subscribe now! http://p.sf.net/sfu/learndevnow-dev2 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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 before you buy = See our experts in action! The most comprehensive online learning library for Microsoft developers is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, Metro Style Apps, more. Free future releases when you subscribe now! http://p.sf.net/sfu/learndevnow-dev2 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From rab at walkermartyn.co.uk Mon Jan 30 11:07:40 2012 From: rab at walkermartyn.co.uk (Robert Jackson) Date: Mon, 30 Jan 2012 10:07:40 -0000 Subject: NRPE/NSClient++ CheckCPU Error? Message-ID: Why does the NSClient++ command CheckCPU always sit as a critical condition within Nagios? The command I have in place is: $USER1$/check_nrpe -H $HOSTADDRESS$ -c CheckCPU -a warn=$ARG1$ crit=$ARG2$ time=5m $ARG1$ is set to 80% and $ARG2$ is set to 95% (have tried with and without % symbol) The output display in Nagios is: CRITICAL: 5m: average load 15% > critical Anyone have any ideas why this is generating a critical condition? Regards, Rab. ============================================================= Robert Jackson Phone: +44 (0) 141 332 7999 IT Manager Fax: +44 (0) 141 331 2820 Walker Martyn Ltd 1 Park Circus Place Email: rab at walkermartyn.co.uk Glasgow G3 6AH, Scotland Web: http://www.walkermartyn.co.uk ============================================================= ************************************************************************ The information in this internet E-mail is confidential and is intended solely for the addressee. Access, copying or re-use of information in it by anyone else is unauthorised. Any views or opinions presented are solely those of the author and do not necessarily represent those of Walker Martyn Ltd or any of its affiliates. If you are not the intended recipient please contact administrator at walkermartyn.co.uk Walker Martyn Ltd, company number SC197533. Company is registered in Scotland and has its registered office at 1 Park Circus Place, Glasgow G3 6AH, UK. **************************************************************** -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Try before you buy = See our experts in action! The most comprehensive online learning library for Microsoft developers is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, Metro Style Apps, more. Free future releases when you subscribe now! http://p.sf.net/sfu/learndevnow-dev2 -------------- 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 nagiosusers at edcint.co.nz Mon Jan 30 12:06:20 2012 From: nagiosusers at edcint.co.nz (Matthew Jurgens) Date: Mon, 30 Jan 2012 22:06:20 +1100 Subject: NRPE/NSClient++ CheckCPU Error? In-Reply-To: References: Message-ID: <4F2679AC.70306@edcint.co.nz> You might like to try www.edcint.co.nz/checkwmiplus On 30/01/2012 9:07 PM, Robert Jackson wrote: > > Why does the NSClient++ command CheckCPU always sit as a critical > condition within Nagios? The command I have in place is: > > $USER1$/check_nrpe -H $HOSTADDRESS$ -c CheckCPU -a warn=$ARG1$ > crit=$ARG2$ time=5m > > $ARG1$ is set to 80% and $ARG2$ is set to 95% (have tried with and > without % symbol) > > The output display in Nagios is: CRITICAL: 5m: average load 15% > critical > > Anyone have any ideas why this is generating a critical condition? > > Regards, > > Rab. > > ============================================================= > > Robert Jackson Phone: +44 (0) 141 332 > 7999 > > IT Manager Fax: +44 (0) 141 > 331 2820 > > Walker Martyn Ltd > > 1 Park Circus Place Email: > rab at walkermartyn.co.uk > > Glasgow G3 6AH, Scotland Web: > http://www.walkermartyn.co.uk > > ============================================================= > > > > -- > Smartmon System Monitoring > www.smartmon.com.au -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Try before you buy = See our experts in action! The most comprehensive online learning library for Microsoft developers is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, Metro Style Apps, more. Free future releases when you subscribe now! http://p.sf.net/sfu/learndevnow-dev2 -------------- 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 Jan 30 13:51:49 2012 From: ck at claudiokuenzler.com (Claudio Kuenzler) Date: Mon, 30 Jan 2012 13:51:49 +0100 Subject: NRPE/NSClient++ CheckCPU Error? In-Reply-To: <4F2679AC.70306@edcint.co.nz> References: <4F2679AC.70306@edcint.co.nz> Message-ID: In the NSClient++ documentation, CheckCPU works with normal integers as thresholds (so no %-sign required). As an alternative, you can also check the CPU Utilization with the NSClientListener/check_nt plugin: http://nsclient.org/nscp/wiki/NSClientListener I use this way of checking the cpu loads/percentages for several hundreds of Windows servers and it works just fine. On Mon, Jan 30, 2012 at 12:06 PM, Matthew Jurgens wrote: > You might like to try > > www.edcint.co.nz/checkwmiplus > > > On 30/01/2012 9:07 PM, Robert Jackson wrote: > > Why does the NSClient++ command CheckCPU always sit as a critical > condition within Nagios? The command I have in place is:**** > > ** ** > > $USER1$/check_nrpe -H $HOSTADDRESS$ -c CheckCPU -a warn=$ARG1$ crit=$ARG2$ > time=5m**** > > ** ** > > $ARG1$ is set to 80% and $ARG2$ is set to 95% (have tried with and > without % symbol)**** > > ** ** > > The output display in Nagios is: CRITICAL: 5m: average load 15% > critical > **** > > ** ** > > Anyone have any ideas why this is generating a critical condition?**** > > ** ** > > Regards,**** > > Rab.**** > > =============================================================**** > > Robert Jackson Phone: +44 (0) 141 332 7999 > **** > > IT Manager Fax: +44 (0) 141 331 > 2820**** > > Walker Martyn Ltd**** > > 1 Park Circus Place Email: > rab at walkermartyn.co.uk**** > > Glasgow G3 6AH, Scotland Web: > http://www.walkermartyn.co.uk**** > > =============================================================**** > > > -- > Smartmon System Monitoring > www.smartmon.com.au > > > > ------------------------------------------------------------------------------ > Try before you buy = See our experts in action! > The most comprehensive online learning library for Microsoft developers > is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, > Metro Style Apps, more. Free future releases when you subscribe now! > http://p.sf.net/sfu/learndevnow-dev2 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 before you buy = See our experts in action! The most comprehensive online learning library for Microsoft developers is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, Metro Style Apps, more. Free future releases when you subscribe now! http://p.sf.net/sfu/learndevnow-dev2 -------------- 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 skebi69 at gmail.com Mon Jan 30 17:18:38 2012 From: skebi69 at gmail.com (John Kennedy) Date: Mon, 30 Jan 2012 16:18:38 +0000 Subject: Different notification intervals for WARNING and CRITICAL Message-ID: I have tried to Google and look at docs but think my brain is deserting me...I am relatively new to Nagios, very new to GroundWork. Is it possible to set up a plugin to send email at different intervals for warning and critical alerts. For example, a file system is 90% full, triggering a WARNING email. Since there is still time, I would like this email every hour. Once the filesystem is 95% full, triggering a CRITICAL email, I would like the notification sent every 10 minutes. We are using Nagios 3.0.6 on RHEL 5.7 with GroundWork Community Edition 5.3.0. Thanks, John John Kennedy -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Try before you buy = See our experts in action! The most comprehensive online learning library for Microsoft developers is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, Metro Style Apps, more. Free future releases when you subscribe now! http://p.sf.net/sfu/learndevnow-dev2 -------------- 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 Jan 30 17:47:17 2012 From: ae at op5.se (Andreas Ericsson) Date: Mon, 30 Jan 2012 17:47:17 +0100 Subject: Different notification intervals for WARNING and CRITICAL In-Reply-To: References: Message-ID: <4F26C995.5040305@op5.se> On 01/30/2012 05:18 PM, John Kennedy wrote: > I have tried to Google and look at docs but think my brain is > deserting me...I am relatively new to Nagios, very new to > GroundWork. > > Is it possible to set up a plugin to send email at different > intervals for warning and critical alerts. For example, a file system > is 90% full, triggering a WARNING email. Since there is still time, I > would like this email every hour. Once the filesystem is 95% full, > triggering a CRITICAL email, I would like the notification sent every > 10 minutes. > Will you look at your mail more often if you get one new mail every 10 minutes, or do you expect your admins to react faster if you present them with buggerware? I think I know one or two installations where they've really sat down and thought about it and then figured out that more than one notification to the same person per problem is what they need. -- 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 before you buy = See our experts in action! The most comprehensive online learning library for Microsoft developers is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, Metro Style Apps, more. Free future releases when you subscribe now! http://p.sf.net/sfu/learndevnow-dev2 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From rab at walkermartyn.co.uk Mon Jan 30 17:57:41 2012 From: rab at walkermartyn.co.uk (Robert Jackson) Date: Mon, 30 Jan 2012 16:57:41 -0000 Subject: rab@walkermartyn.co.uk - Re: NRPE/NSClient++ CheckCPU Error? - Email found in subject References: Message-ID: I'm trying out check_wmi_plus at the moment. I've got some basic tests working from a command line (namely checkuptime, checkmem and checkdrivesize). All well and good. However my problems start when I try to run checkcpu within a Nagios environment - "UNKNOWN - Permission denied when trying to store the state data. Sometimes this happens if you have been testing the plugin from the command line as a different user to the Nagio process user." is being displayed. It works just fine from a command line. Also I can't for the life of me get the checkts -s sessions(2003) working at all "WARNING: Could not correctly parse "customfield" definition in ini file: (for checkts sessions2003)" is being displayed. Regards, Rab. ============================================================= Robert Jackson Phone: +44 (0) 141 332 7999 IT Manager Fax: +44 (0) 141 331 2820 Walker Martyn Ltd 1 Park Circus Place Email: rab at walkermartyn.co.uk Glasgow G3 6AH, Scotland Web: http://www.walkermartyn.co.uk ============================================================= From: Matthew Jurgens [mailto:nagiosusers at edcint.co.nz] Sent: Monday 30 January 2012 11:06 To: Nagios Users List Cc: Robert Jackson Subject: rab at walkermartyn.co.uk - Re: [Nagios-users] NRPE/NSClient++ CheckCPU Error? - Email found in subject You might like to try www.edcint.co.nz/checkwmiplus On 30/01/2012 9:07 PM, Robert Jackson wrote: Why does the NSClient++ command CheckCPU always sit as a critical condition within Nagios? The command I have in place is: $USER1$/check_nrpe -H $HOSTADDRESS$ -c CheckCPU -a warn=$ARG1$ crit=$ARG2$ time=5m $ARG1$ is set to 80% and $ARG2$ is set to 95% (have tried with and without % symbol) The output display in Nagios is: CRITICAL: 5m: average load 15% > critical Anyone have any ideas why this is generating a critical condition? Regards, Rab. ============================================================= Robert Jackson Phone: +44 (0) 141 332 7999 IT Manager Fax: +44 (0) 141 331 2820 Walker Martyn Ltd 1 Park Circus Place Email: rab at walkermartyn.co.uk Glasgow G3 6AH, Scotland Web: http://www.walkermartyn.co.uk ============================================================= -- Smartmon System Monitoring www.smartmon.com.au ************************************************************************ The information in this internet E-mail is confidential and is intended solely for the addressee. Access, copying or re-use of information in it by anyone else is unauthorised. Any views or opinions presented are solely those of the author and do not necessarily represent those of Walker Martyn Ltd or any of its affiliates. If you are not the intended recipient please contact administrator at walkermartyn.co.uk Walker Martyn Ltd, company number SC197533. Company is registered in Scotland and has its registered office at 1 Park Circus Place, Glasgow G3 6AH, UK. **************************************************************** -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Try before you buy = See our experts in action! The most comprehensive online learning library for Microsoft developers is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, Metro Style Apps, more. Free future releases when you subscribe now! http://p.sf.net/sfu/learndevnow-dev2 -------------- 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 skebi69 at gmail.com Mon Jan 30 18:11:19 2012 From: skebi69 at gmail.com (John Kennedy) Date: Mon, 30 Jan 2012 17:11:19 +0000 Subject: Different notification intervals for WARNING and CRITICAL In-Reply-To: <4F26C995.5040305@op5.se> References: <4F26C995.5040305@op5.se> Message-ID: On Mon, Jan 30, 2012 at 16:47, Andreas Ericsson wrote: > On 01/30/2012 05:18 PM, John Kennedy wrote: > > I have tried to Google and look at docs but think my brain is > > deserting me...I am relatively new to Nagios, very new to > > GroundWork. > > > > Is it possible to set up a plugin to send email at different > > intervals for warning and critical alerts. For example, a file system > > is 90% full, triggering a WARNING email. Since there is still time, I > > would like this email every hour. Once the filesystem is 95% full, > > triggering a CRITICAL email, I would like the notification sent every > > 10 minutes. > > > > Will you look at your mail more often if you get one new mail every 10 > minutes, or do you expect your admins to react faster if you present > them with buggerware? > > I think I know one or two installations where they've really sat down > and thought about it and then figured out that more than one notification > to the same person per problem is what they need. > > -- > 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. > Andreas, The timings are hypothetical (although, as it stands now, some WARNINGS are coming every 10 minutes...I want to convince my boss that it is too often). Having too many notifications is often times worse than not having any at all...If my boss REALLY wants the 10 minute emails, then I would like it to be only for CRITICAL problems... Thanks, John -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Try before you buy = See our experts in action! The most comprehensive online learning library for Microsoft developers is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, Metro Style Apps, more. Free future releases when you subscribe now! http://p.sf.net/sfu/learndevnow-dev2 -------------- 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 robert at robertvbolton.com Mon Jan 30 19:24:32 2012 From: robert at robertvbolton.com (Robert V. Bolton) Date: Mon, 30 Jan 2012 11:24:32 -0700 Subject: Check_Ping plugin not Incrementing Check Attempt Value Message-ID: Over the weekend I had a weird event happen in my monitoring set. I have a host that has an Infiniband interface, and we are running the IP protocol over Infiniband, while using the check_ping plugin to verify network connectivity. This weekend our Ethernet to Infiniband gateway went down and the check_ping plugin reported that state as CRITICAL, however the it didn't increment the check attempt value, and thus a notification wasn't sent out since the max check attempts threshold was never reached. I've included some of the output of /var/log/messages that indicates the problem. Has anyone else seen this issue? As a side note I've since changed my service check to use check_icmp instead of check_ping. Jan 28 17:12:12 monitor nagios: SERVICE ALERT: hamrock.chpc.utah.edu;IPv4 IPoIB Ping Check;CRITICAL;HARD;1;CRITICAL - Host Unreachable (172.21.10.170) Jan 28 17:13:12 monitor nagios: SERVICE ALERT: hamrock.chpc.utah.edu;IPv4 IPoIB Ping Check;CRITICAL;HARD;1;CRITICAL - Host Unreachable (172.21.10.170) Jan 28 17:14:12 monitor nagios: SERVICE ALERT: hamrock.chpc.utah.edu;IPv4 IPoIB Ping Check;CRITICAL;HARD;1;CRITICAL - Host Unreachable (172.21.10.170) Jan 28 17:15:12 monitor nagios: SERVICE ALERT: hamrock.chpc.utah.edu;IPv4 IPoIB Ping Check;CRITICAL;HARD;1;CRITICAL - Host Unreachable (172.21.10.170) Jan 28 17:42:12 monitor nagios: SERVICE ALERT: hamrock.chpc.utah.edu;IPv4 IPoIB Ping Check;CRITICAL;HARD;1;CRITICAL - Host Unreachable (172.21.10.170) Jan 28 17:43:22 monitor nagios: SERVICE ALERT: hamrock.chpc.utah.edu;IPv4 IPoIB Ping Check;CRITICAL;HARD;1;CRITICAL - Host Unreachable (172.21.10.170) Jan 28 17:44:22 monitor nagios: SERVICE ALERT: hamrock.chpc.utah.edu;IPv4 IPoIB Ping Check;CRITICAL;HARD;1;CRITICAL - Host Unreachable (172.21.10.170) Jan 28 17:47:22 monitor nagios: SERVICE ALERT: hamrock.chpc.utah.edu;IPv4 IPoIB Ping Check;CRITICAL;HARD;1;CRITICAL - Host Unreachable (172.21.10.170) Jan 28 17:48:22 monitor nagios: SERVICE ALERT: hamrock.chpc.utah.edu;IPv4 IPoIB Ping Check;CRITICAL;HARD;1;CRITICAL - Host Unreachable (172.21.10.170) Jan 28 17:49:22 monitor nagios: SERVICE ALERT: hamrock.chpc.utah.edu;IPv4 IPoIB Ping Check;CRITICAL;HARD;1;CRITICAL - Host Unreachable (172.21.10.170) Jan 28 17:50:22 monitor nagios: SERVICE ALERT: hamrock.chpc.utah.edu;IPv4 IPoIB Ping Check;CRITICAL;HARD;1;CRITICAL - Host Unreachable (172.21.10.170) Jan 28 18:31:22 monitor nagios: SERVICE ALERT: hamrock.chpc.utah.edu;IPv4 IPoIB Ping Check;CRITICAL;HARD;1;CRITICAL - Host Unreachable (172.21.10.170) Jan 28 18:32:22 monitor nagios: SERVICE ALERT: hamrock.chpc.utah.edu;IPv4 IPoIB Ping Check;CRITICAL;HARD;1;CRITICAL - Host Unreachable (172.21.10.170) Jan 28 18:33:22 monitor nagios: SERVICE ALERT: hamrock.chpc.utah.edu;IPv4 IPoIB Ping Check;CRITICAL;HARD;1;CRITICAL - Host Unreachable (172.21.10.170) Jan 28 18:42:23 monitor nagios: SERVICE ALERT: hamrock.chpc.utah.edu;IPv4 IPoIB Ping Check;CRITICAL;HARD;1;CRITICAL - Host Unreachable (172.21.10.170) Jan 28 18:43:23 monitor nagios: SERVICE ALERT: hamrock.chpc.utah.edu;IPv4 IPoIB Ping Check;CRITICAL;HARD;1;CRITICAL - Host Unreachable (172.21.10.170) Jan 28 18:44:22 monitor nagios: SERVICE ALERT: hamrock.chpc.utah.edu;IPv4 IPoIB Ping Check;CRITICAL;HARD;1;CRITICAL - Host Unreachable (172.21.10.170) Jan 28 18:45:22 monitor nagios: SERVICE ALERT: hamrock.chpc.utah.edu;IPv4 IPoIB Ping Check;CRITICAL;HARD;1;CRITICAL - Host Unreachable (172.21.10.170) -- *Robert V. Bolton* Email: robert at robertvbolton.com Web: http://robertvbolton.com -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Try before you buy = See our experts in action! The most comprehensive online learning library for Microsoft developers is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, Metro Style Apps, more. Free future releases when you subscribe now! http://p.sf.net/sfu/learndevnow-dev2 -------------- 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 Jan 30 19:39:58 2012 From: ck at claudiokuenzler.com (Claudio Kuenzler) Date: Mon, 30 Jan 2012 19:39:58 +0100 Subject: Check_Ping plugin not Incrementing Check Attempt Value In-Reply-To: References: Message-ID: It looks like you use parent-child-relationships? That would explain why it's written "Host Unreachable (172.21.10.170) " instead of Host Down. Was the parent of this host down as well? In this case, Nagios 'knows' that it doesn't make sense to continue checks on the child hosts. On Mon, Jan 30, 2012 at 7:24 PM, Robert V. Bolton wrote: > Over the weekend I had a weird event happen in my monitoring set. I have a > host that has an Infiniband interface, and we are running the IP protocol > over Infiniband, while using the check_ping plugin to verify network > connectivity. This weekend our Ethernet to Infiniband gateway went down and > the check_ping plugin reported that state as CRITICAL, however the it > didn't increment the check attempt value, and thus a notification wasn't > sent out since the max check attempts threshold was never reached. I've > included some of the output of /var/log/messages that indicates the > problem. Has anyone else seen this issue? As a side note I've since changed > my service check to use check_icmp instead of check_ping. > > Jan 28 17:12:12 monitor nagios: SERVICE ALERT: hamrock.chpc.utah.edu;IPv4 > IPoIB Ping Check;CRITICAL;HARD;1;CRITICAL - Host Unreachable > (172.21.10.170) > Jan 28 17:13:12 monitor nagios: SERVICE ALERT: hamrock.chpc.utah.edu;IPv4 > IPoIB Ping Check;CRITICAL;HARD;1;CRITICAL - Host Unreachable > (172.21.10.170) > Jan 28 17:14:12 monitor nagios: SERVICE ALERT: hamrock.chpc.utah.edu;IPv4 > IPoIB Ping Check;CRITICAL;HARD;1;CRITICAL - Host Unreachable > (172.21.10.170) > Jan 28 17:15:12 monitor nagios: SERVICE ALERT: hamrock.chpc.utah.edu;IPv4 > IPoIB Ping Check;CRITICAL;HARD;1;CRITICAL - Host Unreachable > (172.21.10.170) > > Jan 28 17:42:12 monitor nagios: SERVICE ALERT: hamrock.chpc.utah.edu;IPv4 > IPoIB Ping Check;CRITICAL;HARD;1;CRITICAL - Host Unreachable > (172.21.10.170) > Jan 28 17:43:22 monitor nagios: SERVICE ALERT: hamrock.chpc.utah.edu;IPv4 > IPoIB Ping Check;CRITICAL;HARD;1;CRITICAL - Host Unreachable > (172.21.10.170) > Jan 28 17:44:22 monitor nagios: SERVICE ALERT: hamrock.chpc.utah.edu;IPv4 > IPoIB Ping Check;CRITICAL;HARD;1;CRITICAL - Host Unreachable > (172.21.10.170) > Jan 28 17:47:22 monitor nagios: SERVICE ALERT: hamrock.chpc.utah.edu;IPv4 > IPoIB Ping Check;CRITICAL;HARD;1;CRITICAL - Host Unreachable > (172.21.10.170) > Jan 28 17:48:22 monitor nagios: SERVICE ALERT: hamrock.chpc.utah.edu;IPv4 > IPoIB Ping Check;CRITICAL;HARD;1;CRITICAL - Host Unreachable > (172.21.10.170) > Jan 28 17:49:22 monitor nagios: SERVICE ALERT: hamrock.chpc.utah.edu;IPv4 > IPoIB Ping Check;CRITICAL;HARD;1;CRITICAL - Host Unreachable > (172.21.10.170) > Jan 28 17:50:22 monitor nagios: SERVICE ALERT: hamrock.chpc.utah.edu;IPv4 > IPoIB Ping Check;CRITICAL;HARD;1;CRITICAL - Host Unreachable > (172.21.10.170) > > Jan 28 18:31:22 monitor nagios: SERVICE ALERT: hamrock.chpc.utah.edu;IPv4 > IPoIB Ping Check;CRITICAL;HARD;1;CRITICAL - Host Unreachable > (172.21.10.170) > Jan 28 18:32:22 monitor nagios: SERVICE ALERT: hamrock.chpc.utah.edu;IPv4 > IPoIB Ping Check;CRITICAL;HARD;1;CRITICAL - Host Unreachable > (172.21.10.170) > Jan 28 18:33:22 monitor nagios: SERVICE ALERT: hamrock.chpc.utah.edu;IPv4 > IPoIB Ping Check;CRITICAL;HARD;1;CRITICAL - Host Unreachable > (172.21.10.170) > > Jan 28 18:42:23 monitor nagios: SERVICE ALERT: hamrock.chpc.utah.edu;IPv4 > IPoIB Ping Check;CRITICAL;HARD;1;CRITICAL - Host Unreachable > (172.21.10.170) > Jan 28 18:43:23 monitor nagios: SERVICE ALERT: hamrock.chpc.utah.edu;IPv4 > IPoIB Ping Check;CRITICAL;HARD;1;CRITICAL - Host Unreachable > (172.21.10.170) > Jan 28 18:44:22 monitor nagios: SERVICE ALERT: hamrock.chpc.utah.edu;IPv4 > IPoIB Ping Check;CRITICAL;HARD;1;CRITICAL - Host Unreachable > (172.21.10.170) > Jan 28 18:45:22 monitor nagios: SERVICE ALERT: hamrock.chpc.utah.edu;IPv4 > IPoIB Ping Check;CRITICAL;HARD;1;CRITICAL - Host Unreachable > (172.21.10.170) > > > -- > *Robert V. Bolton* > Email: robert at robertvbolton.com > Web: http://robertvbolton.com > > > > ------------------------------------------------------------------------------ > Try before you buy = See our experts in action! > The most comprehensive online learning library for Microsoft developers > is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, > Metro Style Apps, more. Free future releases when you subscribe now! > http://p.sf.net/sfu/learndevnow-dev2 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 before you buy = See our experts in action! The most comprehensive online learning library for Microsoft developers is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, Metro Style Apps, more. Free future releases when you subscribe now! http://p.sf.net/sfu/learndevnow-dev2 -------------- 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 robert at robertvbolton.com Mon Jan 30 20:55:48 2012 From: robert at robertvbolton.com (Robert V. Bolton) Date: Mon, 30 Jan 2012 12:55:48 -0700 Subject: Check_Ping plugin not Incrementing Check Attempt Value In-Reply-To: References: Message-ID: On Mon, Jan 30, 2012 at 11:39 AM, Claudio Kuenzler wrote: > It looks like you use parent-child-relationships? > That would explain why it's written "Host Unreachable (172.21.10.170) " > instead of Host Down. > Was the parent of this host down as well? In this case, Nagios 'knows' > that it doesn't make sense to continue checks on the child hosts. > This host is duel homed using both Ethernet and Infiniband networks. To Nagios's point of view the parent of this host is the Ethernet switch that it is plugged into, which didn't go down at all during this outage. Host Unreachable is a valid ICMP code, so that's why the plugin reported this error, not because of any Nagios parent/child relationship. So in this situation Nagios should have increased the check attempts count by one until the max check attempts threshold was reached, thus sending out a service notification. Is this an error in Nagios or the check_ping plugin. I'm using Nagios v3.2.3 and check_ping v1.4.15 by the way. -- *Robert V. Bolton* Email: robert at robertvbolton.com Web: http://robertvbolton.com -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Try before you buy = See our experts in action! The most comprehensive online learning library for Microsoft developers is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, Metro Style Apps, more. Free future releases when you subscribe now! http://p.sf.net/sfu/learndevnow-dev2 -------------- 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 nagiosusers at edcint.co.nz Mon Jan 30 23:00:40 2012 From: nagiosusers at edcint.co.nz (Matthew Jurgens) Date: Tue, 31 Jan 2012 09:00:40 +1100 Subject: rab@walkermartyn.co.uk - Re: NRPE/NSClient++ CheckCPU Error? - Email found in subject In-Reply-To: References: Message-ID: <4F271308.3080100@edcint.co.nz> On 31/01/2012 3:57 AM, Robert Jackson wrote: > > I'm trying out check_wmi_plus at the moment. I've got some basic tests > working from a command line (namely checkuptime, checkmem and > checkdrivesize). All well and good. However my problems start when I > try to run checkcpu within a Nagios environment -- "UNKNOWN - > Permission denied when trying to store the state data. Sometimes this > happens if you have been testing the plugin from the command line as a > different user to the Nagios process user." is being displayed. It > works just fine from a command line. > The error message for that problem is very explicit. The rest of the that message that you didn't paste into your message tells you what you need to do It will say something along the lines of: "You will need to change the permissions on the file or remove it. The actual error text is: Can't create /tmp/cwpss_checkcpu_.state" Do what it says and you should be ok > Also I can't for the life of me get the checkts --s sessions(2003) > working at all "WARNING: Could not correctly parse "customfield" > definition in ini file: (for checkts sessions2003)" is being displayed. > > Something might not be quite right with the ini files you have. Try this - 1) Try downloading them again, try the command again 2) Remove the ini files one at time, running the command after each removal until the error goes away. Leave check_wmi_plus.ini to last as that is the one that contains the checkts checks. This should identify which one has the error. 3) Zip/tar them up and send them to me -- Smartmon System Monitoring www.smartmon.com.au -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Try before you buy = See our experts in action! The most comprehensive online learning library for Microsoft developers is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, Metro Style Apps, more. Free future releases when you subscribe now! http://p.sf.net/sfu/learndevnow-dev2 -------------- 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 rab at walkermartyn.co.uk Tue Jan 31 10:01:26 2012 From: rab at walkermartyn.co.uk (Robert Jackson) Date: Tue, 31 Jan 2012 09:01:26 -0000 Subject: rab@walkermartyn.co.uk - Re: rab@walkermartyn.co.uk - Re: NRPE/NSClient++ CheckCPU Error? - Email found in subject - Email found in subject References: Message-ID: The permission denied issue was related to incorrectly set permissions against the 'tmp' directory. I have corrected that and I can now run the command successfully (test plugin within Centreon). The bigger issue I now have is that although the commands (checkcpu, checkdisksize, checkmem and checkuptime) work from a command prompt and within the Centreon test plugin (I sometimes have to run the command twice in quick succession to get results back), when I activate them within Nagios, I get:" UNKNOWN - The WMI query had problems. You might have your username/password wrong or the user's access level is too low. Wmic error text on the next line.". Any ideas what I could be doing wrong? From: Matthew Jurgens [mailto:nagiosusers at edcint.co.nz] Sent: Monday 30 January 2012 22:01 To: Robert Jackson Cc: Nagios Users List Subject: rab at walkermartyn.co.uk - Re: [Nagios-users] rab at walkermartyn.co.uk - Re: NRPE/NSClient++ CheckCPU Error? - Email found in subject - Email found in subject On 31/01/2012 3:57 AM, Robert Jackson wrote: I'm trying out check_wmi_plus at the moment. I've got some basic tests working from a command line (namely checkuptime, checkmem and checkdrivesize). All well and good. However my problems start when I try to run checkcpu within a Nagios environment - "UNKNOWN - Permission denied when trying to store the state data. Sometimes this happens if you have been testing the plugin from the command line as a different user to the Nagios process user." is being displayed. It works just fine from a command line. The error message for that problem is very explicit. The rest of the that message that you didn't paste into your message tells you what you need to do It will say something along the lines of: "You will need to change the permissions on the file or remove it. The actual error text is: Can't create /tmp/cwpss_checkcpu_.state" Do what it says and you should be ok Also I can't for the life of me get the checkts -s sessions(2003) working at all "WARNING: Could not correctly parse "customfield" definition in ini file: (for checkts sessions2003)" is being displayed. Something might not be quite right with the ini files you have. Try this - 1) Try downloading them again, try the command again 2) Remove the ini files one at time, running the command after each removal until the error goes away. Leave check_wmi_plus.ini to last as that is the one that contains the checkts checks. This should identify which one has the error. 3) Zip/tar them up and send them to me -- Smartmon System Monitoring www.smartmon.com.au ************************************************************************ The information in this internet E-mail is confidential and is intended solely for the addressee. Access, copying or re-use of information in it by anyone else is unauthorised. Any views or opinions presented are solely those of the author and do not necessarily represent those of Walker Martyn Ltd or any of its affiliates. If you are not the intended recipient please contact administrator at walkermartyn.co.uk Walker Martyn Ltd, company number SC197533. Company is registered in Scotland and has its registered office at 1 Park Circus Place, Glasgow G3 6AH, UK. **************************************************************** -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Keep Your Developer Skills Current with LearnDevNow! The most comprehensive online learning library for Microsoft developers is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, Metro Style Apps, more. Free future releases when you subscribe now! http://p.sf.net/sfu/learndevnow-d2d -------------- 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 Tue Jan 31 10:03:44 2012 From: ck at claudiokuenzler.com (Claudio Kuenzler) Date: Tue, 31 Jan 2012 10:03:44 +0100 Subject: Check_Ping plugin not Incrementing Check Attempt Value In-Reply-To: References: Message-ID: Yes, you're right. But what's strange in your log are also the missing SOFT states, where are they? Did you define the service to be checked only once (max_check_attempts 1), every minute (check_interval and retry_interval 1) ? Here's an example of a typical soft-to-hard-change: Jan 31 05:15:09 nagios-server nagios: SERVICE ALERT: fileserver;Drive Space F:;WARNING;SOFT;1;f:\ - total: 49.99 Gb - used: 45.80 Gb (92%) - free 4.19 Gb (8%) Jan 31 05:18:09 nagios-server nagios: SERVICE ALERT: fileserver;Drive Space F:;WARNING;SOFT;2;f:\ - total: 49.99 Gb - used: 45.80 Gb (92%) - free 4.19 Gb (8%) Jan 31 05:21:09 nagios-server nagios: SERVICE ALERT: fileserver;Drive Space F:;WARNING;HARD;3;f:\ - total: 49.99 Gb - used: 45.80 Gb (92%) - free 4.19 Gb (8%) The 3rd check was handled as HARD state. I'm sure you know how that all works, but the missing SOFT states are strange anyhow. Could you post the complete definition of this service? Maybe that'll give us a hint. Another question: Is the "Ping Check" used for the same host for which the check is defined for (host_name) or is this just a ping to another remote host? If the line was down, the target host was definitely down as well, and for Nagios it wouldn't make sense to send notifications for the services defined on a host which is down. On Mon, Jan 30, 2012 at 8:55 PM, Robert V. Bolton wrote: > On Mon, Jan 30, 2012 at 11:39 AM, Claudio Kuenzler > wrote: > >> It looks like you use parent-child-relationships? >> That would explain why it's written "Host Unreachable (172.21.10.170) " >> instead of Host Down. >> Was the parent of this host down as well? In this case, Nagios 'knows' >> that it doesn't make sense to continue checks on the child hosts. >> > > This host is duel homed using both Ethernet and Infiniband networks. To > Nagios's point of view the parent of this host is the Ethernet switch that > it is plugged into, which didn't go down at all during this outage. Host > Unreachable is a valid ICMP code, so that's why the plugin reported this > error, not because of any Nagios parent/child relationship. > > So in this situation Nagios should have increased the check attempts count > by one until the max check attempts threshold was reached, thus sending out > a service notification. Is this an error in Nagios or the check_ping > plugin. I'm using Nagios v3.2.3 and check_ping v1.4.15 by the way. > > -- > *Robert V. Bolton* > Email: robert at robertvbolton.com > Web: http://robertvbolton.com > > > ------------------------------------------------------------------------------ > Try before you buy = See our experts in action! > The most comprehensive online learning library for Microsoft developers > is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, > Metro Style Apps, more. Free future releases when you subscribe now! > http://p.sf.net/sfu/learndevnow-dev2 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 -------------- ------------------------------------------------------------------------------ Keep Your Developer Skills Current with LearnDevNow! The most comprehensive online learning library for Microsoft developers is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, Metro Style Apps, more. Free future releases when you subscribe now! http://p.sf.net/sfu/learndevnow-d2d -------------- 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 Patrick.Plattner at gkndriveline.com Tue Jan 31 11:07:02 2012 From: Patrick.Plattner at gkndriveline.com (Patrick Plattner) Date: Tue, 31 Jan 2012 11:07:02 +0100 Subject: unregister Message-ID: <047DAAF23F6A954F9A13521E21BC358FC4EAEA@MAILSRV010.gkn.com> -------------------------------------------------------------------------- This e-mail and any attachments transmitted with it contain information which is confidential, intended solely for the addressee(s) and which may also be privileged or exempt from disclosure under applicable law.?If you are not the addressee(s), or have received this e-mail in error, please notify the sender immediately, delete it from your system and do not copy, print, disclose or use any part of it or its attachments. Internet communications are not guaranteed to be secure or free of any virus.?The GKN Group does not accept liability for any loss or damage arising in any way from changes to this e-mail or its attachments which may occur in transmission due to network, machine or software failure or manufacturer or operator error, or from unauthorised access or interference with internet communications by any third party or from the transmission of any viruses. Any opinion or other information in this e-mail or its attachments that does not relate to the business of the GKN Group or any part of it is personal to the sender and is not given or in any way endorsed by the GKN Group or any part of it. ? -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Keep Your Developer Skills Current with LearnDevNow! The most comprehensive online learning library for Microsoft developers is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, Metro Style Apps, more. Free future releases when you subscribe now! http://p.sf.net/sfu/learndevnow-d2d -------------- 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