quote:Originally posted by aLTeReGoI don't believe that DNS reverse lookup is used for Syslog. It seems like the Orion node name is what is used. Can anyone @ SolarWinds confirm/deny?
Hi,
I know this is an old post but did you get a definitive answer/solution to this? I upgraded to V10 on Tuesday night. I was lucky enough to be able to truncate the syslog table as a precaution. Now that everything is back up I have loads and loads of syslog messages from devices that we monitor in NPM but do not show the hostname in their syslog messages when viewed in the GUI.
Some devices have messages with the hostnames and the same devices have messages without hostnames.
Lot's of devices do not have any hostname at all in their syslog messages.
All devices I've checked use the same IP in the syslog msg as used to manage them in Orion
Our SQL server & the server running the syslog service are far from being stressed in any way.
If it is rebuilding the a DNS cache wouldn't it have been built by now as it's had 2.5 days since the upgrade? But still the majority of syslog messages do not have hostnames associated with them.
Using the syslog viewer app on the server I can see that every message has an associated hostname but when I search the same messages in the GUI there is no name against it.
Thanks
I cannot confirm or not confirm, but I believe the syslog utilizes external DNS for resolving the IP's. What I see is that sometimes the message will come in as an IP address and then the second or third message (from same node) will come in as a name. I think I read in a post somewhere that the NPM alert will try send the alert out as quick as possible, sometimes the DNS resolution has not been received in time and therefor the message is sent out with no name.
The method I use to overcome this is to run a query on the database capturing node name and managed IP address of that node, I then did some manipulation of that data and created a /etc/hosts file. It is currently a manual effort and needs to be kept up weekly but it works. Obviously you must ensure that the device has the syslog source interface set to the IP that you are managing the node with.
Thanks for your insight, yes the IP addresses used by NPM to manage the nodes and the syslog src int on the nodes are the same.
I was just thinking, regardless of where in the chain the DNS is resolving it doesn't explain why I am seeing a hostname entry for every single syslog message when I view them in the Syslog viewer app on the server. But when I view the same messages in the web GUI there are only IP addresses with no hostnames.