ProLiant Servers (ML,DL,SL)
1753731 Members
4910 Online
108799 Solutions
New Discussion юеВ

Multiple syslog destinations in an automated way

 
luboss
Occasional Contributor

Multiple syslog destinations in an automated way

I'm looking for a way to set multiple remote syslog destinations. I have found out it is possible to add multiple hosts via semicolon (although it is not covered in official iLO User guide):

iLO_multiple_syslog_dest.png

However if I put such concatanated hosts through Redfish API call, it fails with 400 - Base.0.10.PropertyValueFormatError. Putting the hosts in JSON array doesn't work either.

Is there any way how to configure multiple syslog destination using automated (agent-less) way? I'm also curious if the feature to put semicolon for more hosts is covered in any documentation?

2 REPLIES 2
Bunsol
HPE Pro

Re: Multiple syslog destinations in an automated way

Hi Luboss,

 

Good Day. We have checked the user guide for the ILO and it shows the below information:-

 

тАв Remote Syslog ServerтАФThe IP address, FQDN, IPv6 name, or short name of the server
running the Syslog service. This string can be up to 127 characters.
On Linux systems, system events are logged by a tool called syslog. This tool should be
installed on all Linux systems. You can set a syslog server on a remote system that will
act as a central logging system for iLO systems. This way, if the iLO Remote Syslog feature
is enabled in iLO, it can send its logs to the syslog server.

More information can be found on the below link but does not share information of multiple syslog destinations:-

https://support.hpe.com/hpsc/doc/public/display?docId=emr_na-a00045612en_us&docLocale=en_US

 

If you need further assistance then please log a case with us using the below link:-

https://support.hpe.com/hpesc/home

 

Regards,

Bunsol


If you feel this was helpful please click the KUDOS! Thumbs below!
I am an HPE employee.
[Any personal opinions expressed are mine, and not official statements on behalf of Hewlett Packard Enterprise]
Accept or Kudo
NetworkSecurity
Occasional Visitor

Re: Multiple syslog destinations in an automated way

Hi luboss

Try this, for me this was working.

curl -k -X POST https://<FQDN>/json/login_session -d "{\"method\":\"login\",\"user_login\":\"<USERNAME>\",\"password\":\"<PASSWORD>\"}"

you will get a sessionKey

then do

curl -k -X POST https://<FQDN>/json/remote_syslog -d "{\"method\":\"syslog_save\",\"syslog_enable\":1,\"syslog_port\":514,\"syslog_server\":\"<IP1>;<IP2>\",\"session_key\":\"<SESSIONKEY>\"}"

Solution provided by Asen Stoyanov from ERT and Yuzlem Sofu, Support Engineer

Hope this helps.