5000 downloads of 0.98, and progress on 0.98a

Weathermap 0.98 hit 5000 downloads yesterday… woo!

Also, work is going well on the database changes for 0.98a. The actual database stuff has all been replaced and about 70% tested. Some of the other changes have highlighted some issues though, so I’m working on those now. The solution has been to pull in some of the refactored code from last year, which is tricky in places – it is all interdependent, so you have to try and break bits off cleanly. So now I am working through, weaving the two parts back together again.

Anyway, the end result will be some nicer code that most people won’t care about, and PHP 7 working, which they will! I don’t plan on this taking a lot longer, spare time permitting.

16 thoughts on “5000 downloads of 0.98, and progress on 0.98a

  1. Johan

    Great work on the weathermap. Im using cacti 0.8.8f and php7 so im waiting for the next release that will support it πŸ™‚

    Reply
  2. jared

    I was wondering if I could get some help.
    I am getting this error “PHP Parse error: syntax error, unexpected T_OBJECT_OPERATOR in /var/www/html/weathermap/weathermap on line 60”

    This is my line 60
    if ((new PEAR)->isError($ret)) { die (“Error in command line: ” . $ret->getMessage() . “\n (try –help)\n”); }

    Help!!!!!

    Reply
      1. jared

        Howard,

        Another issue I have come across. I ran the php weathermap and got the picture and browsed to it and everything. I went to the editor.php file and changed false to true so I could enable it.
        // so that you can’t have the editor active, and not know about it.
        $ENABLED=true;

        When I go to editor.php the page is blank. When I go to weathermap.html I see the picture and stuff.

        Reply
        1. jared

          If anyone else is having this issue or gets an error 500 on the website when they bring up editor.php, check the permissions of the files in weathermap/lib/. Mine were set so only I had access by default. Changed that all good.

          Reply
      1. jowel vjoy

        map file is not generating in observium
        config folder having config file
        php version
        php -v
        PHP 7.0.30 (cli) (built: Apr 24 2018 21:28:23) ( NTS )
        Copyright (c) 1997-2017 The PHP Group
        Zend Engine v3.0.0, Copyright (c) 1998-2017 Zend Technologies
        with Zend OPcache v7.0.30, Copyright (c) 1999-2017, by Zend Technologies

        observium is subscription version
        os centos 7
        network weathermap tried .97,.98,.98a-test3.zip

        Reply
        1. jowel vjoy

          Version Information
          Observium 18.5.9221 (11th May 2018)
          OS Linux 3.10.0-693.21.1.el7.x86_64 [amd64] (CentOS 7)
          Apache 2.4.6 (CentOS) PHP/7.0.30
          PHP 7.0.30 (OPcache: ENABLED)
          Python 2.7.5
          MySQL 5.5.56-MariaDB (extension: mysqli 5.0.12-dev)
          SNMP NET-SNMP 5.7.2
          RRDtool 1.6.0

          Reply
        2. Howard Post author

          I would contact Observium, since you pay them for support. I’m not familiar with their product or its Weathermap integration.

          Reply
          1. Andy

            Hi Howard. Well done on the website migration to the UKFAST VPS by the way πŸ™‚

            We are getting excited waiting, and hoping that the new release will work nicely with Observium.

            To be fair, we dont even know a single SMB network that still uses Cacti. In fact my last two employers have worked actively to replace Cacti with monitoring solutions from this decade like Observium/LibreNMS for so, so many reasons..

            I’m sure Adam would give you access to the paid version for free to integrate and test PHP-Weathermap with it πŸ˜‰ But to be fair, the free version is just as functional and has the same code anyway.

            PS; I think the hotfix the OP above was talking about might have come from this page; http://blog.best-practice.se/2014/07/using-php-weathermap-with-observium.html

            This is the only source of information on how to integrate PHP-Weathermap with Observium, but it is badly out of date. And so we are looking towards you for wisdom and guidance on how we should be gluing these systems together, especially in light of your refactoring πŸ™‚

            Best regards, A

          2. Howard Post author

            Totally agree about Cacti – this will definitely be the last Cacti-specific release. This is the main reason for the slowness in the next release: trying to find a way to get the UI working in Cacti that isn’t time dedicated to Cacti. As I’ve said before, I hope that most of this work will be re-usable without much additional code in other NMS – just enough to get things like authentication and data source selected integrated appropriately.

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.