Page 1 of 2

Why no Nagios core alerts in Fusion OpsCenter view?

Posted: Fri Jan 02, 2015 10:51 am
by vAJ
Is this due to $$ or functionality?

I stood up a Core instance out in AWS and was hoping to pull active alerts into our OpsScreen that we project in our NOC.

No dice? Bummer.

Re: Why no Nagios core alerts in Fusion OpsCenter view?

Posted: Fri Jan 02, 2015 12:51 pm
by cmerchant
Are you certain it isn't a firewall issue? Per our Fusion Architecture doc:
In order to allow Nagios Fusion to communicate with remote Nagios XI or Core servers, you may have to open firewall rules to allow
inbound traffic from the Fusion server. This is done by opening TCP port 80 for HTTP or TCP port 143 for HTTPS
http://assets.nagios.com/downloads/nagi ... erview.pdf

Re: Why no Nagios core alerts in Fusion OpsCenter view?

Posted: Fri Jan 02, 2015 1:44 pm
by vAJ
Yeah, I can see it in Tactical, just not Operations Center.

Re: Why no Nagios core alerts in Fusion OpsCenter view?

Posted: Fri Jan 02, 2015 1:46 pm
by vAJ
And just for clarification, I am on Fusion 2014R1 and Core 4.0.8

Re: Why no Nagios core alerts in Fusion OpsCenter view?

Posted: Fri Jan 02, 2015 2:36 pm
by lmiltchev
What is the OS/architecture of the fused Nagios Core server?

Run the following commands in the CLI on the Nagios Fusion server, and show us the output in code wraps:

Code: Select all

ll /usr/local/nagiosfusion/html/includes/components/nocscreen/
cat /usr/local/nagiosfusion/var/poller.log

Re: Why no Nagios core alerts in Fusion OpsCenter view?

Posted: Fri Jan 02, 2015 2:45 pm
by vAJ
Centos 6.5 VM

Code: Select all

ll /usr/local/nagiosfusion/html/includes/components/nocscreen/
total 104
-rw-r--r-- 1 nagios nagios 22882 Nov 13  2012 host.png
-rwxr-xr-x 1 nagios nagios    84 Nov 15  2012 install.sh
-rwxr-xr-x 1 nagios nagios  5748 Nov 13  2012 nocfetch.php
-rwxr-xr-x 1 nagios nagios  2912 Mar 19  2013 noc.php
-rwxr-xr-x 1 nagios nagios 16821 Jan 10  2013 nocscreen.inc.php
-rw-r--r-- 1 nagios nagios  9591 Jan 29  2013 poller_debug2.log
-rw-r--r-- 1 nagios nagios 18457 Nov 13  2012 service.png
-rw-r--r-- 1 nagios nagios  8755 Nov 13  2012 summary.png

Code: Select all

cat /usr/local/nagiosfusion/var/poller.log
Saving Tac Data to DB: AustinDF
Saving Tac Data to DB: VDC
PHP Notice:  Undefined index: query in /usr/local/nagiosfusion/html/includes/utilsx.inc.php on line 80

Notice: Undefined index: query in /usr/local/nagiosfusion/html/includes/utilsx.inc.php on line 80
Saving Tac Data to DB: AmazonEC2

CMD: /usr/local/nagiosfusion/html/includes/components/nocscreen/nocfetch.php host 0du889 >> /usr/local/nagiosfusion/var/components/noc.log

CMD /usr/local/nagiosfusion/html/includes/components/nocscreen/nocfetch.php service 0du889 >> /usr/local/nagiosfusion/var/components/noc.log

CMD: /usr/local/nagiosfusion/html/includes/components/nocscreen/nocfetch.php host j58mpi >> /usr/local/nagiosfusion/var/components/noc.log

CMD /usr/local/nagiosfusion/html/includes/components/nocscreen/nocfetch.php service j58mpi >> /usr/local/nagiosfusion/var/components/noc.log
Polling Recent Alerts...
NAGIOSXI ALERT FETCH AustinDF
COUNT :0
NAGIOSXI ALERT FETCH VDC
COUNT :73
NAGIOSCORE ALERT FETCHAmazonEC2
COUNT :4
Polling Top Alert Producers...
TRUNCATING topalertproducers table
Saved top alert producers for AustinDF
Saved top alert producers for VDC
Saved top alert producers for AmazonEC2
3 callbacks run
***GET DATA!***
RUNTIME: 33 INTERVAL: 33 POLL INTERVAL: 10
Saving Tac Data to DB: AustinDF
Saving Tac Data to DB: VDC
PHP Notice:  Undefined index: query in /usr/local/nagiosfusion/html/includes/utilsx.inc.php on line 80

Notice: Undefined index: query in /usr/local/nagiosfusion/html/includes/utilsx.inc.php on line 80
Saving Tac Data to DB: AmazonEC2

CMD: /usr/local/nagiosfusion/html/includes/components/nocscreen/nocfetch.php host 0du889 >> /usr/local/nagiosfusion/var/components/noc.log

CMD /usr/local/nagiosfusion/html/includes/components/nocscreen/nocfetch.php service 0du889 >> /usr/local/nagiosfusion/var/components/noc.log

CMD: /usr/local/nagiosfusion/html/includes/components/nocscreen/nocfetch.php host j58mpi >> /usr/local/nagiosfusion/var/components/noc.log

CMD /usr/local/nagiosfusion/html/includes/components/nocscreen/nocfetch.php service j58mpi >> /usr/local/nagiosfusion/var/components/noc.log
Polling Recent Alerts...
NAGIOSXI ALERT FETCH AustinDF
COUNT :0
NAGIOSXI ALERT FETCH VDC
COUNT :73
NAGIOSCORE ALERT FETCHAmazonEC2
COUNT :4
3 callbacks run
Loop time: 60 seconds
.***GET DATA!***
RUNTIME: 103 INTERVAL: 10 POLL INTERVAL: 10
Saving Tac Data to DB: AustinDF
Saving Tac Data to DB: VDC
PHP Notice:  Undefined index: query in /usr/local/nagiosfusion/html/includes/utilsx.inc.php on line 80

Notice: Undefined index: query in /usr/local/nagiosfusion/html/includes/utilsx.inc.php on line 80
Saving Tac Data to DB: AmazonEC2

CMD: /usr/local/nagiosfusion/html/includes/components/nocscreen/nocfetch.php host 0du889 >> /usr/local/nagiosfusion/var/components/noc.log

CMD /usr/local/nagiosfusion/html/includes/components/nocscreen/nocfetch.php service 0du889 >> /usr/local/nagiosfusion/var/components/noc.log

CMD: /usr/local/nagiosfusion/html/includes/components/nocscreen/nocfetch.php host j58mpi >> /usr/local/nagiosfusion/var/components/noc.log

CMD /usr/local/nagiosfusion/html/includes/components/nocscreen/nocfetch.php service j58mpi >> /usr/local/nagiosfusion/var/components/noc.log
Polling Recent Alerts...
NAGIOSXI ALERT FETCH AustinDF
COUNT :0
NAGIOSXI ALERT FETCH VDC
COUNT :73
NAGIOSCORE ALERT FETCHAmazonEC2
COUNT :4
3 callbacks run
Loop time: 52 seconds
.***GET DATA!***
RUNTIME: 165 INTERVAL: 10 POLL INTERVAL: 10
Saving Tac Data to DB: AustinDF

Re: Why no Nagios core alerts in Fusion OpsCenter view?

Posted: Fri Jan 02, 2015 3:39 pm
by slansing
I'm fairly certain the Operations Center only functions with XI servers. I was taking a look at the PHP and it seems to only request updates from the prescribed XI back-end URL. We can do some more looking into it on Monday, but that's how it looks right now.

Re: Why no Nagios core alerts in Fusion OpsCenter view?

Posted: Fri Jan 02, 2015 3:50 pm
by vAJ
That's what I figured. It's an XI feature, not present in Core, so I half-expected that it would be too good to be true to have that ability come alive for Core instances in Fusion.

Re: Why no Nagios core alerts in Fusion OpsCenter view?

Posted: Fri Jan 02, 2015 4:01 pm
by lmiltchev
vAJ, let us know if it is OK to lock this topic.

Re: Why no Nagios core alerts in Fusion OpsCenter view?

Posted: Fri Jan 02, 2015 4:18 pm
by vAJ
Sure thing.

Thanks,
Andrew