Hi,
 
I am Manuel Domínguez Dorado, from SPAIN.
 
I am trying to use Mon to monitor two Oracle 9i instances in the same host but 
I do not understand how must I configure mon.cf to do this using your 
sqlconn.monitor.
 
My Mon configuration is like you can see in the next paragraph:
 
--------------------
cfbasedir   = /etc/ha.d/mon/etc
alertdir    = /etc/ha.d/mon/alert.d
mondir      = /etc/ha.d/mon/mon.d
statedir    = /etc/ha.d/mon/state.d
logdir      = /var/log
maxprocs    = 20
histlength = 100
randstart = 10s
authtype = getpwnam
hostgroup oracleinstances PILOTO PRUEBA
 
watch oracleinstances
    service oracled
        interval 15s
        monitor sqlconn.monitor
        allow_empty_group
        period wd {Mon-Sun}
            alertafter 1
            alert bajar-heartbeat.alert
            upalert mail.alert -S "Oracle fuera" [EMAIL PROTECTED]
--------------------
 
Where oracleinstances is the name of the hostgroups and PILOTO and PRUEBA are 
two instances (as they appears int tnsnames.ora) started up at localhost (two 
instances and only one Oracle 9i software).
 
Oracled is the name of the a script I created and is placed at /etc/rc.d/init.d 
to do
 
oracled start
oracled stop
 
and start or stop PILOTO and PRUEBA.
 
Can you send me a link fro documentation about sqlconn.monitor or explain me 
how to configurate correctly mon.cf to use sqlconn.monitor? Where must I put 
the user/password entries for Oracle databases?
 
Please, help me. I am in a mistake... SURE!
 
Thanks for your help.


---
Manuel Domínguez Dorado
SADIEL, S.A.
Avda. Constitución blq. 4
Urbanización los Naranjos
06800 MERIDA
Tels. 924 373 620    Fax 924 370 073
http://www.sadiel.es    e-mail: [EMAIL PROTECTED] 
 

_______________________________________________
mon mailing list
mon@linux.kernel.org
http://linux.kernel.org/mailman/listinfo/mon

Reply via email to