
78
Cyclades ACS 5000 Advanced Console Server Command Reference Guide
•
0 : specific trap
•
\"\" : host-uptime
•
.1.3.6.1.2.1.2.2.1.2.1 :interfaces.iftable.ifentry.ifdescr.1
•
s : the type of the next field (it is a string)
•
\"<message - max. size 250 characters>\"
The following example sends a Link Down trap to a server at 10.0.0.1 with message carrying the
current date, the hostname console server and the message received from the source.
Sending a message to a remote syslogd server
destination d_udp { udp("<remote IP address>" port(514)); };
The following example sends syslogs to syslogd located at 10.0.0.1 :
Connecting sources, filters and actions
To connect the sources, filters and actions use the following statement. An action is an incoming
message from one of the listed sources. A match for each of the filters is sent to the
listed destination.
log { source(S1); source(S2); ...
filter(F1);filter(F2);...
destination(D1); destination(D2);...
};
where,
•
Sx - Identifies the defined sources.
•
Fx - Identifies the defined filters.
•
Dx - Identifies the defined actions or destinations.
Examples of connecting sources, filters and actions:
•
To send all messages received from local syslog clients to console.
log { source(sysl); destination(d_console);};
•
To write all messages with levels info, notice or warning and received from syslog clients
(local and remote) to /var/log/messages file.
destination d_trap {
pipe("/dev/cyc_alarm"
template("snmptrap -v 1 -c public 10.0.0.1 public \"\" \"\" 2 0 \"\"
\\ .1.3.6.1.2.1.2.2.1.2.1 s \"$FULLDATE $HOST $MSG\" "));
};
destination d_udp1 { udp("10.0.0.1" port(514)); };
Summary of Contents for Cyclades ACS 5000 SERIES
Page 1: ...CYCLADES ACS 5000 Command Reference Guide ...
Page 8: ...vi Cyclades ACS 5000 Advanced Console Server Command Reference Guide ...
Page 16: ...8 Cyclades ACS 5000 Advanced Console Server Command Reference Guide ...
Page 40: ...32 Cyclades ACS 5000 Advanced Console Server Command Reference Guide ...
Page 62: ...54 Cyclades ACS 5000 Advanced Console Server Command Reference Guide ...
Page 76: ...68 Cyclades ACS 5000 Advanced Console Server Command Reference Guide ...
Page 151: ......
Page 152: ...590 814 501B For Technical Support www avocent com support ...