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

nagvis

(Elyes1302) #1

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.


#2

Probably the definition in the [backend] of nagvis.ini.php is incorrect.


(Elyes1302) #3

Hello,

; 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>:” -> 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"

i think the config backend is ok
could you please help me?


#4

Please take a look here.
Please verify that the db_nagios database contains the information you expect.