Monitoring a process with its pid

Matt Simmons standalone.sysadmin at gmail.com
Mon Mar 8 16:31:22 CET 2010


If you have snmp enabled on the hosts, you can pull that information out:

~$ snmpwalk -v 2c -c COMMUNITY myhost.mydomain.com
HOST-RESOURCES-MIB::hrSWRunName.3309
HOST-RESOURCES-MIB::hrSWRunName.3309 = STRING: "crond"



On Mon, Mar 8, 2010 at 8:10 AM, Jatin Davey <jashokda at cisco.com> wrote:
> Let me re-phrase it a little ,
>
> Basically what i want is to give the process id as the input and make
> sure on that target machine i have the process with the given id running
> , once it stops there might not be the process running with that id and
> hence i need to raise an email notification alert.
>
> Thanks
> Jatin
>
> On 3/8/2010 5:41 PM, Jatin Davey wrote:
>> Hi All
>>
>> Do we have a plugin that can monitor process id (pid) on a target
>> machine , the target machine could be anything such as windows , linux ,
>> solaris etc and alert with an email notification when the process id
>> changes.
>>
>> Appreciate your responses.
>>
>> Thanks
>> Jatin
>>
>> ------------------------------------------------------------------------------
>> Download Intel® Parallel Studio Eval
>> Try the new software tools for yourself. Speed compiling, find bugs
>> proactively, and fine-tune applications for parallel performance.
>> See why Intel Parallel Studio got high marks during beta.
>> http://p.sf.net/sfu/intel-sw-dev
>> _______________________________________________
>> 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
>>
>>
>
> ------------------------------------------------------------------------------
> Download Intel® Parallel Studio Eval
> Try the new software tools for yourself. Speed compiling, find bugs
> proactively, and fine-tune applications for parallel performance.
> See why Intel Parallel Studio got high marks during beta.
> http://p.sf.net/sfu/intel-sw-dev
> _______________________________________________
> 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
>



-- 
LITTLE GIRL: But which cookie will you eat FIRST?
COOKIE MONSTER: Me think you have misconception of cookie-eating process.

COOKIE MONSTER: Boy, I wish I were a sysadmin so I could go to the
NJ-PICC Sysadmin Conference! http://www.picconf.org

------------------------------------------------------------------------------
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
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