SNMPTT/SYSLOG viewer Plugin for Cacti. v 1.4.3 (2009/02/06)
Moderators: Developers, Moderators
I followed the instructions but I am not getting the plugin to show in the ui
I am getting the following error in my apache error log.
PHP Fatal error: Cannot redeclare plugin_init_snmptt() (previously declared in /var/www/cacti/plugins/snmptt/setup.php:27) in /var/www/cacti/plugins/setup.php on line 35, referer: http://10.10.10.10/cacti/plugins.php
Any help would be appreciated.
snmptt is running
I am getting the following error in my apache error log.
PHP Fatal error: Cannot redeclare plugin_init_snmptt() (previously declared in /var/www/cacti/plugins/snmptt/setup.php:27) in /var/www/cacti/plugins/setup.php on line 35, referer: http://10.10.10.10/cacti/plugins.php
Any help would be appreciated.
snmptt is running
database error in snmptt
i m new to snmptt. i have setup it successfully. but getting some databse error while receiving traps from cisco 2950c switch.
using
cactiEZ v0.4
database error is ---
[root@bsd snmp]# tail /var/log/snmpttsystem.log
2008-08-06 14:13:44 MySQL error 1146: Unable to perform INSERT INTO (EXECUTE): Table 'cacti.snmptt_unknown' doesn't exist
2008-08-06 14:13:54 MySQL error 1146: Unable to perform INSERT INTO (EXECUTE): Table 'cacti.snmptt_unknown' doesn't exist
2008-08-06 14:13:59 MySQL error 1146: Unable to perform INSERT INTO (EXECUTE): Table 'cacti.snmptt_unknown' doesn't exist
2008-08-06 14:14:05 MySQL error 1146: Unable to perform INSERT INTO (EXECUTE): Table 'cacti.snmptt_unknown' doesn't exist
2008-08-06 14:49:30 MySQL error 1146: Unable to perform INSERT INTO (EXECUTE): Table 'cacti.snmptt_unknown' doesn't exist
also there is a problem of "NO ACCESS" in check column ... y it is so. i m posting screen shoot with this..
pls help i really need this plugin.
sorry for my poor English.
thanks in advanced.
using
cactiEZ v0.4
database error is ---
[root@bsd snmp]# tail /var/log/snmpttsystem.log
2008-08-06 14:13:44 MySQL error 1146: Unable to perform INSERT INTO (EXECUTE): Table 'cacti.snmptt_unknown' doesn't exist
2008-08-06 14:13:54 MySQL error 1146: Unable to perform INSERT INTO (EXECUTE): Table 'cacti.snmptt_unknown' doesn't exist
2008-08-06 14:13:59 MySQL error 1146: Unable to perform INSERT INTO (EXECUTE): Table 'cacti.snmptt_unknown' doesn't exist
2008-08-06 14:14:05 MySQL error 1146: Unable to perform INSERT INTO (EXECUTE): Table 'cacti.snmptt_unknown' doesn't exist
2008-08-06 14:49:30 MySQL error 1146: Unable to perform INSERT INTO (EXECUTE): Table 'cacti.snmptt_unknown' doesn't exist
also there is a problem of "NO ACCESS" in check column ... y it is so. i m posting screen shoot with this..
pls help i really need this plugin.
sorry for my poor English.
thanks in advanced.
- Attachments
-
- snmptt-prob.JPG (155.31 KiB) Viewed 10497 times
Re: database error in snmptt
You miss config from my first post:bhumin wrote:
database error is ---
[root@bsd snmp]# tail /var/log/snmpttsystem.log
2008-08-06 14:13:44 MySQL error 1146: Unable to perform INSERT INTO (EXECUTE): Table 'cacti.snmptt_unknown' doesn't exist
2008-08-06 14:13:54 MySQL error 1146: Unable to perform INSERT INTO (EXECUTE): Table 'cacti.snmptt_unknown' doesn't exist
2008-08-06 14:13:59 MySQL error 1146: Unable to perform INSERT INTO (EXECUTE): Table 'cacti.snmptt_unknown' doesn't exist
2008-08-06 14:14:05 MySQL error 1146: Unable to perform INSERT INTO (EXECUTE): Table 'cacti.snmptt_unknown' doesn't exist
2008-08-06 14:49:30 MySQL error 1146: Unable to perform INSERT INTO (EXECUTE): Table 'cacti.snmptt_unknown' doesn't exist
gthe wrote: .......
2. After that, change same setting in snmptt.ini:[/list]Code: Select all
mibs_environment = ALL date_time_format = %Y-%m-%d %H:%M:%S unknown_trap_log_enable = 1 statistics_interval = 300 db_translate_enterprise = 1 mysql_dbi_enable = 1 mysql_dbi_table = plugin_snmptt mysql_dbi_table_unknown = plugin_snmptt_unknown mysql_dbi_table_statistics = plugin_snmptt_statistics mysql_dbi_host = localhost # << CHANGE ! mysql_dbi_port = 3306 # << CHANGE ! mysql_dbi_database = cacti # << CHANGE ! mysql_dbi_username = cactiuser # << CHANGE ! mysql_dbi_password = cactipassword # << CHANGE ! mysql_ping_on_insert = 1 mysql_ping_interval = 300 date_time_format_sql = %Y-%m-%d %H:%M:%S stat_time_format_sql = %Y-%m-%d %H:%M:%S
Re: database error in snmptt
oh sorry..gthe wrote: ......You miss config from my first post:.
i really did a big mistake... now it is working fine.
but again one problem is there.
i m using 4 Cisco C2950 switch , 1 Cisco 7204 VXR configured with send traps
they all r sending traps but in UNKNOWN section. how do i make it in TRAP ( known ) section..
and in stats tab i m getting " Cant't find snmptt stats graphs. "
plz help. i m very much new to cacti & snmptt. but i love to have it.
thanks a lot for you help..
- Attachments
-
- snmptt-prob-2.JPG (150.85 KiB) Viewed 10484 times
Re: database error in snmptt
You need *.conf files for yous devices - read thisbhumin wrote: i m using 4 Cisco C2950 switch , 1 Cisco 7204 VXR configured with send traps
they all r sending traps but in UNKNOWN section. how do i make it in TRAP ( known ) section..
Look at addons/graphbhumin wrote: and in stats tab i m getting " Cant't find snmptt stats graphs. "
Re: database error in snmptt
thanks alot ,, it is working fine now
Who is online
Users browsing this forum: No registered users and 1 guest