Try checking the permissions of the png/html files in your output folder. If you ran the poller as a user other than your 'cactiuser' then the files will be owned by the wrong user (e.g. root) and the poller won't be able to overwrite them in normal use. I'm not certain that the current plugin would detect that situation.JJX wrote:thx for the reply
Before making any changes i get these in the log:
but still weathermap doesnt refesh & running "php poller.php" it does.
any idea why weathermap doesnt refresh with poller?
PHP Network Weathermap 0.8 (now 0.9)
Moderators: Developers, Moderators
- Howie
- Cacti Guru User
- Posts: 5508
- Joined: Thu Sep 16, 2004 5:53 am
- Location: United Kingdom
- Contact:
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!)
and something more that may help:
this is in the logs when i run poller from command line (and weathermap is refreshed)....... some polling (all ok) ............
OK u:0.02 s:0.05 r:1.22
05/06/2006 07:21:07 PM - SYSTEM STATS: Time:6.2485 Method:cmd.php Processes:1 Threads:N/A Hosts:16 HostsPerProcess:16 DataSources:150 RRDsProcessed:95
05/06/2006 07:21:07 PM - WEATHERMAP: Poller[0] Weathermap 0.81 in da house
05/06/2006 07:21:07 PM - WEATHERMAP: Poller[0] Normal logging mode. If things are going wrong, turn on DEBUG in Cacti for more information!
05/06/2006 07:21:07 PM - WEATHERMAP: Poller[0] Map: /var/www/cacti/plugins/weathermap/configs/weathermap.conf -> /var/www/cacti/plugins/weathermap/output/weathermap_4.html & /var/www/cacti/plugins/weathermap/output/weathermap_4.png
PHP Warning: mime_magic: type regex BEGIN[[:space:]]*[{] application/x-awk invalid in Unknown on line 0
05/06/2006 07:21:07 PM - WEATHERMAP: Poller[0] About to write image file. If this is the last message in your log, increase memory_limit in php.ini
05/06/2006 07:21:08 PM - WEATHERMAP: Poller[0] Using a non-existent special font (100) - falling back to internal GD fonts
05/06/2006 07:21:08 PM - WEATHERMAP: Poller[0] Using a non-existent special font (100) - falling back to internal GD fonts
05/06/2006 07:21:08 PM - WEATHERMAP: Poller[0] Using a non-existent special font (100) - falling back to internal GD fonts
05/06/2006 07:21:08 PM - WEATHERMAP: Poller[0] Using a non-existent special font (100) - falling back to internal GD fonts
05/06/2006 07:21:08 PM - WEATHERMAP: Poller[0] Using a non-existent special font (100) - falling back to internal GD fonts
05/06/2006 07:21:08 PM - WEATHERMAP: Poller[0] Using a non-existent special font (100) - falling back to internal GD fonts
05/06/2006 07:21:08 PM - WEATHERMAP: Poller[0] Using a non-existent special font (100) - falling back to internal GD fonts
05/06/2006 07:21:08 PM - WEATHERMAP: Poller[0] Using a non-existent special font (100) - falling back to internal GD fonts
05/06/2006 07:21:08 PM - WEATHERMAP: Poller[0] Using a non-existent special font (100) - falling back to internal GD fonts
05/06/2006 07:21:08 PM - WEATHERMAP: Poller[0] Using a non-existent special font (100) - falling back to internal GD fonts
05/06/2006 07:21:08 PM - WEATHERMAP: Poller[0] Using a non-existent special font (100) - falling back to internal GD fonts
05/06/2006 07:21:08 PM - WEATHERMAP: Poller[0] Using a non-existent special font (100) - falling back to internal GD fonts
05/06/2006 07:21:08 PM - WEATHERMAP: Poller[0] Using a non-existent special font (100) - falling back to internal GD fonts
05/06/2006 07:21:08 PM - WEATHERMAP: Poller[0] Using a non-existent special font (100) - falling back to internal GD fonts
05/06/2006 07:21:08 PM - WEATHERMAP: Poller[0] Using a non-existent special font (100) - falling back to internal GD fonts
05/06/2006 07:21:08 PM - WEATHERMAP: Poller[0] Using a non-existent special font (100) - falling back to internal GD fonts
05/06/2006 07:21:08 PM - WEATHERMAP: Poller[0] Using a non-existent special font (100) - falling back to internal GD fonts
05/06/2006 07:21:08 PM - WEATHERMAP: Poller[0] Using a non-existent special font (100) - falling back to internal GD fonts
05/06/2006 07:21:08 PM - WEATHERMAP: Poller[0] Using a non-existent special font (100) - falling back to internal GD fonts
05/06/2006 07:21:08 PM - WEATHERMAP: Poller[0] Using a non-existent special font (100) - falling back to internal GD fonts
05/06/2006 07:21:08 PM - WEATHERMAP: Poller[0] Using a non-existent special font (100) - falling back to internal GD fonts
05/06/2006 07:21:08 PM - WEATHERMAP: Poller[0] Using a non-existent special font (100) - falling back to internal GD fonts
05/06/2006 07:21:08 PM - WEATHERMAP: Poller[0] Using a non-existent special font (100) - falling back to internal GD fonts
05/06/2006 07:21:08 PM - WEATHERMAP: Poller[0] Using a non-existent special font (100) - falling back to internal GD fonts
05/06/2006 07:21:08 PM - WEATHERMAP: Poller[0] Using a non-existent special font (100) - falling back to internal GD fonts
05/06/2006 07:21:08 PM - WEATHERMAP: Poller[0] Using a non-existent special font (100) - falling back to internal GD fonts
05/06/2006 07:21:08 PM - WEATHERMAP: Poller[0] Using a non-existent special font (100) - falling back to internal GD fonts
05/06/2006 07:21:08 PM - WEATHERMAP: Poller[0] Using a non-existent special font (100) - falling back to internal GD fonts
05/06/2006 07:21:08 PM - WEATHERMAP: Poller[0] Using a non-existent special font (100) - falling back to internal GD fonts
05/06/2006 07:21:08 PM - WEATHERMAP: Poller[0] Using a non-existent special font (100) - falling back to internal GD fonts
05/06/2006 07:21:08 PM - WEATHERMAP: Poller[0] Using a non-existent special font (100) - falling back to internal GD fonts
05/06/2006 07:21:08 PM - WEATHERMAP: Poller[0] Using a non-existent special font (100) - falling back to internal GD fonts
05/06/2006 07:21:08 PM - WEATHERMAP: Poller[0] Using a non-existent special font (100) - falling back to internal GD fonts
05/06/2006 07:21:08 PM - WEATHERMAP: Poller[0] Using a non-existent special font (100) - falling back to internal GD fonts
05/06/2006 07:21:08 PM - WEATHERMAP: Poller[0] Using a non-existent special font (100) - falling back to internal GD fonts
05/06/2006 07:21:08 PM - WEATHERMAP: Poller[0] Using a non-existent special font (100) - falling back to internal GD fonts
05/06/2006 07:21:08 PM - WEATHERMAP: Poller[0] Using a non-existent special font (101) - falling back to internal GD fonts
05/06/2006 07:21:08 PM - WEATHERMAP: Poller[0] Using a non-existent special font (101) - falling back to internal GD fonts
05/06/2006 07:21:08 PM - WEATHERMAP: Poller[0] Using a non-existent special font (101) - falling back to internal GD fonts
05/06/2006 07:21:08 PM - WEATHERMAP: Poller[0] Using a non-existent special font (101) - falling back to internal GD fonts
05/06/2006 07:21:08 PM - WEATHERMAP: Poller[0] Using a non-existent special font (101) - falling back to internal GD fonts
05/06/2006 07:21:08 PM - WEATHERMAP: Poller[0] Using a non-existent special font (101) - falling back to internal GD fonts
05/06/2006 07:21:08 PM - WEATHERMAP: Poller[0] Using a non-existent special font (101) - falling back to internal GD fonts
05/06/2006 07:21:08 PM - WEATHERMAP: Poller[0] Using a non-existent special font (101) - falling back to internal GD fonts
05/06/2006 07:21:08 PM - WEATHERMAP: Poller[0] Using a non-existent special font (101) - falling back to internal GD fonts
05/06/2006 07:21:08 PM - WEATHERMAP: Poller[0] Using a non-existent special font (101) - falling back to internal GD fonts
05/06/2006 07:21:08 PM - WEATHERMAP: Poller[0] Using a non-existent special font (101) - falling back to internal GD fonts
05/06/2006 07:21:08 PM - WEATHERMAP: Poller[0] Using a non-existent special font (101) - falling back to internal GD fonts
05/06/2006 07:21:08 PM - WEATHERMAP: Poller[0] Using a non-existent special font (101) - falling back to internal GD fonts
05/06/2006 07:21:08 PM - WEATHERMAP: Poller[0] Using a non-existent special font (101) - falling back to internal GD fonts
05/06/2006 07:21:08 PM - WEATHERMAP: Poller[0] Using a non-existent special font (101) - falling back to internal GD fonts
05/06/2006 07:21:08 PM - WEATHERMAP: Poller[0] Using a non-existent special font (101) - falling back to internal GD fonts
05/06/2006 07:21:08 PM - WEATHERMAP: Poller[0] Using a non-existent special font (101) - falling back to internal GD fonts
05/06/2006 07:21:08 PM - WEATHERMAP: Poller[0] Using a non-existent special font (101) - falling back to internal GD fonts
05/06/2006 07:21:08 PM - WEATHERMAP: Poller[0] Using a non-existent special font (102) - falling back to internal GD fonts
05/06/2006 07:21:08 PM - WEATHERMAP: Poller[0] Using a non-existent special font (102) - falling back to internal GD fonts
05/06/2006 07:21:08 PM - WEATHERMAP: Poller[0] Using a non-existent special font (102) - falling back to internal GD fonts
05/06/2006 07:21:08 PM - WEATHERMAP: Poller[0] Using a non-existent special font (102) - falling back to internal GD fonts
05/06/2006 07:21:08 PM - WEATHERMAP: Poller[0] Using a non-existent special font (102) - falling back to internal GD fonts
05/06/2006 07:21:08 PM - WEATHERMAP: Poller[0] Using a non-existent special font (102) - falling back to internal GD fonts
05/06/2006 07:21:08 PM - WEATHERMAP: Poller[0] Using a non-existent special font (102) - falling back to internal GD fonts
05/06/2006 07:21:08 PM - WEATHERMAP: Poller[0] Using a non-existent special font (102) - falling back to internal GD fonts
05/06/2006 07:21:08 PM - WEATHERMAP: Poller[0] Using a non-existent special font (102) - falling back to internal GD fonts
05/06/2006 07:21:08 PM - WEATHERMAP: Poller[0] Using a non-existent special font (102) - falling back to internal GD fonts
05/06/2006 07:21:08 PM - WEATHERMAP: Poller[0] Using a non-existent special font (102) - falling back to internal GD fonts
05/06/2006 07:21:08 PM - WEATHERMAP: Poller[0] Wrote map to /var/www/cacti/plugins/weathermap/output/weathermap_4.png and /var/www/cacti/plugins/weathermap/output/weathermap_thumb_4.png
05/06/2006 07:21:08 PM - WEATHERMAP: Poller[0] Weathermap has left the building
cacti rulez!
- Howie
- Cacti Guru User
- Posts: 5508
- Joined: Thu Sep 16, 2004 5:53 am
- Location: United Kingdom
- Contact:
This font stuff is because you have FONTDEFINE lines in your config file that refer to fonts that don't exist. If you are trying to use the example.conf then you'll need to copy the .ttf and .png files into the main weathermap folder, or you will get a lot of these errors. It won't stop the map being drawn though - it just means (as it says) that weathermap will use the built-in GD fonts where you asked it to use the non-existent font.JJX wrote:and something more that may help:
this is in the logs when i run poller from command line (and weathermap is refreshed)05/06/2006 07:21:08 PM - WEATHERMAP: Poller[0] Using a non-existent special font (100) - falling back to internal GD fonts
05/06/2006 07:21:08 PM - WEATHERMAP: Poller[0] Using a non-existent special font (100) - falling back to internal GD fonts
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 am not using the example.conf . I create one from scratchHowie wrote:This font stuff is because you have FONTDEFINE lines in your config file that refer to fonts that don't exist. If you are trying to use the example.conf then you'll need to copy the .ttf and .png files into the main weathermap folder, or you will get a lot of these errors. It won't stop the map being drawn though - it just means (as it says) that weathermap will use the built-in GD fonts where you asked it to use the non-existent font.JJX wrote:and something more that may help:
this is in the logs when i run poller from command line (and weathermap is refreshed)05/06/2006 07:21:08 PM - WEATHERMAP: Poller[0] Using a non-existent special font (100) - falling back to internal GD fonts
05/06/2006 07:21:08 PM - WEATHERMAP: Poller[0] Using a non-existent special font (100) - falling back to internal GD fonts
Anyway, that isnt important
Any idea why weathermap isnt udpated with cacti poller?
cacti rulez!
opps, i just saw this postHowie wrote:Try checking the permissions of the png/html files in your output folder. If you ran the poller as a user other than your 'cactiuser' then the files will be owned by the wrong user (e.g. root) and the poller won't be able to overwrite them in normal use. I'm not certain that the current plugin would detect that situation.JJX wrote:thx for the reply
Before making any changes i get these in the log:
but still weathermap doesnt refesh & running "php poller.php" it does.
any idea why weathermap doesnt refresh with poller?
user "www-data" is the apache2 user and permissions are 777cd /var/www/cacti/plugins/weathermap/
var/www/cacti/plugins/weathermap# ll
total 545
drwxrwxrwx 7 www-data www-data 920 2006-05-06 19:12 .
drwxr-xr-x 6 www-data www-data 320 2006-05-05 18:09 ..
-rwxrwxrwx 1 www-data www-data 74139 2006-05-05 18:19 background.png
-rwxrwxrwx 1 www-data www-data 4845 2006-04-17 00:21 cacti-pick.php
-rwxrwxrwx 1 www-data www-data 8412 2006-04-17 00:21 CHANGES
drwxrwxrwx 2 www-data www-data 184 2006-05-06 23:03 configs
-rwxrwxrwx 1 www-data www-data 18011 2006-04-17 00:21 COPYING
drwxrwxrwx 5 www-data www-data 152 2006-04-17 01:11 docs
-rwxrwxrwx 1 www-data www-data 966 2006-05-05 20:30 editor-config.php
-rwxrwxrwx 1 www-data www-data 972 2006-04-17 00:21 editor-config.php-dist
-rwxrwxrwx 1 www-data www-data 3675 2006-04-17 00:21 editor.css
-rwxrwxrwx 1 www-data www-data 8979 2006-04-17 00:21 editor.inc.php
-rwxrwxrwx 1 www-data www-data 18684 2006-04-17 00:21 editor.js
-rwxrwxrwx 1 www-data www-data 27626 2006-04-17 00:21 editor.php
-rwxrwxrwx 1 www-data www-data 9524 2006-04-17 00:21 HTML_ImageMap.class.php
drwxrwxrwx 2 www-data www-data 312 2006-05-06 22:57 images
-rwxrwxrwx 1 www-data www-data 44 2006-04-17 00:21 index.php
-rwxrwxrwx 1 www-data www-data 48 2006-04-17 00:21 logout.php
drwxrwxrwx 2 www-data www-data 160 2006-05-06 23:06 output
-rwxrwxrwx 1 www-data www-data 50734 2006-04-17 00:21 overlib.js
drwxrwxrwx 2 www-data www-data 104 2006-04-17 01:11 random-bits
-rwxrwxrwx 1 www-data www-data 574 2006-04-17 00:21 README
-rwxrwxrwx 1 www-data www-data 14728 2006-05-06 19:12 setup.php
-rwxrwxrwx 1 www-data www-data 5245 2006-04-17 00:21 weathermap
-rwxrwxrwx 1 www-data www-data 17228 2006-04-17 00:21 weathermap-cacti-plugin-mgmt.php
-rwxrwxrwx 1 www-data www-data 12715 2006-05-06 10:54 weathermap-cacti-plugin.php
-rwxrwxrwx 1 www-data www-data 138384 2006-04-17 00:21 Weathermap.class.php
-rwxrwxrwx 1 www-data www-data 826 2006-05-05 20:16 weathermap.html
-rwxrwxrwx 1 www-data www-data 78116 2006-05-05 20:16 weathermap.png
/var/www/cacti/plugins/weathermap# cd output/
/var/www/cacti/plugins/weathermap/output# ll
total 157
drwxrwxrwx 2 www-data www-data 160 2006-05-06 23:06 .
drwxrwxrwx 7 www-data www-data 920 2006-05-06 19:12 ..
-rwxrwxrwx 1 www-data www-data 6194 2006-05-06 23:06 weathermap_4.html
-rwxrwxrwx 1 www-data www-data 98331 2006-05-06 23:06 weathermap_4.png
-rwxrwxrwx 1 www-data www-data 45403 2006-05-06 23:06 weathermap_thumb_4.png
i think these permissions are ok , arent them?
cacti rulez!
- Howie
- Cacti Guru User
- Posts: 5508
- Joined: Thu Sep 16, 2004 5:53 am
- Location: United Kingdom
- Contact:
That should work. The logs say it works. The date on the files makes it look like they are created OK, too. It's strange.JJX wrote: user "www-data" is the apache2 user and permissions are 777
i think these permissions are ok , arent them?
Is it possible that your browser is caching in some strange way? Maybe with a proxy? Could you verify that the file dates don't change when the poller runs? (i mean with 'ls', rather than looking in Cacti).
There should be some kind of error somewhere if it was failing... since it works from a command-line poller run, my feeling is still with permissions somehow. Try chowning the output folder to your cactiuser? Have a look in your Apache error log?
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!)
This isnt an proxy issue. I have excluded lcoal addresses from proxyHowie wrote:That should work. The logs say it works. The date on the files makes it look like they are created OK, too. It's strange.JJX wrote: user "www-data" is the apache2 user and permissions are 777
i think these permissions are ok , arent them?
Is it possible that your browser is caching in some strange way? Maybe with a proxy? Could you verify that the file dates don't change when the poller runs? (i mean with 'ls', rather than looking in Cacti).
There should be some kind of error somewhere if it was failing... since it works from a command-line poller run, my feeling is still with permissions somehow. Try chowning the output folder to your cactiuser? Have a look in your Apache error log?
The file dates & sizes arent changing before and after poller is running
In apache log the only error i see is this:
However, this error isnt produced by the poller (i cleared the log and waited the poller to run again)[Sat May 06 23:22:59 2006] [error] [client 10.19.140.13] File does not exist: /var/www/cacti/plugins/weathermap/images/auth_login.gif, referer: hxxp://cacti.skilla.awmn/plugins/weathermap/weathermap-cacti-plugin.php
[Sat May 06 23:22:59 2006] [error] [client 10.19.140.13] File does not exist: /var/www/cacti/404.html, referer: hxxp://cacti.skilla.awmn/plugins/weathermap/weathermap-cacti-plugin.php
[Sat May 06 23:23:26 2006] [error] [client 10.19.140.13] script '/var/www/cacti/plugins/weathermap/graph_view.php' not found or unable to stat, referer: hxxp://cacti.skilla.awmn/plugins/weathermap/weathermap-cacti-plugin.php
[Sat May 06 23:23:26 2006] [error] [client 10.19.140.13] File does not exist: /var/www/cacti/404.html, referer: hxxp://cacti.skilla.awmn/plugins/weathermap/weathermap-cacti-plugin.php
cacti rulez!
- Howie
- Cacti Guru User
- Posts: 5508
- Joined: Thu Sep 16, 2004 5:53 am
- Location: United Kingdom
- Contact:
Then I guess you are on your own. I've run out of ideas. I've never seen this before, and I don't know of anything special about the poller running as cacti apart from the obvious permissions. Have you got any other plugins? Have you tried disabling them temporarily if your have? Do you have more than one php interpreter? I don't know.JJX wrote: This isnt an proxy issue. I have excluded lcoal addresses from proxy
The file dates & sizes arent changing before and after poller is running
In apache log the only error i see is this:
However, this error isnt produced by the poller (i cleared the log and waited the poller to run again)
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 am also running monitor, thold
One workaround is to make maps incative to cacti and run the poller separate. But is the last option
Except creating the weathermap.conf do i have to configure any other parameters? I bet i am missing something
I will try to disable them$plugins = array();
$plugins[] = 'thold';
$plugins[] = 'monitor';
$plugins[] = 'weathermap';
One workaround is to make maps incative to cacti and run the poller separate. But is the last option
Except creating the weathermap.conf do i have to configure any other parameters? I bet i am missing something
cacti rulez!
Disabling other plugins didnt fix the problem.
One last question:
Do u see something strange in "editor-config.php" ?
One last question:
Do u see something strange in "editor-config.php" ?
cat editor-config.php
<?php
// CHANGE: Uncomment one of the lines below and change it to point to the base directory
// of your cacti install to enable cacti support in the editor
// $cacti_base = 'C:/XAMPP/xampp/htdocs/cacti';
$cacti_base = "/var/www/cacti";
if(is_dir($cacti_base))
{
// include the cacti-config, so we know about the database
include_once($cacti_base."/include/config.php");
// CHANGE: this to be the URL of the base of your Cacti install
// it MUST end with a / character!
$config['base_url']='http://support.company.net/cacti/';
}
// where to look for config files. The directory must be readable
// AND writable by whatever user your webserver runs as.
// this name is correct if you are using the Cacti plugin
//
// NOTE: You MIGHT need to use the full path to the configs folder here,
// (it seems to depend on the PHP or OS version)
$mapdir= $cacti_base.'/plugins/weathermap/configs';
//$mapdir='configs';
?>
cacti rulez!
I tried these:
- Reinstalling everything didnt fix the problem
- Changing plugins order didnt work
-Using only weathermark plugin didnt work
- I created a bash file which will run manually weathemap (and changing all paths in confiig to absolute paths) . Same behavior, when i run from console works. From cron doesnt work.
- I tried to redirect cron output to a file. It doesnt get redirected either from bash file or dirrectly from the command...
My cron entries:
The correct line is:
AGGGGGGGGGGGGGGGGGGGG
- Reinstalling everything didnt fix the problem
- Changing plugins order didnt work
-Using only weathermark plugin didnt work
- I created a bash file which will run manually weathemap (and changing all paths in confiig to absolute paths) . Same behavior, when i run from console works. From cron doesnt work.
- I tried to redirect cron output to a file. It doesnt get redirected either from bash file or dirrectly from the command...
My cron entries:
While typing these lines i found the solution!!! AGGGGGGGGGGGG!!!*/5 * * * * root /usr/local/bin/bind9-genstats.sh > /dev/null 2>&1 && /usr/bin/php /var/www/cacti/poller.php > /dev/null 2>&1
The correct line is:
wwithout the word "root"*/5 * * * * /usr/local/bin/bind9-genstats.sh > /dev/null 2>&1 && /usr/bin/php /var/www/cacti/poller.php > /dev/null 2>&1
AGGGGGGGGGGGGGGGGGGGG
cacti rulez!
- Howie
- Cacti Guru User
- Posts: 5508
- Joined: Thu Sep 16, 2004 5:53 am
- Location: United Kingdom
- Contact:
Surely your cacti graphs would not have updated either?? you didn't mention that!JJX wrote:While typing these lines i found the solution!!! AGGGGGGGGGGGG!!!
The correct line is:wwithout the word "root"*/5 * * * * /usr/local/bin/bind9-genstats.sh > /dev/null 2>&1 && /usr/bin/php /var/www/cacti/poller.php > /dev/null 2>&1
AGGGGGGGGGGGGGGGGGGGG
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!)
The graphs were upgraded without problem , thats the stange....Howie wrote:Surely your cacti graphs would not have updated either?? you didn't mention that!JJX wrote:While typing these lines i found the solution!!! AGGGGGGGGGGGG!!!
The correct line is:wwithout the word "root"*/5 * * * * /usr/local/bin/bind9-genstats.sh > /dev/null 2>&1 && /usr/bin/php /var/www/cacti/poller.php > /dev/null 2>&1
AGGGGGGGGGGGGGGGGGGGG
cacti rulez!
I installed phpweathermap and everything is working fine for me.
Just a lillte question. I am unable to permit a user to view the phpweahter maps. I checked the "view phpweathermap". the user can see the phpweathermap tab but not the graphs inside. I can see the graphs when a login in admin mode !
I performed a chmod 777 -R on the weathermap folder to be sure and still nothing to view for my user.
Any ideas?
Thanks
Qwertz
Just a lillte question. I am unable to permit a user to view the phpweahter maps. I checked the "view phpweathermap". the user can see the phpweathermap tab but not the graphs inside. I can see the graphs when a login in admin mode !
I performed a chmod 777 -R on the weathermap folder to be sure and still nothing to view for my user.
Any ideas?
Thanks
Qwertz
- Howie
- Cacti Guru User
- Posts: 5508
- Joined: Thu Sep 16, 2004 5:53 am
- Location: United Kingdom
- Contact:
Go to Manage...Weathermaps, then click on the part that says 'admin' next to the map. In there, you change which users can see which maps. By default, only admin can see the maps.qwertz wrote:I installed phpweathermap and everything is working fine for me.
Just a lillte question. I am unable to permit a user to view the phpweahter maps. I checked the "view phpweathermap". the user can see the phpweathermap tab but not the graphs inside. I can see the graphs when a login in admin mode !
I performed a chmod 777 -R on the weathermap folder to be sure and still nothing to view for my user.
Any ideas?
Thanks
Qwertz
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