Start a Conversation

Unsolved

This post is more than 5 years old

47610

December 29th, 2014 10:00

M620 iDRAC CLI (racadm)

Hi,

Concering deployment of M620 and more specifically iDRAC configuration via CLI (racadm), I have a few questions:

* How do I actually enable the alerts that I configure using "eventfilters"? (In the GUI, there is an "enable" radio button. How do I do this via the CLI?)

* How do I configure SNMP trap destination via the CLI?

* How do I specify the SMTP sender address via the CLI? (alternatively I could use SMTP Authentication, but how?)

Thanks and best regards.

Moderator

 • 

8.7K Posts

December 29th, 2014 15:00

Hi,

You should be able to tell it where to send the events and that should enable them as well with the eventfilters –n option

Page 39 ftp://ftp.dell.com/Manuals/all-products/esuprt_ser_stor_net/esuprt_poweredge/poweredge-m1000e_Developer%27s%20Guide6_en-us.pdf

The notification is sent when the event occurs. Valid values are all, snmp, ipmi, lcd,

email, remotesyslog or none. You can append multiple notifications separating by a

comma. You cannot enter the values all or none with other notifications.

 

Page 172 shows the usage of cfgTraps which allows you to set the snmp destination.

Example

racadm getconfig -g cfgTraps -i 2

# cfgTrapsIndex=2

cfgTrapsEnable=1

cfgTrapsAlertDestIpAddr=

cfgTrapsCommunityName=public

racadm config -g cfgRemoteHosts -o cfgRhostsSmtpServerIpAddr 192.168.0.152

 

is how to set the ip address of the smtp server.

4 Operator

 • 

3K Posts

December 29th, 2014 19:00

What is the iDRAC FW version you have on M620? You can use below commands if your iDRAC FW version is 1.30.30 and above

To enabled Alerts

racadm set iDRAC.IPMILan.AlertEnable Enabled

To configure SNMP trap destination

racadm set iDRAC.SNMP.Alert. .DestAddr

racadm set iDRAC.SNMP.Alert. .Enable Enabled

Note : You can configure upto 8 destination by specifying index from 1 to 8

To Configure SMTP

racadm set iDRAC.RemoteHosts.SMTPServerIPAddress

racadm set iDRAC.EmailAlert. .Address

racadm set iDRAC.EmailAlert. .Enable Enabled

Note : You can configure upto 8 destination by specifying index from 1 to 4

December 30th, 2014 00:00

Hey,

Oh that's great already. Thanks a lot.

So there is no option to specify either a sender or SMTP auth parameters for email? (Our mailserver wants either an existing account as sender or smtp auth. This makes sense...)

It's FW 1.66.65 (Build 07) on the blades BTW.

PS. Always confusing when there is more than one way to do things (racadm: getconfig/config, set/get, and then the basic CLI, etc.)

January 18th, 2015 07:00

So, no way to programatically configure SMTP ?

No Events found!

Top