Smokeping Plugin

General discussion about Plugins for Cacti

Moderators: Developers, Moderators

akyl
Posts: 11
Joined: Mon Oct 05, 2015 9:52 am

Smokeping Plugin

Post by akyl »

Hello,
I have a problem with the Smokeping plugin and Cacti.
I have installed Smokeping plugin (version 3.00.3) and Cacti (version 0.8.8d, Plugin Architecture Version 3.1) on 2 different server.

I copied the Smokeping plugin to the plugin directory of Cacti and was able to install the plugin using the Plugin Management in Cacti directly.

In the devices section I am now able to choose the action "Add to Smokeping". The plugin also creates the target config file for Smokeping which I copied to the Smokeping server.
After a restart of Smokeping I can see the created section and device but in Cacti I can't see any graph from Smokeping.
I checked the database of Cactio and can see that there are additional columns created by the Smokeping plugin and in some cells there are entries added from the plugin - see below:

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+----+------------------+-------------+-------------+-------+----------------+--------------+---------------+---------------+--------------------+----------------------+--------------------+--------------+-----------+--------------+---------------------+-------------+-----------+--------------+--------------+----------+----------------+----------+--------+--------------------+---------------------+---------------------+------------------------------+----------+------------+-----------+-----------+-------------+--------------+--------------+-----------------+-----------------------+-------------------------+------------------------+
| id | host_template_id | description | hostname | notes | snmp_community | snmp_version | snmp_username | snmp_password | snmp_auth_protocol | snmp_priv_passphrase | snmp_priv_protocol | snmp_context | snmp_port | snmp_timeout | availability_method | ping_method | ping_port | ping_timeout | ping_retries | max_oids | device_threads | disabled | status | status_event_count | status_fail_date | status_rec_date | status_last_error | min_time | max_time | cur_time | avg_time | total_polls | failed_polls | availability | nwmgmt_settings | nwmgmt_smokeping_path | nwmgmt_smokeping_server | nwmgmt_smokeping_probe |
+----+------------------+-------------+-------------+-------+----------------+--------------+---------------+---------------+--------------------+----------------------+--------------------+--------------+-----------+--------------+---------------------+-------------+-----------+--------------+--------------+----------+----------------+----------+--------+--------------------+---------------------+---------------------+------------------------------+----------+------------+-----------+-----------+-------------+--------------+--------------+-----------------+-----------------------+-------------------------+------------------------+
| 39 | 11 | FGTAE_Dubai | x.x.x.x | | public | 2 | | | | | | | 161 | 500 | 2 | 2 | 23 | 400 | 1 | 10 | 1 | | 3 | 0 | 2015-10-05 12:38:00 | 2015-09-24 13:42:00 | Host did not respond to SNMP | 9.99999 | 1775.21801 | 195.98913 | 168.23117 | 625192 | 1450 | 99.76810 | s1000000000 | FortiGate.XXXXXX | http://x.x.x.x/ | |
+----+------------------+-------------+-------------+-------+----------------+--------------+---------------+---------------+--------------------+----------------------+--------------------+--------------+-----------+--------------+---------------------+-------------+-----------+--------------+--------------+----------+----------------+----------+--------+--------------------+---------------------+---------------------+------------------------------+----------+------------+-----------+-----------+-------------+--------------+--------------+-----------------+-----------------------+-------------------------+------------------------+
1 row in set (0.00 sec)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

I don't know what I can do any more to see a graph. I read many posts but nothing solves my problem.
I hope someone can help me.
Please don't hesitate to contact me for more information - I hope I could give the most important with this post.

Thanks.

René
User avatar
phalek
Developer
Posts: 2838
Joined: Thu Jan 31, 2008 6:39 am
Location: Kressbronn, Germany
Contact:

Re: Smokeping Plugin

Post by phalek »

Hi

Is aynthing displayed at all or is the smokeping graph "broken" ?
Greetings,
Phalek
---
Need more help ? Read the Cacti documentation or my new Cacti 1.x Book
Need on-site support ? Look here Cacti Workshop
Need professional Cacti support ? Look here CereusService
---
Plugins : CereusReporting
akyl
Posts: 11
Joined: Mon Oct 05, 2015 9:52 am

Re: Smokeping Plugin

Post by akyl »

No, nothing is displayed.
No graph, no broken graph, nothing......
akyl
Posts: 11
Joined: Mon Oct 05, 2015 9:52 am

Re: Smokeping Plugin

Post by akyl »

No help or hint for my problem?
User avatar
phalek
Developer
Posts: 2838
Joined: Thu Jan 31, 2008 6:39 am
Location: Kressbronn, Germany
Contact:

Re: Smokeping Plugin

Post by phalek »

can you provide some screeshots on you setup ?
Greetings,
Phalek
---
Need more help ? Read the Cacti documentation or my new Cacti 1.x Book
Need on-site support ? Look here Cacti Workshop
Need professional Cacti support ? Look here CereusService
---
Plugins : CereusReporting
akyl
Posts: 11
Joined: Mon Oct 05, 2015 9:52 am

Re: Smokeping Plugin

Post by akyl »

Here are some screenshots from Cacti setup.....

The plugin management site....
cacti_smoke1.PNG
cacti_smoke1.PNG (16.63 KiB) Viewed 4399 times
the settings site of the NMID...
cacti_smoke2.PNG
cacti_smoke2.PNG (43.4 KiB) Viewed 4399 times
Screenshot of the devices section and the action pane...
cacti_smoke3.PNG
cacti_smoke3.PNG (6.2 KiB) Viewed 4399 times
Do you need more screenshots/information?

Thank you.

Kind regards
User avatar
phalek
Developer
Posts: 2838
Joined: Thu Jan 31, 2008 6:39 am
Location: Kressbronn, Germany
Contact:

Re: Smokeping Plugin

Post by phalek »

Can you add something to the height and width part ? otherwise the images will be very, very very slow.
Greetings,
Phalek
---
Need more help ? Read the Cacti documentation or my new Cacti 1.x Book
Need on-site support ? Look here Cacti Workshop
Need professional Cacti support ? Look here CereusService
---
Plugins : CereusReporting
akyl
Posts: 11
Joined: Mon Oct 05, 2015 9:52 am

Re: Smokeping Plugin

Post by akyl »

I addedd the following data in width and height field - see screenshot below...
cacti_smpi.PNG
cacti_smpi.PNG (31.26 KiB) Viewed 4396 times
but I can't see any graph in the device section or do I have to look on an other place?
User avatar
phalek
Developer
Posts: 2838
Joined: Thu Jan 31, 2008 6:39 am
Location: Kressbronn, Germany
Contact:

Re: Smokeping Plugin

Post by phalek »

Ok,

The config looks ok now.
Can you check if your user has the "NMID - View Smokeping Charts" realm permission enabled ?
Greetings,
Phalek
---
Need more help ? Read the Cacti documentation or my new Cacti 1.x Book
Need on-site support ? Look here Cacti Workshop
Need professional Cacti support ? Look here CereusService
---
Plugins : CereusReporting
akyl
Posts: 11
Joined: Mon Oct 05, 2015 9:52 am

Re: Smokeping Plugin

Post by akyl »

Thank you Phalek.
Now I can see the graph.
I added the permissions but I uninstalled the plugin and reinstalled it and therefore this permission was left and I have to reenable it again.


Now I can go further to integrate all graphs.
Thank you.

If I have further questions I will post again.
User avatar
phalek
Developer
Posts: 2838
Joined: Thu Jan 31, 2008 6:39 am
Location: Kressbronn, Germany
Contact:

Re: Smokeping Plugin

Post by phalek »

Great.

For your information:
3.00.3 will be the last version that works like this. The new version coming up soon will be tightly integrated into Cacti, so you can actually add smokeping graphs to the tree itself.

This requires patched files for each Cacti version, currently this is only available for the 0.88b version (latest CactiEZ update).

See here for more details: http://blog.network-outsourcing.de/2015 ... ng-plugin/
Greetings,
Phalek
---
Need more help ? Read the Cacti documentation or my new Cacti 1.x Book
Need on-site support ? Look here Cacti Workshop
Need professional Cacti support ? Look here CereusService
---
Plugins : CereusReporting
akyl
Posts: 11
Joined: Mon Oct 05, 2015 9:52 am

Re: Smokeping Plugin

Post by akyl »

Thank you for the information.
akyl
Posts: 11
Joined: Mon Oct 05, 2015 9:52 am

Re: Smokeping Plugin

Post by akyl »

There is one question left from my side.
Is it possible to add a second Smokeping graph to one device in Cacti?
For example a firewall with 2 external interfaces and I want to check both interface with Smokeping and show the graph in Cacti?
User avatar
phalek
Developer
Posts: 2838
Joined: Thu Jan 31, 2008 6:39 am
Location: Kressbronn, Germany
Contact:

Re: Smokeping Plugin

Post by phalek »

Did you try the "Add Interfaces of this device to Smokeping Config" from the drop-down box at the devices page ?
Greetings,
Phalek
---
Need more help ? Read the Cacti documentation or my new Cacti 1.x Book
Need on-site support ? Look here Cacti Workshop
Need professional Cacti support ? Look here CereusService
---
Plugins : CereusReporting
akyl
Posts: 11
Joined: Mon Oct 05, 2015 9:52 am

Re: Smokeping Plugin

Post by akyl »

Yes, but I only get an empty page.... - see screenshot below.
Unbenannt.PNG
Unbenannt.PNG (31.15 KiB) Viewed 4366 times
Post Reply

Who is online

Users browsing this forum: No registered users and 8 guests