Weathermap is not building the png and html files needed

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]#