see also [[computer:snmp]]
====== cacti ======
===== Upgrading =====
* http://www.spoonapedia.com/2010/07/upgrading-cacti.html
====== cacti templates & add ons ======
===== Windows =====
* using host and graph templates from WinXP/Vista/Win7/Win2000/Win2003/Win2008 Templates x32/x64 post
* http://forums.cacti.net/viewtopic.php?t=32797
* use v7 (11/13/08) for Ubuntu 9.10 server w/cacti **8.7d**
- enable and configure SNMP on Windows host (must be **before** SNMP Informant installation)
- install and configure SNMP Informant software
- copy snmp_informant*.xml files to /usr/share/cacti/resource/snmp_queries/
- import host and graph templates via cacti web UI
* for packet graphs, had to edit **data sources** after graphs were created and change the dropdown for Custom Data | Output Type ID from ''W32 - Network Statistics (Packets)'' to ''Network Statistics (Packets)''
==== Reference ====
* SNMP Informant - http://www.wtcs.org/informant/Free/Free-overview.htm
\\
\\
===== NetApp =====
* installed from files on http://www.elifulkerson.com/projects/netapp-filer-cacti-template.php
- copy copy netapp-volumes.xml to /usr/share/cacti/resource/snmp_queries
- load host template cacti_host_template_netapp.xml via cacti web UI
* added additional graphs to NetApp **host template** prior to creating device, not all are associated by default
* had to change LAST to AVERAGE on **graph templates** to get them to work
* see http://forums.cacti.net/about5954-0-asc-15.html
Potential templates
* NetApp CIFS, NFS, and iSCSI latency graph templates
* http://get-admin.com/blog/?p=1146
===== APC =====
reference threads:
* http://forums.cacti.net/viewtopic.php?t=30362.
* http://forums.cacti.net/viewtopic.php?t=11794&postdays=0&postorder=asc&start=30
APC 9631
* External probe 2 temp (F) - uioSensorStatusTemperatureDeg - .1.3.6.1.4.1.318.1.1.25.1.2.1.6.2.1
* Runtime - upsAdvBatteryRunTimeRemaining - .1.3.6.1.4.1.318.1.1.1.2.2.3.0
Switched Rack PDU
* http://forums.cacti.net/viewtopic.php?t=7612&postdays=0&postorder=asc&start=15
* need to change graph templates from AVERAGE to LAST if CF error appears
==== Future ====
* http://get-admin.com/blog/?p=654
* http://forums.cacti.net/about27581.html
* improving graph appearance - https://jackofallit.wordpress.com/2008/01/23/sexy-cacti-graphs/
\\
\\
===== Cisco - Advanced =====
* http://forums.cacti.net/about10491-0-asc-0.html
\\
\\
===== plugin architecture & plugins =====
==== Threshold ====
* official thread http://forums.cacti.net/viewtopic.php?t=13829
==== CaMM ====
* official thread - http://forums.cacti.net/viewtopic.php?p=156769#156769
* Installation w/o other syslog plugin
* as setup jvv 2/7/10 for wha
* http://forums.cacti.net/about31374-0-asc-90.html
* 1.6.62 upgrade
* fail on insert into [settings] new parameter [camm_snmptt_min_row_all]
* fail on insert into [settings] new parameter [camm_sys_min_row_all]
* modification - http://forums.cacti.net/viewtopic.php?t=38421&highlight=camm
* 1.6.75 upgrade
=== MySQL ===
mysqlcheck --auto-repair --databases cacti -u cacti -p
mysqlcheck --repair cacti -u cacti -p
php ../var/www/html/cli/repair_database.php
=== MIB configuration ===
When adding a new MIB to the system, it is necessary to compile/translate it into a human readable format to make messages displayed by CaMM easier to interpret.
- copy MIB file from vendor to /usr/share/snmp/mibs
- type: **export MIBS=ALL** to ensure all the mibs will be read in by snmptranslate
- run **snmptranslate** on directory & look for errors related to the MIB you added
- if ok, run **snmpttconvertmib --in=/usr/share/snmp/mibs/ --out=/etc/snmp/snmptt/.conf --net_snmp_perl** see http://snmptt.sourceforge.net/docs/snmpttconvertmib.shtml
- add reference in /etc/snmp/snmptt.ini to new file if necessary
* e.g
snmptt_conf_files = <
* see http://snmptt.sourceforge.net/docs/snmptt.shtml#SNMPTT.CONF-Configuration-file-format
==== Mactrack ====
* official thread - http://forums.cacti.net/about31122-0-asc-45.html
* svn co svn://svn.cacti.net/cacti_plugins/mactrack/trunk mactrack
* modify mactrack_functions.php after install per below
* http://forums.cacti.net/post-189451.html
==== Syslog ====
* SNMPTT/SYSLOG viewer Plugin for Cacti. v 1.4.3 (2009/02/06)
* official thread - http://forums.cacti.net/viewtopic.php?t=26672
===== Future =====
* [HOWTO] Install Syslog 0.5.2 plugin on Linux/Unix Cacti vers
* http://forums.cacti.net/viewtopic.php?t=26040
===== Misc/General =====
* http://forums.cacti.net/about4143.html