Hi Support team.
in my ENV, we use checkpoint 5100 as DMZ firewall. We connect the Internet link (fixed IP) to this firewall. I am looking for a script which can monitor the logical connection state of this link. Would you please suggest some scripts.
Thanks.
How do I check the Internet connection state
Re: How do I check the Internet connection state
You could setup a host check that pings an external IP address and if it's not reachable that should alert on no internet.
A lot of customers use this plugin which may work for it:
https://labs.consol.de/nagios/check_nwc ... index.html
Which requires a different setup:
You could also use the SNMP or SNMP Walk wizards to monitor specific SNMP OIDs if you have SNMP enabled on the remote device.
If it's an interface on the firewall you should be able to run the Network Switch / Router wizard against it to monitor port bandwidth/port status if you have SNMP enabled.
A lot of customers use this plugin which may work for it:
https://labs.consol.de/nagios/check_nwc ... index.html
Which requires a different setup:
Code: Select all
wget https://labs.consol.de/assets/downloads/nagios/check_nwc_health-8.3.1.tar.gz
tar zxf check_nwc_health-8.3.1.tar.gz
cd check_nwc_health-8.3.1
./configure
make all
make installCode: Select all
/usr/local/nagios/libexec/check_nwc_health --hostname X.X.X.X -t 60 --community 'yourcommunity' --mode cpu-load
/usr/local/nagios/libexec/check_nwc_health --hostname X.X.X.X -t 60 --community 'yourcommunity' --mode hardware-health
/usr/local/nagios/libexec/check_nwc_health --hostname X.X.X.X -t 60 --community 'yourcommunity' --mode memory-usage
/usr/local/nagios/libexec/check_nwc_health --hostname X.X.X.X -t 60 --community 'yourcommunity' --mode disk-usage
/usr/local/nagios/libexec/check_nwc_health --hostname X.X.X.X -t 60 --community 'yourcommunity' --mode interface-usage
/usr/local/nagios/libexec/check_nwc_health --hostname X.X.X.X -t 60 --community 'yourcommunity' --mode interface-errors
/usr/local/nagios/libexec/check_nwc_health --hostname X.X.X.X -t 60 --community 'yourcommunity' --mode interface-healthIf it's an interface on the firewall you should be able to run the Network Switch / Router wizard against it to monitor port bandwidth/port status if you have SNMP enabled.
Re: How do I check the Internet connection state
THanks, I will explore it.