title: How to exclude logins from check_procs checks of sshd
body: <p>I am looking to use the Nagios plugin check_procs to monitor the number of ssh daemons running on my CentOS servers. Consider my server right now:</p>
  
  <pre><code>$ ps auxww | grep ssh
  root      6750  0.0  0.0  31812  1224 ?        Ss    2012   0:01 /usr/sbin/sshd
  root     23375  0.0  0.0  65464  3244 ?        Ss   16:53   0:00 sshd: user [priv]
  user     23377  0.0  0.0  65464  1908 ?        S    16:53   0:00 sshd: user@pts/1
  root     23404  0.0  0.0  65464  3248 ?        Ss   16:53   0:00 sshd: user [priv]
  user     23406  0.0  0.0  65464  1912 ?        S    16:53   0:00 sshd: user@pts/2
  </code></pre>
  
  <p>I am only interested in knowing how many instances of '/usr/sbin/sshd' are running, NOT how many daemons have been launched to handle incoming ssh connections. Is there a way to accomplish this?</p>