Search found 20 matches

by SaltyBear
Fri May 20, 2016 2:19 am
Forum: Open Source Nagios Projects
Topic: Monitoring nagios with another nagios.
Replies: 20
Views: 10561

Re: Monitoring nagios with another nagios.

More likely something in-between the two devices as Box293 mentioned. Do you have any sort of FW on the switch/router between them? Anything they proxy through, or an IDS/IPS of any kind? There are 2 LAN's They are virtualized on a blade provided for us, each LAN has a firewall and lan B also has a...
by SaltyBear
Thu May 19, 2016 6:02 am
Forum: Open Source Nagios Projects
Topic: Monitoring nagios with another nagios.
Replies: 20
Views: 10561

Re: Monitoring nagios with another nagios.

This is what I get, so then the firewall is still blocking port 5666 even though we opened it? root@Nightswatch:/home/snow# iptables --list Chain INPUT (policy ACCEPT) target prot opt source destination Chain FORWARD (policy ACCEPT) target prot opt source destination Chain OUTPUT (policy ACCEPT) tar...
by SaltyBear
Thu May 19, 2016 5:59 am
Forum: Open Source Nagios Projects
Topic: Configuring nagios emails to gmail
Replies: 5
Views: 5367

Re: Configuring nagios emails to gmail

You can close this topic, it has been resolved with the help of a classmate :)
Basically I switched to mailx which worked without any problems from the start.
by SaltyBear
Wed May 18, 2016 8:15 am
Forum: Open Source Nagios Projects
Topic: Monitoring nagios with another nagios.
Replies: 20
Views: 10561

Re: Monitoring nagios with another nagios.

So the server is listening, it's most likely that the port need to be opened on the Core server firewall. This command executed from the other server will confirm it: nmap 10.0.60.10 -p 5666 If the port is opened, the result will be like: Starting Nmap 6.47 ( http://nmap.org ) at 2016-05-18 10:55 A...
by SaltyBear
Tue May 17, 2016 7:44 pm
Forum: Open Source Nagios Projects
Topic: Monitoring nagios with another nagios.
Replies: 20
Views: 10561

Re: Monitoring nagios with another nagios.

You may need to open the ports on the Nagios server as well: sudo iptables -I INPUT -p tcp --destination-port 5666 -j ACCEPT I think you need to run this as well: sudo apt-get install -y iptables-persistent This command should confirm if your Ubuntu server is listening on port 5666: sudo lsof -i :5...
by SaltyBear
Tue May 17, 2016 6:50 pm
Forum: Open Source Nagios Projects
Topic: Monitoring nagios with another nagios.
Replies: 20
Views: 10561

Re: Monitoring nagios with another nagios.

We just had this error with some clients and this was due to the fact that someone closed the port 5666. We opened it so why is it returning this error again? root@lannister:/home/administrator# nmap 10.0.60.10 Starting Nmap 6.40 ( http://nmap.org ) at 2016-05-18 00:15 CEST Nmap scan report for 10....
by SaltyBear
Tue May 17, 2016 5:20 pm
Forum: Open Source Nagios Projects
Topic: Monitoring nagios with another nagios.
Replies: 20
Views: 10561

Re: Monitoring nagios with another nagios.

Are you running it with xinetd? What do you see in /var/log/messages or /var/log/syslog, anything related? The only thing I find of the monitored nagios is this Lannister is the one monitoring nightswatch. Lannister = LanA, nightswatch = LanB May 18 00:00:00 lannister nagios: CURRENT SERVICE STATE:...
by SaltyBear
Tue May 17, 2016 4:33 pm
Forum: Open Source Nagios Projects
Topic: Monitoring nagios with another nagios.
Replies: 20
Views: 10561

Re: Monitoring nagios with another nagios.

Please post the service definitions for the services that are timing out. Also, from the Nagios machine, run nmap <ipofserverthatistimingout> and post the full output. (replace <ipofserverthatistimingout> with the actual IP for the host that is timing out.) The service definitions are fine, they ar...
by SaltyBear
Tue May 17, 2016 2:52 pm
Forum: Open Source Nagios Projects
Topic: Monitoring nagios with another nagios.
Replies: 20
Views: 10561

Monitoring nagios with another nagios.

Hi So I finally managed to get both nagios monitoring servers fully working in lan A and lan B So now I wanted to make them monitor eachother so that if one would go down, the other one would notify me. So I treated one as a normal ubuntu client and the other as the normal monitoring server, I added...
by SaltyBear
Tue May 17, 2016 4:57 am
Forum: Open Source Nagios Projects
Topic: Configuring nagios emails to gmail
Replies: 5
Views: 5367

Re: Configuring nagios emails to gmail

Is it possible to send an email from the command line? I tried it with the command echo "testing for nagios alerts"|mail -s "test nagiosalerts" nagiosteamc@gmail.com But this returns errors mail: Cannot open mailer: No such file or directory mail: cannot send message: No such fi...