![]() This will try to recalculate all your maps on demand. On the Weathermap management page, there is a 'Recalculate NOW' button. Also see the FAQ section of this manual, and the website for more. If you set Cacti's logging level to DEBUG, then Weathermap will produce a lot of log information as it runs. Most normal errors willĪppear in here with Cacti's logging level set to LOW. If you have a problem, then check your cacti.log for lines starting WEATHERMAP. In normal use, you don't need to add a cron job - the Cacti poller does this work for you. If you use 'crontab -e', instead of editing /etc/crontab directly, then you should remove the 'cactiuser'. You will need to change the paths to php and cacti, and the user that cacti runs as. */5 * * * * cactiuser /usr/bin/php /your/cacti/path/plugins/weathermap/weathermap-cacti-rebuild.php Then set up a second /etc/crontab entry, to redraw your Weathermaps without slowing down your Cacti polling: To use this, you need to edit it, and change the path in the top of the file to point to your Cacti root directory. To redraw all the maps outside of the standard Cacti poller process, there is a special PHP script weathermap-cacti-rebuild.php that does the same job as the Cacti poller. This allows you to use the user-access parts of the plugin, but manage the redrawing of maps yourself. ĭuring that one cycle when it does redraw, your polling cycle will still be longer than usual, so you can also turn off the poller part of Weathermap, so that it doesn't redraw at all. This option allows you to change this, so that Weathermap only redraws every n polling cycles. If you use the 1-minute polling patch for Cacti, you might not want to have Weathermap redraw your maps every minute. Map Rendering Interval is intended for advanced users only. ![]() ![]() JPEG images can be quite a bit smaller than PNG, without much degradation in quality. ![]() ![]() Since v0.9, Weathermap can create PNG, GIF and JPEG files, as long as the GD library on your system was compiled with the correct libraries. Output Format allows you to change the image file format used by the plugin. "HTML Tidy for Mac OS X (vers 12 April 2006), see />Ĭopyright © 2005-2007 Howard Jones, Copyright © 2005-2010 Howard Jones, (Website) ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |