122
MDS Orbit MCR-4G Technical Manual
MDS 05-6628A01, Rev. B
syslog MSG
For events of type audit, the msg is vendor specific, whereas events of type alert must be in a specified
format which contains a GUID, level and message. Using the CEE approach all of the requested
information would be present in all messages.
Example of message using format
Jun 7 11:10:22 ccc99 csmgr[27417]: Source=’ ABCDEF0123456789AB00000000000099’ Level=’5’ Mes-
sage=’Date/Time Changed by User’
Example of message using CEE format
Jun 7 11:10:22 ccc99 systemmgr[33212]: @cee: {"host":"ccc99",”guid”:”
ABCDEF0123456789AB00000000000099”,”syslog_priority”:5, "pname":"sys-
temmgr","time":"2012-08-23T09:16:21.335592-04:00","action":"modify","domain":"os","object":"date
time”, “status":"success","event":"date_time_from_user","pro-
file":"http://gemds.com/cee_profile/1.0beta1.xsd"}
Configuring
The following shows how to configure the unit with a server to which events will be sent:
admin@(none) 03:58:13% set logging syslog server my_syslog_server ip 192.168.1.1 port 1999 pro-
tocol tls version RFC5424 tls-options tls-ca-certificate my_ca_cert tls-client-certificate my_client_cert
tls-client-key my_client_key
The following shows how to configure an event that will be logged locally, via syslog, and via
netconf-notifcations:
admin@(none) 00:12:19% set logging event-rules cell_connected syslog true local true netconf-notifi-
cation true
Monitoring
Ensure the CLI is in operational mode. Follow the example below to view the state and statistics
admin@(none) 00:14:24% show logging
event-rules cell_connected {
description "cell connection established";
local true;
priority notice;
syslog-facility user;
syslog true;
snmp-trap true;
netconf-notification true;
}
event-rules cell_disconnected {
description "cell connection disconnected";
local true;
priority notice;
syslog-facility user;
syslog true;
snmp-trap true;
netconf-notification true;
}
...
[ok][2012-06-19 00:15:03]
[edit]
admin@(none) 00:15:03%