Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

snmp: snmpget not found #723

Open
5 of 8 tasks
mmartinello opened this issue Nov 17, 2023 · 3 comments
Open
5 of 8 tasks

snmp: snmpget not found #723

mmartinello opened this issue Nov 17, 2023 · 3 comments
Labels
bug Something isn't working

Comments

@mmartinello
Copy link

This issue respects the following points:

Which variant of the Monitoring Plugins do you use?

  • .rpm/.deb package from repo.linuxfabrik.ch
  • Compiled for Linux (.tar/.zip from download.linuxfabrik.ch)
  • Compiled for Windows (from download.linuxfabrik.ch)
  • Source Code from GitHub

Bug description

Any execution of the snmp plugin returns the following error:

root@cop:/opt/icinga2-plugins/linuxfabrik# ./snmp -H my.snmp.host
snmpget not found

snmpget is installed:

root@cop:/opt/icinga2-plugins/linuxfabrik# dpkg -l|grep snmp
ii  libnet-snmp-perl                     6.0.1-6                               all          Script SNMP connections
ii  libsnmp-base                         5.9+dfsg-4+deb11u1                    all          SNMP configuration script, MIBs and documentation
ii  libsnmp40:amd64                      5.9+dfsg-4+deb11u1                    amd64        SNMP (Simple Network Management Protocol) library
ii  snmp                                 5.9+dfsg-4+deb11u1                    amd64        SNMP (Simple Network Management Protocol) applications
ii  snmpd                                5.9+dfsg-4+deb11u1                    amd64        SNMP (Simple Network Management Protocol) agents

root@cop:/opt/icinga2-plugins/linuxfabrik# which snmpget
/usr/bin/snmpget

And executable:

root@cop:/opt/icinga2-plugins/linuxfabrik# snmpget --version
NET-SNMP version: 5.9

Steps to reproduce - Plugin call

./snmp -H my.snmp.host

Steps to reproduce - Data

No response

Environment

Debian Bullseye

root@cop:/opt/icinga2-plugins/linuxfabrik# uname -r
5.10.0-25-amd64

Plugin Version

snmp: v2023051201 by Linuxfabrik GmbH, Zurich/Switzerland

Python version

No response

List of Python modules

No response

Additional Information

No response

@mmartinello mmartinello added the bug Something isn't working label Nov 17, 2023
@NavidSassan
Copy link
Member

Hi I think this might be a duplicate of #704, can you test with the latest version of the snmp check?

@NavidSassan
Copy link
Member

(and therefore fixed by 929d73f)

@markuslf
Copy link
Member

@mmartinello does the new version work?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants