Monitoring one particular process

Hochberg, Keith Keith.Hochberg at mtvi.com
Tue Aug 12 15:04:03 CEST 2003


I use this for cron and ntp

$$ /usr/local/nagios/libexec/check_named_proc.pl
Minimum arguments not supplied!

Perl Check Named Process plugin for NetSaint
Copyright (c) 2000 Charlie Cook & Nick Reinking

Usage: /usr/local/nagios/libexec/check_named_proc.pl <host> <warn>
<crit> <process> <port>

<warn> = Number of processes named <process> to warn at.
<crit> = Number of processes named <process> to go critical at.
<process> = Name of process to look for.
<port> = Port that the status daemon is running on <host>.

so... 

/usr/local/nagios/libexec/check_named_proc.pl host 0 0 cron

works for me...

-Keith

-----Original Message-----
From: Frank.Langanke at RSBICK.rohde-schwarz.com
[mailto:Frank.Langanke at RSBICK.rohde-schwarz.com] 
Sent: Tuesday, August 12, 2003 9:04 AM
To: nagios-users at lists.sourceforge.net
Subject: [Nagios-users] Monitoring one particular process


Hello.

I'm looking for a plugin that checks a particular process on a linux
system. Eg.
look for a process called cron, if does not excist or is in a zombie
state
return critical.
I tried check_proc so far, but couldn't get the syntax right for this
purpose.

Ideas ?

Frank.







-------------------------------------------------------
This SF.Net email sponsored by: Free pre-built ASP.NET sites including
Data Reports, E-commerce, Portals, and Forums are available now.
Download today and enter to win an XBOX or Visual Studio .NET.
http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01
/01
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when
reporting any issue. 
::: Messages without supporting info will risk being sent to /dev/null


-------------------------------------------------------
This SF.Net email sponsored by: Free pre-built ASP.NET sites including
Data Reports, E-commerce, Portals, and Forums are available now.
Download today and enter to win an XBOX or Visual Studio .NET.
http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. 
::: Messages without supporting info will risk being sent to /dev/null





More information about the Users mailing list