LiteSpeed SNMP/Cacti 1.0b Released

Status
Not open for further replies.

xing

LiteSpeed Staff
#1
LiteSpeed SNMP/Cacti 1.0b2 Released

1.0b2 (beta2) version of the LiteSpeed Parser/SNMP Bridge/Cacti Templates has been released.

Download Scripts (LGPL):

http://www.litespeedtech.com/packages/snmp_cacti/litespeed_snmp_cacti_1.0b2.zip

Wiki How-To:

http://www.litespeedtech.com/community/wiki/doku.php?id=litespeed_wiki:snmp_cacti_monitoring

Enjoy! Feedback and especially tips on how to create better and more effective Cacti graphs are most welcome.

There are 7 types of graphs monitoring 7 distinct data groups. One can monitor on 3 levels: General (Server Global) Level, per VHost Level, and per External Application level.

Change Log:

Beta2: 7/19/2006
-----------------
Only litespeed_cacti_template.xml file has been modified. Re-import the template file within Cacti to upgrade to Beta2.

* Fixed Data Query template xml location value.
* Removed 95th percentile graphing from Traffic graphs. Cacti problem.
* Fixed Traffic graphs to properly convert displayed/graphed value to "bits".
* Update ExtApp connections graph to make it less "messy". Removed IdleConn line: redundant and obvious it is the diff between PoolSize and InUseConn.
* Updated various graphs to make the colors more consistent.

Beta1: 7/17/2006
-----------------
Inital Release

Here are 5 sample graphs.











 
Last edited by a moderator:

ts77

Well-Known Member
#2
Great stuff, thanks.

one little bug in litespeed_cacti_template.xml:

<hash_04001176d81d4e3c52dab62afa5205a9c517a2>
<name>LiteSpeed ExtApp</name>
<description>LiteSpeed ExtApp</description>
<xml_path>/xingwww/cacti/litespeed_extapp.xml</xml_path>

The xml_path needs to be:
<xml_path>&lt;path_cacti&gt;/resource/snmp_queries/litespeed_extapp.xml</xml_path>

Otherwise its looking good and the graphs are collection now.
Will look into it a little bit deeper later on.
 

xing

LiteSpeed Staff
#3
Thank you for the feedback. We found a problem where "Plain/SSL Traffic" graphs are plotting values with the wrong conversion factor. It's coverting KBytes to KBits instead of KBytes to bits (off by a factor 1000).

A new b2 release will be released later today with the the path and traffic graphic fix.
 
#5
Issue with SNMP

I keep getting the error message below when i try and snmpwalk:

SNMPv2-SMI::enterprises.8888.101 = No Such Instance currently exists at this OID

When i use V1 i get no message at all. I know my config is ok b/c i can access anything else:

snmpwalk -c hhpv2 -v 2c localhost .1.3.6.1.4.1

Returns a whole bunch of info. All i added to my config was the line:

pass .1.3.6.1.4.1.8888 /etc/snmp/litespeed/sample.php

and i replaced the first 2 lines of sample.php to the following:

#!/usr/local/bin/php
<?php

Since my php does not use short tags, am i missing something here? Is there a way for me to test it via the command line and no SNMP?
 

pizzaman

Active Member
#6
Great stuff, but can't get it to work

try putting
rocommunity public

above this line
pass .1.3.6.1.4.1.8888 /etc/snmp/litespeed/sample.php
 
Status
Not open for further replies.
Top