Syslog config question

DOWNLOAD THE LATEST FIRMWARE HERE
User avatar
sporkman
Member
 
Posts: 86
Joined: Mon Jul 27, 2015 7:03 pm
Location: New York, NY
Has thanked: 8 times
Been thanked: 11 times

Syslog config question

Wed Jan 17, 2018 8:56 pm

So I had syslog setup on a few switches and didn't pay much attention to it until I had a problem with one switch and found that I had no logs - not before losing connectivity nor after regaining it.

The config looked not unlike this:

screenshot-dt 2018-01-17 at 7.47.29 PM.png
screenshot-dt 2018-01-17 at 7.47.29 PM.png (17.96 KiB) Viewed 3489 times


Note that "Host" is filled in (the syslog host, one would presume), and the "NMS IP" is blank. This validates and saves without error.

I then added the IP I had in the "host" field to the "NMS IP" field and logging started:

screenshot-dt 2018-01-17 at 7.48.08 PM.png
screenshot-dt 2018-01-17 at 7.48.08 PM.png (17.18 KiB) Viewed 3489 times


I'm totally lost on what the difference is between these two fields. "Host" would imply "the host I want to send syslog messages to", and "NMS IP" I'm guessing means "Network Management Station IP". Both make sense as a destination, but if NMS IP is required for remote syslog, then require the field. Host is required and appears to only accept an IP.

What's the difference? I thought maybe "Host" was to be the switch's hostname and would prepend to the logs, but it's not that as it doesn't accept a hostname...

User avatar
sirhc
Employee
Employee
 
Posts: 7416
Joined: Tue Apr 08, 2014 3:48 pm
Location: Lancaster, PA
Has thanked: 1608 times
Been thanked: 1325 times

Re: Syslog config question

Wed Jan 17, 2018 9:01 pm

NMS IP field is exactly what it says, your Network Monitoring Server IP.

This way it does not log queries from this IP in the Log and fill up your log with connection entries every time your NMS server queries the switch.
Support is handled on the Forums not in Emails and PMs.
Before you ask a question use the Search function to see it has been answered before.
To do an Advanced Search click the magnifying glass in the Search Box.
To upload pictures click the Upload attachment link below the BLUE SUBMIT BUTTON.

User avatar
sporkman
Member
 
Posts: 86
Joined: Mon Jul 27, 2015 7:03 pm
Location: New York, NY
Has thanked: 8 times
Been thanked: 11 times

Re: Syslog config question

Wed Jan 17, 2018 9:15 pm

That's bizarre. Why does it not log to the syslog server defined in "Host" if "NMS IP" is blank?

Filtering and such is usually done at the syslog server.

User avatar
sirhc
Employee
Employee
 
Posts: 7416
Joined: Tue Apr 08, 2014 3:48 pm
Location: Lancaster, PA
Has thanked: 1608 times
Been thanked: 1325 times

Re: Syslog config question

Wed Jan 17, 2018 9:49 pm

sporkman wrote:That's bizarre. Why does it not log to the syslog server defined in "Host" if "NMS IP" is blank?

Filtering and such is usually done at the syslog server.


People complained that the switch log was FULL of NMS Server queries and also why log that query to the SYSLOG server every time your NMS Server queries the switch which if you do this every minute that is 1440 log entries if polling the switch every minute.

NMS IP can be blank and it still logs to SYS LOG server. it does for me anyway?
Support is handled on the Forums not in Emails and PMs.
Before you ask a question use the Search function to see it has been answered before.
To do an Advanced Search click the magnifying glass in the Search Box.
To upload pictures click the Upload attachment link below the BLUE SUBMIT BUTTON.

User avatar
sirhc
Employee
Employee
 
Posts: 7416
Joined: Tue Apr 08, 2014 3:48 pm
Location: Lancaster, PA
Has thanked: 1608 times
Been thanked: 1325 times

Re: Syslog config question

Wed Jan 17, 2018 10:26 pm

If you would have moused over the "NMS IP" a balloon would pop up and explain what the purpose is for the NMS IP

Many items on the UI have mouse over balloons that pop up to explain things

CLICK IMAGE TO VIEW FULL SIZE
syslog.png
Support is handled on the Forums not in Emails and PMs.
Before you ask a question use the Search function to see it has been answered before.
To do an Advanced Search click the magnifying glass in the Search Box.
To upload pictures click the Upload attachment link below the BLUE SUBMIT BUTTON.

User avatar
sporkman
Member
 
Posts: 86
Joined: Mon Jul 27, 2015 7:03 pm
Location: New York, NY
Has thanked: 8 times
Been thanked: 11 times

Re: Syslog config question

Wed Jan 17, 2018 11:40 pm

sirhc wrote:NMS IP can be blank and it still logs to SYS LOG server. it does for me anyway?


I swear to god it wasn't. Maybe test with a reboot between toggling it empty/not-empty (I don't have one on the bench handy)?

It's the whole reason I started the thread - I was looking at the FC issue, noticed I had zero logs from any of my netonix switches, then started screwing around and added the IP of my syslog server in the "NMS IP" field. At that point, logs started showing up.

Also what are people hitting these things with that generates logs? I probe them, but it's all SNMP. Are others scraping stats out of the cli or something?

Return to Hardware and software issues

Who is online

Users browsing this forum: No registered users and 57 guests