gipfl / protocol-snmp
SNMP protocol implementation
v0.1.0
2019-02-19 09:10 UTC
Requires
- php: >=5.6.0
- ext-json: *
- gipfl/protocol: dev-master
- react/datagram: ^1.4
- sop/asn1: ^3.3
This package is auto-updated.
Last update: 2024-10-11 22:04:10 UTC
README
SNMP protocol implementation in raw PHP for async usage. API is still subject to change, SNMPv3 is currently missing, but will be implemented.
Usage
Please see the examples
directory for some usage examples:
get_multiple_oids.php
fetches a list of OIDs in parallel from multiple ipstrap-recieve.php
is a simple Trap receivertrap-send.php
sends 60 test-traps a second to test the receiver
Tuning
Network Stack buffer sizes might be increased for high-traffic setups:
$ sudo sysctl -w net.core.rmem_max=26214400
net.core.rmem_max = 26214400
$ sudo sysctl -w net.core.rmem_default=26214400
net.core.rmem_default = 26214400