create plugin

Michael Hertrick m.hertrick at neovera.com
Fri Jun 20 04:39:14 CEST 2003


Is this or some variation of this acceptable?

libexec/check_procs -c 1:100 -u username

This will report CRITICAL if there are 0 or more than 100 processes running as the specified username.

~Michael Hertrick.
~Neovera, Inc.
  ----- Original Message ----- 
  From: ramog 
  To: nagios-users at lists.sourceforge.net 
  Sent: Thursday, June 19, 2003 4:06 PM
  Subject: [Nagios-users] create plugin


  Is there anybody who can help me create a plugin for nagios that does the following
      - check if a user is currently logged in or not in a monitored unix server, say his console session is tty10.
      - if the user is logged in, nagios will report it as an OK state and if he is not logged in, nagios will report it as critical state.

  Any help would be greatly appreciated...

  Thanks,

  Rochel Amog
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/users/attachments/20030619/14e3bfff/attachment.html>


More information about the Users mailing list