SNMPTT/SYSLOG viewer Plugin for Cacti. v 1.4.3 (2009/02/06)

General discussion about Plugins for Cacti

Moderators: Developers, Moderators

Post Reply
inetd
Posts: 3
Joined: Fri Jul 11, 2008 10:42 am

Post by inetd »

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
User avatar
gthe
Cacti User
Posts: 410
Joined: Sat Jul 29, 2006 1:23 pm
Location: RU

Post by gthe »

Do you clean install or update from previous version ?
inetd
Posts: 3
Joined: Fri Jul 11, 2008 10:42 am

Post by inetd »

clean install
User avatar
gthe
Cacti User
Posts: 410
Joined: Sat Jul 29, 2006 1:23 pm
Location: RU

Post by gthe »

In witch step error occur ?
Do you see plugin in Plugin Management ?
In cacti/plugins must be only one folder snmptt (no snmptt_extjs, no snmptt_old and etc.)
bhajan
Posts: 4
Joined: Wed Jul 16, 2008 3:49 am
Location: fsdfdsf
Contact:

Post by bhajan »

I need to install snmptt plugin with cacti 0.86i version....but i am not able to install ....please help me
bhajan
Posts: 4
Joined: Wed Jul 16, 2008 3:49 am
Location: fsdfdsf
Contact:

Post by bhajan »

I need to install snmptt plugin with cacti 0.86i version....but i am not able to install ....please help me
User avatar
gthe
Cacti User
Posts: 410
Joined: Sat Jul 29, 2006 1:23 pm
Location: RU

Post by gthe »

----[ Requirements:

- Cacti 0.8.7b
- Plugin Architecture v2.х for Cacti v0.8.7b
bhajan
Posts: 4
Joined: Wed Jul 16, 2008 3:49 am
Location: fsdfdsf
Contact:

Post by bhajan »

its ok...can you tell me any similar pulgin which can be installed with cacti 0.86i
bhumin
Posts: 11
Joined: Sun Jul 13, 2008 2:36 am
Location: surat
Contact:

database error in snmptt

Post by bhumin »

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.
Attachments
snmptt-prob.JPG
snmptt-prob.JPG (155.31 KiB) Viewed 10495 times
User avatar
gthe
Cacti User
Posts: 410
Joined: Sat Jul 29, 2006 1:23 pm
Location: RU

Re: database error in snmptt

Post by gthe »

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
You miss config from my first post:
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
    bhumin
    Posts: 11
    Joined: Sun Jul 13, 2008 2:36 am
    Location: surat
    Contact:

    Re: database error in snmptt

    Post by bhumin »

    gthe wrote: ......You miss config from my first post:.
    oh sorry..
    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
    snmptt-prob-2.JPG (150.85 KiB) Viewed 10482 times
    User avatar
    gthe
    Cacti User
    Posts: 410
    Joined: Sat Jul 29, 2006 1:23 pm
    Location: RU

    Re: database error in snmptt

    Post by gthe »

    bhumin 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..
    You need *.conf files for yous devices - read this
    bhumin wrote: and in stats tab i m getting " Cant't find snmptt stats graphs. "
    Look at addons/graph
    bhumin
    Posts: 11
    Joined: Sun Jul 13, 2008 2:36 am
    Location: surat
    Contact:

    Re: database error in snmptt

    Post by bhumin »

    gthe wrote:

    You need *.conf files for yous devices - read this
    thanks alot ,, it is working fine now
    bbbnice
    Posts: 2
    Joined: Fri Aug 22, 2008 2:53 am

    Post by bbbnice »

    I can't get stats graphs just like bhumin.
    get_graph_snmptt_url value always 0.
    DO I have to add any templates in graph templates?else I can't get the graph_id value.
    thanks a lot!
    bbbnice
    Posts: 2
    Joined: Fri Aug 22, 2008 2:53 am

    Post by bbbnice »

    sorry!I didn't import the xmls!
    Post Reply

    Who is online

    Users browsing this forum: No registered users and 0 guests