Is there anyway to get the cacti log file to include the "description" of the device in addition
to the hostname? currently we have the device desciption as the "name" of the device, and the
hostname as the "ip" of the device: Description: location-site-bldg-device = lax-43-33-rtr1, where rtr1 = "router 1"
The device down error message in the log file reads:
SPINE: Poller Device Hostname[10.41.4.1] ERROR: HOST EVENT: Device is DOWN Message: Device did not respond to SNMP
so you can see there is no description in the DOWN message - there is in the threshold email message (yes, I know I could use the email message to get the description).
and the "UP" message:
SPINE: Poller Device Hostname[10.41.4.1] NOTICE: HOST EVENT: Device Returned from DOWN State
I am using the cacti.log file in syslog-ng, to forward messages to splunk and would like someway (other than reading the email messages, yes it works) to include the "description" with the hostname.
Thanks so much,
Post support questions that directly relate to Linux/Unix operating systems.
1 post • Page 1 of 1