Search found 6 matches

by jscherle
Mon Jun 09, 2014 11:48 pm
Forum: Nagios XI
Topic: Multiple Nagios XI Servers with NDO data in one database
Replies: 7
Views: 1762

Re: Multiple Nagios XI Servers with NDO data in one database

Thanks. So $_SESSION["current_instance_id"] is set when the session is started, do we know where in the code that occurs and what it is set to? I've grepped through the code a lot and see instance_id being passed around, but I can't seem to find where it is initially set. I'll try the meth...
by jscherle
Fri Jun 06, 2014 7:10 pm
Forum: Nagios XI
Topic: Multiple Nagios XI Servers with NDO data in one database
Replies: 7
Views: 1762

Re: Multiple Nagios XI Servers with NDO data in one database

In /usr/local/nagiosxi/html/includes/utils-objects.inc.php there is a function called: get_current_instance_id It looks like this is used to determine the instance id. It looks like this: function get_current_instance_id(){ global $cfg; $instance_id=-1; if(isset($_SESSION["current_instance_id&q...
by jscherle
Fri Jun 06, 2014 6:00 pm
Forum: Nagios XI
Topic: Multiple Nagios XI Servers with NDO data in one database
Replies: 7
Views: 1762

Re: Multiple Nagios XI Servers with NDO data in one database

If I use the command backend?cmd=getinstances, it returns: <instancelist> <recordcount>1</recordcount> <instance id="1"> <id>1</id> <name>localhost</name> <description/> </instance> </instancelist> However, this is incorrect. The ndoutils db that this nagios xi instance is connecting to ha...
by jscherle
Fri Jun 06, 2014 1:35 pm
Forum: Nagios XI
Topic: Multiple Nagios XI Servers with NDO data in one database
Replies: 7
Views: 1762

Re: Multiple Nagios XI Servers with NDO data in one database

In /usr/local/nagiosxi/html/config.inc.php I think I found the setting I was looking for: $cfg['default_instance_id']=3; // default ndoutils instance to read from However, this was below the line that read "/********* DO NOT MODIFY ANYTHING BELOW THIS LINE **********/ I risked my life and chang...
by jscherle
Fri Jun 06, 2014 1:05 pm
Forum: Nagios XI
Topic: Multiple Nagios XI Servers with NDO data in one database
Replies: 7
Views: 1762

Multiple Nagios XI Servers with NDO data in one database

We have several instances of Nagios XI running for different teams. We would like to be able to use a central mysql db to store all of the check results (so we can easily pull the data from one spot to present it in our portal). I've already went through the following steps to try to accomplish this...
by jscherle
Mon May 05, 2014 12:12 pm
Forum: Nagios XI
Topic: Displaying a Service Availability Graph in a Dashboard
Replies: 1
Views: 689

Displaying a Service Availability Graph in a Dashboard

I'm trying to get a Service Availability graph to display in a Dashboard. I can view the "Service Availability" graph in the "Service Detail" area for a service; but I couldn't figure out how to add this graph to a dashboard. Is it possible? My second approach was to try to use t...