Page 1 of 1

Nagvis ndomy_1

Posted: Wed Dec 13, 2017 2:10 am
by nagios_ant
Hi Team,
I am trying to setup an end to end service dashboard for my service.
I tried to configure the Nagvis, but i am unable to get the status of any service and confused of ndomy_1
I am pretty new to Nagvis and tried troubleshoot the issue with few of the post in this forum
- I have not done any changes in the nagvis.ini.php
- Am attaching the details of service --status-all commands as well.
- Please find the details /config of my 'DeVOPS2' dashboard ( image attached)
---------------------------------------------------------
vi /usr/local/nagvis/etc/maps/DEVOPS2.cfg

define global {
iconset=std_medium
}

define service {
label_show=1
label_text=Eureka 351
host_name=va10tlvpos351.wellpoint.com
service_description=BP-QA-MADE:9010-EurekaService351:Port
x=350
y=140
}

define service {
host_name=va10tlvpos349.wellpoint.com
service_description=BP-QA-Re-imagine:8063:Commision-document-service:Port.
x=241
y=283
label_show=1
label_text=Commision Service 8063
}

define service {
host_name=mom9n90037.wellpoint.com
service_description=BP-QA-SGFO:8072_Scheduler:port
x=429
y=282
label_show=1
label_text=Scheduler Service
}
----------------------------------------------------------------------

Re: Nagvis ndomy_1

Posted: Wed Dec 13, 2017 12:04 pm
by npolovenko
@nagios_ant, I've seen a lot of the times changing Backend="ndomy_1" to Backend="live_1" in nagvis.ini.php helped users with similar problem. Please try that. And restart nagios with service nagios restart, and service ndo2db restart.

Can you also upload nagvis.ini.php config file here:

Code: Select all

/usr/local/nagvis/etc/nagvis.ini.php

Re: Nagvis ndomy_1

Posted: Thu Dec 14, 2017 9:01 am
by nagios_ant
Thank you for the reply
I changed the settings as you specified but i am getting the similar error
Please find the screen shot and nagvis.ini.php file as well.

Re: Nagvis ndomy_1

Posted: Thu Dec 14, 2017 2:44 pm
by npolovenko
Hello, @nagios_ant.

Please change the Backend back to Backend="ndomy_1".
Can you upload /usr/local/nagios/etc/ndo2db.cfg file here as well?
Also, please navigate to Nagvis, and click on the "Need help" drop-down menu at the top, then "Nagvis support information". Would you be able to take a screenshot of that whole page and include it with your next post?

A few side questions: did you upgrade XI recently? What version of XI are you running right now? Have you done any changes to the database at all?

Re: Nagvis ndomy_1

Posted: Mon Dec 18, 2017 8:19 am
by nagios_ant
Hi Team,

Please find the xi version information
No update has been done recently.
As per my knowledge we have not done any db changes.

# Nagios XI version information
###################################
full=5.4.4
major=5
minor=4.4
releasedate=2017-04-25
release=5404

=====================================================================

Please find the attached ndo2db.cfg
Also find the attached nagvi-support-info screenshot requested

Re: Nagvis ndomy_1

Posted: Mon Dec 18, 2017 2:05 pm
by npolovenko
@nagios_ant, Did you offload MySQL by chance? Let's try to repair the database:

Code: Select all

cd /usr/local/nagiosxi/scripts/
./repair_databases.sh
(this script might take a while to run).

Re: Nagvis ndomy_1

Posted: Tue Dec 19, 2017 11:19 am
by nagios_ant
Thank you.
I have run the repair database option. Please find the below details

===============
REPAIR COMPLETE
===============
Stopping ndo2db: done.
Starting ndo2db: done.
Running configuration check...
Stopping nagios:. done.
Starting nagios: done.

=======================
nagios database repair succeeded
nagiosql database repair succeeded
nagiosxi database repair succeeded

Re: Nagvis ndomy_1

Posted: Tue Dec 19, 2017 11:23 am
by npolovenko
@nagios_ant , Looks good, did it solve the problem?