I'm using mon to monitor > 600 hostgroups, with an average of 8 or so services each. The total number of hosts is > 1000.
The main problem I've come accross is that mon.cgi is slow, and after some debugging, it seems that it's the communication with the mon-server that is slow. I have to wait an average of about 12 seconds per pageview. I've tried digging around a bit, and it seems that it's two routines in query_opstatus that takes quite a long time: %op_success = &mon_list_successes; %op_failure = &mon_list_failures ; Looking at the communication protocol, it seems that the main drawback is that mon has to spin through a *lot* of data-structures and present them in a nice way. I was thinking that this might accomplished faster by sharing the %watch and maybe %groups data-structure from mon, with the help of http://perldoc.perl.org/Storable.html .. but even though I feel I have decent know-how of mon-internals, I don't feel they're entirely up to scratch on how to implement this. Is it a good idea? A horrible idea? Am I barking up the wrong tree, with something else being the main problem here? -- Rune Kristian Viken _______________________________________________ mon mailing list mon@linux.kernel.org http://linux.kernel.org/mailman/listinfo/mon