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

An open discussion forum for obtaining help with Nagios Core. Nagios Core users of all experience levels are welcome here. Subforum have been created for the discussion of Nagios Core and Nagios Plugin development.

NOTE: The SourceForge.net mailing lists have been deprecated in favor of this forum in order to expedite support and provide additional features not available on the old mailing list.

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

Postby ELYES1302 » Tue Dec 04, 2018 9:09 am

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 60 times
ELYES1302
 
Posts: 3
Joined: Fri Nov 23, 2018 4:11 pm

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

Postby scottwilkerson » Tue Dec 04, 2018 12:43 pm

Did you configure the backend in NagVis to use ndoutils?

Does it have the correct host/user/password?
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
User avatar
scottwilkerson
DevOps Engineer
 
Posts: 12594
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises

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

Postby ELYES1302 » Tue Dec 04, 2018 1:59 pm

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?
ELYES1302
 
Posts: 3
Joined: Fri Nov 23, 2018 4:11 pm

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

Postby scottwilkerson » Tue Dec 04, 2018 2:21 pm

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)
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
User avatar
scottwilkerson
DevOps Engineer
 
Posts: 12594
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises

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

Postby ELYES1302 » Tue Dec 04, 2018 2:39 pm

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

Thanks
ELYES1302
 
Posts: 3
Joined: Fri Nov 23, 2018 4:11 pm

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

Postby scottwilkerson » Tue Dec 04, 2018 3:11 pm

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/
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
User avatar
scottwilkerson
DevOps Engineer
 
Posts: 12594
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises


Return to Nagios Core

Who is online

Users browsing this forum: Fess [Nagios Bot] and 26 guests