Skip to content

fritz2graphite is a command line tool written in shell to gather statistics from an upnp enabled FritzBox DSL router

License

Notifications You must be signed in to change notification settings

JeLuF/fritz2graphite

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 

Repository files navigation

fritz2graphite

fritz2graphite is a command line tool written in shell to gather statistics from an upnp enabled FritzBox DSL router

fritz2graphite is based on upnp2mrtg, available at http://www.anetzb.de/upnp2mrtg/

Usage

Usage: fritz2graphite [-a <host>] [-p <port>] [-G <port>] [-P <prefix>] [-d] [-h] [-i] [-t] [-v] [-V] -g <host>

  -a <host>    hostname or ip address of upnp device (default: fritz.box)
  -p <port>    port to connect (default: 49000)
  -g <host>    hostname or ip address of the graphite server
  -G <port>    carbon port on the graphite server (default: 2003)
  -P <prefix>  prefix for the graphite path (default: fritz_box)
  -d           debug mode
  -h           show help and exit
  -i <outfile> get all igd description
  -t           test connection
  -v           show fritz2graphite version and exit
  -V           be verbose for testing

netcat

There are different incarnations of netcat. Type

nc -h

to check which on you use:

Configuration

If you use ...

  • netcat 1.10 , no configuration is required. (Create configuration file /etc/fritz2graphite.cfg with NETCAT="nc_q" or NETCAT="nc", if you have problems. There are some patched netcat 1.10 around the world with -q Options, which i could'nt not find in the original sources.)
  • The GNU netcat, create configuration file /etc/fritz2graphite.cfg with NETCAT="netcat".
  • some other netcat, use -d Option to debug fritz2graphite and drop me a note.

About

fritz2graphite is a command line tool written in shell to gather statistics from an upnp enabled FritzBox DSL router

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published