Friday, February 9, 2007
Cricket
So I've been messing with cricket a bit for monitoring interesting SNMP bits and bobs.
You'll find some basic documentation on getting Cricket up and running, but I felt overall that it could be significantly improved. That said, I'd just like to offer a few notes that took me way too long to figure out.
If you've got a UCD-SNMP host and you want to build a targets file automagically, take a look at the ~/cricket/util/systemPerfConf.pl script to build that stuff for you - it'll save you a lot of time.
You can just add folders to your heart's content within ~/cricket-config, but the poller isn't going to grab those top level folders i.e. router-interfaces unless they're listed in ~/cricket/subtree-sets. I have no idea why they need to be listed here.
Expect the sample config trees in ~/cricket/sample-config to have problems - ~/cricket-logs/normal.0 is your friend.
For grapher.cgi, get a stylesheet going, because that interfaces is ugly. You'll probably have to hack on grapher.cgi to add in some id's or classes. Get ready to see some ugly html hard coded colors - uuuuuugly.
Speaking of hacking on grapher.cgi, the search that shows up at the bottom of the grapher is pretty useless unless you put in attribute=value pairs such as display-name=SERVER1. It really is that ghetto, but this post gives a little hint at how to fix it.
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment