NSClient - ERROR: Failed to get PDH value

Jatin Davey jashokda at cisco.com
Wed Mar 10 09:57:17 CET 2010


It did not help , Still getting the same error.

Thanks
Jatin

On 3/10/2010 2:10 PM, Verhaeghe, Koen wrote:
>
> Hi,
>
> You need to reset the windows performance counters:
> C:\windows\system32\lodctr \R
>
> Regards,
> Koen
>
>
> -----Original Message-----
> From: nagios-users-request at lists.sourceforge.net
> [mailto:nagios-users-request at lists.sourceforge.net]
> Sent: 2010-03-09 18:42
> To: nagios-users at lists.sourceforge.net
> Subject: Nagios-users Digest, Vol 46, Issue 14
>
> Send Nagios-users mailing list submissions to
> 	nagios-users at lists.sourceforge.net
>
> 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
> 	nagios-users-request at lists.sourceforge.net
>
> You can reach the person managing the list at
> 	nagios-users-owner at lists.sourceforge.net
>
> 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<jashokda at cisco.com>
> Subject: Re: [Nagios-users] Notification Interval set to 0 not working
> 	as per doc
> To: Jim Avery<jim at jimavery.me.uk>
> Cc: Nagios Mailinglist<nagios-users at lists.sourceforge.net>
> Message-ID:<4B95FDB3.7040603 at cisco.com>
> 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<jashokda at cisco.com>   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<jim at jimavery.me.uk>
> Subject: Re: [Nagios-users] priority: host or service who's really on
> 	top?
> To: google at alexus.org
> Cc: Nagios Users<nagios-users at lists.sourceforge.net>
> Message-ID:
> 	<765d77c81003082356y7fd7a422sdd00b78fa8e18e68 at mail.gmail.com>
> Content-Type: text/plain; charset=ISO-8859-1
>
> On 8 March 2010 22:16, alexus<alexus at gmail.com>  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<jashokda at cisco.com>
> Subject: Re: [Nagios-users] Monitoring a process with its pid
> To: Matt Simmons<standalone.sysadmin at gmail.com>
> Cc: nagios-users at lists.sourceforge.net
> Message-ID:<4B95FF65.2090705 at cisco.com>
> 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<jashokda at cisco.com>
>>      
> 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
>>>> Nagios-users at lists.sourceforge.net
>>>> https://lists.sourceforge.net/lists/listinfo/nagios-users
>>>> ::: 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
>>> Nagios-users at lists.sourceforge.net
>>> https://lists.sourceforge.net/lists/listinfo/nagios-users
>>> ::: 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<jim at jimavery.me.uk>
> Subject: Re: [Nagios-users] Host/Svc Deps
> To: "Joseph L. Casale"<jcasale at activenetwerx.com>
> Cc: "nagios-users at lists.sourceforge.net"
> 	<nagios-users at lists.sourceforge.net>
> Message-ID:
> 	<765d77c81003090001k667241dev7e14b87e3f9758aa at mail.gmail.com>
> Content-Type: text/plain; charset=ISO-8859-1
>
> On 9 March 2010 02:47, Joseph L. Casale<jcasale at activenetwerx.com>
> 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<mark.elsen at gmail.com>
> Subject: [Nagios-users] Nagios DST bug and upcoming DST-time switch in
> 	Europe
> To: nagios-users at lists.sourceforge.net
> Message-ID:
> 	<f4334ce51003090019t4746627bg735bd869fa5ef727 at mail.gmail.com>
> 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<ton.voon at opsera.com>
> Subject: Re: [Nagios-users] Nagios DST bug and upcoming DST-time
> 	switch in	Europe
> To: Nagios Users Mailinglist<nagios-users at lists.sourceforge.net>
> Message-ID:<F07AE9B5-49A5-47B3-A346-993617DBD3BF at opsera.com>
> 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<mmelin at gmail.com>
> Subject: Re: [Nagios-users] Streamline Alerts/Notifications for user
> 	group
> To: Nagios Users Mail-list<nagios-users at lists.sourceforge.net>
> Message-ID:
> 	<e4a7509d1003090113w66087a76k492998e762908efa at mail.gmail.com>
> Content-Type: text/plain; charset=ISO-8859-1
>
> On Tue, Mar 9, 2010 at 7:57 AM, Juki<juki.emma at gmail.com>  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<jashokda at cisco.com>
> Subject: [Nagios-users] NSClient - ERROR: Failed to get PDH value.
> To: Nagios Mailinglist<nagios-users at lists.sourceforge.net>
> Message-ID:<4B9611C7.80800 at cisco.com>
> 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<nagios at smetj.net>
> Subject: [Nagios-users] Restrict user only to enable/disable checks
> To: Nagios users<nagios-users at lists.sourceforge.net>
> Message-ID:<b6ef1419eaa20b8afbf98a21cc1df00e at smetj.net>
> 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?
>    

------------------------------------------------------------------------------
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
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. 
::: Messages without supporting info will risk being sent to /dev/null





More information about the Users mailing list