check_proc & NTP

martinus.nel at scarceskills.com martinus.nel at scarceskills.com
Tue Oct 12 14:12:32 CEST 2004


Dear all,

I have tried the plugin-help list, but could not find an answer there, so:

I am having a minor issue with check_procs:


# ps -efl | grep ntp
5 S ntp       1076     1  0  75   0    -   598 schedu 10:14 ?       
00:00:00
[ntpd]

# /usr/lib/nagios/plugins/check_procs -c 1:1 -s RSZDT -a ntp
CRITICAL - 0 processes running with STATE = RSZDT, args ntp

# /usr/lib/nagios/plugins/check_procs -c 1:1 -a ntp
OK - 1 processes running with args ntp


Why is it that when I leave out RSZDT check_procs finds ntp, but when I use
RSZDT (just for testing, I want it to be RS) check_procs does not find ntp ?

Martinus.
--
---------------------------------------------------------------------------
DISCLAIMER
This e-mail message and any attachments are confidential and may also be a
privileged communication. It is intended solely for the person(s) to whom
it is addressed. If you are not the intended addressee of the message you
must take no action based on it. Please reply to this message to let us
know you received it in error and also delete the message from your system.
Internet e-mails are not necessarily secure and you should be mindful of
this when e-mailing us.

The contents of an attachment to this e-mail may contain software viruses
which could damage your own computer system. Whilst we have taken every
reasonable precaution to minimise this risk, we cannot accept liability for
any damage which you sustain as a result of software viruses. You should
carry out your own virus checks before opening the attachment.
---------------------------------------------------------------------------




-------------------------------------------------------
This SF.net email is sponsored by: IT Product Guide on ITManagersJournal
Use IT products in your business? Tell us what you think of them. Give us
Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
http://productguide.itmanagersjournal.com/guidepromo.tmpl
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: 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