<br><br><div class="gmail_quote">On Sat, May 11, 2013 at 1:30 PM, Percy Kwong <span dir="ltr"><<a href="mailto:psk@psk.net" target="_blank">psk@psk.net</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

  
    
  
  <div text="#000000" bgcolor="#FFFFFF">
    OK.  So to make more sense of the whole thing, the only thing that
    is taken into account is the actual numerical value?  In other
    words, it's automatically parsed?  This is what I wasn't sure of. <br>
    <br>
    Here is the entry in the mapfile I was using:<br>
    <br>
    <span style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255)">/output:PROCS.*:(\d+) processes with args 'apache'/</span><br style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255)">
<span style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255)">and push @s, ['apache',</span><br style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255)">
<span style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255)">                ['connections', GAUGE, $1] ];</span></div></blockquote><div><br></div><div>This works, too, when you only want to parse the process checks for apache. </div>
<div><br></div><div>You give the RRD description the name "connections". I don't think that the number of Apache processes really represent the number of connections.</div><div>In this case, I suggest you use <a href="http://check_netstat.pl">check_netstat.pl</a>.</div>
<div><br></div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div text="#000000" bgcolor="#FFFFFF">
    the problem is there is no perfdata and the rrd file isn't being
    populated, (and obviously, no graph).  I'm attributing this to the
    fact that the map file entry is wrong.  This is really where my
    problem lies.  Am I looking in the wrong place?<br></div></blockquote><div><br></div><div>It's check_procs which doesn't create perfdata. You might  need to manually patch it. See:</div><div><a href="http://www.claudiokuenzler.com/blog/224/nagios-plugin-check_procs-add-performance-data-perfdata-output-nagiosgraph">http://www.claudiokuenzler.com/blog/224/nagios-plugin-check_procs-add-performance-data-perfdata-output-nagiosgraph</a></div>
</div>