I've installed Nagios on Ubuntu 8.04 for the first time. Nagios 3.0.6 and Nagios Plugins 1.4.13.
I have multiple access points that I need to monitor on various sites and so I looked at Nagios and am giving it a try.
Nagios installed successfully and I configured one of my local managed switches to be monitored by pinging it regularly and it worked fine.
I tried configuring a remote AP at another site with a WAN IP and port number and in the nagios web interface it gives me the following error:
"check_ping: Invalid hostname/address - 220.127.116.11:60003"
Unfortunately I don't have a site-to-site VPN setup yet so I can't just configure it with local host private IPs and have to configure my remote routers with port forwarding for each AP behind it. But it doesn't look like Nagios supports this. If Nagios does, that would be awsome and any direction on how to go about this would be great.
Here's the configuration of my "/usr/local/nagios/etc/objects/switch.cfg":
Define the switch that we'll be monitoring
use generic-switch ; Inherit default values from a template
host_name smcswitch ; The name we're giving to this switch
alias smcswitch ; A longer name associated with the switch
address 18.104.22.168:60003 ; IP address of the switch
hostgroups switches ; Host groups this switch is associated with
Create a service to PING to switch
use generic-service ; Inherit values from a template
host_name smcswitch ; The name of the host the service is associated with
service_description PING ; The service description
check_command check_ping!200.0,20%!600.0,60% ; The command used to monitor the service
normal_check_interval 1 ; Check the service every 5 minutes under normal conditions
retry_check_interval 1 ; Re-check the service every minute until its final/hard state is determined