Monitoring a process with its pid

Jatin Davey jashokda at cisco.com
Tue Mar 9 08:57:25 CET 2010


Thanks Matt,

It solved my problem.

Thanks
Jatin

On 3/8/2010 9:01 PM, Matt Simmons wrote:
> 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
>>
>>      
>
>
>    

------------------------------------------------------------------------------
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