Search found 5331 matches

by Howie
Sat Aug 10, 2019 5:10 am
Forum: Plugin: (Network Weather Map)
Topic: Cacti 1.2.5 and weathermap standalone
Replies: 6
Views: 274

Re: Cacti 1.2.5 and weathermap standalone

(also, to explain your actual error - ext-posix is a PHP extension. npm installs Javascript modules for nodejs. It will never work. To enable PHP extensions, usually you edit php.ini, if they are standard extensions like posix or gd)
by Howie
Sat Aug 10, 2019 5:07 am
Forum: Plugin: (Network Weather Map)
Topic: Cacti 1.2.5 and weathermap standalone
Replies: 6
Views: 274

Re: Cacti 1.2.5 and weathermap standalone

Howie wrote:To run weathermap, you don't need to touch composer.
Or npm!

If you just download the release version zip, you don't need to do anything with node, npm, composer, bower, phpunit, make etc.

(you might need to enable the php-gd module, but run

Code: Select all

php check.php
and it will tell you if you do)
by Howie
Sat Aug 03, 2019 8:03 am
Forum: Plugin: (Network Weather Map)
Topic: Cacti 1.2.5 and weathermap standalone
Replies: 6
Views: 274

Re: Cacti 1.2.5 and weathermap standalone

To run weathermap, you don't need to touch composer. Just download the zip as usual, from the releases section. Composer (and npm) is there to install all the junk I use to test Weathermap and build the final zips. The only php extensions that weathermap itself needs are php-gd, php-snmp (if you use...
by Howie
Fri Jun 28, 2019 3:34 am
Forum: Plugin: (Network Weather Map)
Topic: Artificial ICON size relative to Node Size
Replies: 2
Views: 204

Re: Artificial ICON size relative to Node Size

That's an interesting idea. Although it's making a feature out of a bodge, really. I guess the real request would be to be able to style the label box? Or do you use different colours for the label and the AICON? I like to have all my AICON boxes the same size regardless of the content, so they line...
by Howie
Fri Jun 28, 2019 3:31 am
Forum: Plugin: (Network Weather Map)
Topic: Weathermap future
Replies: 32
Views: 9483

Re: Weathermap future

Thanks :-) It's still moving forward slowly.

(Groups have been in Weathermap since 0.97 (Jan 2010), by the way!)
by Howie
Mon Jun 24, 2019 12:09 pm
Forum: Plugin: (Network Weather Map)
Topic: Cacti-Weathermap-Export
Replies: 6
Views: 461

Re: Cacti-Weathermap-Export

I still don't think that will get you traffic numbers from Cacti, but if you are doing this by clicking on links in weathermap, just do this instead:

Code: Select all

 awk  'BEGIN {FS="=" } /INFOURL/ {print $NF;}' < weathermap.conf > export.txt
by Howie
Mon Jun 24, 2019 9:41 am
Forum: Plugin: (Network Weather Map)
Topic: Cacti-Weathermap-Export
Replies: 6
Views: 461

Re: Cacti-Weathermap-Export

No, you get Data Source IDs . Those are not the same. (But probably they ARE what you want for your other script - the graph ID is mainly useful for building a URL to show the graph, not so much for getting actual numbers). If you really really want graph IDs (I still think you don't). There is some...
by Howie
Sat Jun 22, 2019 7:21 am
Forum: Plugin: (Network Weather Map)
Topic: Cacti-Weathermap-Export
Replies: 6
Views: 461

Re: Cacti-Weathermap-Export

1) Weathermap reads data sources, not graphs. (there is not a 1:1 mapping between the two - you can have a graph aggregating multiple data sources in Cacti, or two graphs showing the same data source in different presentations, or with different CDEFs) 2) It only reads what you tell it to. i.e. You ...
by Howie
Thu Jun 13, 2019 10:49 am
Forum: Plugin: (Network Weather Map)
Topic: Rebuild ReactJS files for current master branch ?
Replies: 12
Views: 556

Re: Rebuild ReactJS files for current master branch ?

Because it's already hard to get collaboration on the project, and that just makes it harder :-)
by Howie
Thu Jun 13, 2019 2:52 am
Forum: Plugin: (Network Weather Map)
Topic: Rebuild ReactJS files for current master branch ?
Replies: 12
Views: 556

Re: Rebuild ReactJS files for current master branch ?

So, it worked fine for me. I've updated the various dependencies to address some security issues. I needed to add a browsers section to each package.json, but that was so that the dev server would run, as far as I can tell.

Please don't work on the React stuff though - it's going to go away.
by Howie
Thu Jun 13, 2019 2:14 am
Forum: Plugin: (Network Weather Map)
Topic: Rebuild ReactJS files for current master branch ?
Replies: 12
Views: 556

Re: Rebuild ReactJS files for current master branch ?

Hello Howard, No, that's how they were generated. It should work. It's just not necessary if all you were going to do is use it. OK. So, if these files were really rebuilt following the procedure described in my first message, why by restarting the reconstruction I see a different display in Cacti ...
by Howie
Wed Jun 12, 2019 2:09 pm
Forum: Plugin: (Network Weather Map)
Topic: Rebuild ReactJS files for current master branch ?
Replies: 12
Views: 556

Re: Rebuild ReactJS files for current master branch ?

No, that's how they were generated. It should work. It's just not necessary if all you were going to do is use it. And yes, as part of breaking the project up between Cacti and Weathermap, we will be looking to make something more like the older plugin. Not sure why wouldn't you expect to need knowl...
by Howie
Wed Jun 12, 2019 7:44 am
Forum: Plugin: (Network Weather Map)
Topic: Rebuild ReactJS files for current master branch ?
Replies: 12
Views: 556

Re: Rebuild ReactJS files for current master branch ?

No, I meant why did you want to rebuild?

The parts that are missing NOW in your system are all the React parts :-)
by Howie
Wed Jun 12, 2019 3:16 am
Forum: Plugin: (Network Weather Map)
Topic: Rebuild ReactJS files for current master branch ?
Replies: 12
Views: 556

Re: Rebuild ReactJS files for current master branch ?

That all looked right to me. What does the javascript console in your browser say?

(what features do you think you are missing? I don't think the compiled javascript files are out of date...)