Start a Conversation

Unsolved

This post is more than 5 years old

34366

March 23rd, 2016 19:00

Turn on SNMP Critical Traps only

Hi,

I'm trying to get an OME Command Line Task to run a batch file to turn on only Critical SNMP DRAC alerts.

The batch file has the single line:

racadm ‐r %1 ‐u %2 ‐p %3 set idrac.snmp.alert.1.enable 1

Since it is not working, or giving an indication as to why not, could someone pls advise what the correct line should be in the bat file?

Thx very much,

John Bradshaw

March 24th, 2016 01:00

Hi John,

I don't know if you can set it for all filters at once but you can try doing this.

1.  racadm ‐r %1 ‐u %2 ‐p %3 set idrac.snmp.alert.1.enable 1

2.  racadm ‐r %1 ‐u %2 ‐p %3 eventfilters set -c idrac.alert.system.Critical -a none -n snmp

3.  racadm ‐r %1 ‐u %2 ‐p %3 eventfilters set -c idrac.alert.storage.Critical -a none -n snmp

i don't know if you also need the other categories but you can add them the same way.

Hope this helps you.

:-)

2 Intern

 • 

743 Posts

March 28th, 2016 16:00

Thx very much!

JB

No Events found!

Top