Hi,
Not a problem, it did take me quite a while to debug, however it was done with pleasure
Reported with Mantis.
Regards,
Ivo Teel
poller not working under Solaris 10
Moderators: Developers, Moderators
The link: http://bugs.cacti.net/view.php?id=873
- TheWitness
- Developer
- Posts: 17007
- Joined: Tue May 14, 2002 5:08 pm
- Location: MI, USA
- Contact:
I suspect that you system is either running in Safe Mode, or you don't have a few of your paths setup correctly in "Settings->Paths". The path always includes the binary. Otherwise, file_exists would return true.
As far as the snmp host:port and OID issues, definately weird and never seen before. This may be a Solaris build issue. Well, it's good to know anyway.
With regard to Ping, the class call returns either TRUE or FALSE. Therefore, it should not get caught in a loop there. Unfortunately, now I have to go back and look at the code.
TheWitness
As far as the snmp host:port and OID issues, definately weird and never seen before. This may be a Solaris build issue. Well, it's good to know anyway.
With regard to Ping, the class call returns either TRUE or FALSE. Therefore, it should not get caught in a loop there. Unfortunately, now I have to go back and look at the code.
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 know it should return either TRUE or FALSE, however because on my system the snmpget function was somewhat broken (do to OID not being quoted), it was returning nothing, it was actually halting when it did the snmpget function.TheWitness wrote: With regard to Ping, the class call returns either TRUE or FALSE. Therefore, it should not get caught in a loop there. Unfortunately, now I have to go back and look at the code.
I'd say that you don't need to change anything to the ping class call, it works fine, it was snmpget which made the script stop, just adding quotes should be sufficient.
Who is online
Users browsing this forum: No registered users and 1 guest