cacti plugins weathermap This map hasn't been created yet.
Moderators: Developers, Moderators
-
- Posts: 16
- Joined: Sun Apr 09, 2006 9:29 pm
cacti plugins weathermap This map hasn't been created yet.
hi all,
i config cacti plugins weathermap can not display network map find "This map hasn't been created yet." info.
i already use command line create test.png and test.html but in cacti press top button can not show map, is why?
thanks!
i config cacti plugins weathermap can not display network map find "This map hasn't been created yet." info.
i already use command line create test.png and test.html but in cacti press top button can not show map, is why?
thanks!
hi all,
i config cacti plugins weathermap can not display network map find "This map hasn't been created yet." info.
i already use command line create test.png and test.html but in cacti press top button can not show map, is why?
What is your configuration system?
And do you get any error message in your cacti log files?
-
- Posts: 16
- Joined: Sun Apr 09, 2006 9:29 pm
Hi advs,
my logfile is "04/18/2006 11:28:17 AM - SYSTEM STATS: Time:196.4227 Method:cmd.php Processes:1 Threads:N/A Hosts:18 HostsPerProcess:18 DataSources:3652 RRDsProcessed:1755
04/18/2006 11:28:17 AM - WEATHERMAP: Poller[0]
No image (gd) extension was found, or could be loaded. This is required by weathermap.
04/18/2006 11:28:17 AM - WEATHERMAP: Poller[0]
IMPORTANT: Just because mod_php and php_info() shows gd in a webpage, it doesn't mean it's
Available in your command-line php program. Please check the output from 'php -i' to be sure!
04/18/2006 11:28:17 AM - WEATHERMAP: Poller[0] Required modules for PHP Weathermap were not present. Not running."
my configuration system is redhat E3, php V4.3.2
thanks!
my logfile is "04/18/2006 11:28:17 AM - SYSTEM STATS: Time:196.4227 Method:cmd.php Processes:1 Threads:N/A Hosts:18 HostsPerProcess:18 DataSources:3652 RRDsProcessed:1755
04/18/2006 11:28:17 AM - WEATHERMAP: Poller[0]
No image (gd) extension was found, or could be loaded. This is required by weathermap.
04/18/2006 11:28:17 AM - WEATHERMAP: Poller[0]
IMPORTANT: Just because mod_php and php_info() shows gd in a webpage, it doesn't mean it's
Available in your command-line php program. Please check the output from 'php -i' to be sure!
04/18/2006 11:28:17 AM - WEATHERMAP: Poller[0] Required modules for PHP Weathermap were not present. Not running."
my configuration system is redhat E3, php V4.3.2
thanks!
You may not have your gd module activated.
try:
you'll have a list of your module... If you can't see the "gd" module listed you have to activated it in your php.ini by uncommenting the line "extension=php_gd2.dll" and then restart your server...
hope this help you...
try:
Code: Select all
php -m
hope this help you...
-
- Posts: 16
- Joined: Sun Apr 09, 2006 9:29 pm
[PHP Modules]davs wrote:You may not have your gd module activated.
try:you'll have a list of your module... If you can't see the "gd" module listed you have to activated it in your php.ini by uncommenting the line "extension=php_gd2.dll" and then restart your server...Code: Select all
php -m
Hi,
i check php -m command line can find gb
hope this help you...
bcmath
bz2
calendar
ctype
curl
dba
dbx
dio
domxml
exif
ftp
gd
gettext
gmp
iconv
imap
ldap
mbstring
mysql
ncurses
openssl
overload
pcre
posix
pspell
session
shmop
sockets
standard
sysvsem
sysvshm
tokenizer
wddx
xml
yp
zlib
[Zend Modules]
- Howie
- Cacti Guru User
- Posts: 5508
- Joined: Thu Sep 16, 2004 5:53 am
- Location: United Kingdom
- Contact:
does whereis php or which -a php give more than one answer? Is it possible that the 'php' you get when you type php in a shell is a different one from the one that your poller cron job runs? crontab -l -u cactiuser will tell you which one is used by the poller.xian_yangyq wrote:Hi advs,
my logfile is "04/18/2006 11:28:17 AM - SYSTEM STATS: Time:196.4227 Method:cmd.php Processes:1 Threads:N/A Hosts:18 HostsPerProcess:18 DataSources:3652 RRDsProcessed:1755
04/18/2006 11:28:17 AM - WEATHERMAP: Poller[0]
No image (gd) extension was found, or could be loaded. This is required by weathermap.
04/18/2006 11:28:17 AM - WEATHERMAP: Poller[0]
IMPORTANT: Just because mod_php and php_info() shows gd in a webpage, it doesn't mean it's
Available in your command-line php program. Please check the output from 'php -i' to be sure!
04/18/2006 11:28:17 AM - WEATHERMAP: Poller[0] Required modules for PHP Weathermap were not present. Not running."
my configuration system is redhat E3, php V4.3.2
thanks!
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!)
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!)
- Howie
- Cacti Guru User
- Posts: 5508
- Joined: Thu Sep 16, 2004 5:53 am
- Location: United Kingdom
- Contact:
which part? does the command-line tool work? do you get an error in your cacti log?wd wrote:I got the same problem...
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!)
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!)
- Howie
- Cacti Guru User
- Posts: 5508
- Joined: Thu Sep 16, 2004 5:53 am
- Location: United Kingdom
- Contact:
OK, so that's not the same problem. Does the the Weathermap link appear in the Manage section of the console? Does the Manage screen allow you to add maps? If you disable any other plugins, is there still nothing in the cacti log after one poller cycle?wd wrote:Command-line tool work.Howie wrote:which part? does the command-line tool work? do you get an error in your cacti log?wd wrote:I got the same problem...
Nothing in cacti log...
There should almost always be something in the log, even if it's just an error.
You may want to try running the poller from the command line too.
Code: Select all
php poller.php
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!)
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!)
I mean nothing in cacti log about weathermap.Howie wrote:OK, so that's not the same problem. Does the the Weathermap link appear in the Manage section of the console? Does the Manage screen allow you to add maps? If you disable any other plugins, is there still nothing in the cacti log after one poller cycle?wd wrote:Command-line tool work.Howie wrote: which part? does the command-line tool work? do you get an error in your cacti log?
Nothing in cacti log...
There should almost always be something in the log, even if it's just an error.
You may want to try running the poller from the command line too.from within your cacti root directory, just in case there are errors that don't end up in the cacti log.Code: Select all
php poller.php
I can run "php poller.php" and got no error.
I can run cacitd and got no error too..
But there still nothing abou weathermap in cacti log..
I run a mysql query and get some message:
mysql> select * from weathermap_maps;
+----+-----------+--------+------------+-----------+----------+------------+
| id | sortorder | active | configfile | imagefile | htmlfile | titlecache |
+----+-----------+--------+------------+-----------+----------+------------+
| 7 | 1 | on | wd.conf | | | wd's test |
+----+-----------+--------+------------+-----------+----------+------------+
1 row in set (0.00 sec)
Is this ok ?
mysql> select * from weathermap_maps;
+----+-----------+--------+------------+-----------+----------+------------+
| id | sortorder | active | configfile | imagefile | htmlfile | titlecache |
+----+-----------+--------+------------+-----------+----------+------------+
| 7 | 1 | on | wd.conf | | | wd's test |
+----+-----------+--------+------------+-----------+----------+------------+
1 row in set (0.00 sec)
Is this ok ?
- Howie
- Cacti Guru User
- Posts: 5508
- Joined: Thu Sep 16, 2004 5:53 am
- Location: United Kingdom
- Contact:
In that case, could you please make a change to the setup.php?wd wrote: I mean nothing in cacti log about weathermap.
I can run "php poller.php" and got no error.
I can run cacitd and got no error too..
But there still nothing abou weathermap in cacti log..
Around line 230, add
Code: Select all
function weathermap_poller_bottom () {
global $config;
global $weathermap_debugging, $WEATHERMAP_VERSION;
# add this line
cacti_log("weathermap_poller_bottom has started",true,"WEATHERMAP");
include_once($config["library_path"] . "/database.php");
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!)
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!)
Still nothing about weathermap in cacti log...
I can see something about thold
I can see something about thold
Code: Select all
05/14/2006 11:35:29 AM - THOLD: Poller[0] Checking Thresholds
- Howie
- Cacti Guru User
- Posts: 5508
- Joined: Thu Sep 16, 2004 5:53 am
- Location: United Kingdom
- Contact:
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.wd wrote:Still nothing about weathermap in cacti log...
I can see something about thold
Code: Select all
05/14/2006 11:35:29 AM - THOLD: Poller[0] Checking Thresholds
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!)
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!)
Who is online
Users browsing this forum: No registered users and 0 guests