Monitoring a process with its pid
Jatin
daveyjatin at gmail.com
Mon Mar 8 16:34:42 CET 2010
You are correct , pid's change from to startup to startup but the reason
for doing so is that i want to make sure that a process if it starts
with some id it stays working as a long as possible and i need to
monitor it. The moment it changes the pid then it means that it has
either crashed of re-started with some other pid. I could also monitor
for the process status using its name , example having to monitor an
explorer.exe process instead of its pid but in my test environment i
have multiple instances of the same process and i need to make sure all
of them keep running. For example i hava 4 java.exe processes that i
need to monitor and make sure i have not more or less than 4 java.exe
being running at any given time in my server.
Thanks
Jatin
Wolfe, Robert wrote:
> Forgive me, but I am not quite understanding why you are wanting to do this? Don't PIDs change from program startup to program startup?
>
> ________________________________________
> From: Jatin Davey [jashokda at cisco.com]
> Sent: Monday, March 08, 2010 8:10 AM
> To: nagios-users at lists.sourceforge.net
> Subject: Re: [Nagios-users] Monitoring a process with its pid
>
> 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
>
>
------------------------------------------------------------------------------
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