I am trying to get
some other SNMP Informant ID's to run with JFFNMS.
I've created a
script : Disk_Queue.inc.php
<?
function
graph_Disk_Queue ($data) {
$opts_DEF = rrdtool_get_def($data,array("Disk_Queue"));
$opts_GRAPH = array(
"AREA:Disk_Queue#00CC00:'Disk Queue'",
"GPRINT:Disk_Queue:MAX:'Max\:%8.0lf %s'",
"GPRINT:Disk_Queue:AVERAGE:'Average\:%8.0lf %s'",
"GPRINT:Disk_Queue:LAST:'Last\:%8.0lf %s\\n'",
);
"AREA:Disk_Queue#00CC00:'Disk Queue'",
"GPRINT:Disk_Queue:MAX:'Max\:%8.0lf %s'",
"GPRINT:Disk_Queue:AVERAGE:'Average\:%8.0lf %s'",
"GPRINT:Disk_Queue:LAST:'Last\:%8.0lf %s\\n'",
);
$opts_header[] = "--vertical-label='Disk Queue'";
return array ($opts_header,
@array_merge($opts_DEF,$opts_GRAPH));
}
}
?>
Then i created a new
poller item :
The RRDTool files for Interface ID 983
(from Host ID 59), has not been created by the Poller Process yet
And when i try to
run the poller.php i get this result :
jffnms:/usr/share/jffnms/engine# /usr/bin/php poller.php 59 983 0
80
16:00:39
: H 59 : Poller Start : 2 Items.
16:00:39 : H 59 : I 983 : P 80 : Disk_Queue(.1.3...58): 22 -> rrd(): inf_d_write_time:22 (time P:661.95 | 75.04)
16:00:39 : H 59 : I 983 : P LPD : last_poll_date(): 1160748039 -> db(last_poll_date): 1 (time P:0.41 | 16.3)
16:00:39 : H 59 : Poller End, Total Time: 777.25 msec.
Now i don't understand where the "inf_d_write_time" comes from in the poller output above.
16:00:39 : H 59 : I 983 : P 80 : Disk_Queue(.1.3...58): 22 -> rrd(): inf_d_write_time:22 (time P:661.95 | 75.04)
16:00:39 : H 59 : I 983 : P LPD : last_poll_date(): 1160748039 -> db(last_poll_date): 1 (time P:0.41 | 16.3)
16:00:39 : H 59 : Poller End, Total Time: 777.25 msec.
Now i don't understand where the "inf_d_write_time" comes from in the poller output above.
And i don't
undertstand why my graph is not created.
Can anyone kick me
the right way :)
Met vriendelijke groet,
Sebastian van Dijk
------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________ jffnms-users mailing list jffnms-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jffnms-users