On Wednesday 29 November 2006 22:12, Ger Maguire wrote:
Hi folks,
I have created a custom script for capturing CPU utilisation from a device and updated all the relevant files but I cannot get my rrd files to update correctly.
In general, the cpu test is parsed by hobbit, for which Hobbit needs to know the format. If you can fake the format to be like something Hobbit already supports, then you can use the "cpu testname".
An initial rrd file gets created but the data does not get input into it.
I have created a rrd-ext sript which is running and is capturing the incomming status data and by looking at the /tmp files I can see that the echo outputs are being generated correctly every 5 mintes.
IMHO, it would be much easier to use the ncv module to do this. Please see Help->Custom Graphs on the Hobbit web interface for more information on how to do this.
Regards, Buchan
-- Buchan Milne ISP Systems Specialist - Monitoring/Authentication Team Leader B.Eng,RHCE(803004789010797),LPIC-2(LPI000074592)