Cactihost does not seem to work 0.97c

Support questions about the Network Weather Map plugin

Moderators: Developers, Moderators

Post Reply
bartc
Posts: 17
Joined: Wed Aug 20, 2014 11:06 am

Cactihost does not seem to work 0.97c

Post by bartc »

Dear Cacti experts,

My map works well apart from Node status.

This is my config :

SCALE STATUS 0 0.5 192 192 192
SCALE STATUS 0.5 1.5 255 0 0
SCALE STATUS 1.5 2.5 0 0 255
SCALE STATUS 2.5 3.5 0 255 0

NODE NOR-FW-01
LABEL NOR-FW-01
INFOURL /cacti/graph.php?rra_id=all&local_graph_id=6226
OVERLIBGRAPH /cacti/graph_image.php?rra_id=0&graph_nolegend=true&graph_height=100&graph_width=300&local_graph_id=6226
ICON images/SRX_1.png
TARGET cactihost:6
USESCALE STATUS
POSITION 300 350

After running my weathermap in debug mode I can see the value is set to 0 and I do not know why since my host is UP on cacti (in the database I can see '3')

DEBUG: [ReadData@Weathermap.class.php:909] configs/PWC_NORCROSS.conf:
DEBUG: [ReadData@Weathermap.class.php:910] configs/PWC_NORCROSS.conf: ReadData for NODE NOR-FW-01:
DEBUG: [ReadData@Weathermap.class.php:919] configs/PWC_NORCROSS.conf: ReadData: New Target: cactihost:6
DEBUG: [ReadData@Weathermap.class.php:936] configs/PWC_NORCROSS.conf: Will multiply result by
DEBUG: [ReadData@Weathermap.class.php:958] configs/PWC_NORCROSS.conf: Pre-multiply: 0 0
DEBUG: [ReadData@Weathermap.class.php:963] configs/PWC_NORCROSS.conf: Post-multiply: 0 0
DEBUG: [ReadData@Weathermap.class.php:968] configs/PWC_NORCROSS.conf: Aggregate so far: 0 0
DEBUG: [ReadData@Weathermap.class.php:982] configs/PWC_NORCROSS.conf: ReadData complete for NODE NOR-FW-01: 0 0
DEBUG: [NewColourFromPercent@Weathermap.class.php:1274] configs/PWC_NORCROSS.conf: NCFPC NOR-FW-01 STATUS 0 '' 0_0.5 192 192 192
DEBUG: [NewColourFromPercent@Weathermap.class.php:1274] configs/PWC_NORCROSS.conf: NCFPC NOR-FW-01 STATUS 0 '' 0_0.5 192 192 192
DEBUG: [add_note@Weathermap.class.php:118] configs/PWC_NORCROSS.conf: Adding note inscalekey='0_0.5' to NOR-FW-01
DEBUG: [add_note@Weathermap.class.php:118] configs/PWC_NORCROSS.conf: Adding note outscalekey='0_0.5' to NOR-FW-01
DEBUG: [add_note@Weathermap.class.php:118] configs/PWC_NORCROSS.conf: Adding note inscaletag='' to NOR-FW-01
DEBUG: [add_note@Weathermap.class.php:118] configs/PWC_NORCROSS.conf: Adding note outscaletag='' to NOR-FW-01
DEBUG: [add_note@Weathermap.class.php:118] configs/PWC_NORCROSS.conf: Adding note inscalecolor='#c0c0c0' to NOR-FW-01
DEBUG: [add_note@Weathermap.class.php:118] configs/PWC_NORCROSS.conf: Adding note outscalecolor='#c0c0c0' to NOR-FW-01
DEBUG: [ReadData@Weathermap.class.php:1049] configs/PWC_NORCROSS.conf: ReadData: Setting 0,0


Your help will be appreciated.
Attachments
NOR_FW.png
NOR_FW.png (2.94 KiB) Viewed 2400 times
bartc
Posts: 17
Joined: Wed Aug 20, 2014 11:06 am

Re: Cactihost does not seem to work 0.97c

Post by bartc »

I was still unable to track where the issue is. Can someone verify if my configuration is good ?
User avatar
Howie
Cacti Guru User
Posts: 5508
Joined: Thu Sep 16, 2004 5:53 am
Location: United Kingdom
Contact:

Re: Cactihost does not seem to work 0.97c

Post by Howie »

You would expect to see some other lines in between the "New Target" line and the "ReadData Complete" line, coming from the datasource plugin...

At least one saying "CactiHost ReadData: Returning".

So, back in the logs, do you have *any* lines including "ReadData CactiHost" or "WeatherMapDataSource_cactihost"?

You should have at least one, for when the plugin was either loaded, or failed to load.
Weathermap 0.98a is out! & QuickTree 1.0. Superlinks is over there now (and built-in to Cacti 1.x).
Some Other Cacti tweaks, including strip-graphs, icons and snmp/netflow stuff.
(Let me know if you have UK DevOps or Network Ops opportunities, too!)
Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests