Need to know hostname or description in syslog

Addons for Cacti and discussion about those addons

Moderators: Developers, Moderators

Post Reply
anuraganuj
Cacti User
Posts: 70
Joined: Tue Feb 21, 2006 9:50 am

Need to know hostname or description in syslog

Post by anuraganuj »

could you please modify functions.php so that the device name is included in syslog and reports
Host[16]: 192.168.1.2 ERROR: HOST EVENT: Host is DOWN Message: Host did not respond to SNMP

and I'd like it to be Code:
DNCC: 192.168.1.2 ERROR: HOST EVENT: Host is DOWN Message: Host did not respond to SNMP

Thanks in advance.
User avatar
gandalf
Developer
Posts: 22383
Joined: Thu Dec 02, 2004 2:46 am
Location: Muenster, Germany
Contact:

Post by gandalf »

You will have a link to that device when using the View Cacti Log Utility. But commonly, I don't recommend using this as it may be really sloooow if running a reasonable amount of devices. The number in brackets refers to the host_id of the device in the Devices List (to be seen when hovering over the link in the devices list)
Reinhard
Post Reply

Who is online

Users browsing this forum: No registered users and 3 guests