Cacti (home)ForumsRepositoryDocumentation
Cacti: offical forums and support  

 FAQFAQ   SearchSearch   MemberlistMemberlist    RegisterRegister   ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in    


Need to know hostname or description in syslog

 
Post new topic   Reply to topic    Cacti Forum Index -> Addons for Cacti
Author Message
anuraganuj
Cacti User


Joined: 21 Feb 2006
Posts: 70

PostPosted: Fri Mar 17, 2006 8:24 am    Post subject: Need to know hostname or description in syslog Reply with quote

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.
Back to top
gandalf
Developer


Joined: 02 Dec 2004
Posts: 12604
Location: Muenster, Germany

PostPosted: Wed Mar 22, 2006 3:25 pm    Post subject: Reply with quote

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
Back to top
Display posts from previous:   
Post new topic   Reply to topic    Cacti Forum Index -> Addons for Cacti All times are GMT - 5 Hours
Page 1 of 1

 



Powered by phpBB © 2001, 2005 phpBB Group