lgirdk / boardfarm

Automated testing with python
BSD 3-Clause Clear License
21 stars 33 forks source link

Add function to cm_cfg class to set syslog server #306

Open sravichandran-contractor opened 5 years ago

sravichandran-contractor commented 5 years ago

A function has to be added to cm_cfg class to set the syslog server so that we can read it from the JSON and make it site specific.

mattsm commented 5 years ago

@sravichandran-contractor can you please add more detail? What mib needs to be set?

mgualco-contractor commented 5 years ago

SnmpMibObject docsDevEvSyslog.0 IPAddress needs to be set, working on it and the log level should be probably set to: SnmpMibObject docsDevEvReporting.emergency HexString 0xe0; SnmpMibObject docsDevEvReporting.alert HexString 0xe0; SnmpMibObject docsDevEvReporting.critical HexString 0xe0; SnmpMibObject docsDevEvReporting.error HexString 0xe0; SnmpMibObject docsDevEvReporting.warning HexString 0xe0; SnmpMibObject docsDevEvReporting.notice HexString 0xe0; SnmpMibObject docsDevEvReporting.information HexString 0xe0; SnmpMibObject docsDevEvReporting.debug HexString 0xe0;