I need info about snmpwalk and check_snmp plugin
Posted: Wed Apr 19, 2017 6:36 am
Hi all,
I am trying to monitor IPsec tunnels on my checkpoint. I use "configuration wizard" and I choose network devices. I, also choose SNMP walk. After that I put all data that is needed and I get answer that is not correct. I get that only two tunnels are up and running on my checkpoint. This is not correct, because there are much more unnels on that checkpoint firewall. I tried snmpwalk command in command line on my CentOS server and I get same response. i used this command in command line:
snmpwalk -v 2c -c public 192.168.1.1 .1.3.6.1.4.1.2620.500.9002.1.3
And I get response like this:
SNMPv2-SMI::enterprises.2620.500.9002.1.3.*.*.*.*.0 = Counter32: 3 -----> Stars are here to mask public IP address of IPsec peer
SNMPv2-SMI::enterprises.2620.500.9002.1.3.*.*.*.*.0 = Counter32: 3
Error: OID not increasing: SNMPv2-SMI::enterprises.2620.500.9002.1.3.*.*.*.*.0
>= SNMPv2-SMI::enterprises.2620.500.9002.1.3.*.*.*.*.0
I tried to resolve this and I did. I used "-Cc" option in snmpwalk command and I get correct reponse. Correct response is next:
[root@ip-10-159-32-77 libexec]# snmpwalk -v 2c -Cc -c eFrOnT 10.30.4.1 .1.3.6.1.4.1.2620.500.9002.1.3
SNMPv2-SMI::enterprises.2620.500.9002.1.3.*.*.*.*.0 = Counter32: 3 -----> Stars are here to mask public IP address of IPsec peer
SNMPv2-SMI::enterprises.2620.500.9002.1.3.*.*.*.*.0 = Counter32: 3
SNMPv2-SMI::enterprises.2620.500.9002.1.3.*.*.*.*.0 = Counter32: 3
SNMPv2-SMI::enterprises.2620.500.9002.1.3.*.*.*.*.0 = Counter32: 3
SNMPv2-SMI::enterprises.2620.500.9002.1.3.*.*.*.*.0 = Counter32: 3
SNMPv2-SMI::enterprises.2620.500.9002.1.3.*.*.*.*.0 = Counter32: 3
SNMPv2-SMI::enterprises.2620.500.9002.1.3.*.*.*.*.0 = Counter32: 3
SNMPv2-SMI::enterprises.2620.500.9002.1.3.*.*.*.*.0 = Counter32: 3
SNMPv2-SMI::enterprises.2620.500.9002.1.3.*.*.*.*.0 = Counter32: 3
SNMPv2-SMI::enterprises.2620.500.9002.1.3.*.*.*.*.0 = Counter32: 3
SNMPv2-SMI::enterprises.2620.500.9002.1.3.*.*.*.*.0 = Counter32: 3
SNMPv2-SMI::enterprises.2620.500.9002.1.3.*.*.*.*.0 = Counter32: 3
SNMPv2-SMI::enterprises.2620.500.9002.1.3.*.*.*.*.0 = Counter32: 3
SNMPv2-SMI::enterprises.2620.500.9002.1.3.*.*.*.*.0 = Counter32: 3
SNMPv2-SMI::enterprises.2620.500.9002.1.3.*.*.*.*.0 = Counter32: 3
SNMPv2-SMI::enterprises.2620.500.9002.1.3.*.*.*.*.0 = Counter32: 3
SNMPv2-SMI::enterprises.2620.500.9002.1.3.*.*.*.*.0 = Counter32: 3
SNMPv2-SMI::enterprises.2620.500.9002.1.3.*.*.*.*.0 = Counter32: 3
SNMPv2-SMI::enterprises.2620.500.9002.1.3.*.*.*.*.0 = Counter32: 3
My problem is - How to get same, correct, response when I use "configuration wizard" and "snmp walk" option in wizard.
This is response that I get in wizard;
enterprises.2620.500.9002.1.3.*.*.*.*.0 Counter32 3 -----> Stars are here to mask public IP address of IPsec peer
enterprises.2620.500.9002.1.3.*.*.*.*.0 Counter32 3 -----> Stars are here to mask public IP address of IPsec peer
After this I should get more tunnels and their states (just to mention that "3" means that tunnel is active).
If anyone have any idea, feel free to suggest.
Thank you in advance.
Kind regards,
Petar
I am trying to monitor IPsec tunnels on my checkpoint. I use "configuration wizard" and I choose network devices. I, also choose SNMP walk. After that I put all data that is needed and I get answer that is not correct. I get that only two tunnels are up and running on my checkpoint. This is not correct, because there are much more unnels on that checkpoint firewall. I tried snmpwalk command in command line on my CentOS server and I get same response. i used this command in command line:
snmpwalk -v 2c -c public 192.168.1.1 .1.3.6.1.4.1.2620.500.9002.1.3
And I get response like this:
SNMPv2-SMI::enterprises.2620.500.9002.1.3.*.*.*.*.0 = Counter32: 3 -----> Stars are here to mask public IP address of IPsec peer
SNMPv2-SMI::enterprises.2620.500.9002.1.3.*.*.*.*.0 = Counter32: 3
Error: OID not increasing: SNMPv2-SMI::enterprises.2620.500.9002.1.3.*.*.*.*.0
>= SNMPv2-SMI::enterprises.2620.500.9002.1.3.*.*.*.*.0
I tried to resolve this and I did. I used "-Cc" option in snmpwalk command and I get correct reponse. Correct response is next:
[root@ip-10-159-32-77 libexec]# snmpwalk -v 2c -Cc -c eFrOnT 10.30.4.1 .1.3.6.1.4.1.2620.500.9002.1.3
SNMPv2-SMI::enterprises.2620.500.9002.1.3.*.*.*.*.0 = Counter32: 3 -----> Stars are here to mask public IP address of IPsec peer
SNMPv2-SMI::enterprises.2620.500.9002.1.3.*.*.*.*.0 = Counter32: 3
SNMPv2-SMI::enterprises.2620.500.9002.1.3.*.*.*.*.0 = Counter32: 3
SNMPv2-SMI::enterprises.2620.500.9002.1.3.*.*.*.*.0 = Counter32: 3
SNMPv2-SMI::enterprises.2620.500.9002.1.3.*.*.*.*.0 = Counter32: 3
SNMPv2-SMI::enterprises.2620.500.9002.1.3.*.*.*.*.0 = Counter32: 3
SNMPv2-SMI::enterprises.2620.500.9002.1.3.*.*.*.*.0 = Counter32: 3
SNMPv2-SMI::enterprises.2620.500.9002.1.3.*.*.*.*.0 = Counter32: 3
SNMPv2-SMI::enterprises.2620.500.9002.1.3.*.*.*.*.0 = Counter32: 3
SNMPv2-SMI::enterprises.2620.500.9002.1.3.*.*.*.*.0 = Counter32: 3
SNMPv2-SMI::enterprises.2620.500.9002.1.3.*.*.*.*.0 = Counter32: 3
SNMPv2-SMI::enterprises.2620.500.9002.1.3.*.*.*.*.0 = Counter32: 3
SNMPv2-SMI::enterprises.2620.500.9002.1.3.*.*.*.*.0 = Counter32: 3
SNMPv2-SMI::enterprises.2620.500.9002.1.3.*.*.*.*.0 = Counter32: 3
SNMPv2-SMI::enterprises.2620.500.9002.1.3.*.*.*.*.0 = Counter32: 3
SNMPv2-SMI::enterprises.2620.500.9002.1.3.*.*.*.*.0 = Counter32: 3
SNMPv2-SMI::enterprises.2620.500.9002.1.3.*.*.*.*.0 = Counter32: 3
SNMPv2-SMI::enterprises.2620.500.9002.1.3.*.*.*.*.0 = Counter32: 3
SNMPv2-SMI::enterprises.2620.500.9002.1.3.*.*.*.*.0 = Counter32: 3
My problem is - How to get same, correct, response when I use "configuration wizard" and "snmp walk" option in wizard.
This is response that I get in wizard;
enterprises.2620.500.9002.1.3.*.*.*.*.0 Counter32 3 -----> Stars are here to mask public IP address of IPsec peer
enterprises.2620.500.9002.1.3.*.*.*.*.0 Counter32 3 -----> Stars are here to mask public IP address of IPsec peer
After this I should get more tunnels and their states (just to mention that "3" means that tunnel is active).
If anyone have any idea, feel free to suggest.
Thank you in advance.
Kind regards,
Petar