Monitoring nagios on a other network

This support forum board is for questions relating to Nagios Fusion.
solvisoft
Posts: 35
Joined: Fri Jul 26, 2013 9:31 am

Monitoring nagios on a other network

Post 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 ?
You do not have the required permissions to view the files attached to this post.
User avatar
lmiltchev
Bugs find me
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: Monitoring nagios on a other network

Post 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
Be sure to check out our Knowledgebase for helpful articles and solutions!
solvisoft
Posts: 35
Joined: Fri Jul 26, 2013 9:31 am

Re: Monitoring nagios on a other network

Post by solvisoft »

i have run the commands , here is the output.
You do not have the required permissions to view the files attached to this post.
User avatar
lmiltchev
Bugs find me
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: Monitoring nagios on a other network

Post 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?
Be sure to check out our Knowledgebase for helpful articles and solutions!
solvisoft
Posts: 35
Joined: Fri Jul 26, 2013 9:31 am

Re: Monitoring nagios on a other network

Post 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.
User avatar
lmiltchev
Bugs find me
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: Monitoring nagios on a other network

Post 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
You do not have the required permissions to view the files attached to this post.
Be sure to check out our Knowledgebase for helpful articles and solutions!
solvisoft
Posts: 35
Joined: Fri Jul 26, 2013 9:31 am

Re: Monitoring nagios on a other network

Post 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...?
User avatar
lmiltchev
Bugs find me
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: Monitoring nagios on a other network

Post 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?
Be sure to check out our Knowledgebase for helpful articles and solutions!
solvisoft
Posts: 35
Joined: Fri Jul 26, 2013 9:31 am

Re: Monitoring nagios on a other network

Post by solvisoft »

some dashlets are working correct but the recent alerts dashlet and top alerts dashlet does not show any statistics.

see screenshot
You do not have the required permissions to view the files attached to this post.
User avatar
lmiltchev
Bugs find me
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: Monitoring nagios on a other network

Post by lmiltchev »

If the "/usr/local/nagiosfusion/var/components/recentalertsfail.log" file exists on your fusion box, please, post it for a review.
Be sure to check out our Knowledgebase for helpful articles and solutions!
Locked