Try running it from within the /opt/observium directory. The script is looking for the includes subdirectory as a relative location.
Michael
On 25 January 2017 6:59:47 PM LHDT, Sophanith Chhom <sophanith.chhom@gmail.com> wrote:
>I try to figure out and fix my weathermap, it shows error as
>following:
>
>[root@observium logs]# /opt/observium/html/weathermap/map-poller.php >> *Tomas Chott technický ředitel*
>PHP Fatal error: require_once(): Failed opening required
>'/includes/db.inc.php'
>(include_path='.:/usr/share/pear:/usr/share/php') in
>/opt/observium/includes/definitions.inc.php on line 475
>
>any advice to make it working pls?
>
>
>
>On Wed, Jan 25, 2017 at 3:54 AM, chott@praha1.net <chott@praha1.net>
>wrote:
>
>> For me does not work generating MAPS
>>
>> editor.php working, i can get Node from Observium, get Link...thats
>all
>>
>>
>> [image: email-header-praha1]
>>
>>
>>
>> chott@praha1.net
>> Phone:
>> * +420 245 004 005 <+420%20245%20004%20005> *Mobile:* +420 733 123
>135
>> <+420%20733%20123%20135>*
>>
>> *Metropolitní síť Praha 1 z.s.p.o.*
>> Jindrisska 18
>> 110 00 Praha 1
>> Czech Republic
>> www.praha1.net
>>
>> [image: Popis: Facebook] <http://www.facebook.com/praha1net >
>> <http://www.linkedin.com/pub/tomas-chott/49/97a/1aa >
>> ------------------------------
>> *Od:* observium [observium-bounces@observium.org ] za uživatele Derek
>[
>> dandenoth@gmail.com]
>> *Odesláno:* 24. ledna 2017 18:35
>> *Komu:* Observium Network Observation System
>> *Předmět:* Re: [Observium] Weathermap graph guideline
>>
>> I don't believe Weathermap is an official extension of Observium,
>however
>> I did it using this webpage's instructions:
>>
>> http://blog.best-practice.se/2014/07/using-php-weathermap-
>> with-observium.html
>>
>> Also, FWIW, it broke when I attempted to use RRDcached.
>>
>> ~Derek
>>
>> On Mon, Jan 23, 2017 at 10:42 PM, chott@praha1.net <chott@praha1.net>
>> wrote:
>>
>>> +1
>>>
>>> for me :-)
>>>
>>>
>>> [image: email-header-praha1]
>>>
>>>
>>> *Tomas Chott technický ředitel*
>>>
>>> chott@praha1.net
>>> Phone:
>>> * +420 245 004 005 <+420%20245%20004%20005> *Mobile:* +420 733 123
>135
>>> <+420%20733%20123%20135>*
>>>
>>> *Metropolitní síť Praha 1 z.s.p.o.*
>>> Jindrisska 18
>>> 110 00 Praha 1
>>> Czech Republic
>>> www.praha1.net
>>>
>>> [image: Popis: Facebook] <http://www.facebook.com/praha1net >
>>> <http://www.linkedin.com/pub/tomas-chott/49/97a/1aa >
>>> ------------------------------
>>> *Od:* observium [observium-bounces@observium.org ] za uživatele
>Sophanith
>>> Chhom [sophanith.chhom@gmail.com]
>>> *Odesláno:* 24. ledna 2017 4:37
>>> *Komu:* observium@observium.org
>>> *Předmět:* [Observium] Weathermap graph guideline
>>>
>>> Hi All,
>>>
>>> I am just a new for Observium and looking it to replace Cacti.
>>>
>>> I am looking a guide fro Weathermap setup but it seems not useful
>how to
>>> add node/graph.
>>>
>>> Can you sent link for instruction to do it or guide please?
>>>
>>>
>>> Thanks,
>>>
>>> _______________________________________________
>>> observium mailing list
>>> observium@observium.org
>>> http://postman.memetic.org/cgi-bin/mailman/listinfo/ observium
>>>
>>>
>>
>> _______________________________________________
>> observium mailing list
>> observium@observium.org
>> http://postman.memetic.org/cgi-bin/mailman/listinfo/ observium
>>
>>