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

Re: Monitoring nagios on a other network

Post by solvisoft »

i tried looking up "/usr/local/nagiosfusion/var/components/recentalertsfail.log" but i can't find any log in this directory.
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: Monitoring nagios on a other network

Post by scottwilkerson »

The date for last update on this image was several days old when posted
http://support.nagios.com/forum/viewtop ... 327#p59439

Can we tail the cron log to make sure the poller.php cron is running

Code: Select all

tail /var/log/cron
Also, can you try to run it manually and report any errant output

Code: Select all

php /usr/local/nagiosfusion/cro/poller.php
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
solvisoft
Posts: 35
Joined: Fri Jul 26, 2013 9:31 am

Re: Monitoring nagios on a other network

Post by solvisoft »

i tried searching for the file but the location and file does not exist.
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: Monitoring nagios on a other network

Post by scottwilkerson »

Sorry, it should have been

Code: Select all

php /usr/local/nagiosfusion/cron/poller.php
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
solvisoft
Posts: 35
Joined: Fri Jul 26, 2013 9:31 am

Re: Monitoring nagios on a other network

Post by solvisoft »

i have the output of the command

except i have a problem that the nagios core now gets Server Timeout in the server credentials screen.

Hello,

i have the error message Server Timeout in the Nagios Fusion Server Credentials. > Issue found! changed back to port 80 then it says OK

Server Address = ServerIP
Server Type = Nagios Core
Authentication = HTTP Basic
Public url = http://ServerIP/nagios3/ > i actually want http://ServerIP:87/nagios3/
Internal url = http://ServerIP/nagios3/ > i actually want http://ServerIP:87/nagios3/

is it possible to let the fusion and core check on port 87 instead of 80 ?
i know that i can change the port on Nagios Core with

Code: Select all

sudo nano /etc/apache2/ports.conf
is there also some command for Fusion ?
You do not have the required permissions to view the files attached to this post.
Last edited by slansing on Thu Aug 22, 2013 9:05 am, edited 1 time in total.
Reason: Do not make double posts, just edit your previous post.
slansing
Posts: 7698
Joined: Mon Apr 23, 2012 4:28 pm
Location: Travelling through time and space...

Re: Monitoring nagios on a other network

Post by slansing »

Ah excellent! Were you trying to check against 443 or something? What issues are you still having?
solvisoft
Posts: 35
Joined: Fri Jul 26, 2013 9:31 am

Re: Monitoring nagios on a other network

Post by solvisoft »

we used the default port in Nagios core (80) then the Fusion can monitor this machine.
is there a way to change the port back to 87 and get the Fusion to monitor this ?

for security reasons we want to change to a different port and NOT port 80
slansing
Posts: 7698
Joined: Mon Apr 23, 2012 4:28 pm
Location: Travelling through time and space...

Re: Monitoring nagios on a other network

Post by slansing »

When you try to connect to the XI web interface via that port is it functioning?
solvisoft
Posts: 35
Joined: Fri Jul 26, 2013 9:31 am

Re: Monitoring nagios on a other network

Post by solvisoft »

i can connect to the Nagios Core if i set the Port to 87

i have to go to http:\\serverip:87\nagios3

nagios3 runs on a RaspberryPi


Nagios Fusion runs on a ESXI machine.
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 »

Do you get "Auth Check" = OK (Configure->Server Credentials), when you enter your credentials, and click on "Update Settings" (provided you've set up the "Public URL" and "Internal URL" as "http://serverip:87/nagios3/")?
Be sure to check out our Knowledgebase for helpful articles and solutions!
Locked