Build precise queries to find exactly what you need
Press ESC to close
Your review has been submitted and is pending approval.
> ./openbsd_snmp3.py -h usage: openbsd_snmp3.py [-h] [--version] -H HOST -l SECLEVEL -u SECNAME [-a AUTHPROTOCOL] [-A AUTHPASSWORD] [-x PRIVPROTOCOL] [-X PRIVPASSWORD] -O OPTION [-w WARNING] [-c CRITICAL] optional arguments: -h, --help show this help message and exit --version show program's version number and exit -H HOST IP addess or hostname of the target host -l SECLEVEL Set the securityLevel used for SNMPv3 messages (noAuthNoPriv|authNoPriv|authPriv). -u SECNAME Set the securityName used for authenticated SNMPv3 messages. -a AUTHPROTOCOL Set the authentication protocol (MD5|SHA) used for authenticated SNMPv3 messages. -A AUTHPASSWORD Set the authentication pass phrase used for authenticated SNMPv3 messages. -x PRIVPROTOCOL Set the privacy protocol (DES|AES) used for encrypted SNMPv3 messages. -X PRIVPASSWORD Set the privacy pass phrase used for encrypted SNMPv3 messages. -O OPTION Check target. This can be "cpu", "mem", "swap", "fs" or "proc" - number of running processes. Use "os" to see operation system information, "proc" to see table of running processes, "interfaces" to see some intormation about installed network interfaces, "file-systems" to see the statistic of disk usage on all mounted file systems. -w WARNING WARNING threshold -c CRITICAL CRITICAL threshold | . . |L /| . This script uses SNMPv3 to check memory/swap usage, file system _ . | _| --+._/| . space usage and CPU load average on (remote) OpenBSD system. / ||| Y J ) / |/| ./ It also shows detailed information about all avaliable file J |)'( | ` F`.'/ systems, and configured NICs, system information about OS -<| F __ .-< and list of running processes. | / .-'. `. /-. L___ J < | | O|.-' EXAMPLES: _J .- / O | | |F '-F --' )._. |-' $./openbsd_snmp3.py -H IP_ADDRESS -u secName -A authPassword `-|.' /_. _| F -a authProtocol -X privPassword -x privProtocol -O fs:/var /.- . _.< -w 80 -c 90 /' /.' .' ` /L /' |/ _.-'- Checks RAM usage (in %) with 'authNoPriv' secLevel: /'J ___.---'| $./openbsd_snmp3.py -u secName -A authPassword -a authProtocol | .--' V | `. ` -l authNoPriv -H -O mem -w 60 -c 90 |/`. `-. `._) / .-. Checks SWAP usage (in %) with 'noAuthNoPriv' secLevel: ( ` $./openbsd_snmp3.py -u secName -l noAuthNoPriv -H IP_ADDRESS `. -O swap -w 60 -c 90
Current Version
Last Release Date
2018-11-27
Owner
Alexander Naumov
Website
https://thefreecountry.wordpress.com/2019/01/10/openbsd-snmpv3-check/
Download URL
https://github.com/alexander-naumov/nagios-plugins/blob/master/openbsd_snmp3.py
License
BSD
Compatible With
> ./openbsd_snmp3.py -h usage: openbsd_snmp3.py [-h] [--version] -H HOST -l SECLEVEL -u SECNAME [-a AUTHPROTOCOL] [-A AUTHPASSWORD] [-x PRIVPROTOCOL] [-X PRIVPASSWORD] -O OPTION [-w WARNING] [-c CRITICAL]
optional arguments: -h, --help show this help message and exit --version show program's version number and exit -H HOST IP addess or hostname of the target host -l SECLEVEL Set the securityLevel used for SNMPv3 messages (noAuthNoPriv|authNoPriv|authPriv). -u SECNAME Set the securityName used for authenticated SNMPv3 messages. -a AUTHPROTOCOL Set the authentication protocol (MD5|SHA) used for authenticated SNMPv3 messages. -A AUTHPASSWORD Set the authentication pass phrase used for authenticated SNMPv3 messages. -x PRIVPROTOCOL Set the privacy protocol (DES|AES) used for encrypted SNMPv3 messages. -X PRIVPASSWORD Set the privacy pass phrase used for encrypted SNMPv3 messages. -O OPTION Check target. This can be "cpu", "mem", "swap", "fs" or "proc" - number of running processes. Use "os" to see operation system information, "proc" to see table of running processes, "interfaces" to see some intormation about installed network interfaces, "file-systems" to see the statistic of disk usage on all mounted file systems. -w WARNING WARNING threshold -c CRITICAL CRITICAL threshold
| . . |L /| . This script uses SNMPv3 to check memory/swap usage, file system _ . | _| --+._/| . space usage and CPU load average on (remote) OpenBSD system. / ||| Y J ) / |/| ./ It also shows detailed information about all avaliable file J |)'( | ` F`.'/ systems, and configured NICs, system information about OS -<| F __ .-< and list of running processes. | / .-'. `. /-. L___ J < | | O|.-' EXAMPLES: _J .- / O | | |F '-F --' )._. |-' $./openbsd_snmp3.py -H IP_ADDRESS -u secName -A authPassword `-|.' /_. _| F -a authProtocol -X privPassword -x privProtocol -O fs:/var /.- . _.< -w 80 -c 90 /' /.' .' ` /L /' |/ _.-'- Checks RAM usage (in %) with 'authNoPriv' secLevel: /'J ___.---'| $./openbsd_snmp3.py -u secName -A authPassword -a authProtocol | .--' V | `. ` -l authNoPriv -H -O mem -w 60 -c 90 |/`. `-. `._) / .-. Checks SWAP usage (in %) with 'noAuthNoPriv' secLevel: ( ` $./openbsd_snmp3.py -u secName -l noAuthNoPriv -H IP_ADDRESS `. -O swap -w 60 -c 90
You must be logged in to submit a review.
To:
From:
We’ve completely redesigned the world’s largest repository of Nagios plugins and monitoring tools. Join thousands of users sharing monitoring solutions for servers, applications, and everything in between.
Due to our redesign, all existing accounts require a password reset to access your account again.
Ready to explore 6,100+ projects and contribute to the community?
Reset Password Create Account
Happy Monitoring!