Hi there,Here at the office we are programming a Network Monitoring System via a Web Interface. Now we are going through monitoring services in the network nodes and we consider Mon a useful tool for this purpose, but we have found a problem. In our system a user can register or terminate a service to be monitored, so the configuration file of mon can change at any moment and mon needs to be restarted in order to read the configuration file again. The problem is that we have stored the information of which service is not responding in a database, in order to the web interface can show this information to the user, and mon is the one in charge of changing the information in the database. So it's possible that a service that was not responding have been repared, and before mon launches the monitors to get realized of this, a user changes the configuration and mon gets restarted, so, for mon, the service never have been broken and it doesn't update the data stored in the database and, for the user who is using the web interface, it haven't been repared.
The question is, is there any way that when mon is restarted I could tell wich services are failing so if they get repared it will lauch the upalert script??
Thank you very much for your time. -- Fco Javier Valdera García Becario Aplicaciones de Red Centro Informático Científico de Andalucía (CICA) Avda. Reina Mercedes s/n - 41012 - Sevilla (Spain) Tfno.: +34 955 056 600 / FAX: +34 955 056 650 Consejería de Innovación, Ciencia y Empresa Junta de Andalucía -------------------------------------------------- Este mensaje esta firmado digitalmente. Para poder reconocer la firma desde su cliente debera tener instalado el certificado raiz de la CA del CICA en el mismo. Puede descargarlo desde: http://pki.cica.es/cacert/ --------------------------------------------------
smime.p7s
Description: S/MIME Cryptographic Signature
_______________________________________________ mon mailing list mon@linux.kernel.org http://linux.kernel.org/mailman/listinfo/mon