[Nagiosplug-devel] check_procs and very long process names

Simeon Zaharici simeon_zaharici at yahoo.com
Mon Jul 12 15:31:28 UTC 2010


Hi
I see that in fact the limit comes from the output of ps axwo 'stat uid pid ppid vsz rss pcpu comm args ' and got around it by monitoring the args field
Thanks

--- On Mon, 7/12/10, Simeon Zaharici <simeon_zaharici at yahoo.com> wrote:

From: Simeon Zaharici <simeon_zaharici at yahoo.com>
Subject: [Nagiosplug-devel] check_procs and very long process names
To: nagiosplug-devel at lists.sourceforge.net
Received: Monday, July 12, 2010, 6:28 PM

Hi
I have to monitor a few servers that have unusually long process names ranging between 30 and 46 characters. From what I see check_procs works with procs with up to 16 characters.I tried to edit the source code to allow for longer names but did not manage to do that correctly :D, can you guys help ?
Thanks,Simeon 

-----Inline Attachment Follows-----

------------------------------------------------------------------------------
This SF.net email is sponsored by Sprint
What will you do first with EVO, the first 4G phone?
Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
-----Inline Attachment Follows-----

_______________________________________________________
Nagios Plugin Development Mailing List Nagiosplug-devel at lists.sourceforge.net
Unsubscribe at https://lists.sourceforge.net/lists/listinfo/nagiosplug-devel
::: Please include plugins version (-v) and OS when reporting any issue. 
::: Messages without supporting info will risk being sent to /dev/null

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.nagios.com/pipermail/nagiosplugin-devel/attachments/20100712/3b13660b/attachment.html>


More information about the Nagiosplugin-devel mailing list