[Nagiosplug-devel] [ nagiosplug-Bugs-1093493 ] 1.4beta1 check_procs doesn't work on Solaris

SourceForge.net noreply at sourceforge.net
Sun Jan 2 14:48:13 UTC 2005


Bugs item #1093493, was opened at 2004-12-30 16:02
Message generated for change (Comment added) made by mister_patient
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=397597&aid=1093493&group_id=29880

Category: None
Group: Release (specify)
>Status: Open
Resolution: None
Priority: 5
Submitted By: mister_patient (mister_patient)
Assigned to: Ton Voon (tonvoon)
Summary: 1.4beta1 check_procs doesn't work on Solaris

Initial Comment:
The 1.4beta1 check_procs module doesn't work on Solaris
8 or 9:

$ ./check_procs -v -v -w 1:1 -c 1:1 /etc/init
CMD: /bin/ps -Ao 's uid ppid vsz rss pcpu comm args'
PROCS CRITICAL: 0 processes with STATE = /etc/init


This was also true on 1.4.0alpha3, and maybe earlier as
well.

----------------------------------------------------------------------

>Comment By: mister_patient (mister_patient)
Date: 2005-01-02 16:47

Message:
Logged In: YES 
user_id=1187596

Sure enough, I was expecting the 1.3.1 behavior.  Next time
I'll RTFM.  Sorry for wasting your time.  Thanks.

----------------------------------------------------------------------

Comment By: Ton Voon (tonvoon)
Date: 2005-01-02 12:01

Message:
Logged In: YES 
user_id=664364

Mister_patient,

The -C flag is for the command without the full path as described in the 
--help output, so your command should work with -C init.

This has been changed from previous releases for consistency, as some 
platforms only give the short command name. This is detailed in the 
CHANGES file.

I'm placing this call into a pending state - please update if changes are 
still required.

Ton

----------------------------------------------------------------------

Comment By: mister_patient (mister_patient)
Date: 2005-01-01 17:38

Message:
Logged In: YES 
user_id=1187596

Had a typo in the command above.  Here's what I meant to
type, and the output I get:

$ ./check_procs -v -v -w 1:1 -c 1:1 -C /etc/init
PROCS CRITICAL: 0 processes with command name '/etc/init'

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=397597&aid=1093493&group_id=29880




More information about the Nagiosplugin-devel mailing list