Nagios core - host check + service check same device?
Posted: Fri Oct 27, 2017 7:26 am
Hi and thanks for a great monitoring program but i am still a beginner i feel.
I have a nagios4 core setup running on a box with ubuntu 16.04 server which after connection to a Gateway router then a firewall it goes out to several remote vpn endpoint 3G router/modems. Some of these have devices as children. Children show unreachable when the 3G modem is down but the service monitoring the 3G modem is where i have some understanding problems.
I understand parents relating to hosts but am not sure about getting service parents to be useful or if they are needed.
Do I need both a host check as well as a service check on the 3G modem IP or should it just be only a host check?
Initially I left the host check as default values and defined a service check that was an ICMP 1000 byte packet to test fully the 3G link and performance throughput. A single ping might work ok yet there would be poor thoughput with larger data.
crude diagram.
10.0.1.100------>10.0.1.254------------------- >10.0.100.1>
ubuntu+nagios4>networkgateway vpn- to--->3G router->host check ping 10.0.100.1
------------------------------------------------------------------>service check icmp 10.0.100.1 1000 bytes.
I have the host check ping to the 3G modem as well as a service check icmp to the router as the same IP. is this doubling up unnecessary?
Now if the 3G device is down, I rely more on the icmp large packets for consideration which is a service check.
However if the 3G device fails then the service is critical and not unreachable state.
Should i put a service parent as the host check?
thanks for any ideas in working this out.
Eventually i would like to some add snmp query of the modem performance to aid in monitoring these, like signal and ecio levels but this might be more advanced for me at this point. All are Cisco 3g devices c881g or similar.
Minsik Australia.
I have a nagios4 core setup running on a box with ubuntu 16.04 server which after connection to a Gateway router then a firewall it goes out to several remote vpn endpoint 3G router/modems. Some of these have devices as children. Children show unreachable when the 3G modem is down but the service monitoring the 3G modem is where i have some understanding problems.
I understand parents relating to hosts but am not sure about getting service parents to be useful or if they are needed.
Do I need both a host check as well as a service check on the 3G modem IP or should it just be only a host check?
Initially I left the host check as default values and defined a service check that was an ICMP 1000 byte packet to test fully the 3G link and performance throughput. A single ping might work ok yet there would be poor thoughput with larger data.
crude diagram.
10.0.1.100------>10.0.1.254------------------- >10.0.100.1>
ubuntu+nagios4>networkgateway vpn- to--->3G router->host check ping 10.0.100.1
------------------------------------------------------------------>service check icmp 10.0.100.1 1000 bytes.
I have the host check ping to the 3G modem as well as a service check icmp to the router as the same IP. is this doubling up unnecessary?
Now if the 3G device is down, I rely more on the icmp large packets for consideration which is a service check.
However if the 3G device fails then the service is critical and not unreachable state.
Should i put a service parent as the host check?
thanks for any ideas in working this out.
Eventually i would like to some add snmp query of the modem performance to aid in monitoring these, like signal and ecio levels but this might be more advanced for me at this point. All are Cisco 3g devices c881g or similar.
Minsik Australia.