UNSOLVED

saranraj456

updated

12 years ago

S

saranraj456

1 Rookie

108 Posts

0

805

October 21st, 2014 21:00

Editing Celerra Email alert content or subject

Hi Pals,

We have option to prefix the subject of the email in celerra but is there anyway to do the same for any one categorized facility like Replication -Rep. Whenever i edited the prefix is applying for all facility but i don,t want that. I need a modified subject email for Replication facility .

Any suggestions pls.

Thanks

Saran

  • Rainer_EMC

    6 Operator

    8645 Posts

    510

    0

    Posted October 23rd, 2014 06:00

    If you have Unix/Linux knowledge - create your own – see VNX events manual

    Every event can execute a command – that command can then take the arguments and send an Email any way you like

  • saranraj456

    1 Rookie

    108 Posts

    510

    0

    Posted October 24th, 2014 01:00

    could you please provide me the link for the manual

  • saranraj456

    1 Rookie

    108 Posts

    510

    0

    Posted October 24th, 2014 02:00

    My intention is to add some input in the event mail generated.

    Like the event email has to direct the monitoring team with instructions when it reaches their inbox.

  • saranraj456

    1 Rookie

    108 Posts

    510

    0

    Posted October 24th, 2014 04:00

    I got the event manual and tried with the modifications. Could some one please validate it

    Current config details:

    # DART:REP event

    #

    facilitypolicy 1:108, 7

         disposition range=9-9 threshold=1 rearm=10000 resetafter=86400, exec "/nas/tools/automaticcollection -delay -getlogs"

         disposition range=10-10 threshold=1 rearm=10000 resetafter=86400, exec "/nas/tools/automaticcollection -delay -getlogs"

         disposition range=11-11 threshold=1 rearm=10000 resetafter=86400, exec "/nas/tools/automaticcollection -delay -getlogs"

         disposition range=12-12 threshold=1 rearm=10000 resetafter=86400, exec "/nas/tools/automaticcollection -delay -getlogs"

         disposition range=13-13 threshold=1 rearm=10000 resetafter=86400, exec "/nas/tools/automaticcollection -delay -getlogs"

         disposition range=14-14 threshold=1 rearm=10000 resetafter=86400, exec "/nas/tools/automaticcollection -delay -getlogs"

         disposition range=15-15 threshold=1 rearm=10000 resetafter=86400, exec "/nas/tools/automaticcollection -delay -getlogs"

         disposition range=16-16 threshold=1 rearm=10000 resetafter=86400, exec "/nas/tools/automaticcollection -delay -getlogs"

         disposition range=17-17 threshold=1 rearm=10000 resetafter=86400, exec "/nas/tools/automaticcollection -delay -getlogs"

         disposition range=18-18 threshold=1 rearm=10000 resetafter=86400, exec "/nas/tools/automaticcollection -delay -getlogs"

         disposition range=19-19 threshold=1 rearm=10000 resetafter=86400, exec "/nas/tools/automaticcollection -delay -getlogs"

         disposition range=48-48 threshold=1 rearm=10000 resetafter=86400, exec "/nas/tools/automaticcollection -delay -getlogs"

         disposition range=49-49 threshold=1 rearm=10000 resetafter=86400, exec "/nas/tools/automaticcollection -delay -getlogs"

         disposition range=50-50 threshold=1 rearm=10000 resetafter=86400, exec "/nas/tools/automaticcollection -delay -getlogs"

         disposition range=51-51 threshold=1 rearm=10000 resetafter=86400, exec "/nas/tools/automaticcollection -delay -getlogs"

         disposition range=52-52 threshold=1 rearm=10000 resetafter=86400, exec "/nas/tools/automaticcollection -delay -getlogs"

         disposition range=53-53 threshold=1 rearm=10000 resetafter=86400, exec "/nas/tools/automaticcollection -delay -getlogs"

         disposition range=54-54 threshold=1 rearm=10000 resetafter=86400, exec "/nas/tools/automaticcollection -delay -getlogs"

         disposition range=61-61 threshold=1 rearm=10000 resetafter=86400, exec "/nas/tools/automaticcollection -delay -getlogs"

         disposition range=66-66 threshold=1 rearm=10000 resetafter=86400, exec "/nas/tools/automaticcollection -delay -getlogs"

    #

    # DART:REP:DpInit_CSInterconnectNotFound interconnect not found

    #

    facilitypolicy  1:108, 3

            disposition , logfile "/nas/log/sys_log"

            disposition range=71-71, exec "/nas/sbin/update_interconnect"

    #

    After editing:

    # DART:REP event

    #

    facilitypolicy 1:108, 7

        disposition range=9-66, exec "echo test from `hostname` | mail -v -s `hostname` test message xyx@abc.com"

         disposition range=9-9 threshold=1 rearm=10000 resetafter=86400, exec "/nas/tools/automaticcollection -delay -getlogs"

         disposition range=10-10 threshold=1 rearm=10000 resetafter=86400, exec "/nas/tools/automaticcollection -delay -getlogs"

         disposition range=11-11 threshold=1 rearm=10000 resetafter=86400, exec "/nas/tools/automaticcollection -delay -getlogs"

         disposition range=12-12 threshold=1 rearm=10000 resetafter=86400, exec "/nas/tools/automaticcollection -delay -getlogs"

         disposition range=13-13 threshold=1 rearm=10000 resetafter=86400, exec "/nas/tools/automaticcollection -delay -getlogs"

         disposition range=14-14 threshold=1 rearm=10000 resetafter=86400, exec "/nas/tools/automaticcollection -delay -getlogs"

         disposition range=15-15 threshold=1 rearm=10000 resetafter=86400, exec "/nas/tools/automaticcollection -delay -getlogs"

         disposition range=16-16 threshold=1 rearm=10000 resetafter=86400, exec "/nas/tools/automaticcollection -delay -getlogs"

         disposition range=17-17 threshold=1 rearm=10000 resetafter=86400, exec "/nas/tools/automaticcollection -delay -getlogs"

         disposition range=18-18 threshold=1 rearm=10000 resetafter=86400, exec "/nas/tools/automaticcollection -delay -getlogs"

         disposition range=19-19 threshold=1 rearm=10000 resetafter=86400, exec "/nas/tools/automaticcollection -delay -getlogs"

         disposition range=48-48 threshold=1 rearm=10000 resetafter=86400, exec "/nas/tools/automaticcollection -delay -getlogs"

         disposition range=49-49 threshold=1 rearm=10000 resetafter=86400, exec "/nas/tools/automaticcollection -delay -getlogs"

         disposition range=50-50 threshold=1 rearm=10000 resetafter=86400, exec "/nas/tools/automaticcollection -delay -getlogs"

         disposition range=51-51 threshold=1 rearm=10000 resetafter=86400, exec "/nas/tools/automaticcollection -delay -getlogs"

         disposition range=52-52 threshold=1 rearm=10000 resetafter=86400, exec "/nas/tools/automaticcollection -delay -getlogs"

         disposition range=53-53 threshold=1 rearm=10000 resetafter=86400, exec "/nas/tools/automaticcollection -delay -getlogs"

         disposition range=54-54 threshold=1 rearm=10000 resetafter=86400, exec "/nas/tools/automaticcollection -delay -getlogs"

         disposition range=61-61 threshold=1 rearm=10000 resetafter=86400, exec "/nas/tools/automaticcollection -delay -getlogs"

         disposition range=66-66 threshold=1 rearm=10000 resetafter=86400, exec "/nas/tools/automaticcollection -delay -getlogs"

    #

    # DART:REP:DpInit_CSInterconnectNotFound interconnect not found

    #

    facilitypolicy  1:108, 3

            disposition , logfile "/nas/log/sys_log"

            disposition range=71-71, exec "/nas/sbin/update_interconnect"