Server Branching in Nagios
Posted: Mon Aug 25, 2014 8:28 pm
Hello people, I have a nagios core server monitoring some computers directyl. Now I want to monitor a database with a plugin called "check_oracle_health" but I can't directly have access to the machine with the database from outsite the network so what I have to do is a brached system like this:
(MONITOR) ------------> (MIDDLE) ------------> (DATABASE MACHINE)
The MIDDLE machine is in the same network of the DATABASE MACHINE and the MONITOR can connect to MIDDLE by VPN.
What you see is that I can monitor directly the DATABASE MACHINE from MONITOR because of security policies. What I need is to monitor the DATABASE MACHINE from MIDDLE machine but duplicate the data or get the same data in the MONITOR in real time in case the VPN connection is up. If the VPN connections goes down the MIDDLE machine will keep monitoring, and when the VPN connection is up again, get the data that MIDDLE collected during this time and display realtime information again.
Do you have any idea of how to do this??
THANKS
(MONITOR) ------------> (MIDDLE) ------------> (DATABASE MACHINE)
The MIDDLE machine is in the same network of the DATABASE MACHINE and the MONITOR can connect to MIDDLE by VPN.
What you see is that I can monitor directly the DATABASE MACHINE from MONITOR because of security policies. What I need is to monitor the DATABASE MACHINE from MIDDLE machine but duplicate the data or get the same data in the MONITOR in real time in case the VPN connection is up. If the VPN connections goes down the MIDDLE machine will keep monitoring, and when the VPN connection is up again, get the data that MIDDLE collected during this time and display realtime information again.
Do you have any idea of how to do this??
THANKS