Boost Plugin v1.6 Released

Announcements concerning Plugins for Cacti

Moderators: Developers, Moderators

Locked
User avatar
TheWitness
Developer
Posts: 17047
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Post by TheWitness »

It's not released for some reason. The author is pre-occupied. If you read very carefully, you may not need it.

TheWintess
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?
Mikkel
Posts: 32
Joined: Thu May 12, 2005 12:41 am

Post by Mikkel »

TheWitness wrote:It's not released for some reason. The author is pre-occupied. If you read very carefully, you may not need it.

TheWintess
So you guys used the plugin without the 1.1 architecture?
User avatar
TheWitness
Developer
Posts: 17047
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Post by TheWitness »

Well, being that I wrote it... If you have the PIA 1.0, and you move the copy the "modified" files into the main Cacti distribution and then make a slight change to utilities.php, you essentially have the PIA 1.1 minus some other features for upcomming Plugins.

So you can do it. However, per my first note, you have to fully understand what is going on. Permissions in UNIX/Linux are very important. In addition, there have been problems reported with the "Multi-Process" service that I still need to correct.

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?
msw1970
Cacti User
Posts: 206
Joined: Tue Jan 09, 2007 8:28 am
Location: London, UK

Post by msw1970 »

gandalf wrote:All files that should be executed have the chmod ...+x set?
Reinhard
Have done this. Followed the instructions in the readme to the letter and still no success getting the service to run.

I can run boost_poller.php manually and it seems to run fine, just can't set the service to start. Symbolic link files exist in all the relevant rcx.d directories for the run-levels.
User avatar
gandalf
Developer
Posts: 22383
Joined: Thu Dec 02, 2004 2:46 am
Location: Muenster, Germany
Contact:

Post by gandalf »

Did you configure the Path defined in the init script? Please post your copy of the init script
Reinhard
msw1970
Cacti User
Posts: 206
Joined: Tue Jan 09, 2007 8:28 am
Location: London, UK

Post by msw1970 »

gandalf wrote:Did you configure the Path defined in the init script? Please post your copy of the init script
Reinhard
What's the init script?? the cacti_rrdsvc file??
kanada
Cacti User
Posts: 137
Joined: Sun Aug 28, 2005 12:51 pm

Post by kanada »

Hmm.. i try implement boost plugin to my cacti test server.. all works fine, but..
poller interval = 5 min.
rrd update/graph every 10 min.

after first scan in my browser missing graphs, they going back after second scan (after 10 min.)

when i set:
poller interval = 1 min.
rrd update/graph every 10 min.

same problem, after 1 min.. so middle 1-10 min. i don't see graphs, it's normal? maybe someone have solution?

btw. TheWitness, when that will be work i will install that plugin to my real cacti, where i have about 7000 hosts /40000 DS. In future i can be your tester ;)

Alex.
User avatar
gandalf
Developer
Posts: 22383
Joined: Thu Dec 02, 2004 2:46 am
Location: Muenster, Germany
Contact:

Post by gandalf »

msw1970 wrote:
gandalf wrote:Did you configure the Path defined in the init script? Please post your copy of the init script
Reinhard
What's the init script?? the cacti_rrdsvc file??
Yep. README (should) require to put it into /etc/init.d, so it's an init script
Reinhard
User avatar
gandalf
Developer
Posts: 22383
Joined: Thu Dec 02, 2004 2:46 am
Location: Muenster, Germany
Contact:

Post by gandalf »

kanada wrote:Hmm.. i try implement boost plugin to my cacti test server.. all works fine, but..
poller interval = 5 min.
rrd update/graph every 10 min.

after first scan in my browser missing graphs, they going back after second scan (after 10 min.)

when i set:
poller interval = 1 min.
rrd update/graph every 10 min.

same problem, after 1 min.. so middle 1-10 min. i don't see graphs, it's normal? maybe someone have solution?

btw. TheWitness, when that will be work i will install that plugin to my real cacti, where i have about 7000 hosts /40000 DS. In future i can be your tester ;)

Alex.
To help, I would need your current BOOST plugin configuration from Settings. Please avoid "Muliple Boost Servers" at the moment. Please switch off Graph caching for the first try. If everything's fine, you may turn it on later.
Reinhard
kanada
Cacti User
Posts: 137
Joined: Sun Aug 28, 2005 12:51 pm

Post by kanada »

gandalf wrote:
kanada wrote:Hmm.. i try implement boost plugin to my cacti test server.. all works fine, but..
poller interval = 5 min.
rrd update/graph every 10 min.

after first scan in my browser missing graphs, they going back after second scan (after 10 min.)

when i set:
poller interval = 1 min.
rrd update/graph every 10 min.

same problem, after 1 min.. so middle 1-10 min. i don't see graphs, it's normal? maybe someone have solution?

btw. TheWitness, when that will be work i will install that plugin to my real cacti, where i have about 7000 hosts /40000 DS. In future i can be your tester ;)

Alex.
To help, I would need your current BOOST plugin configuration from Settings. Please avoid "Muliple Boost Servers" at the moment. Please switch off Graph caching for the first try. If everything's fine, you may turn it on later.
Reinhard
I go to your advice Gandalf, Multiple Boost Servers = off, Img caching = off.. but still that same situation. I don't know it's big, but on linux installation i can't connect to BOOST daemon on port 9050/localhost.. seems to close socket, not bind a port (without firewall).
Aktual settings http://farus.e-konta.pl/boost.png

Alex.
msw1970
Cacti User
Posts: 206
Joined: Tue Jan 09, 2007 8:28 am
Location: London, UK

Post by msw1970 »

gandalf wrote:
msw1970 wrote:
gandalf wrote:Did you configure the Path defined in the init script? Please post your copy of the init script
Reinhard
What's the init script?? the cacti_rrdsvc file??
Yep. README (should) require to put it into /etc/init.d, so it's an init script
Reinhard
Yup it's there... Also got the correct symbolic link's in the rc3.d & rc5.d folders too but still no luck starting the service.
kanada
Cacti User
Posts: 137
Joined: Sun Aug 28, 2005 12:51 pm

Post by kanada »

msw1970 wrote:
gandalf wrote:
msw1970 wrote: What's the init script?? the cacti_rrdsvc file??
Yep. README (should) require to put it into /etc/init.d, so it's an init script
Reinhard
Yup it's there... Also got the correct symbolic link's in the rc3.d & rc5.d folders too but still no luck starting the service.
Do you edit the init file? there you must set a path/dir of boost plugin.
Next copy to /etc/init.d && chmod +x cacti_rrdsvc && try do /etc/init.d/cacti_rrdsvc start
Thats all.

Alex.
User avatar
gandalf
Developer
Posts: 22383
Joined: Thu Dec 02, 2004 2:46 am
Location: Muenster, Germany
Contact:

Post by gandalf »

kanada wrote:I go to your advice Gandalf, Multiple Boost Servers = off, Img caching = off.. but still that same situation. I don't know it's big, but on linux installation i can't connect to BOOST daemon on port 9050/localhost.. seems to close socket, not bind a port (without firewall).
Please start the boost_server from command line like

Code: Select all

/var/www/html/cacti/plugins/boost/boost_server.php
If it responds with

Code: Select all

2007:01:26 19:57:30 - Cacti RRDtool Service Started
please try a

Code: Select all

telnet localhost 9050
status
from another terminal window on the same host. On the first terminal window, you should see some more lines, then. Please post all of the output.
Reinhard
kanada
Cacti User
Posts: 137
Joined: Sun Aug 28, 2005 12:51 pm

Post by kanada »

With your help Reinhard i start boost server from command line, he return clean line (without txt *Cacti RRDtool Service Started*). So still can't connect via telnet - wired, couse startup script show started process and boost works i mean update graphs in every 10 min.

You think that situation may be linked with missing graphs middle polling interval?

Thank you Reinhard for your interest and patient, maybe have you other idea what can be wrong?

Alex.
kanada
Cacti User
Posts: 137
Joined: Sun Aug 28, 2005 12:51 pm

Post by kanada »

Hmm.. i've modify a bit boost_server.php file and set:

Code: Select all

/* suppress warnings */
error_reporting(E_ALL);
Now when i start script manualy i get respond:

Code: Select all

PHP Fatal error:  Call to undefined function socket_create() in /var/www/html/cacti/plugins/boost/boost_server.php on line 85

Fatal error: Call to undefined function socket_create() in /var/www/html/cacti/plugins/boost/boost_server.php on line 85
Maybe that will help in solution..

Alex.
Locked

Who is online

Users browsing this forum: No registered users and 2 guests