Answer the question
In order to leave comments, you need to log in
How to organize monitoring of windows services through a web application?
Good day.
The question most likely does not have a clear answer and is rather general.
There are several dozen machines on windows xp/7, each of which has services running ( not Windows ones, they start automatically at system startup ).
It happens that services fall off, well, these are windows, or the connection to the machines disappears and I find out about it - when it's already "too late" and "everything is bad."
I would like to see a single list with all the machines and their status.
I suppose that for this you need to write a daemon ( install on each machine ), which will monitor the status of the services of interest and send data to the server.
From the server, I will receive real-time data through a web application / site.
This leads to several questions:
Is the train of thought "correct"?
MB there are other options and mine is a "bicycle"?
What to write on ( any options, in any case I plan to learn a new language ) ?
Is it possible to do most of this in Python?
What would you do?
I would be grateful for advice, lists of references and possibly examples.
Answer the question
In order to leave comments, you need to log in
Windows is ready to give data about services without any self-written daemons - via SNMP (if you install this component in the Windows components selection and configure the SNMP service) or via WMI. in other words, query machines via SNMP or WMI from your web application. corresponding queries should be googled.
service crashes are also always recorded in the event log - eventvwr.msc.
they don’t receive data according to their means, they live according to their means. and data through.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question