Cactid
Moderators: Developers, Moderators
Cactid
Witness / Rax,
I am running cactid on XP. I can run it fine with 1 thread but it runs slower than the poller.php set to cmd. When I increase the threads to 2, I start getting these messages:
10/13/2004 07:50:20 AM - CACTID: Poller[0] Host[27] WARNING: Result from SNMP not valid. Partial Result: U...
10/13/2004 07:50:20 AM - CACTID: Poller[0] Host[26] WARNING: Result from SNMP not valid. Partial Result: U...
Any hints on how to resolve this issue?
Regards,
Willie
I am running cactid on XP. I can run it fine with 1 thread but it runs slower than the poller.php set to cmd. When I increase the threads to 2, I start getting these messages:
10/13/2004 07:50:20 AM - CACTID: Poller[0] Host[27] WARNING: Result from SNMP not valid. Partial Result: U...
10/13/2004 07:50:20 AM - CACTID: Poller[0] Host[26] WARNING: Result from SNMP not valid. Partial Result: U...
Any hints on how to resolve this issue?
Regards,
Willie
- TheWitness
- Developer
- Posts: 17047
- Joined: Tue May 14, 2002 5:08 pm
- Location: MI, USA
- Contact:
Set logging to DEBUG and post your results from 1 poll cycle. Also, please download the CVS copy of CACTID 0.8.6c and try it. If you are polling the same IP address as multiple hosts, some SNMP hosts can't handle the volume of traffic comming from net-snmp.
For example, my test system has 4 hosts:
IP Address Hostname
192.168.0.2 BASEMENT1
192.168.0.2 BASEMENT2
192.168.0.2 BASEMENT3
192.168.0.2 BASEMENT4
As you can see, they are the same system. Things are pretty good until I add the 5th host, then things start to break.
TheWitness
For example, my test system has 4 hosts:
IP Address Hostname
192.168.0.2 BASEMENT1
192.168.0.2 BASEMENT2
192.168.0.2 BASEMENT3
192.168.0.2 BASEMENT4
As you can see, they are the same system. Things are pretty good until I add the 5th host, then things start to break.
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?
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?
I have found the following, related to 'Result from SNMP not valid. Partial Result: U... '-problem :
* when Maximum Threads per Process for CACTID is to high, you get these SNMP errors. I mean : first had 4 cactid threads -> had sometimes these SNMP errors ; then tried 8 cactid threads -> a lot of SNMP errors ; then tried 2 cactid threads --> NO SNMP errors !!!
* I get these SNMP errors only on Netware servers. All NT servers are polled correctly!
Maybe this info helps you, TheWitness ?!
* when Maximum Threads per Process for CACTID is to high, you get these SNMP errors. I mean : first had 4 cactid threads -> had sometimes these SNMP errors ; then tried 8 cactid threads -> a lot of SNMP errors ; then tried 2 cactid threads --> NO SNMP errors !!!
* I get these SNMP errors only on Netware servers. All NT servers are polled correctly!
Maybe this info helps you, TheWitness ?!
- TheWitness
- Developer
- Posts: 17047
- Joined: Tue May 14, 2002 5:08 pm
- Location: MI, USA
- Contact:
This should work in Unix no problem. Concerned about pipes in Windows, but should work. Test, then post. If no lockups, I will commit to CVS.
TheWitness
TheWitness
- Attachments
-
- cactid_unix.zip
- (36.49 KiB) Downloaded 286 times
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?
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?
- TheWitness
- Developer
- Posts: 17047
- Joined: Tue May 14, 2002 5:08 pm
- Location: MI, USA
- Contact:
Post Cacti log. Thanks!!
TheWitness
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?
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?
Hello TheWitness,
See in attachment my log file. It's not in DEBUG mode, so i think it won't help that much. Maybe you can look at it and see what you can learn from it.
- It seems that I sometimes still have 'Partial Result: U...' errors.
- You can also find the 'Deadlock Occured' errors.
- Also sometimes 'The PHP Script Server Did not Respond in Time' errors.
If a log in DEBUG mode is necessary, please tell (problem will be that the log will be very big).
When browsing Cacti, my connection with MySQL is sometimes broken for a few seconds. When I press the refresh button, I get the webpage OK.
This is the error I get in IE :
Warning: mysql_connect() [function.mysql-connect]: Can't connect to MySQL server on 'localhost' (10048) in D:\Cacti\Website\lib\adodb\drivers\adodb-mysql.inc.php on line 324
Cannot connect to MySQL server on 'localhost'. Please make sure you have specified a valid MySQL database name in 'include/config.php'.
I'm using mysql-4.0.20d-win for the moment. Should upgrading to latest mysql-4.0.21-win, solve this problem?
/tap
See in attachment my log file. It's not in DEBUG mode, so i think it won't help that much. Maybe you can look at it and see what you can learn from it.
- It seems that I sometimes still have 'Partial Result: U...' errors.
- You can also find the 'Deadlock Occured' errors.
- Also sometimes 'The PHP Script Server Did not Respond in Time' errors.
If a log in DEBUG mode is necessary, please tell (problem will be that the log will be very big).
When browsing Cacti, my connection with MySQL is sometimes broken for a few seconds. When I press the refresh button, I get the webpage OK.
This is the error I get in IE :
Warning: mysql_connect() [function.mysql-connect]: Can't connect to MySQL server on 'localhost' (10048) in D:\Cacti\Website\lib\adodb\drivers\adodb-mysql.inc.php on line 324
Cannot connect to MySQL server on 'localhost'. Please make sure you have specified a valid MySQL database name in 'include/config.php'.
I'm using mysql-4.0.20d-win for the moment. Should upgrading to latest mysql-4.0.21-win, solve this problem?
/tap
- Attachments
-
- cacti.txt
- (40.21 KiB) Downloaded 334 times
cactid
I am getting the same thing with the errors. I have recently upgraded my server from an old laptop to a DL580 Dual Processor server. I am able to run the cmd version of poller but everytime I run cactid, I get the "cannot connect to mysql". I get this even if I reduce the thread count to 1. the higher the threads, the faster I get the errors.
Regards,
Willie
Regards,
Willie
- TheWitness
- Developer
- Posts: 17047
- Joined: Tue May 14, 2002 5:08 pm
- Location: MI, USA
- Contact:
Guys, this is the latest and greatest not submitted to CVS. Also, increase your SNMP timeouts and retries, especially if you are getting problems with "U" results.
I am going to not provide every warning in 0.8.7 at LOW or below, I will simply provide counts because this error can be expected from time to time. You definately need to increase your timeouts though.
Let me know how it goes.
Larry
I am going to not provide every warning in 0.8.7 at LOW or below, I will simply provide counts because this error can be expected from time to time. You definately need to increase your timeouts though.
Let me know how it goes.
Larry
- Attachments
-
- cactid_unix.zip
- 0.8.6c BETA
- (36.32 KiB) Downloaded 275 times
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?
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?
Who is online
Users browsing this forum: No registered users and 1 guest