05-20-2018 11:40 AM - edited 03-01-2019 01:44 PM
My Google-fu seems to be weak because I cannot find a way to send debug output on console or term mon to syslog. Any chance someone could point me in the right direction? I’d really appreciate it!
Sorry - I picked the wrong place for this.
05-20-2018 08:20 PM
Hi
Just to be sure, you want to send debug messages to your syslog server?
Have you configured the following command:
logging server x.x.x.x 7 —> Where 7 is the severity level
05-20-2018 08:53 PM
05-20-2018 09:32 PM
05-21-2018 07:15 AM
05-21-2018 05:10 PM
05-21-2018 05:42 PM
05-21-2018 05:45 PM
05-23-2018 12:14 PM
05-23-2018 05:19 PM
05-24-2018 06:20 PM
05-24-2018 06:50 PM - edited 05-24-2018 06:54 PM
I use syslog-ng. As mentioned before, I don't have problems with syslog. What I see when I issue "show logging log", I see it on syslog-ng. Running tcpdump won't matter because the syslog-ng is getting logs from Nexus. The only issue is the debug output (ANY debug command I issue) doesn't show up in syslog-ng but shows up on the console or terminal (issuing term mon).
05-24-2018 07:58 PM
05-29-2018 04:03 PM
Were you able to test yet on a real device? I created another syslog-ng instance and same thing. I see syslogs just fine, but no debug output messages being sent to my syslog-ng server. I don't see an equivalent to "logging trap 7" on NX-OS. Supposedly, that's the right command to send debug output messages to syslog when using IOS. Haven't tried that yet, though.
05-30-2018 08:58 AM
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide