Package: cacti
Version: 0.8.6h-2
Severity: normal

Hi

I have a Linksys managed switch (SRW2016) being polled by Cacti.  The
switch provides port descriptions under IF-MIB::ifAlias, and I wanted to
change my graph titles to display the new descriptions that I had added
to the switch.

I am using the SNMP - Interface Statistics Data Query, In/Out Bits
template.

I did something similar to this on another non-Debian installation some
six months or more back and it went okay.

I opened up a Traffic graph from Graph Management and changed the graph
"Title" field from the original "|host_description| - Traffic -
|query_ifName|" to "|host_description| - Traffic - |query_ifName| -
|query_ifAlias|".  After saving the graph item, it went to all heck.

This particular graph item now isn't shown under Graph Management any
more when I display graphs for this host.

There is an error message worthy of note on the fubared Graph Management
Page.  Under "Graph Configuration", "Image Format" it says "Notice:
Undefined index: in /usr/share/cacti/site/lib/html_form.php on line 154"

I put screenshots of both a good graph item and the new bad graph item
here;

http://www.opendreams.net/jesse/temp/bugz/

I'm not sure if the DB is messed up or what is going on.  I'll look at
it tomorrow when I'm less tired.

This is not on a critical system, so I can fool around with it a bit if
need be.  I'll go poke the DB tomorrow and see if the entire graph item
is messed up or if just changing the title item back to what it was
before will fix it.

I have not yet checked upstream for known bugs.  I'll go look tomorrow.



I would appreciate it if someone would attempt to reproduce;

1.) Create a new device and add the SNMP - Interface Statistics Data
Query. (use an existing device, but give it a new Description).

2.) Graph at least two Interfaces with "Interface - Traffic (bits/sec)".

3.) Use Graph Management to change the Title field from it's original to
anything at all.

4.) BoGO!



-- System Information:
Debian Release: testing/unstable
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.4.32-2005120801
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)

Versions of packages cacti depends on:
ii  apache                        1.3.34-2   versatile, high-performance HTTP s
ii  dbconfig-common               1.8.11     common framework for packaging dat
ii  debconf [debconf-2.0]         1.4.70     Debian configuration management sy
ii  libphp-adodb                  4.64-4     The 'adodb' database abstraction l
ii  logrotate                     3.7.1-2    Log rotation utility
ii  mysql-client-5.0 [virtual-mys 5.0.18-7   mysql database client binaries
ii  php4                          4:4.4.2-1  server-side, HTML-embedded scripti
ii  php4-cli                      4:4.4.2-1  command-line interpreter for the p
ii  php4-mysql                    4:4.4.2-1  MySQL module for php4
ii  php4-snmp                     4:4.4.2-1  SNMP module for php4
ii  rrdtool                       1.2.11-0.5 Time-series data storage and displ
ii  snmp                          5.2.1.2-4  NET SNMP (Simple Network Managemen
ii  ucf                           2.005      Update Configuration File: preserv

Versions of packages cacti recommends:
pn  iputils-ping                  <none>     (no description available)
ii  mysql-server                  5.0.18-7   mysql database server (current ver
ii  mysql-server-5.0 [mysql-serve 5.0.18-7   mysql database server binaries

-- debconf information:
* cacti/username: cacti
  cacti/db/app-user:
  cacti/mysql/admin-user: root
* cacti/mysql_server: localhost
* cacti/webserver: Apache
  cacti/mysql/method: unix socket
  cacti/remote/host:
  cacti/upgrade-error: abort
  cacti/import-oldsettings:
  cacti/dbconfig-upgrade: true
  cacti/remote/newhost:
  cacti/purge: false
  cacti/upgrade_warning:
  cacti/database-type: mysql
* cacti/database: cacti
  cacti/remove-error: abort
  cacti/db/dbname:
  cacti/mismatch:
  cacti/upgrade-backup: true
  cacti/install-error: abort
  cacti/root_mysql: root
  cacti/passwords-do-not-match:
* cacti/no_automagic:
  cacti/dbconfig-remove: true
* cacti/dbconfig-install: false
  cacti/purge_db: true
  cacti/performing_upgrade: true
  cacti/remote/port:


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to