Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

ragoso/nagios-plugins-python

Open more actions menu

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

37 Commits
 
 
 
 

Repository files navigation

nagios-plugins-python

Nagios plugin for SNMP query of Mikrotik and Linux resources

Options

./snmp_mk_linux.py --help will tell you everything you need. Here is the output to save you a few seconds:

usage: snmp_mk_linux.py [-h] [--port PORT] [--mk-cpu-load] [--mk-ram]
                        [--mk-uptime] [--mk-port-status OID port suffix]
                        [--mk-port-traffic OID port suffix] [--linux-cpu-load]
                        [--linux-ram] [--linux-disk] [--linux-uptime]
                        [--linux-port-status OID port suffix]
                        [--linux-port-traffic OID port suffix]
                        [--warning [WARNING [WARNING ...]]]
                        [--critical [CRITICAL [CRITICAL ...]]] [--minimum]
                        IP COMMUNITY

Simple Nagios plugin for monitoring Mikrotik and Linux resources written in
Python 3. Github page: https://github.com/MatheusRagoso/nagios-plugins-python

positional arguments:
  IP                    IP Address of SNMP Agent
  COMMUNITY             Community SNMP of Agent

optional arguments:
  -h, --help            show this help message and exit
  --port PORT           Port SNMP of Agent
  --mk-cpu-load         Get CPU Load resource of Mikrotik
  --mk-ram              Get memory RAM Usage resource of Mikrotik
  --mk-uptime           Get port traffic of Mikrotik
  --mk-port-status OID port suffix
                        Get port status of Mikrotik
  --mk-port-traffic OID port suffix
                        Get port traffic of Mikrotik
  --linux-cpu-load      Get CPU Load resource of Linux
  --linux-ram           Get memory RAM free resource of Linux
  --linux-disk          Get memory Disk Usage resource of Linux
  --linux-uptime        Get port traffic of Linux
  --linux-port-status OID port suffix
                        Get port status of Linux
  --linux-port-traffic OID port suffix
                        Get port traffic of Linux
  --warning [WARNING [WARNING ...]]
                        Limit for warning
  --critical [CRITICAL [CRITICAL ...]]
                        Limit for critical
  --minimum             Sets minimum limit for warning and critical

Requirements

Install package pysnmp in the Pip

About

Simple Nagios plugin for monitoring Mikrotik and Linux resources written in Python 3

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •  

Languages

Morty Proxy This is a proxified and sanitized view of the page, visit original site.