Weathermap is not building the png and html files needed

Automatically weathermap is not creating the .png and .html files needed in output folder (“/opt/librenms/html/plugins/Weathermap/output/”)

Is anyone else recently facing this types problem to including latest version Weathermap plugings with latest version librenms (22.8.0)?. I expecting reply from who are installing latest version (22.8.0) librenms with latest weathermap .

Thanks in advance.

1’st I am new to LibreNMS and Weathermap – and I only joined this group a few hours ago today.

take a look at: ./weathermap.php

then look for the lines in the file :
// **************************************************************************************
// THIS IS THE ONE LINE IN HERE YOU MIGHT HAVE TO CHANGE!
$rrdtool="/usr/bin/rrdtool";
// (on Windows, use / instead of \ in pathnames - c:/rrdtool/bin/rrdtool.exe for example)
// **************************************************************************************

I had to add the → $rrdtool="/usr/bin/rrdtool";

hope this helps
North Idaho Tom Jones

Thanks for your reply. I don’t clearly understand your reply. I didn’t find above mentioned type coding in weathermap.php file. Would you tell me that, use case of this code $rrdtool=“/usr/bin/rrdtool”; here.
Actually, I am facing “404 | not found” error when try open map.

More details are explain here HTML Pages not being automated created in output folder (/opt/librenms/html/plugins/Weathermap/output/)

[root@LibreNMS-3 Weathermap]# cat Weathermap.php

<?php namespace LibreNMS\Plugins; include_once 'lib/editor.inc.php'; class Weathermap { public static $name = 'Weathermap'; public static function menu() { //Include config include 'config.inc.php'; //Parse config files $files = list_weathermaps($mapdir); //Create submenu $submenu = ' '; //Display it if not empty if ($count > 0) { echo('
  • ' . self::$name . ''); echo $submenu; echo('
  • '); } else { //Create menu without submenu echo('
  • ' . self::$name . '
  • '); } } } [root@LibreNMS-3 Weathermap]#

    This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.