Page 1 of 3

Monitoring nagios on a other network

Posted: Mon Jul 29, 2013 7:22 am
by solvisoft
Hello i am new to Nagios Fusion and i am trying to monitor a other Nagios Core instance with the Nagios Fusion.
however i have a problem that the dashlets and information of the Nagios Core machine aren't updating in Fusion.

My Nagios Fusion machine is running in VMware player on my local machine ,the Nagios Core instance (running on raspberrypi) i try to monitor is running on a different network.
i have open ports on the draytek , both 80 and 143.

the credentials that i have entered and basic connections settings are giving both OK (200).

what could be the problem ?

Re: Monitoring nagios on a other network

Posted: Mon Jul 29, 2013 12:23 pm
by lmiltchev
Run the following two commands on the Nagios Core box and show us the output:

Code: Select all

cat /etc/*release
uname -a

Re: Monitoring nagios on a other network

Posted: Tue Jul 30, 2013 5:36 am
by solvisoft
i have run the commands , here is the output.

Re: Monitoring nagios on a other network

Posted: Tue Jul 30, 2013 10:12 am
by lmiltchev
What is the version of Nagios Core that you are running on the Debian box? Are you using the latest version of Nagios Fusion?

Re: Monitoring nagios on a other network

Posted: Tue Jul 30, 2013 10:35 am
by solvisoft
I am using NagiosĀ® Coreā„¢ Version 3.4.1 for de RaspberryPi (debian) , for the Nagios Fusion its version 2012R1.5
i also have NConf v. 1.3.0 (final) installed.

Re: Monitoring nagios on a other network

Posted: Tue Jul 30, 2013 2:07 pm
by lmiltchev
Try the following - download the zip file below, and unzip it.
utils-tacdata.inc.zip
On the Nagios Fusion server, make a backup of the "utils-tacdata.inc.php":

Code: Select all

mv /usr/local/nagiosfusion/html/includes/utils-tacdata.inc.php /usr/local/nagiosfusion/html/includes/utils-tacdata.inc.php.backup
Copy the "new" utils-tacdata.inc.php file to your Fusion box via FileZilla or another FTP transfer software. Set the permissions:

Code: Select all

chown nagios.nagios /usr/local/nagiosfusion/html/includes/utils-tacdata.inc.php
chmod 755 /usr/local/nagiosfusion/html/includes/utils-tacdata.inc.php
See if this is going to fix your issue. If it doesn't work, return your "old" file back:

Code: Select all

mv /usr/local/nagiosfusion/html/includes/utils-tacdata.inc.php.backup /usr/local/nagiosfusion/html/includes/utils-tacdata.inc.php

Re: Monitoring nagios on a other network

Posted: Wed Jul 31, 2013 3:17 am
by solvisoft
i have patched the nagios fusion file and it seems to be showing some status info now , thank you :D
however if i try to add the a dashlet recent alerts it does not show anything...?

Re: Monitoring nagios on a other network

Posted: Wed Jul 31, 2013 2:02 pm
by lmiltchev
What is the dashlet that you are trying to add? Have you tried adding a different dashet (for testing purposes) to see if it is going to work? Can you post a screenshot of what you see?

Re: Monitoring nagios on a other network

Posted: Thu Aug 01, 2013 3:22 am
by solvisoft
some dashlets are working correct but the recent alerts dashlet and top alerts dashlet does not show any statistics.

see screenshot

Re: Monitoring nagios on a other network

Posted: Thu Aug 01, 2013 11:20 am
by lmiltchev
If the "/usr/local/nagiosfusion/var/components/recentalertsfail.log" file exists on your fusion box, please, post it for a review.