jjmartres / Zabbix

A great collection of Zabbix scripts and templates
GNU General Public License v2.0
878 stars 583 forks source link

vpn.dom script error #83

Open forall opened 9 years ago

forall commented 9 years ago

Hi, I used a your script to check a vpn on fortigate80, and I have that error messages:

2015-02-25 10:03:03 /var/lib/gems/1.9.1/gems/snmp-1.2.0/lib/snmp/manager.rb:49:in send': getaddrinfo: Name or service not known (SocketError) from /var/lib/gems/1.9.1/gems/snmp-1.2.0/lib/snmp/manager.rb:49:insend' from /var/lib/gems/1.9.1/gems/snmp-1.2.0/lib/snmp/manage

My environment: zabbix 6.0.10, ruby 1.9.3.

intrepidsilence commented 8 years ago

Did you ever figure out what this was? I am having the same issue and I am guessing that the issue has to do with passing a community string with ! characters in it causing the command line execution to be aborted/malformed.

tivrobo commented 8 years ago

Have this problem too, anybody fix it? Thanks.

portalthiago commented 7 years ago

please im getting this error too /usr/local/share/gems/gems/snmp-1.2.0/lib/snmp/manager.rb:49:in send': getaddrinfo: Name or service not known (SocketError) from /usr/local/share/gems/gems/snmp-1.2.0/lib/snmp/manager.rb:49:insend' from /usr/local/share/gems/gems/snmp-1.2.0/lib/snmp/

=/