Dear friends,
I have firewall instance which I'm checking with external bash script using the SNMP protocol to find out vpn (phase I) statuses on the device. The thing is when time passes by I'm starting to get false positives, when I check the device there status of vpn is "up", but with script check it gives me "down". I could say it could be the device issue, but when I clear the object of the template (template and history) and assign it back, issue resolves till some time. Could you pls point me to the right direction where to look up?
Here is the script itself in case if you need details:
#!/bin/sh
community=$1
host=$2
peer=$3
snmpwalk -v 2c -c $community $host MIBofTHEphaseI | grep -c $peer
I have firewall instance which I'm checking with external bash script using the SNMP protocol to find out vpn (phase I) statuses on the device. The thing is when time passes by I'm starting to get false positives, when I check the device there status of vpn is "up", but with script check it gives me "down". I could say it could be the device issue, but when I clear the object of the template (template and history) and assign it back, issue resolves till some time. Could you pls point me to the right direction where to look up?
Here is the script itself in case if you need details:
#!/bin/sh
community=$1
host=$2
peer=$3
snmpwalk -v 2c -c $community $host MIBofTHEphaseI | grep -c $peer
Comment