syslog message originating from nat network
-
Hey all
i need some tips on handling syslog messages originating from behind a nat router.
the source and host in the messages takes the routers info, but the messages contains <time><device><log event>
how can i handle these messages, so they will end up on the correct devices (i have an agent running snmp off the devices)?
i cant seem to figure out how to use the parser for this...
-
Hi,
if syslog message contains correct device name and you have that device under same name in NetXMS, try to set server configuration parameter SyslogNodeMatchingPolicy to 1 (which means "host name then IP") and restart server.
Best regards,
Victor -
here is the problem;
the string looks like this, without the hostname set...
[6d:06h:02m:45s] NEXANS-00C029260F62:Port Link Change: Link-State=100FDX, Portnumber=1, Description=TP-1, Name=<none>
first a timestamp containting the running time, then the hostname, and then the syslog message
-
Then NetXMS server cannot match it to correct device - there are just no enough information. You can setup syslog proxy on agent behind NAT so it will receive syslog messages from original addresses and forward to NetXMS server.
Best regards,
Victor
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login