10

Anyone knows if it's possible to mark every deploy with a red vertical line in munin graphs? It will be great to debug possible performance holes in the code.

Thanks in advance!

Simon
  • 875
  • 2
  • 12
  • 22
  • 3
    Interesting question which I'm very curious about finding a solution. I think it's possible to do this with a hack. Create a simple plugin that returns e.g. "100" on a deploy, and "0" all other time. Configure this plugin to use `--upper-limit 100`. I'm not sure how this would work when data gets truncated and you're viewing this on a year-visualization and this is definitely not tested. – pkhamre Apr 02 '13 at 12:57
  • thanks for your comment pkhamre. for what I understand, you are saying that one option could be create a plugin that generates a new graph with the vertical line marking the deploy, am I right? I'm thinking more in drawing that line on every other munin graph simultaneously, so it's directly visible directly in any graph. – Simon Apr 02 '13 at 16:10
  • 1
    Yeah, that was my initial thought. I think you might want to look at Graphite instead. This is very esy to do with it. – pkhamre Apr 02 '13 at 17:48
  • ok, thanks a lot pkharme, I will take a look to it ;) – Simon Apr 02 '13 at 21:51
  • 3
    Check out these https://blog.mozilla.org/webdev/2012/04/05/tracking-deployments-in-graphite/ and http://codeascraft.etsy.com/2010/12/08/track-every-release/ – pkhamre Apr 04 '13 at 06:58
  • This [has been asked before](http://serverfault.com/questions/290033/add-marks-at-specified-times-on-a-munin-graph) and the only answer given at the time was "write your own script to do it". – asciiphil May 10 '13 at 15:01
  • This answer is mostly off topic, but all your current and future problems (and most needs) with munin will be solved by switching to graphite. There you can combine multiple graphs on the fly. So you can have one datastore that holds the deployments or other events and then project that on top of every other graph. Plus all the goodies that the on-the-fly post-processing ability of graphite offers. – V13 May 03 '14 at 17:50

2 Answers2

1

This is not possible in munin today.

I've added a ticket for it in the munin issue tracker, since it's something I'd like to add to munin.

ssm
  • 86
  • 5
-1

In Zabbix, I check the md5sum of every script and notify the changes to sysadmin team.

Thinking that way, if you select some key points of your application, you'll able to get the deploys.

Also, you should give Graphite a chance or write your own munin plugin.

http://munin-monitoring.org/wiki/HowToWritePlugins