Issue with configure Cisco router for syslog

This support forum board is for support questions relating to Nagios Log Server, our solution for managing and monitoring critical log data.
Locked
delwins
Posts: 4
Joined: Tue Nov 13, 2018 4:13 pm

Issue with configure Cisco router for syslog

Post by delwins »

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.
User avatar
mcapra
Posts: 3739
Joined: Thu May 05, 2016 3:54 pm

Re: Issue with configure Cisco router for syslog

Post by mcapra »

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
https://www.mcapra.com/
User avatar
cdienger
Support Tech
Posts: 5045
Joined: Tue Feb 07, 2017 11:26 am

Re: Issue with configure Cisco router for syslog

Post by cdienger »

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.
delwins
Posts: 4
Joined: Tue Nov 13, 2018 4:13 pm

Re: Issue with configure Cisco router for syslog

Post by delwins »

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.
User avatar
cdienger
Support Tech
Posts: 5045
Joined: Tue Feb 07, 2017 11:26 am

Re: Issue with configure Cisco router for syslog

Post by cdienger »

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.
Locked