Skip to content

A CLI tool to output SNMP uptime to either XML or JSON

Notifications You must be signed in to change notification settings

Jelloeater/UptimeParserGo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 

Repository files navigation

SNMP based up time parser

  • Takes command line args and output XML for PRTG

Build

go get -d ./...
go build

Usage

USAGE:
   UptimeParserGo.exe [global options] command [command options] [arguments...]

COMMANDS:
     help, h  Shows a list of commands or help for one command

   output:
     xml, x   export as XML
     json, j  export as JSON

GLOBAL OPTIONS:
   --debug, -d             enable debug mode
   --ip value, -i value    IP address to scan
   --snmp value, -s value  SNMP community string
   --help, -h              show help

Example

UptimeParserGo -ip 192.168.1.1/24 -snmp "public" x

Notes

No JSON out yet, only XML

About

A CLI tool to output SNMP uptime to either XML or JSON

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages