Issue with configure Cisco router for syslog

This board serves as an open discussion and support collaboration point for Nagios Log Server. NOTE: Nagios Log Server customers should use the Customer Support forum to obtain expedited support.

Issue with configure Cisco router for syslog

Postby delwins » Tue Dec 04, 2018 5:56 pm

Logon to cisco router
Enter the following text and received error message:

INET-TS-4(config)#service timestamps
INET-TS-4(config)#logging host 10.33.7.11 transport udp port 5544
Translating "host"...domain server (255.255.255.255)
^
% Invalid input detected at '^' marker.

INET-TS-4(config)#logging host 10.33.7.76 transport udp port 5544
Translating "host"...domain server (255.255.255.255)
^
% Invalid input detected at '^' marker.
delwins
 
Posts: 4
Joined: Tue Nov 13, 2018 4:13 pm

Re: Issue with configure Cisco router for syslog

Postby mcapra » Wed Dec 05, 2018 9:22 am

delwins wrote:Logon to cisco router


This presumes that the reader has one. I unfortunately do not.

Could you describe a little more in-depth what it is you're trying to do? Also, what family of device(s) you're trying to configure? Model numbers, firmware/software versions, etc.
Former Nagios employee
http://www.mcapra.com/
User avatar
mcapra
 
Posts: 3462
Joined: Thu May 05, 2016 3:54 pm

Re: Issue with configure Cisco router for syslog

Postby cdienger » Wed Dec 05, 2018 1:22 pm

I don't have a router to test this on and specifics like @mcapra request may help track down the right documenation, but from the message it looks like it's trying to resolve "host" and may just want a valid hostname or IP. Try:

logging 10.33.7.11 transport udp port 5544
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
User avatar
cdienger
Support Tech
 
Posts: 2191
Joined: Tue Feb 07, 2017 11:26 am

Re: Issue with configure Cisco router for syslog

Postby delwins » Wed Dec 05, 2018 4:41 pm

The device is cisco router IOS 12.0.
The CLI command change to logging "HOSTNAME or IP ADDRESS" but it does not allow change of port to 5544.
Is it possible to change the port for Syslog Server? Cisco use the deflault port 514.
delwins
 
Posts: 4
Joined: Tue Nov 13, 2018 4:13 pm

Re: Issue with configure Cisco router for syslog

Postby cdienger » Wed Dec 05, 2018 5:04 pm

A syslog input can be configured to listen on port 514 - either edit the existing default syslog input or create a new one using the default as a template. Inputs are configured under Configure > Global(All Instances ) > Glboal Config.

Port 514 is considered a privileged port and requires some additional configuration before logstash will be able to open listen port for it - See https://assets.nagios.com/downloads/nag ... Server.pdf
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
User avatar
cdienger
Support Tech
 
Posts: 2191
Joined: Tue Feb 07, 2017 11:26 am


Return to Nagios Log Server

Who is online

Users browsing this forum: No registered users and 3 guests