Page 1 of 1

Send Email if Link Down

Posted: Wed Feb 20, 2008 1:43 pm
by areearee
Dear Friends I want seting in my dude server if any service down send me email to my email address.

Re: Send Email if Link Down

Posted: Wed Feb 20, 2008 4:39 pm
by jordantrx
Dear Friends I want seting in my dude server if any service down send me email to my email address.
Setup e-mail Notifications in the Notifications area of the DUDE< Then give the IP address of your SMTP server (if your running one) if not get one running, then use the computer the smtp server is running on IP address. Then under notifications of your units you can set it to notifty you if Ping has gone down or not. and Many other servcies you wish to be e-mailed if a certian service goes down. good luck -Jordan

Re: Send Email if Link Down

Posted: Thu Feb 21, 2008 9:35 am
by luzik
Sorry but this is quite difficult in The Dude :(
First you have to add such probe (type function)
if(oid_raw(concetenate("1.3.6.1.2.1.2.2.1.8.",array_element(oid_column("1.3.6.1.2.1.2.2.1.1"),array_find(oid_column("1.3.6.1.2.1.2.2.1.2"),"GigabitEthernet3/6"))))=1, "", "Interface GigabitEthernet3/6 down")
so if you want monitor links on 48 port switch this is quite easy beacuse you just have to add 48 such probes :/.
Just change GigabitEthernet3/6 with snmp name of your interface.

passing parameters to function in such case can save lot of work but this is not working now :(

Re: Send Email if Link Down

Posted: Fri Feb 22, 2008 11:51 am
by areearee
thanks dear can say me step by step with detail or print screens.