Unable to fetch data from backend - falling back to input fi

Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
Locked
ELYES1302
Posts: 3
Joined: Fri Nov 23, 2018 4:11 pm

Unable to fetch data from backend - falling back to input fi

Post by ELYES1302 »

Hi,

I need to use nagvis in the nagios 4.4.1.

And, I created maps using "Add maps" menu in nagvis.

But, We can not fetch data on host and service from backend database.

It displayed following messages. "Unable to fetch data from backend - falling back to input field."

NagVis Version 1.7.10
PHP Version 7.1.17-0ubuntu0.17.10.1
MySQL Version mysql Ver 14.14 Distrib 5.7.22,
OS Linux-Ubuntu 17

please help me. thank you.
Attachments
Unable to fetch data from backend.PNG
Unable to fetch data from backend.PNG (11.66 KiB) Viewed 1766 times
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: Unable to fetch data from backend - falling back to inpu

Post by scottwilkerson »

Did you configure the backend in NagVis to use ndoutils?

Does it have the correct host/user/password?
Former Nagios employee
Creator:
ahumandesign.com
enneagrams.com
ELYES1302
Posts: 3
Joined: Fri Nov 23, 2018 4:11 pm

Re: Unable to fetch data from backend - falling back to inpu

Post by ELYES1302 »

Hello,
Yes , i have update the file nagvis.ini.php
[backend_ndomy_1]
; type of backend - MUST be set
backendtype="ndomy"
; The status host can be used to prevent annoying timeouts when a backend is not
; reachable. This is only useful in multi backend setups.
;
; It works as follows: The assumption is that there is a "local" backend which
; monitors the host of the "remote" backend. When the remote backend host is
; reported as UP the backend is queried as normal.
; When the remote backend host is reported as "DOWN" or "UNREACHABLE" NagVis won't
; try to connect to the backend anymore until the backend host gets available again.
;
; The statushost needs to be given in the following format:
; "<backend_id>:<hostname>" -> e.g. "live_2:nagios"
;statushost=""
; hostname for NDO-db
dbhost="localhost"
; portname for NDO-db
dbport=3306
; database name for NDO-db
dbname="db_nagios"
; username for NDO-db
dbuser="ndo"
; password for NDO-db
dbpass="ndo"
; prefix for tables in NDO-db
dbprefix="nagios_"
; instance name for tables in NDO-db
dbinstancename="default"
; maximum delay of the NDO Database in seconds
maxtimewithoutupdate=180
; path to the cgi-bin of this backend
htmlcgi="/nagios/cgi-bin"

But it's NOK
could you please help me?
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: Unable to fetch data from backend - falling back to inpu

Post by scottwilkerson »

Providing that all of this info is correct, if in the GUI you go to Options -> Manage Backends is this selected as the default Backend?

If this is the case, you may need to contact the NagVis developers of a possible issue (We are not the developers of NagVis)
Former Nagios employee
Creator:
ahumandesign.com
enneagrams.com
ELYES1302
Posts: 3
Joined: Fri Nov 23, 2018 4:11 pm

Re: Unable to fetch data from backend - falling back to inpu

Post by ELYES1302 »

I a m not a develloper Nagvis
how i can contact the develloper Nagvis?

Thanks
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: Unable to fetch data from backend - falling back to inpu

Post by scottwilkerson »

ELYES1302 wrote:I a m not a develloper Nagvis
how i can contact the develloper Nagvis?

Thanks
Their website is here
http://www.nagvis.org/
Former Nagios employee
Creator:
ahumandesign.com
enneagrams.com
Locked