Open StefanRudat opened 5 years ago
Hi
solved the Problem using mk-livestatus-1.4.0p38
the version mk-livestatus-1.5.0p16 is not suitable for Nagvis V 1.9.11
Bye
Stefan
Should be working fine. Need more details about your setup (sites / configured backends and so on).
Hi Lars Will try to send so much informatios as possible ... I checked it with an remote nagios installation where nagvis ; nagios & mk-livestatus runs perfect [backend_SWR] ; and with the local installation [backend_live_1]
[global] dateformat="d-m-Y H:i:s" file_group="www-data" http_proxy="tcp://172.10.40.21:8888" language="de_DE" [paths] [defaults] backend="demo" [index] [automap] [wui] [worker] [backend_SWR] backendtype="mklivestatus" socket="tcp:172.10.40.20:6557" [backend_WLAN_3] backendtype="mklivestatus" socket="tcp:127.0.0.1:6557" [backend_live_1] backendtype="mklivestatus" socket="unix:/var/lib/nagios/rw/live" [backend_ndomy_1] backendtype="ndomy" [states]
bye Stefan
The error message you posted is related to a backend "live_2" which does not exist in the configuration you sent me. The backend_id for that object may be wrong. You probably need to set it to backend_id=SWR?
Hi Lars,
Sorry yes, during my fault finding I set up a Backend:live_2 socket="tcp:172.10.40.252:6557" ; it's the localhost Simply to have the same TCP socket reading like form the remote Nagios socket="tcp:172.10.40.20:6557" only for testing.
The result was that everything nagvis got from the remote host was Ok but everything it got from the localhost over the TCP socket shows the problem.
Then I set back to [backend_live_1] socket="unix:/var/lib/nagios/rw/live" tested the socket using:
echo 'GET hosts' | unixcat /var/lib/nagios/rw/live echo 'GET services' | unixcat /var/lib/nagios/rw/live
Unfortunately I was not able to read the version from mk-livestatus/livestatus.o at the working Nagios server installation. So I beginn to go down in the mk-livestatus version until I found a working version.
The Nagvis/Nagios Server is now transfered to the productive envoirement. This makes it a litte bit tricky for me to find a timeslot to exchange the different livestatus.o versions.
bye Stefan
Next time you may use this query to get the livestatus.o version:
lq "GET status\nColumns: livestatus_version"
thank you very much , makes the live quite easier ;-)
Hi Using Nagvis V 1.9.11 , Nagios 4.4.3 I facing following Problem.
But in the case the host is up and it is not the localhost
Bye Stefan