4 Operator

 • 

2.9K Posts

December 19th, 2018 12:00

Hello,

 

/admin1-> racadm getconfig -g cfgRemoteHosts
cfgRhostsSyslogEnable=****
cfgRhostsSyslogServer1=****
cfgRhostsSyslogServer2=****
cfgRhostsSyslogServer3=****
cfgRhostsSyslogPort=****
cfgRhostsFwUpdateTftpEnable=****
cfgRhostsFwUpdateIpAddr=****
cfgRhostsFwUpdatePath=****
cfgRhostsSmtpServerIpAddr=****

(Values replaced with ****)


RAC1168: The RACADM "getconfig" command will be deprecated in a
future version of iDRAC firmware. Run the RACADM
"racadm get" command to retrieve the iDRAC configuration parameters.
For more information on the get command, run the RACADM command
"racadm help get".

This is the output I get from that command. My test system was on iDRAC firmware 2.60.60.60. The webgui or racadm getsysinfo should provide your iDRAC version.


As for setting up a remote syslog, have you checked the web GUI at Overview > Server > Logs > Settings? You can configure it there.

4 Operator

 • 

3K Posts

December 19th, 2018 19:00

Can you confirm iDRAC FW version?

Below commands can be used to set Remote Sys Log server in iDRAC

racadm config -g cfgRemoteHosts -o cfgRhostsSyslogEnable Enabled

racadm config -g cfgRemoteHosts -o cfgRhostsSyslogServer1 my.syslogserver.com

3 Apprentice

 • 

1.1K Posts

December 20th, 2018 08:00

my bad, the guide is correct, page 147

cfgRhostsSyslogEnable (Read or Write) Table 131.

Details of attribute - cfgRhostsSyslogEnable

Description To allow the RAC and SEL logs to be written to up to three remote syslog servers Enables or disables remote syslog.

Legal Values • 1 (TRUE) • 0 (FALSE) Default 0

3 Apprentice

 • 

1.1K Posts

December 20th, 2018 08:00

looks like the guide is wrong, the actual command is:
racadm config -g cfgRemoteHosts -o cfgRhostsSyslogEnable 1

4 Posts

December 20th, 2018 08:00

So weird I thought I posted this last night.

root@se-demo1:~# racadm getsysinfo

RAC Information:
RAC Date/Time = Thu Dec 20 16:08:34 2018

Firmware Version = 2.60.60.60
Firmware Build = 52
Last Firmware Update = 12/18/2018 23:31:20
Hardware Version = 0.01
MAC Address = E0:DB:55:21:74:32

Common settings:
Register DNS RAC Name = 0
DNS RAC Name = idrac-D6XTCX1
Current DNS Domain =
Domain Name from DHCP = Disabled

 

And the error I get:

 

root@se-demo1:~# racadm config -g cfgRemoteHosts -o cfgRhostsSyslogEnable Enabled
ERROR: The specified object value is not valid.


RAC1169: The RACADM "config" command will be deprecated in a
future version of iDRAC firmware. Run the RACADM
"racadm set" command to configure the iDRAC configuration parameters.
For more information on the set command, run the RACADM command
"racadm help set".

4 Posts

December 21st, 2018 09:00

So actually it is wrong because I just tried this and it worked!!!

 

root@se-demo3:/mapr/sedemo# racadm config -g cfgRemoteHosts -o cfgRhostsSyslogEnable 1
Object value modified successfully
racadm config -g cfgRemoteHosts -o cfgRhostsSyslogServer1 my.syslogserver.com

So who do we contact to update the doc?

4 Posts

December 21st, 2018 09:00

And here is the final confirmation:

 

root@se-demo1:/opt/mapr/logs# racadm getconfig -g cfgRemoteHosts
cfgRhostsSyslogEnable=1
cfgRhostsSyslogServer1=my.server.com
cfgRhostsSyslogServer2=
cfgRhostsSyslogServer3=
cfgRhostsSyslogPort=514
cfgRhostsFwUpdateTftpEnable=1
cfgRhostsFwUpdateIpAddr=0.0.0.0
cfgRhostsFwUpdatePath=
cfgRhostsSmtpServerIpAddr=0.0.0.0
No Events found!

Top