lostnytechie_55
Apr 28, 2011Nimbostratus
user_alert.conf not working
Hi all,
I'm hoping someone will be able to tell me what I'm doing wrong. i'm sure it's something simple too but I've been banging my head up against the wall for the last few days and I can't seem to figure it out. I created two entries in user_alert.conf and the goal is that when these events happen they will trigger a script instead of an snmp OID like it says in the writeups. So far, all the documentation says I should be able to do this but I can't get it to work. I checked the script itself and when run as a standalone I can get it to go. Here are the entries I put in:
alert XDMS_Failover_Monitor_Res "SNMP_TRAP: Pool (XCAP_POOL) member (172.25.130.103:80) .*?" { exec command="/root/test.pl" }
alert XDMS_Failover_Monitor_Res1 "Could not find monitor object 172.25.130.104:0" { exec command="/root/test.pl" }
I pulled the names and everything out of the gtm log and also double checked it against the appropriate alertd table. everything seems to check out but still nothing.
Thanks