Problem adding device with 2040 ATM sub interfaces

Post general support questions here that do not specifically fall into the Linux or Windows categories.

Moderators: Developers, Moderators

Clive
Posts: 5
Joined: Fri Oct 28, 2005 8:13 am

Post by Clive »

Some more nformation

I have turned on debug and I am getting the following error in the log

2005 11:09:49 PM - CACTID: Poller[0] Host[59] DS[179] WARNING: Result from SNMP not valid. Partial Result: ...
10/28/2005 11:09:56 PM - SYSTEM STATS: Time: 55.8406 s, Method: cactid, Processes: 1, Threads: 1, Hosts: 59, Hosts/Process: 59, Data Sources 266, RRDs Processed 138
10/28/2005 11:14:53 PM - CACTID: Poller[0] Host[59] DS[179] WARNING: Result from SNMP not valid. Partial Result:

Not sure f this is any help
chadd
Cacti User
Posts: 382
Joined: Thu Mar 24, 2005 3:53 pm
Location: Ocoee, Florida

Post by chadd »

I did put in the path for snmpbulkwalk, but I got the same results (new config_settings.php and snmp.php). The changes you are making - are they going to work with both pollers, or just with the cactid poller? Just curious, since I can't use the Cactid poller for some reason.. Thanks,

-chadd.
User avatar
TheWitness
Developer
Posts: 17007
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Post by TheWitness »

Clive,

Windows/Linux?

TheWitness
True understanding begins only when we realize how little we truly understand...

Life is an adventure, let yours begin with Cacti!

Author of dozens of Cacti plugins and customization's. Advocate of LAMP, MariaDB, IBM Spectrum LSF and the world of batch. Creator of IBM Spectrum RTM, author of quite a bit of unpublished work and most of Cacti's bugs.
_________________
Official Cacti Documentation
GitHub Repository with Supported Plugins
Percona Device Packages (no support)
Interesting Device Packages


For those wondering, I'm still here, but lost in the shadows. Yearning for less bugs. Who want's a Cacti 1.3/2.0? Streams anyone?
Clive
Posts: 5
Joined: Fri Oct 28, 2005 8:13 am

Post by Clive »

I am running on Windows 2003 with sp1
Not sure of the exact cati version but I think it was relaeased this year in June
User avatar
TheWitness
Developer
Posts: 17007
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Post by TheWitness »

Please increase your maximum memory in the php.ini file to something like 64mbytes. Then restart your web server.

TheWitness
True understanding begins only when we realize how little we truly understand...

Life is an adventure, let yours begin with Cacti!

Author of dozens of Cacti plugins and customization's. Advocate of LAMP, MariaDB, IBM Spectrum LSF and the world of batch. Creator of IBM Spectrum RTM, author of quite a bit of unpublished work and most of Cacti's bugs.
_________________
Official Cacti Documentation
GitHub Repository with Supported Plugins
Percona Device Packages (no support)
Interesting Device Packages


For those wondering, I'm still here, but lost in the shadows. Yearning for less bugs. Who want's a Cacti 1.3/2.0? Streams anyone?
Clive
Posts: 5
Joined: Fri Oct 28, 2005 8:13 am

Post by Clive »

Increasead the meory to 64MB as requested but it still does not do a sucsessful verbose query and comes back with a blank page as te result.
User avatar
TheWitness
Developer
Posts: 17007
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Post by TheWitness »

Clive,

I am working with another user on this same issue. You need to first implement the snmpbulkwalk patch that I have posted here to the forum and then increase your maximum php runtime parameter in php.ini to some thing like 900 seconds. Then, make sure the host is a snmpV2 host. Don't forget to restart your web server after making the changes.

To find the article, you may have to google it on "snmpbulkwalk". This is very current.

TheWitness
True understanding begins only when we realize how little we truly understand...

Life is an adventure, let yours begin with Cacti!

Author of dozens of Cacti plugins and customization's. Advocate of LAMP, MariaDB, IBM Spectrum LSF and the world of batch. Creator of IBM Spectrum RTM, author of quite a bit of unpublished work and most of Cacti's bugs.
_________________
Official Cacti Documentation
GitHub Repository with Supported Plugins
Percona Device Packages (no support)
Interesting Device Packages


For those wondering, I'm still here, but lost in the shadows. Yearning for less bugs. Who want's a Cacti 1.3/2.0? Streams anyone?
Clive
Posts: 5
Joined: Fri Oct 28, 2005 8:13 am

Post by Clive »

Well guys the news is good

Eureka as another famous person once said

What I did was as follows
Implemented the new snmp.php and config_settings.php files in this thread
Added the path to the snmpbulwalk through the GUI iguration part of cacti
Increased the maximum memory a process can use as recommended in this thread from 8 to 64Mb
Used snmp v2 to query the host when greating the device instead of snmp v1

It all works now and is super quick. There was no need to change any of the timeout settings as recomended in the thread

Thanks for all the support

Regards
Clive :lol:
User avatar
TheWitness
Developer
Posts: 17007
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Post by TheWitness »

Thanks for the feedback!!

TheWitness
True understanding begins only when we realize how little we truly understand...

Life is an adventure, let yours begin with Cacti!

Author of dozens of Cacti plugins and customization's. Advocate of LAMP, MariaDB, IBM Spectrum LSF and the world of batch. Creator of IBM Spectrum RTM, author of quite a bit of unpublished work and most of Cacti's bugs.
_________________
Official Cacti Documentation
GitHub Repository with Supported Plugins
Percona Device Packages (no support)
Interesting Device Packages


For those wondering, I'm still here, but lost in the shadows. Yearning for less bugs. Who want's a Cacti 1.3/2.0? Streams anyone?
chadd
Cacti User
Posts: 382
Joined: Thu Mar 24, 2005 3:53 pm
Location: Ocoee, Florida

Post by chadd »

YES!!!!!!!! That did it. Thank you everyone! (Larry ;-). That is going to be a difficult one to fix with a new release of Cacti... - or is it?? Seamed to have been a PHP problem, not a Cacti one. Thanks again all.

-chadd.
User avatar
TheWitness
Developer
Posts: 17007
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Post by TheWitness »

The permanent fix, the one that you don't need the snmp??? binaries, is realy a PHP issue. I have worked with the developer of the php_snmp libraries and starting in PHP 5.1, the default method will be "bulk" when using snmpv2 or v3. The workaround is in both the next minor release of Cacti 0.8.6h and 0.9.

TheWitness
True understanding begins only when we realize how little we truly understand...

Life is an adventure, let yours begin with Cacti!

Author of dozens of Cacti plugins and customization's. Advocate of LAMP, MariaDB, IBM Spectrum LSF and the world of batch. Creator of IBM Spectrum RTM, author of quite a bit of unpublished work and most of Cacti's bugs.
_________________
Official Cacti Documentation
GitHub Repository with Supported Plugins
Percona Device Packages (no support)
Interesting Device Packages


For those wondering, I'm still here, but lost in the shadows. Yearning for less bugs. Who want's a Cacti 1.3/2.0? Streams anyone?
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest