15 Commits

Author SHA1 Message Date
Zdenek Pizl
cd586be931 - use as displayname only hostname not fqdn which could be passwed from hello_string 2014-02-09 15:35:39 +01:00
Yoav
12e2057505 added update_hostname
* gets the hostname from the the munin connection hello string
* does not override displayname if provided
2014-02-09 15:09:55 +01:00
Zdenek Pizl
25eab12604 - PEP8 cleaning
- add try/catch exception for most frequent cases
 - catch key_value errors
 - catch socket error for carbon connection
 - catch for multiple exception in multigraph
 - catch exception for hello string read
2014-02-09 15:07:17 +01:00
Torsten Rehn
bb7dd53ed0 Merge branch 'refs/heads/oneshot' 2013-12-27 15:02:51 +01:00
Torsten Rehn
fe9aaf4f40 ignore broken plugins that don't return a value at all 2013-12-27 15:02:28 +01:00
Torsten Rehn
3f7932f433 add multigraph support 2013-12-27 14:57:25 +01:00
Torsten Rehn
843d9c8121 only poll once with --interval 0 2013-12-27 14:14:35 +01:00
Jeffrey Forman
ac45705410 be able to specify a displayname for a host other than its actual hostname.
hopefully take care of issue #5
2013-11-24 21:39:35 -05:00
Jeffrey Forman
c599753e87 simplify things a bit. single threaded, handle one host, no config file. 2013-08-22 21:30:39 -04:00
Rodolphe Quiedeville
11cf6fbf3e Remove print debug 2013-03-25 12:10:13 +01:00
Rodolphe Quiedeville
7442c55ca1 Add option --prefix and --noprefix on targets name 2013-03-25 12:03:48 +01:00
Jeffrey Forman
3cba33964c some more cleanup around pool management.
TODO: Make pool handling smarter, handle keyboardinterrupt
2013-02-09 16:22:46 -05:00
Jeffrey Forman
9ed5a2ad13 multiprocessing support! uses a pool (default size: 1) to query multiple munin nodes at once.
lots of code cleanup: shows elapsed time of query, logging levels.
2013-01-03 22:42:49 -05:00
Jeffrey Forman
5d73640841 new features, new linting. elapsed time, log levels, noop, more intelligent handling of fetch output 2012-12-31 10:04:59 -05:00
Jeffrey Forman
731b81759e Initial commit of the munin2graphite poller, still in heavy development 2012-12-29 22:10:36 -05:00