23-Apr-2020 13:34
Does anyone have a suggestion on how to generate system events on an ASM at error, critical, or emergency levels for testing remote syslog logging?
Solved! Go to Solution.
23-Apr-2020
23:27
- last edited on
04-Jun-2023
21:29
by
JimmyPackets
Hi,
you can use the logger command to generate a log message manually
logger -p <facility>.<level> "<descriptive message>"
[admin@F5BIPIP:Active:In Sync] ~ # logger -p local0.notice "testing LTM facility level notice"
[admin@F5BIPIP:Active:In Sync] ~ # tail -f /var/log/ltm
Apr 24 08:16:14 F5BIPIP notice admin[29591]: testing LTM facility notice
More details here : https://support.f5.com/csp/article/K86480148
Regards
23-Apr-2020
23:27
- last edited on
04-Jun-2023
21:29
by
JimmyPackets
Hi,
you can use the logger command to generate a log message manually
logger -p <facility>.<level> "<descriptive message>"
[admin@F5BIPIP:Active:In Sync] ~ # logger -p local0.notice "testing LTM facility level notice"
[admin@F5BIPIP:Active:In Sync] ~ # tail -f /var/log/ltm
Apr 24 08:16:14 F5BIPIP notice admin[29591]: testing LTM facility notice
More details here : https://support.f5.com/csp/article/K86480148
Regards
24-Apr-2020 11:10
That worked perfectly, thanks! The events even show up in the GUI.