SYSLOG: how to handle syslog message from Cisco equipment where program is just a number increasing

General discussion about Plugins for Cacti

Moderators: Developers, Moderators

Post Reply
Rno
Cacti Pro User
Posts: 704
Joined: Wed Dec 07, 2011 9:19 am

SYSLOG: how to handle syslog message from Cisco equipment where program is just a number increasing

Post by Rno »

Hello,
I'm using SYSLOG plug-in to register all the events of my Cisco switch (1200 or so) and a few other server.
But I see that on Cisco the program is just a number who is increasing at each message.

And with that when I try do a search for a real specific message (like my mariadb sysevent) I can't find it in the drop down menu (only 20 or so are displayed).

So how can I make some order on the program record int the DB, to avoid all of this number who mean nothing.

Thanks for any help.
Test
Almalinux
php 8.2.14
mariadb 10.6.16
Cacti 1.2.27
Spine 1.2.27
RRD 1.7.2
thold 1.8
monitor 2.5
syslog 3.2
flowview: 3.3
weathermap 1.0 Beta
User avatar
Osiris
Cacti Guru User
Posts: 1424
Joined: Mon Jan 05, 2015 10:10 am

Re: SYSLOG: how to handle syslog message from Cisco equipment where program is just a number increasing

Post by Osiris »

Wish I had a Sysco device. Is there a clear mapping of I'd to program? Seems to me maybe a config issue in rsyslog though maybe?
Before history, there was a paradise, now dust.
User avatar
Osiris
Cacti Guru User
Posts: 1424
Joined: Mon Jan 05, 2015 10:10 am

Re: SYSLOG: how to handle syslog message from Cisco equipment where program is just a number increasing

Post by Osiris »

If the number is unambiguous, you could edit the mapping tables. Maybe modify the name by a plugin hook.
Before history, there was a paradise, now dust.
Rno
Cacti Pro User
Posts: 704
Joined: Wed Dec 07, 2011 9:19 am

Re: SYSLOG: how to handle syslog message from Cisco equipment where program is just a number increasing

Post by Rno »

Send me a postal address I will end you a Cisco Switch, not the latest one, but a simple 12 ports than you can use to test it.
Test
Almalinux
php 8.2.14
mariadb 10.6.16
Cacti 1.2.27
Spine 1.2.27
RRD 1.7.2
thold 1.8
monitor 2.5
syslog 3.2
flowview: 3.3
weathermap 1.0 Beta
Rno
Cacti Pro User
Posts: 704
Joined: Wed Dec 07, 2011 9:19 am

Re: SYSLOG: how to handle syslog message from Cisco equipment where program is just a number increasing

Post by Rno »

The number that is send from a switch is just a progressive number, I can't find any relation with a particular event.
But if I take the event from a linux server, the program is really the program name send by the server
Test
Almalinux
php 8.2.14
mariadb 10.6.16
Cacti 1.2.27
Spine 1.2.27
RRD 1.7.2
thold 1.8
monitor 2.5
syslog 3.2
flowview: 3.3
weathermap 1.0 Beta
User avatar
TheWitness
Developer
Posts: 17047
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Re: SYSLOG: how to handle syslog message from Cisco equipment where program is just a number increasing

Post by TheWitness »

I sent you a PM on this.
True understanding begins only when we realize how little we truly understand...

Life is an adventure, let yours begin with Cacti!

Author of dozens of Cacti plugins and customization's. Advocate of LAMP, MariaDB, IBM Spectrum LSF and the world of batch. Creator of IBM Spectrum RTM, author of quite a bit of unpublished work and most of Cacti's bugs.
_________________
Official Cacti Documentation
GitHub Repository with Supported Plugins
Percona Device Packages (no support)
Interesting Device Packages


For those wondering, I'm still here, but lost in the shadows. Yearning for less bugs. Who want's a Cacti 1.3/2.0? Streams anyone?
Rno
Cacti Pro User
Posts: 704
Joined: Wed Dec 07, 2011 9:19 am

Re: SYSLOG: how to handle syslog message from Cisco equipment where program is just a number increasing

Post by Rno »

Hello,
Didn't get any PM on that subject!
Yet ;)
Test
Almalinux
php 8.2.14
mariadb 10.6.16
Cacti 1.2.27
Spine 1.2.27
RRD 1.7.2
thold 1.8
monitor 2.5
syslog 3.2
flowview: 3.3
weathermap 1.0 Beta
User avatar
TheWitness
Developer
Posts: 17047
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Re: SYSLOG: how to handle syslog message from Cisco equipment where program is just a number increasing

Post by TheWitness »

I could not find the pm button are got distracted. Happens a lot as we age.
True understanding begins only when we realize how little we truly understand...

Life is an adventure, let yours begin with Cacti!

Author of dozens of Cacti plugins and customization's. Advocate of LAMP, MariaDB, IBM Spectrum LSF and the world of batch. Creator of IBM Spectrum RTM, author of quite a bit of unpublished work and most of Cacti's bugs.
_________________
Official Cacti Documentation
GitHub Repository with Supported Plugins
Percona Device Packages (no support)
Interesting Device Packages


For those wondering, I'm still here, but lost in the shadows. Yearning for less bugs. Who want's a Cacti 1.3/2.0? Streams anyone?
Post Reply

Who is online

Users browsing this forum: No registered users and 3 guests