Cacti (home)ForumsRepositoryDocumentation
Cacti: offical forums and support  

 FAQFAQ   SearchSearch   MemberlistMemberlist    RegisterRegister   ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in    


cacti plugins weathermap This map hasn't been created yet.
Goto page Previous  1, 2
 
Post new topic   Reply to topic    Cacti Forum Index -> Plugin: (Network Weather Map)
Author Message
wd



Joined: 12 May 2006
Posts: 9

PostPosted: Sun May 14, 2006 8:01 am    Post subject: Reply with quote

Howie wrote:
wd wrote:
Still nothing about weathermap in cacti log...
I can see something about thold

Code:

05/14/2006 11:35:29 AM - THOLD: Poller[0] Checking Thresholds


And if you disable the other plugins? (just for one cycle). The only thing like this I have seen before is with the Reports plugin, where nothing that is in the list after it runs. I wonder if this is something similar.


Yes,you are right.
After I disabled reports,I can see weathermap,and the uptime plugin is works properly too.
Back to top
Howie
Cacti Guru User


Joined: 16 Sep 2004
Posts: 1989
Location: United Kingdom

PostPosted: Sun May 14, 2006 9:16 am    Post subject: Reply with quote

wd wrote:
Yes,you are right.
After I disabled reports,I can see weathermap,and the uptime plugin is works properly too.


OK. Cool. That was worrying me Reports does work, but it's best to put it last in your plugins list. I know that Jimmy has a new Reports in development, so I hope that it fixes this.
Back to top
Julrodrig



Joined: 24 Mar 2006
Posts: 3
Location: Colombia

PostPosted: Thu Feb 01, 2007 3:07 pm    Post subject: The Same problem Reply with quote

we have the same problem, i disabled all other plugin and no maps shows

The log in debug for weathermap i'ts


Quote:
02/01/2007 02:24:56 PM - WEATHERMAP: Poller[0] Weathermap 0.82 in da house
02/01/2007 02:24:56 PM - WEATHERMAP: Poller[0] Engaging Weathermap DEBUG mode
02/01/2007 02:24:56 PM - WEATHERMAP: Poller[0] Iterating all maps.
02/01/2007 02:24:56 PM - WEATHERMAP: Poller[0] Map: /opt/cacti-0.8.6h/plugins/weathermap/configs/Coldecon.conf -> /opt/cacti-0.8.6h/plugins/weathermap/output/weathermap_3.html & /opt/cacti-0.8.6h/plugins/weathermap/output/weathermap_3.png
02/01/2007 02:24:56 PM - WEATHERMAP: Poller[0] Adding default map colour set.
02/01/2007 02:24:56 PM - WEATHERMAP: Poller[0] Setting bandwidth (100M, 100M)
02/01/2007 02:24:56 PM - WEATHERMAP: Poller[0] Saving Default Link: DEFAULT
02/01/2007 02:24:56 PM - WEATHERMAP: Poller[0] Saving Node: node1144504144
02/01/2007 02:24:56 PM - WEATHERMAP: Poller[0] Saving Node: node1144504196
02/01/2007 02:24:56 PM - WEATHERMAP: Poller[0] Saving Node: node1144504212
02/01/2007 02:24:56 PM - WEATHERMAP: Poller[0] Saving Node: node1170350990
02/01/2007 02:24:56 PM - WEATHERMAP: Poller[0] Saving Node: node1170351844
02/01/2007 02:24:56 PM - WEATHERMAP: Poller[0] RRDTOOL check triggered
02/01/2007 02:24:56 PM - WEATHERMAP: Poller[0] Setting bandwidth (150, 150)
02/01/2007 02:24:56 PM - WEATHERMAP: Poller[0] Saving Link: node1170350990-node1144504144
02/01/2007 02:24:56 PM - WEATHERMAP: Poller[0] Setting bandwidth (80M, 80M)
02/01/2007 02:24:56 PM - WEATHERMAP: Poller[0] Saving Link: node1170350990-node1144504196
02/01/2007 02:24:56 PM - WEATHERMAP: Poller[0] Setting bandwidth (150M, 150M)
02/01/2007 02:24:56 PM - WEATHERMAP: Poller[0] Saving Link: node1170351844-node1170350990
02/01/2007 02:24:56 PM - WEATHERMAP: Poller[0] Already have 7 scales, no defaults added.
02/01/2007 02:24:56 PM - WEATHERMAP: Poller[0] ================== ReadData: Updating link data for all links
02/01/2007 02:24:56 PM - WEATHERMAP: Poller[0]
02/01/2007 02:24:56 PM - WEATHERMAP: Poller[0] New Target: /opt/cacti-0.8.6h/rra/bar_bog_1_traffic_in_64.rrd (/opt/cacti-0.8.6h/rra/bar_bog_1_traffic_in_64.rrd)
02/01/2007 02:24:56 PM - WEATHERMAP: Poller[0] ReadData: Updating link node1170350990-node1144504144 from RRD Target /opt/cacti-0.8.6h/rra/bar_bog_1_traffic_in_64.rrd
02/01/2007 02:24:56 PM - WEATHERMAP: Poller[0] ReadFromRRD: Target DS names are traffic_in and traffic_out
02/01/2007 02:24:56 PM - WEATHERMAP: Poller[0] ReadFromRRD: Running: /usr/bin/rrdtool fetch /opt/cacti-0.8.6h/rra/bar_bog_1_traffic_in_64.rrd AVERAGE --start now-800
02/01/2007 02:24:56 PM - WEATHERMAP: Poller[0] > 1170357300: nan nan
02/01/2007 02:24:56 PM - WEATHERMAP: Poller[0] > 1170357600: nan nan
02/01/2007 02:24:56 PM - WEATHERMAP: Poller[0] > 1170357900: nan nan
02/01/2007 02:24:56 PM - WEATHERMAP: Poller[0] >
02/01/2007 02:24:56 PM - WEATHERMAP: Poller[0] --
02/01/2007 02:24:56 PM - WEATHERMAP: Poller[0] --1170357900: nan nan
02/01/2007 02:24:56 PM - WEATHERMAP: Poller[0] ReadFromRRD: 1: This isn't a number: [nan]
02/01/2007 02:24:56 PM - WEATHERMAP: Poller[0] ReadFromRRD: 2: This isn't a number: [nan]
02/01/2007 02:24:56 PM - WEATHERMAP: Poller[0] --1170357600: nan nan
02/01/2007 02:24:56 PM - WEATHERMAP: Poller[0] ReadFromRRD: 1: This isn't a number: [nan]
02/01/2007 02:24:56 PM - WEATHERMAP: Poller[0] ReadFromRRD: 2: This isn't a number: [nan]
02/01/2007 02:24:56 PM - WEATHERMAP: Poller[0] --1170357300: nan nan
02/01/2007 02:24:56 PM - WEATHERMAP: Poller[0] ReadFromRRD: 1: This isn't a number: [nan]
02/01/2007 02:24:56 PM - WEATHERMAP: Poller[0] ReadFromRRD: 2: This isn't a number: [nan]
02/01/2007 02:24:56 PM - WEATHERMAP: Poller[0] ReadFromRRD: Returning (-1,-1)
02/01/2007 02:24:56 PM - WEATHERMAP: Poller[0] ReadData: Link node1170350990-node1144504144, target: /opt/cacti-0.8.6h/rra/bar_bog_1_traffic_in_64.rrd on config line 64 had no valid data
02/01/2007 02:24:56 PM - WEATHERMAP: Poller[0] ReadData: Setting 0,0
02/01/2007 02:24:56 PM - WEATHERMAP: Poller[0]
02/01/2007 02:24:56 PM - WEATHERMAP: Poller[0] New Target: /opt/cacti-0.8.6h/rra/bar_clo_1_traffic_in_1020.rrd (/opt/cacti-0.8.6h/rra/bar_clo_1_traffic_in_1020.rrd)
02/01/2007 02:24:56 PM - WEATHERMAP: Poller[0] ReadData: Updating link node1170350990-node1144504196 from RRD Target /opt/cacti-0.8.6h/rra/bar_clo_1_traffic_in_1020.rrd
02/01/2007 02:24:56 PM - WEATHERMAP: Poller[0] ReadFromRRD: Target DS names are traffic_in and traffic_out
02/01/2007 02:24:56 PM - WEATHERMAP: Poller[0] ReadFromRRD: Running: /usr/bin/rrdtool fetch /opt/cacti-0.8.6h/rra/bar_clo_1_traffic_in_1020.rrd AVERAGE --start now-800
02/01/2007 02:24:56 PM - WEATHERMAP: Poller[0] > 1170357300: 4.8308706607e+06 5.2714414099e+06
02/01/2007 02:24:56 PM - WEATHERMAP: Poller[0] > 1170357600: 4.3134062632e+06 4.6806370665e+06
02/01/2007 02:24:56 PM - WEATHERMAP: Poller[0] > 1170357900: nan nan
02/01/2007 02:24:56 PM - WEATHERMAP: Poller[0] >
02/01/2007 02:24:56 PM - WEATHERMAP: Poller[0] --
02/01/2007 02:24:56 PM - WEATHERMAP: Poller[0] --1170357900: nan nan
02/01/2007 02:24:56 PM - WEATHERMAP: Poller[0] ReadFromRRD: 1: This isn't a number: [nan]
02/01/2007 02:24:56 PM - WEATHERMAP: Poller[0] ReadFromRRD: 2: This isn't a number: [nan]
02/01/2007 02:24:56 PM - WEATHERMAP: Poller[0] --1170357600: 4.3134062632e+06 4.6806370665e+06
02/01/2007 02:24:56 PM - WEATHERMAP: Poller[0] ReadFromRRD: Found a good line: 1170357600: 4.3134062632e+06 4.6806370665e+06
02/01/2007 02:24:56 PM - WEATHERMAP: Poller[0] --1170357300: 4.8308706607e+06 5.2714414099e+06
02/01/2007 02:24:56 PM - WEATHERMAP: Poller[0] ReadFromRRD: Our line is 1170357600: 4.3134062632e+06 4.6806370665e+06
02/01/2007 02:24:56 PM - WEATHERMAP: Poller[0] ReadFromRRD: Returning (37445096.532,34507250.1056)
02/01/2007 02:24:56 PM - WEATHERMAP: Poller[0] ReadData: Setting 37445096.532,34507250.1056
02/01/2007 02:24:56 PM - WEATHERMAP: Poller[0]
02/01/2007 02:24:56 PM - WEATHERMAP: Poller[0] New Target: /opt/cacti-0.8.6h/rra/bar_ctg_1_traffic_in_1425.rrd (/opt/cacti-0.8.6h/rra/bar_ctg_1_traffic_in_1425.rrd)
02/01/2007 02:24:56 PM - WEATHERMAP: Poller[0] ReadData: Updating link node1170351844-node1170350990 from RRD Target /opt/cacti-0.8.6h/rra/bar_ctg_1_traffic_in_1425.rrd
02/01/2007 02:24:56 PM - WEATHERMAP: Poller[0] ReadFromRRD: Target DS names are traffic_in and traffic_out
02/01/2007 02:24:56 PM - WEATHERMAP: Poller[0] ReadFromRRD: Running: /usr/bin/rrdtool fetch /opt/cacti-0.8.6h/rra/bar_ctg_1_traffic_in_1425.rrd AVERAGE --start now-800
02/01/2007 02:24:56 PM - WEATHERMAP: Poller[0] > 1170357300: 6.4135893695e+06 1.0466171481e+07
02/01/2007 02:24:56 PM - WEATHERMAP: Poller[0] > 1170357600: 6.3431888343e+06 1.0476727349e+07
02/01/2007 02:24:56 PM - WEATHERMAP: Poller[0] > 1170357900: nan nan
02/01/2007 02:24:56 PM - WEATHERMAP: Poller[0] >
02/01/2007 02:24:56 PM - WEATHERMAP: Poller[0] --
02/01/2007 02:24:56 PM - WEATHERMAP: Poller[0] --1170357900: nan nan
02/01/2007 02:24:56 PM - WEATHERMAP: Poller[0] ReadFromRRD: 1: This isn't a number: [nan]
02/01/2007 02:24:56 PM - WEATHERMAP: Poller[0] ReadFromRRD: 2: This isn't a number: [nan]
02/01/2007 02:24:56 PM - WEATHERMAP: Poller[0] --1170357600: 6.3431888343e+06 1.0476727349e+07
02/01/2007 02:24:56 PM - WEATHERMAP: Poller[0] ReadFromRRD: Found a good line: 1170357600: 6.3431888343e+06 1.0476727349e+07
02/01/2007 02:24:56 PM - WEATHERMAP: Poller[0] --1170357300: 6.4135893695e+06 1.0466171481e+07
02/01/2007 02:24:56 PM - WEATHERMAP: Poller[0] ReadFromRRD: Our line is 1170357600: 6.3431888343e+06 1.0476727349e+07
02/01/2007 02:24:56 PM - WEATHERMAP: Poller[0] ReadFromRRD: Returning (83813818.792,50745510.6744)
02/01/2007 02:24:56 PM - WEATHERMAP: Poller[0] ReadData: Setting 83813818.792,50745510.6744
02/01/2007 02:24:56 PM - WEATHERMAP: Poller[0]
02/01/2007 02:24:56 PM - WEATHERMAP: Poller[0] About to write image file. If this is the last message in your log, increase memory_limit in php.ini
02/01/2007 02:24:56 PM - WEATHERMAP: Poller[0] AllocateScaleColours: KEYTEXT (0,0,0)
02/01/2007 02:24:56 PM - WEATHERMAP: Poller[0] AllocateScaleColours: KEYBG (255,255,255)
02/01/2007 02:24:56 PM - WEATHERMAP: Poller[0] AllocateScaleColours: BG (255,255,255)
02/01/2007 02:24:56 PM - WEATHERMAP: Poller[0] AllocateScaleColours: TITLE (0,0,0)
02/01/2007 02:24:56 PM - WEATHERMAP: Poller[0] AllocateScaleColours: TIME (0,0,0)
02/01/2007 02:24:56 PM - WEATHERMAP: Poller[0] AllocateScaleColours: 1:10 (140,0,255)
02/01/2007 02:24:56 PM - WEATHERMAP: Poller[0] AllocateScaleColours: 10:25 (32,32,255)
02/01/2007 02:24:56 PM - WEATHERMAP: Poller[0] AllocateScaleColours: 25:40 (0,192,255)
02/01/2007 02:24:56 PM - WEATHERMAP: Poller[0] AllocateScaleColours: 40:55 (0,240,0)
02/01/2007 02:24:56 PM - WEATHERMAP: Poller[0] AllocateScaleColours: 55:70 (240,240,0)
02/01/2007 02:24:56 PM - WEATHERMAP: Poller[0] AllocateScaleColours: 70:85 (255,192,0)
02/01/2007 02:24:56 PM - WEATHERMAP: Poller[0] AllocateScaleColours: 85:100 (255,0,0)
02/01/2007 02:24:56 PM - WEATHERMAP: Poller[0] Adding Poly imagemap for node1170350990-node1144504144
02/01/2007 02:24:56 PM - WEATHERMAP: Poller[0] Adding Poly imagemap for node1170350990-node1144504144
02/01/2007 02:24:56 PM - WEATHERMAP: Poller[0] Adding Poly imagemap for node1170350990-node1144504196
02/01/2007 02:24:56 PM - WEATHERMAP: Poller[0] Adding Poly imagemap for node1170350990-node1144504196
02/01/2007 02:24:56 PM - WEATHERMAP: Poller[0] Adding Poly imagemap for node1170351844-node1170350990
02/01/2007 02:24:56 PM - WEATHERMAP: Poller[0] Adding Poly imagemap for node1170351844-node1170350990
02/01/2007 02:24:56 PM - WEATHERMAP: Poller[0] Node->Draw: Metrics are: 3 42 x 13 -> 42 x 13
02/01/2007 02:24:56 PM - WEATHERMAP: Poller[0] Node->Draw: Metrics are: 3 28 x 13 -> 28 x 13
02/01/2007 02:24:56 PM - WEATHERMAP: Poller[0] Node->Draw: Metrics are: 3 56 x 13 -> 56 x 13
02/01/2007 02:24:56 PM - WEATHERMAP: Poller[0] Node->Draw: Metrics are: 3 56 x 13 -> 56 x 13
02/01/2007 02:24:56 PM - WEATHERMAP: Poller[0] Node->Draw: Metrics are: 3 63 x 13 -> 63 x 13


i note that the html file don't apeer

c
Quote:
acti:# ls -la /opt/cacti-0.8.6h/plugins/weathermap/output/weathermap_3.htm
/bin/ls: /opt/cacti-0.8.6h/plugins/weathermap/output/weathermap_3.htm: No such file or directory
cacti: # ls -la /opt/cacti-0.8.6h/plugins/weathermap/output/
total 12
drwxr-xr-x 2 tc www 4096 2007-02-01 14:57 .
drwxr-xr-x 7 tc users 4096 2007-02-01 14:37 ..
-rw-r--r-- 1 tc users 33 2007-02-01 14:58 weathermap_3.png


Now how can solve this???
Back to top
Howie
Cacti Guru User


Joined: 16 Sep 2004
Posts: 1989
Location: United Kingdom

PostPosted: Mon Feb 05, 2007 3:33 pm    Post subject: Re: The Same problem Reply with quote

Julrodrig wrote:

i note that the html file don't apeer

c
Quote:
acti:# ls -la /opt/cacti-0.8.6h/plugins/weathermap/output/weathermap_3.htm
/bin/ls: /opt/cacti-0.8.6h/plugins/weathermap/output/weathermap_3.htm: No such file or directory
cacti: # ls -la /opt/cacti-0.8.6h/plugins/weathermap/output/
total 12
drwxr-xr-x 2 tc www 4096 2007-02-01 14:57 .
drwxr-xr-x 7 tc users 4096 2007-02-01 14:37 ..
-rw-r--r-- 1 tc users 33 2007-02-01 14:58 weathermap_3.png


Is 'tc' the user that runs the cacti poller? If not, then the permissions are wrong on your output directory. You should have got an error about that though...
Back to top
linsys2



Joined: 18 Jan 2007
Posts: 4

PostPosted: Tue Feb 13, 2007 12:14 am    Post subject: Going Nuts Reply with quote

All,
I have a windows install of cacti that works fine. I have tested the simple tools plugin and it works. I can create a .png file if I run php weathermap from the command line. Moreover I can use my config file I created using the editor.php in the command line and then view the .png file. If I run the poller.php I don't even see the weathermap entry being created. I have looked at all the posts. Also I looked at the weathermap_maps table and see entries. As you can see there is no image associated with it....no error in my cacti.log file has show up. I have even added the code to my setup.php and nothing....thanks in advance

mysql> select * from weather_maps;
ERROR 1146 (42S02): Table 'cactidb.weather_maps' doesn't exist
mysql> use cactidb;
Database changed
mysql> select * from weathermap_maps;
+----+-----------+--------+------------+-----------+----------+------------+
| id | sortorder | active | configfile | imagefile | htmlfile | titlecache |
+----+-----------+--------+------------+-----------+----------+------------+
| 4 | 1 | on | test3 | | | (no title) |
+----+-----------+--------+------------+-----------+----------+------------+
1 row in set (0.00 sec)

mysql> select * from weathermap_maps;
+----+-----------+--------+-------------+-----------+----------+------------+
| id | sortorder | active | configfile | imagefile | htmlfile | titlecache |
+----+-----------+--------+-------------+-----------+----------+------------+
| 5 | 1 | on | simple.conf | | | (no title) |
| 4 | 2 | on | test3 | | | (no title) |
+----+-----------+--------+-------------+-----------+----------+------------+
2 rows in set (0.00 sec)
Back to top
Howie
Cacti Guru User


Joined: 16 Sep 2004
Posts: 1989
Location: United Kingdom

PostPosted: Tue Feb 13, 2007 4:27 am    Post subject: Re: Going Nuts Reply with quote

linsys2 wrote:
All,
I have a windows install of cacti that works fine. I have tested the simple tools plugin and it works. I can create a .png file if I run php weathermap from the command line. Moreover I can use my config file I created using the editor.php in the command line and then view the .png file. If I run the poller.php I don't even see the weathermap entry being created. I have looked at all the posts. Also I looked at the weathermap_maps table and see entries. As you can see there is no image associated with it....no error in my cacti.log file has show up. I have even added the code to my setup.php and nothing....thanks in advance


With CactiEZ, I believe that other people have had problems with the default memory_limit. That would potentially behave as you are seeing... change php.ini to

The imagefile/htmlfile fields in the database aren't used. They're a hangover from a previous version. A software appendix

The two main causes for no images generated are: file permissions on the output/ directory (this appears in the logs) and memory_limit problems, which manifest as the process just dying with no warning. Finally, if you run some versions of the Reports plugin, then they should run last, since they have their own problems that stop plugins later in the list from running.

Most problems like this do show up in some way in the logs. You should try a poller cycle with DEBUG on, too. See if there's ANY weathermap lines in the logs...
Back to top
Display posts from previous:   
Post new topic   Reply to topic    Cacti Forum Index -> Plugin: (Network Weather Map) All times are GMT - 5 Hours
Goto page Previous  1, 2
Page 2 of 2

 



Powered by phpBB © 2001, 2005 phpBB Group