LiteSpeed Technologies
Download Download     Blog Blog     Wiki Wiki     Forum Forum     Store     Contact Contact    

Go Back   LiteSpeed Support Forums > LiteSpeed Web Server > Install/Configuration > SNMP - no output

Reply
 
Thread Tools Display Modes
  #1  
Old 09-14-2006, 02:40 AM
Irulusug Irulusug is offline
New Member
 
Join Date: Sep 2006
Posts: 5
Default SNMP - no output

Hi!

Ive got some problems monitoring Lightspeed Enterprise. I followed the intstructions on your wiki, but dont get any output from snmpd.

My snmpd.conf looks like this:

pass .1.3.6.1.4.1.8888 /usr/local/php5/bin/php /var/www/xxxx/html/cacti/scripts/litespeed.php

If I call /usr/local/php5/bin/php /var/www/xxxx/html/cacti/scripts/litespeed.php manually I dont get any output. Cacti says: No Such Instance currently exists at this OID

I searched the forum and found a hint to check OIDs.

/usr/local/php5/bin/php /var/www/xxxx/html/cacti/scripts/litespeed.php '-g' .1.3.6.1.4.1.8888.101.1 outputs:

.1.3.6.1.4.1.8888.101.1
string
LiteSpeed Web Server

But snmpwalk -c hhpv2 -v 2c 127.0.0.1 .1.3.6.1.4.1 timeouts: Timeout: No Response from 127.0.0.1

Any ideas? Thanks for your help!

Christoph

Last edited by Irulusug; 09-14-2006 at 05:02 AM..
Reply With Quote
  #2  
Old 09-14-2006, 09:30 AM
xing xing is offline
LiteSpeed Staff
 
Join Date: Oct 2003
Location: Los Angeles, California
Posts: 380
Chris,

1) First of all. Please use OID: .1.3.6.1.4.1.22253. This OID is registered with LiteSpeed Technologies so you should not have any future conflicts.

2) Looks like you were testing with our beta release. Please check the /add-ons/ folder of 2.2+ installer for the final release of our snmpd bridge package. Re-import the templates into cacti to update them to the new official OID.

3) Check to see if any php errors were logged.

Quote:
But snmpwalk -c hhpv2 -v 2c 127.0.0.1 .1.3.6.1.4.1 timeouts: Timeout: No Response from 127.0.0.1
Looks like your OID part is wrong. It should be:
PHP Code:
snmpwalk -c hhpv2 -v 2c 127.0.0.1  .1.3.6.1.4.1.22253.101 
4) If your manual test of "/usr/local/php5/bin/php /var/www/xxxx/html/cacti/scripts/litespeed.php '-g' .1.3.6.1.4.1.22253.101.1" works and outputs the product name, then there is some problem with your snmpd.conf.

Last edited by xing; 09-14-2006 at 09:32 AM..
Reply With Quote
  #3  
Old 09-14-2006, 09:53 AM
xing xing is offline
LiteSpeed Staff
 
Join Date: Oct 2003
Location: Los Angeles, California
Posts: 380
I would recommend to trace the problem going backwards.

Use a clean slate snmpd.conf as shown in the wiki:

Code:
//working sample snmpd.conf
rocommunity  public
pass .1.3.6.1.4.1.22253 /usr/bin/php /litespeed_snmp_scripts/sample.php
Again, make sure you upgrade all your code/templates to our final non-beta release.

If the above snmpd.conf works, then we are sure there is something wrong with your original snmpd.conf.
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
snmp OID question PSS PHP 3 06-18-2007 06:32 PM
No SNMP data (Cacti) Stefan Soellner Install/Configuration 1 11-13-2006 03:34 AM
SNMP Agent... hugemikeyd Install/Configuration 8 07-31-2006 02:59 PM
stderr.log Dani Bug Reports 2 01-05-2006 07:58 AM
Output compression darb Feedback/Feature Requests 1 10-27-2004 10:21 PM


All times are GMT -7. The time now is 11:06 AM.



- Archive - Top
© Copyright 2003-2011 LiteSpeed Technologies, Inc. All rights reserved. Privacy Policy.