Re: Knowing if application is "alive"



Have the running apps log an event, then remotely read the event logs and
scan for the messages. If you dont see them its not running(or at least
properly). If they have write they can even log the messages to the machine
your monitoring and to a specific log(instead of the standard logs). this
way you dont have to read through huge files.

You can also use SMNP traps as well.

"Shane Story" <shanesREMOVETHIS@xxxxxxxxxxx> wrote in message
news:OWpnURbSFHA.3560@xxxxxxxxxxxxxxxxxxxxxxx
> why not have a LISTENER/Client (TCPIP)?
>
> Monitor would be the listener and apps would be clients. They'd just need
> the monitor's IP.
>
> Is this possible?
>
> Thanks,
>
> Shane
>
> ps. just an Idea
> <arfinmail@xxxxxxxxx> wrote in message
> news:1114183570.821163.227330@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
>>I have 4 applications which are supposed to run 24/7. How can I make a
>> monitor application to know if they're running fine?
>>
>> The best I can come up with is making them update a file/DB every X
>> amount of time and have the monitor app check that mark. If the mark
>> haven't updated then it means the program stopped. The programs do
>> their thing multithreaded so we don't have the problem of waiting for
>> the main thread to finish.
>>
>> But this is so rustic that I think there's got to be a better way.
>> I'm hoping of something like sending an event over the network from the
>> running app to the monitor. This way the monitor will just sit there
>> listening to the other apps and if it stops receiving a message the
>> notify it.
>>
>
>


.



Relevant Pages

  • Re: Is water cooling safe???
    ... I am a bit puzzled that you said you cant run all those apps at the ... should be power to spare. ... at once and that dont include having as many as 20 browser windows ... allow for the use of Dos, and I tend to still use many dos apps. ...
    (alt.comp.hardware.pc-homebuilt)
  • Re: [patch] x86, mm: pass in total to __copy_from_user_*nocache()
    ... then you still would want nontemporal stores. ... I dont disagree that it would be nice to handle that case too, ... the kernel can act on it reasonably. ... for important cases we allow apps to set attributes ...
    (Linux-Kernel)
  • Re: 2 monitors, one 22" wide ?
    ... things only slightly larger than a 17" monitor that has the regular ... "Wide screen" is a joke unless you like to watch wide screen movies ... Many people that don't run apps full screen find they get a lot more ...
    (microsoft.public.windowsxp.general)
  • Re: Administrative tools >Performance console
    ... ram.However i am choosy with my apps and dont use any resource hogging ... cpu used.I have reinstalled sp4 but nothings altered.I will look at my ... disable all my apps and go from there.If that doesnt work ill go ...
    (microsoft.public.win2000.general)
  • Re: monitoring remote applications, how?
    ... Use a system management tool from BMC, CA, IBM ... service, also monitor the spawned process, I have seen services merrily ... could be set with email notification, will need access to a POP server. ... your apps, and watch out, they may try to get ou to monitor their stuff also ...
    (microsoft.public.dotnet.languages.vb)