Various older plugins for checking something over snmp
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
m4
op5build
src
tap
test
.gitignore
AUTHORS
ChangeLog
Makefile.am
NEWS
README
acinclude.m4
configure.ac
generate_version_number.sh

README

# Development environment
Install net-snmp-devel

Run the tap tests:
$ make check

For the integration tests you need to install php-phpunit-PHPUnit and pip install snmpsim.

Run the integration tests:
$ phpunit test/

# How to setup snmp and snmpsim
Start snmpsim with a .recfile
$ snmpsimd.py --agent-udpv4-endpoint=127.0.0.1:1161 --agent-udpv6-endpoint='[::1]:1161' --data-dir=/srv/repos/plugins/check_by_snmp/ --daemonize --pid-file=/srv/repos/plugins/check_by_snmp/pidfile

Now you can run a snmpwalk on the simulated device
$ snmpwalk -v 2c -c 20066-snmp-output 127.0.0.1:1161 .1