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

SourceForge.net noreply at sourceforge.net
Sun Jan 2 10:02:19 CET 2005


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

Category: None
Group: Release (specify)
>Status: Pending
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: Ton Voon (tonvoon)
Date: 2005-01-02 18: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 23: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 Devel mailing list