<table cellspacing="0" cellpadding="0" border="0" ><tr><td valign="top" style="font: inherit;">Hi<div><br></div><div>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</div><div><br></div><div>Thanks<br><br>--- On <b>Mon, 7/12/10, Simeon Zaharici <i><simeon_zaharici@yahoo.com></i></b> wrote:<br><blockquote style="border-left: 2px solid rgb(16, 16, 255); margin-left: 5px; padding-left: 5px;"><br>From: Simeon Zaharici <simeon_zaharici@yahoo.com><br>Subject: [Nagiosplug-devel] check_procs and very long process names<br>To: nagiosplug-devel@lists.sourceforge.net<br>Received: Monday, July 12, 2010, 6:28 PM<br><br><div id="yiv808879707"><table cellspacing="0" cellpadding="0" border="0"><tbody><tr><td valign="top" style="font:inherit;">Hi<div><br></div><div>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.</div><div>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 ?</div><div><br></div><div>Thanks,</div><div>Simeon</div><div> </div></td></tr></tbody></table><br></div><br>-----Inline Attachment Follows-----<br><br><div class="plainMail">------------------------------------------------------------------------------<br>This SF.net email is sponsored by Sprint<br>What will you do first with EVO, the first 4G phone?<br>Visit sprint.com/first -- <a href="http://p.sf.net/sfu/sprint-com-first" target="_blank">http://p.sf.net/sfu/sprint-com-first</a></div><br>-----Inline Attachment Follows-----<br><br><div class="plainMail">_______________________________________________________<br>Nagios Plugin Development Mailing List <a ymailto="mailto:Nagiosplug-devel@lists.sourceforge.net"
 href="/mc/compose?to=Nagiosplug-devel@lists.sourceforge.net">Nagiosplug-devel@lists.sourceforge.net</a><br>Unsubscribe at <a href="https://lists.sourceforge.net/lists/listinfo/nagiosplug-devel" target="_blank">https://lists.sourceforge.net/lists/listinfo/nagiosplug-devel</a><br>::: Please include plugins version (-v) and OS when reporting any issue. <br>::: Messages without supporting info will risk being sent to /dev/null</div></blockquote></div></td></tr></table><br>