Problem on cactid poller to run perl script
Moderators: Developers, Moderators
Problem on cactid poller to run perl script
Hi all,
I have a perl script to show bgp prefixes to graph on cacti.
when we use cmd poller graph was created but if we using cactid poller a graph not created (blank). Any suggestions would be much appreciated.
Best regards,
Awan
I have a perl script to show bgp prefixes to graph on cacti.
when we use cmd poller graph was created but if we using cactid poller a graph not created (blank). Any suggestions would be much appreciated.
Best regards,
Awan
-
- Posts: 6
- Joined: Mon May 02, 2005 1:48 pm
Sorry for my english.
I got the same problem too.
I tried to use a very simple perl scipt (just print '10'), when I used cmd.php, it's working but when I used cactid and use debug, it looks like the perl script isn't running.
I use :
linux
cacti-0.8.6f-r1
cactid 0.8.6d
gcc 3.4.3.20050110-r2
mysql 4.0.24-r1
php 5.0.3
net-snmp-5.2.1
I need to used cactid because it's much faster than cmd.php
Did I miss anything ?
Thx.
I got the same problem too.
I tried to use a very simple perl scipt (just print '10'), when I used cmd.php, it's working but when I used cactid and use debug, it looks like the perl script isn't running.
I use :
linux
cacti-0.8.6f-r1
cactid 0.8.6d
gcc 3.4.3.20050110-r2
mysql 4.0.24-r1
php 5.0.3
net-snmp-5.2.1
I need to used cactid because it's much faster than cmd.php
Did I miss anything ?
Thx.
- TheWitness
- Developer
- Posts: 17007
- Joined: Tue May 14, 2002 5:08 pm
- Location: MI, USA
- Contact:
We have a release planned quite soon to address many cactid issue.
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?
-
- Posts: 9
- Joined: Tue Aug 30, 2005 9:44 am
Just wanted to pipe up that I am having the same problem. I will be very interested in getting this fixed. I added some test to my perl script and I can see that when I initially configure the host to fun the script it works and I get my pollable items, but then the script is not run when it comes time for the 5 minute polls. My info is below:
Gentoo 2005.0 Kernel 2.6.12-gentoo-r6
Cacti 0.8.6f-r1
Cactid 0.8.6e
net-snmp 5.2.1.2
Perl 5.8.6-r5
PHP 4.4.0
Unfortunatly this is older hardware and the cmd.php just isn't an option. Thanks for any help!
-Zac
Gentoo 2005.0 Kernel 2.6.12-gentoo-r6
Cacti 0.8.6f-r1
Cactid 0.8.6e
net-snmp 5.2.1.2
Perl 5.8.6-r5
PHP 4.4.0
Unfortunatly this is older hardware and the cmd.php just isn't an option. Thanks for any help!
-Zac
- TheWitness
- Developer
- Posts: 17007
- Joined: Tue May 14, 2002 5:08 pm
- Location: MI, USA
- Contact:
I will release rc8 tonight. I believe that it is ready for release. I am still working on some "performance" related issues, but I believe stability should be back where it needs to be.
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?
-
- Posts: 9
- Joined: Tue Aug 30, 2005 9:44 am
I downloaded cactid .8.6e-rc8 via cvs and I am having a problem compiling. In $CVSROOT/trunk/cactid I ran autoconf -v -o configure configure.ac
Then ./configure which produced no errors. I then ran 'make' and errored out here:
gcc -I/usr/include/net-snmp -I/usr/include/net-snmp/.. -I/usr/include/mysql -g -O2 -L/usr/local/ssl/lib -L/usr/lib -L/usr/lib -o cactid sql.o cactid.o util.o snmp.o locks.o poller.o nft_popen.o php.o -lnetsnmp -lcrypto -lmysqlclient -lmysqlclient -lz -lpthread -lm -lnsl
poller.o(.text+0x17c0): In function `poll_host':
/root/cacti/trunk/cactid/poller.c:174: undefined reference to `ping_host'
poller.o(.text+0x17fe):/root/cacti/trunk/cactid/poller.c:178: undefined reference to `update_host_status'
poller.o(.text+0x1903):/root/cacti/trunk/cactid/poller.c:167: undefined reference to `update_host_status'
collect2: ld returned 1 exit status
make: *** [cactid] Error 1
Am I doing something wrong? Please let me know if you need any info about my system. Thanks for the help!
autoconf 2.59-r6
gcc version 3.3.5-20050130 (Gentoo 3.3.5.20050130-r1, ssp-3.3.5.20050130-1, pie-8.7.7.1)
Then ./configure which produced no errors. I then ran 'make' and errored out here:
gcc -I/usr/include/net-snmp -I/usr/include/net-snmp/.. -I/usr/include/mysql -g -O2 -L/usr/local/ssl/lib -L/usr/lib -L/usr/lib -o cactid sql.o cactid.o util.o snmp.o locks.o poller.o nft_popen.o php.o -lnetsnmp -lcrypto -lmysqlclient -lmysqlclient -lz -lpthread -lm -lnsl
poller.o(.text+0x17c0): In function `poll_host':
/root/cacti/trunk/cactid/poller.c:174: undefined reference to `ping_host'
poller.o(.text+0x17fe):/root/cacti/trunk/cactid/poller.c:178: undefined reference to `update_host_status'
poller.o(.text+0x1903):/root/cacti/trunk/cactid/poller.c:167: undefined reference to `update_host_status'
collect2: ld returned 1 exit status
make: *** [cactid] Error 1
Am I doing something wrong? Please let me know if you need any info about my system. Thanks for the help!
autoconf 2.59-r6
gcc version 3.3.5-20050130 (Gentoo 3.3.5.20050130-r1, ssp-3.3.5.20050130-1, pie-8.7.7.1)
- TheWitness
- Developer
- Posts: 17007
- Joined: Tue May 14, 2002 5:08 pm
- Location: MI, USA
- Contact:
The Trunk version is highly unstable and designed for a much different Cacti. You need to use BRANCH_0_8_6.
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?
-
- Posts: 6
- Joined: Mon May 02, 2005 1:48 pm
- TheWitness
- Developer
- Posts: 17007
- Joined: Tue May 14, 2002 5:08 pm
- Location: MI, USA
- Contact:
Sorry, the developement team has not been been whipped into shape lately. Don't frankley know.
Larry
Larry
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?
-
- Posts: 9
- Joined: Tue Aug 30, 2005 9:44 am
Who is online
Users browsing this forum: No registered users and 3 guests