Hi, You need to reset the windows performance counters: C:\windows\system32\lodctr \R
Regards, Koen -----Original Message----- From: [email protected] [mailto:[email protected]] Sent: 2010-03-09 18:42 To: [email protected] Subject: Nagios-users Digest, Vol 46, Issue 14 Send Nagios-users mailing list submissions to [email protected] To subscribe or unsubscribe via the World Wide Web, visit https://lists.sourceforge.net/lists/listinfo/nagios-users or, via email, send a message with subject or body 'help' to [email protected] You can reach the person managing the list at [email protected] When replying, please edit your Subject line so it is more specific than "Re: Contents of Nagios-users digest..." Today's Topics: 1. Re: Notification Interval set to 0 not working as per doc (Jatin Davey) 2. Re: priority: host or service who's really on top? (Jim Avery) 3. Re: Monitoring a process with its pid (Jatin Davey) 4. Re: Host/Svc Deps (Jim Avery) 5. Nagios DST bug and upcoming DST-time switch in Europe (Mark Elsen) 6. Re: Nagios DST bug and upcoming DST-time switch in Europe (Ton Voon) 7. Re: Streamline Alerts/Notifications for user group (Martin Melin) 8. NSClient - ERROR: Failed to get PDH value. (Jatin Davey) 9. Restrict user only to enable/disable checks (Jelle Smet) 10. Re: Streamline Alerts/Notifications for user group (Juki) 11. NRPE install vs. SSL (Gezina Dekker) 12. Re: NRPE install vs. SSL (Juki) 13. Re: NRPE install vs. SSL (Richard Quintin) 14. Re: check_by_ssh from a different username (Marc Powell) 15. Re: Notification Interval set to 0 not working as per doc (Marc Powell) 16. Re: NSClient - ERROR: Failed to get PDH value. (Marc Powell) 17. Re: Restrict user only to enable/disable checks (Marc Powell) 18. Re: check_by_ssh from a different username (Matt Simmons) 19. Re: NRPE install vs. SSL (Gezina Dekker) 20. Re: priority: host or service who's really on top? (alexus) 21. Re: priority: host or service who's really on top? (Morris, Patrick) 22. check_openmanage: "Failed to load external entity" with OMSA v5.3.0 on 2003 (C. Bensend) 23. Re: NSClient - ERROR: Failed to get PDH value. (Jim Avery) 24. event handler script not executing (Rick) 25. Re: check_openmanage: "Failed to load external entity" with OMSA v5.3.0 on 2003 (Trond Hasle Amundsen) ---------------------------------------------------------------------- Message: 1 Date: Tue, 09 Mar 2010 13:20:11 +0530 From: Jatin Davey <[email protected]> Subject: Re: [Nagios-users] Notification Interval set to 0 not working as per doc To: Jim Avery <[email protected]> Cc: Nagios Mailinglist <[email protected]> Message-ID: <[email protected]> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Please let me know what needs to be done , i am kind of receving 1000 notifications per day for the same hosts. Thanks Jatin On 3/8/2010 9:54 AM, Jatin Davey wrote: > Hi Jim > > Replies to the questions that you had asked about the issue: > > 1. I do not have any escalations defined. > > 2. Given below is the output from one of the host as found in the > object.cache file: > > define host { > host_name Windows-xxxx > alias Windows XP PC > address x.x.x.x > check_period 24x7 > check_command check-host-alive > contact_groups xxxx > notification_period 24x7 > initial_state o > check_interval 2.000000 > retry_interval 1.000000 > max_check_attempts 2 > active_checks_enabled 1 > passive_checks_enabled 1 > obsess_over_host 1 > event_handler_enabled 1 > low_flap_threshold 0.000000 > high_flap_threshold 0.000000 > flap_detection_enabled 1 > flap_detection_options o,d,u > freshness_threshold 0 > check_freshness 0 > notification_options d,r,f,s > notifications_enabled 1 > notification_interval 0.000000 > first_notification_delay 0.000000 > stalking_options n > process_perf_data 1 > failure_prediction_enabled 1 > retain_status_information 1 > retain_nonstatus_information 1 > } > > Please let me know if any further inputs are needed. > > Thanks > Jatin > > > On 3/5/2010 8:04 PM, Jim Avery wrote: >> On 5 March 2010 10:16, Jatin Davey<[email protected]> wrote: >>> Hi >>> >>> The Nagios documentation says that when you set the "Notification >>> Interval" to 0 , it will notify with an email alert only once when >>> the service state goes to "down" from "up" , it will then again >>> notify when the service comes back to "up" state , correct me if am wrong. >>> >>> But when i set this to 0 , i am still getting email notifications >>> every 10 mins for the service which is in "down" state for more than one day. >>> >>> Is this is a bug or am i missing something here , Please let me know. >> Bit of a long shot, but do you have any escalations defined? >> >> Also, check what the service or host definition looks like in your >> objects.cache file and post it here if you would like it checked-over. >> ------------------------------ Message: 2 Date: Tue, 9 Mar 2010 07:56:36 +0000 From: Jim Avery <[email protected]> Subject: Re: [Nagios-users] priority: host or service who's really on top? To: [email protected] Cc: Nagios Users <[email protected]> Message-ID: <[email protected]> Content-Type: text/plain; charset=ISO-8859-1 On 8 March 2010 22:16, alexus <[email protected]> wrote: > if i define my host to be checked/notify only at certain time frame, > let's say 10-18 yet service states 24/7 ... who takes priority? host's > definition or service? If the service check fails, I think Nagios would check the host anyway. You might like to run a test to confirm this. ------------------------------ Message: 3 Date: Tue, 09 Mar 2010 13:27:25 +0530 From: Jatin Davey <[email protected]> Subject: Re: [Nagios-users] Monitoring a process with its pid To: Matt Simmons <[email protected]> Cc: [email protected] Message-ID: <[email protected]> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Thanks Matt, It solved my problem. Thanks Jatin On 3/8/2010 9:01 PM, Matt Simmons wrote: > If you have snmp enabled on the hosts, you can pull that information out: > > ~$ snmpwalk -v 2c -c COMMUNITY myhost.mydomain.com > HOST-RESOURCES-MIB::hrSWRunName.3309 > HOST-RESOURCES-MIB::hrSWRunName.3309 = STRING: "crond" > > > > On Mon, Mar 8, 2010 at 8:10 AM, Jatin Davey<[email protected]> wrote: > >> Let me re-phrase it a little , >> >> Basically what i want is to give the process id as the input and make >> sure on that target machine i have the process with the given id >> running , once it stops there might not be the process running with >> that id and hence i need to raise an email notification alert. >> >> Thanks >> Jatin >> >> On 3/8/2010 5:41 PM, Jatin Davey wrote: >> >>> Hi All >>> >>> Do we have a plugin that can monitor process id (pid) on a target >>> machine , the target machine could be anything such as windows , >>> linux , solaris etc and alert with an email notification when the >>> process id changes. >>> >>> Appreciate your responses. >>> >>> Thanks >>> Jatin >>> >>> -------------------------------------------------------------------- >>> ---------- Download Intel® Parallel Studio Eval Try the new >>> software tools for yourself. Speed compiling, find bugs proactively, >>> and fine-tune applications for parallel performance. >>> See why Intel Parallel Studio got high marks during beta. >>> http://p.sf.net/sfu/intel-sw-dev >>> _______________________________________________ >>> Nagios-users mailing list >>> [email protected] >>> https://lists.sourceforge.net/lists/listinfo/nagios-users >>> ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. >>> ::: Messages without supporting info will risk being sent to >>> /dev/null >>> >>> >>> >> --------------------------------------------------------------------- >> --------- Download Intel® Parallel Studio Eval Try the new >> software tools for yourself. Speed compiling, find bugs proactively, >> and fine-tune applications for parallel performance. >> See why Intel Parallel Studio got high marks during beta. >> http://p.sf.net/sfu/intel-sw-dev >> _______________________________________________ >> Nagios-users mailing list >> [email protected] >> https://lists.sourceforge.net/lists/listinfo/nagios-users >> ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. >> ::: Messages without supporting info will risk being sent to >> /dev/null >> >> > > > ------------------------------ Message: 4 Date: Tue, 9 Mar 2010 08:01:30 +0000 From: Jim Avery <[email protected]> Subject: Re: [Nagios-users] Host/Svc Deps To: "Joseph L. Casale" <[email protected]> Cc: "[email protected]" <[email protected]> Message-ID: <[email protected]> Content-Type: text/plain; charset=ISO-8859-1 On 9 March 2010 02:47, Joseph L. Casale <[email protected]> wrote: > Is it possible to make hosts dependant on single services from another host? > An example being a monitored vpn tunnel on a firewall, and the hosts it provides. > The firewall may very well be up, but the tunnel status alone dictates > the availability of the hosts it provides. > > >From what I gather, there are only host or service deps, also making > >groups > such that all the services of a host depend on one service but the > host check would remain? I'm not sure. I would probably define the tunnel as a host in its own right. A 'host' doesn't always have to be a physical box. ------------------------------ Message: 5 Date: Tue, 9 Mar 2010 09:19:09 +0100 From: Mark Elsen <[email protected]> Subject: [Nagios-users] Nagios DST bug and upcoming DST-time switch in Europe To: [email protected] Message-ID: <[email protected]> Content-Type: text/plain; charset=ISO-8859-1 Nagios 3.2.0 -------------------- - By the end of the month, Europe will switch to DST. Will I be affected by the Nagios DST-BUG which , which results in NAGIOS becoming dis-functional ? Which countermeasures can I take to prevent being struck by this problem ? M. ------------------------------ Message: 6 Date: Tue, 9 Mar 2010 08:32:59 +0000 From: Ton Voon <[email protected]> Subject: Re: [Nagios-users] Nagios DST bug and upcoming DST-time switch in Europe To: Nagios Users Mailinglist <[email protected]> Message-ID: <[email protected]> Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes On 9 Mar 2010, at 08:19, Mark Elsen wrote: > Nagios 3.2.0 > -------------------- > > - By the end of the month, Europe will switch to DST. > Will I be affected by the Nagios DST-BUG which , which results in > NAGIOS becoming > dis-functional ? > > Which countermeasures can I take to prevent being struck by this > problem ? > The bug, which stops all Nagios monitoring for 24 hours, occurs when "time moves backwards". This does not happen when "time moves forward". However, any other timeperiods (such as 09:00-17:00) maybe incorrect by an hour, which is obviously not as serious. This is true for Nagios 3.2.0. Ton ------------------------------ Message: 7 Date: Tue, 9 Mar 2010 10:13:58 +0100 From: Martin Melin <[email protected]> Subject: Re: [Nagios-users] Streamline Alerts/Notifications for user group To: Nagios Users Mail-list <[email protected]> Message-ID: <[email protected]> Content-Type: text/plain; charset=ISO-8859-1 On Tue, Mar 9, 2010 at 7:57 AM, Juki <[email protected]> wrote: > Hi list, > > I'm running Nagios-3.2.0 with plugins-1.4.14 on an openSuSE 11.0 platform. > I have setup both e-mail and sms notifications for different groups of users > based on the instructions here; > > http://nagios.sourceforge.net/docs/3_0/quickstart-opensuse.html > > I would like to be able to send host DOWN *only* notifications/alerts to a > particular user group. In other words, I would like that user group to > receive alerts ONLY when a host goes DOWN > and no other alerts/notifications whatsoever. I have looked at on-call > rotations but that doesn't seem to suite my need. > > Has anyone got suggestions on how to implement this? If these users should never get anything else than DOWN notifications, use service_notification_options and host_notification_options in the contact definition. You could also do this with escalations, but it sounds like the above will work for you? ------------------------------ Message: 8 Date: Tue, 09 Mar 2010 14:45:51 +0530 From: Jatin Davey <[email protected]> Subject: [Nagios-users] NSClient - ERROR: Failed to get PDH value. To: Nagios Mailinglist <[email protected]> Message-ID: <[email protected]> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Hi I am getting this error when i monitor my windows box using NSClient++ NSClient - ERROR: Failed to get PDH value. Please let me know what can be done. Thanks Jatin ------------------------------ Message: 9 Date: Tue, 09 Mar 2010 10:01:37 +0100 From: Jelle Smet <[email protected]> Subject: [Nagios-users] Restrict user only to enable/disable checks To: Nagios users <[email protected]> Message-ID: <[email protected]> Content-Type: text/plain; charset="utf-8" Hi list, I'm looking for a way to allow users do pretty much everything of the host and service commands except enabling & disabling them. I believe these are cmd_typ=16 (for all services on the host) cmd_typ=4 (for the host check) cmd_typ=6 (for a service check) There are a couple of things which come to my mind such as mod_security, or some other apache level restricting stuff. Has anyone experience in setting up something like this? It would be helpfull if people see a helpfull message saying, you're not allowed to execute this command, so they don't think the application isn't working. What are your thoughts? -- Jelle Smet http://www.smetj.net -------------- next part -------------- An HTML attachment was scrubbed... ------------------------------ Message: 10 Date: Tue, 9 Mar 2010 13:51:16 +0300 From: Juki <[email protected]> Subject: Re: [Nagios-users] Streamline Alerts/Notifications for user group To: Martin Melin <[email protected]> Cc: Nagios Users Mail-list <[email protected]> Message-ID: <[email protected]> Content-Type: text/plain; charset="iso-8859-1" On 9 March 2010 12:13, Martin Melin <[email protected]> wrote: > If these users should never get anything else than DOWN notifications, > use service_notification_options and host_notification_options in the > contact definition. > > Thanks, Martin I have chosen to implement this method. I'll monitor it over the course of the day and return to the list with some results. -------------- next part -------------- An HTML attachment was scrubbed... ------------------------------ Message: 11 Date: Tue, 9 Mar 2010 12:38:30 +0000 From: Gezina Dekker <[email protected]> Subject: [Nagios-users] NRPE install vs. SSL To: [email protected] Message-ID: <[email protected]> Content-Type: text/plain; charset="iso-8859-1" Hi all, During my NRPE install on Solaris 10, I ran into the problem that the SSL libraries are not visible to the install process. The install process is looking for it in /usr but in effect there is a link in /usr/include/openssl that points to /usr/sfw/include/openssl. Some products allow you to specify parms when you install, can I do the same here to get past this hurdle? Regards Gezina -------------- next part -------------- An HTML attachment was scrubbed... ------------------------------ Message: 12 Date: Tue, 9 Mar 2010 16:02:47 +0300 From: Juki <[email protected]> Subject: Re: [Nagios-users] NRPE install vs. SSL To: Gezina Dekker <[email protected]> Cc: [email protected] Message-ID: <[email protected]> Content-Type: text/plain; charset="windows-1252" Hi Gezina, On 9 March 2010 15:38, Gezina Dekker <[email protected]> wrote: > Hi all, > > During my NRPE install on Solaris 10, I ran into the problem that the SSL > libraries are not visible to the install process. The install process is > looking for it in /usr but in effect there is a link in /usr/include/openssl > that points to /usr/sfw/include/openssl. > > Some products allow you to specify parms when you install, can I do the > same here to get past this hurdle? > > Go to your NRPE install directory and run this; ./configure ?with-ssl=<path-to-your-ssl_dir> ?with-ssl-lib=<path-to-your-ssl_lib> I have also found this link to be quite helpful; http://www.utahsysadmin.com/2008/03/14/configuring-nagios-plugins-nrpe-o n-solaris-10/ Regards, Juki -------------- next part -------------- An HTML attachment was scrubbed... ------------------------------ Message: 13 Date: Tue, 9 Mar 2010 07:49:25 -0500 From: Richard Quintin <[email protected]> Subject: Re: [Nagios-users] NRPE install vs. SSL To: Gezina Dekker <[email protected]> Cc: [email protected] Message-ID: <[email protected]> Content-Type: text/plain; charset=ISO-8859-1 ./configure -h will list the options which includes: --enable-ssl enables native SSL support --with-ssl=DIR sets location of the SSL installation --with-ssl-inc=DIR sets location of the SSL include files --with-ssl-lib=DIR sets location of the SSL libraries So you should be able to do something like ./configure --enable-ssl --with-ssl-inc=/usr/sfw/include/openssl --with-ssl-lib=/usr/sfw/lib/openssl On Tue, Mar 9, 2010 at 7:38 AM, Gezina Dekker <[email protected]> wrote: > Hi all, > > During my NRPE install on Solaris 10, I ran into the problem that the SSL > libraries are not visible to the install process. The install process is > looking for it in /usr but in effect there is a link in /usr/include/openssl > that points to /usr/sfw/include/openssl. > > Some products allow you to specify parms when you install, can I do the same > here to get past this hurdle? > > Regards > > Gezina > ------------------------------------------------------------------------ ------ > Download Intel® Parallel Studio Eval > Try the new software tools for yourself. Speed compiling, find bugs > proactively, and fine-tune applications for parallel performance. > See why Intel Parallel Studio got high marks during beta. > http://p.sf.net/sfu/intel-sw-dev > _______________________________________________ > Nagios-users mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting > any issue. > ::: Messages without supporting info will risk being sent to /dev/null > -- Richard Quintin, DBA Database & Application Administration Virginia Tech ~ http://www.familieslikeme.org/ ------------------------------ Message: 14 Date: Tue, 9 Mar 2010 07:23:18 -0600 From: Marc Powell <[email protected]> Subject: Re: [Nagios-users] check_by_ssh from a different username To: nagios-users Mailinglist <[email protected]> Message-ID: <[email protected]> Content-Type: text/plain; charset=us-ascii On Mar 9, 2010, at 12:46 AM, Morris, Patrick wrote: >> How can I use check_by_ssh to monitor remote servers, when the >> username on the remote box is different from the Nagios user name? > > Install the private keys of the remote users on the Nagios machine under > the nagios user. You've already determined they work, so now copy them > over. Actually, it's the opposite. He needs to add the nagios user's public key to the authorized_keys file for each user on the remote machines. Moving private keys around is a security no-no. -- Marc ------------------------------ Message: 15 Date: Tue, 9 Mar 2010 07:27:06 -0600 From: Marc Powell <[email protected]> Subject: Re: [Nagios-users] Notification Interval set to 0 not working as per doc To: Nagios Mailinglist <[email protected]> Message-ID: <[email protected]> Content-Type: text/plain; charset=us-ascii On Mar 9, 2010, at 1:50 AM, Jatin Davey wrote: > Please let me know what needs to be done , i am kind of receving 1000 > notifications per day for the same hosts. >> 2. Given below is the output from one of the host as found in the >> object.cache file: >> >> define host { This has no relevance since you're asking about service notifications. Look for the service definition in question in objects.cache. Verify that retry_interval is what you expect it to be. If it is, you have multiple nagios daemons running, escalations defined or some problem with your MTA not removing messages from queue after delivery. -- Marc ------------------------------ Message: 16 Date: Tue, 9 Mar 2010 07:31:23 -0600 From: Marc Powell <[email protected]> Subject: Re: [Nagios-users] NSClient - ERROR: Failed to get PDH value. To: Nagios Mailinglist <[email protected]> Message-ID: <[email protected]> Content-Type: text/plain; charset=us-ascii On Mar 9, 2010, at 3:15 AM, Jatin Davey wrote: > Hi > > I am getting this error when i monitor my windows box using NSClient++ > > NSClient - ERROR: Failed to get PDH value. Google says it may be this -- http://www.techadre.com/content/error-nsclient-counter-errors -- Marc ------------------------------ Message: 17 Date: Tue, 9 Mar 2010 07:51:27 -0600 From: Marc Powell <[email protected]> Subject: Re: [Nagios-users] Restrict user only to enable/disable checks To: Nagios users <[email protected]> Message-ID: <[email protected]> Content-Type: text/plain; charset=us-ascii On Mar 9, 2010, at 3:01 AM, Jelle Smet wrote: > Hi list, > > > I'm looking for a way to allow users do pretty much everything of the host and service commands except enabling & disabling them. > > I believe these are > > cmd_typ=16 (for all services on the host) > cmd_typ=4 (for the host check) > cmd_typ=6 (for a service check) > > There are a couple of things which come to my mind such as mod_security, or some other apache level restricting stuff. I expect that you could use htaccess to do this. Completely off the top of my head and untested but try something like this in the .htaccess file in the sbin directory -- RewriteEngine on RewriteCond %{QUERY_STRING} ^(cmd_type=16|cmd_type=4|cmd_type=6) [OR] RewriteRule ^(.*)$ /not_allowed.html [R,L] -- Marc ------------------------------ Message: 18 Date: Tue, 9 Mar 2010 09:46:13 -0500 From: Matt Simmons <[email protected]> Subject: Re: [Nagios-users] check_by_ssh from a different username To: Marc Powell <[email protected]> Cc: nagios-users Mailinglist <[email protected]> Message-ID: <[email protected]> Content-Type: text/plain; charset=UTF-8 Yes. And you can simplify this by running ssh-copy-id as the Nagios user: -- nag...@monserv:~$ ssh-copy-id remu...@remhost remu...@remhost's password: Now try logging into the machine, with "ssh '[email protected]'", and check in: .ssh/authorized_keys to make sure we haven't added extra keys that you weren't expecting. -- Most Linux systems that I've seen provide this script. Other Unices may not have it. If it's there, it makes it much faster than manually copying and pasting public keys. --Matt On Tue, Mar 9, 2010 at 8:23 AM, Marc Powell <[email protected]> wrote: > > On Mar 9, 2010, at 12:46 AM, Morris, Patrick wrote: > >>> How can I use check_by_ssh to monitor remote servers, when the >>> username on the remote box is different from the Nagios user name? >> >> Install the private keys of the remote users on the Nagios machine under >> the nagios user. ?You've already determined they work, so now copy them >> over. > > Actually, it's the opposite. He needs to add the nagios user's public key to the authorized_keys file for each user on the remote machines. > > Moving private keys around is a security no-no. > > -- > Marc > > > ------------------------------------------------------------------------ ------ > Download Intel® Parallel Studio Eval > Try the new software tools for yourself. Speed compiling, find bugs > proactively, and fine-tune applications for parallel performance. > See why Intel Parallel Studio got high marks during beta. > http://p.sf.net/sfu/intel-sw-dev > _______________________________________________ > Nagios-users mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > -- LITTLE GIRL: But which cookie will you eat FIRST? COOKIE MONSTER: Me think you have misconception of cookie-eating process. COOKIE MONSTER: Boy, I wish I were a sysadmin so I could go to the NJ-PICC Sysadmin Conference! http://www.picconf.org ------------------------------ Message: 19 Date: Tue, 9 Mar 2010 15:43:59 +0000 From: Gezina Dekker <[email protected]> Subject: Re: [Nagios-users] NRPE install vs. SSL To: [email protected] Message-ID: <[email protected]> Content-Type: text/plain; charset="iso-8859-1" Thank you. very much 2010/3/9 Richard Quintin <[email protected]<rich%[email protected]> > > ./configure -h will list the options which includes: > > --enable-ssl enables native SSL support > --with-ssl=DIR sets location of the SSL installation > --with-ssl-inc=DIR sets location of the SSL include files > --with-ssl-lib=DIR sets location of the SSL libraries > > > So you should be able to do something like > ./configure --enable-ssl --with-ssl-inc=/usr/sfw/include/openssl > --with-ssl-lib=/usr/sfw/lib/openssl > > On Tue, Mar 9, 2010 at 7:38 AM, Gezina Dekker <[email protected]> wrote: > > Hi all, > > > > During my NRPE install on Solaris 10, I ran into the problem that the SSL > > libraries are not visible to the install process. The install process is > > looking for it in /usr but in effect there is a link in > /usr/include/openssl > > that points to /usr/sfw/include/openssl. > > > > Some products allow you to specify parms when you install, can I do the > same > > here to get past this hurdle? > > > > Regards > > > > Gezina > > > ------------------------------------------------------------------------ ------ > > Download Intel® Parallel Studio Eval > > Try the new software tools for yourself. Speed compiling, find bugs > > proactively, and fine-tune applications for parallel performance. > > See why Intel Parallel Studio got high marks during beta. > > http://p.sf.net/sfu/intel-sw-dev > > _______________________________________________ > > Nagios-users mailing list > > [email protected] > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: Please include Nagios version, plugin version (-v) and OS when > reporting > > any issue. > > ::: Messages without supporting info will risk being sent to /dev/null > > > > > > -- > Richard Quintin, DBA > Database & Application Administration > Virginia Tech > > ~ > http://www.familieslikeme.org/ > -------------- next part -------------- An HTML attachment was scrubbed... ------------------------------ Message: 20 Date: Tue, 9 Mar 2010 11:25:02 -0500 From: alexus <[email protected]> Subject: Re: [Nagios-users] priority: host or service who's really on top? To: Jim Avery <[email protected]> Cc: Nagios Users <[email protected]> Message-ID: <[email protected]> Content-Type: text/plain; charset=UTF-8 > If the service check fails, I think Nagios would check the host > anyway. ?You might like to run a test to confirm this. testing yes, but your answer didn't cover any part of my question at all other then you suggest to test it.. anyone else actually knows the answer? i was thinking maybe not to specify timeperiod inside of service and let it take it from host definition? -- http://alexus.org/ ------------------------------ Message: 21 Date: Tue, 09 Mar 2010 08:32:50 -0800 From: "Morris, Patrick" <[email protected]> Subject: Re: [Nagios-users] priority: host or service who's really on top? To: "[email protected]" <[email protected]> Cc: Nagios Users <[email protected]> Message-ID: <[email protected]> Content-Type: text/plain; charset=UTF-8; format=flowed alexus wrote: >> If the service check fails, I think Nagios would check the host >> anyway. You might like to run a test to confirm this. >> > > testing yes, but your answer didn't cover any part of my question at > all other then you suggest to test it.. > > anyone else actually knows the answer? i was thinking maybe not to > specify timeperiod inside of service and let it take it from host > definition? > Hosts and services are independent of each other; neither has precedence. If you specify a timeperiod on your service checks, it applies to your service checks. If you apply it to your host checks, it applies to your host checks. They are two different things. ------------------------------ Message: 22 Date: Tue, 9 Mar 2010 10:40:03 -0600 From: "C. Bensend" <[email protected]> Subject: [Nagios-users] check_openmanage: "Failed to load external entity" with OMSA v5.3.0 on 2003 To: [email protected] Message-ID: <279e9b559f2d76b3cd06182b043281a3.squir...@webmail.stinkweasel.net> Content-Type: text/plain;charset=iso-8859-1 Hey folks, I am working my way through some more Windows NSClient++ installs, and I've hit a 2003 server that is not happy with check_openmanage (please forgive the horrible formatting): C:\Program Files\NSClient++>check_openmanage -e -p -b bat_charge=ALL/ctrl_fw=ALL /ctrl_driver=ALL --omreport F:\dellopenmanage\oma\bin\omreport.exe I/O warning : failed to load external entity "E:/dellopenmanage/xslroot/oma/cli/ omclpr.xsl" error xsltParseStylesheetFile : cannot parse E:/dellopenmanage/xslroot/oma/cli/omclpr. xsl I/O warning : failed to load external entity "E:/dellopenmanage/xslroot/oma/cli/ omclpr.xsl" error xsltParseStylesheetFile : cannot parse E:/dellopenmanage/xslroot/oma/cli/omclpr. xsl I/O warning : failed to load external entity "E:/dellopenmanage/xslroot/oma/cli/ omclpr.xsl" error xsltParseStylesheetFile : cannot parse E:/dellopenmanage/xslroot/oma/cli/omclpr. xsl Couldn't close filehandle for command '"F:\dellopenmanage\oma\bin\omreport.exe" -? 2>&1': Problem running 'omreport storage controller': Error! XML Transformation failed Problem running 'omreport chassis memory': Error! XML Transformation failed Problem running 'omreport chassis fans': Error! XML Transformation failed Problem running 'omreport chassis pwrsupplies': Error! XML Transformation failed Problem running 'omreport chassis temps': Error! XML Transformation failed Problem running 'omreport chassis processors': Error! XML Transformation failed Problem running 'omreport chassis volts': Error! XML Transformation failed Problem running 'omreport chassis batteries': Error! XML Transformation failed Problem running 'omreport chassis pwrmonitoring': Error! XML Transformation fail ed Couldn't close filehandle for command '"F:\dellopenmanage\oma\bin\omreport.exe" chassis pwrmonitoring -fmt ssv': Problem running 'omreport chassis intrusion': Error! XML Transformation failed Couldn't close filehandle for command '"F:\dellopenmanage\oma\bin\omreport.exe" system esmlog -fmt ssv': ------ SYSTEM: N/A, SN: N/A *** Note that I specified F: for the path to OMSA, and the output is complaining about an external entity in E:. That is not a typo. This is OMSA version 5.3.0 which I have dozens of, and this is the first time I've seen this. This host is a DC, so while I believe it's probably a case of "uninstall OMSA and re-install OMSA", I'm hoping someone has seen this before and I can avoid the reboot. Trond? Anyone? Thanks much! Benny -- "Show me on the doll where the marketing touched you." -- "Mally" on Fazed.net ------------------------------ Message: 23 Date: Tue, 9 Mar 2010 17:27:52 +0000 From: Jim Avery <[email protected]> Subject: Re: [Nagios-users] NSClient - ERROR: Failed to get PDH value. To: Jatin Davey <[email protected]> Cc: Nagios Mailinglist <[email protected]> Message-ID: <[email protected]> Content-Type: text/plain; charset=ISO-8859-1 On 9 March 2010 09:15, Jatin Davey <[email protected]> wrote: > Hi > > I am getting this error when i monitor my windows box using NSClient++ > > NSClient - ERROR: Failed to get PDH value. > > Please let me know what can be done. > > Thanks > Jatin I think it simply means it can't get the performance counter. I would start by looking at the performance utility on the server itself and check you can see the relevant counter there. I believe I've seen this problem when performance counters are messed up one way or another, or one time when the performance counter had an unusual character in it. I expect you'll find more on the subject in the forum on the NSClient++ web site. ------------------------------ Message: 24 Date: Tue, 9 Mar 2010 14:04:06 +0000 (UTC) From: Rick <[email protected]> Subject: [Nagios-users] event handler script not executing To: [email protected] Message-ID: <[email protected]> Content-Type: text/plain; charset=us-ascii Hi all: Got Nagios core 3.2.0 on CentOS5. Been trying to get an event handler to execute but it will not. My configs; define service{ use local_service host_name my_host service_description NFS Check check_period 24x7 check_interval 20 max_check_attempts 4 check_command check_nrpe!check_nfs_mounts event_handler_enabled 1 event_handler remount-nfs!$SERVICESTATE$!$SERVICESTATETYPE$!$SERVICEATTEMPT$ notification_period 24x7 notification_interval 120 contact_groups colorado } define command{ command_name remount-nfs command_line $USER1$/eventhandlers/remount-nfs $SERVICESTATE$ $SERVICESTATETYPE$ $SERVICEATTEMPT$ } enable_event_handlers=1 in the nagios.cfg file The script itself is very simple. At CRITICAL/SOFT/3 and CRITCAL/HARD/4 the script will execute. Running at command line as UID=nagios it runs fine. sudo is configured and nagios can mount NFS. The entry in the nagios.log [1268099555] SERVICE_EVENT_HANDLER: my_host;NFS CHECK;CRITCAL;SOFT;3;remount-nfs!CRITCAL!SOFT!3 I have followed the process through and it will not execute the remount-nfs event handler command. All perms, dir & file, have been checked. Everything else is working as it should including the $SERVICE* macros. Just the script is not being executed. What is missing? Many thanks ------------------------------ Message: 25 Date: Tue, 09 Mar 2010 18:10:07 +0100 From: Trond Hasle Amundsen <[email protected]> Subject: Re: [Nagios-users] check_openmanage: "Failed to load external entity" with OMSA v5.3.0 on 2003 To: "C. Bensend" <[email protected]> Cc: [email protected] Message-ID: <[email protected]> Content-Type: text/plain; charset=us-ascii "C. Bensend" <[email protected]> writes: > I am working my way through some more Windows NSClient++ > installs, and I've hit a 2003 server that is not happy with > check_openmanage (please forgive the horrible formatting): > > > C:\Program Files\NSClient++>check_openmanage -e -p -b > bat_charge=ALL/ctrl_fw=ALL > /ctrl_driver=ALL --omreport F:\dellopenmanage\oma\bin\omreport.exe > > I/O warning : failed to load external entity > "E:/dellopenmanage/xslroot/oma/cli/ > omclpr.xsl" > error > xsltParseStylesheetFile : cannot parse > E:/dellopenmanage/xslroot/oma/cli/omclpr. > xsl > I/O warning : failed to load external entity > "E:/dellopenmanage/xslroot/oma/cli/ > omclpr.xsl" > error > xsltParseStylesheetFile : cannot parse > E:/dellopenmanage/xslroot/oma/cli/omclpr. > xsl > I/O warning : failed to load external entity > "E:/dellopenmanage/xslroot/oma/cli/ > omclpr.xsl" > error > xsltParseStylesheetFile : cannot parse > E:/dellopenmanage/xslroot/oma/cli/omclpr. > xsl > Couldn't close filehandle for command > '"F:\dellopenmanage\oma\bin\omreport.exe" > -? 2>&1': > Problem running 'omreport storage controller': Error! XML Transformation > failed > Problem running 'omreport chassis memory': Error! XML Transformation failed > Problem running 'omreport chassis fans': Error! XML Transformation failed > Problem running 'omreport chassis pwrsupplies': Error! XML Transformation > failed > > Problem running 'omreport chassis temps': Error! XML Transformation failed > Problem running 'omreport chassis processors': Error! XML Transformation > failed > Problem running 'omreport chassis volts': Error! XML Transformation failed > Problem running 'omreport chassis batteries': Error! XML Transformation > failed > Problem running 'omreport chassis pwrmonitoring': Error! XML > Transformation fail > ed > Couldn't close filehandle for command > '"F:\dellopenmanage\oma\bin\omreport.exe" > chassis pwrmonitoring -fmt ssv': > Problem running 'omreport chassis intrusion': Error! XML Transformation > failed > Couldn't close filehandle for command > '"F:\dellopenmanage\oma\bin\omreport.exe" > system esmlog -fmt ssv': > ------ SYSTEM: N/A, SN: N/A > > > *** Note that I specified F: for the path to OMSA, and the output > is complaining about an external entity in E:. That is not a typo. > > This is OMSA version 5.3.0 which I have dozens of, and this is > the first time I've seen this. > > This host is a DC, so while I believe it's probably a case of > "uninstall OMSA and re-install OMSA", I'm hoping someone has seen > this before and I can avoid the reboot. > > Trond? Anyone? I've seen XML errors from OpenManage when probing disks with broken firmware, but this seems to be something else. Do you get the same XML errors when you run the failing commands manually on the server? If so, I'm afraid there isn't much check_openmanage can do about it. A reinstall of OpenManage is probably the next logical step.. Cheers, -- Trond H. Amundsen <[email protected]> Center for Information Technology Services, University of Oslo ------------------------------ ------------------------------------------------------------------------ ------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev ------------------------------ _______________________________________________ Nagios-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/nagios-users End of Nagios-users Digest, Vol 46, Issue 14 ******************************************** ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ Nagios-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
