> After looking around a little, it appears there's a rather generic file
> at ./engine/graphs/sensor_value.inc.php which does temperatures,
> voltages, and fan speeds. It seems absolutely perfect, but any tips on
> how I'd go about using it?
I've created two new graph types using the sensor_value backend.

I've applied the following SQL changes:
INSERT INTO interface_types_fields (id, description, name, pos, itype, 
ftype, showable, overwritable, tracked, default_value) VALUES 
(10002,'Dell OpenManage Ambient 
Temp','dell_om_temp',30,47,20,0,0,0,'DS:dell_om_temp:COUNTER:600:0:100000');
INSERT INTO interface_types_fields (id, description, name, pos, itype, 
ftype, showable, overwritable, tracked, default_value) VALUES 
(10003,'Dell OpenManage Fan 
RPM','dell_om_fan',40,47,20,0,0,0,'DS:dell_om_fan:COUNTER:600:0:100000');
INSERT INTO graph_types (id, description, type, graph1, graph2, sizex1, 
sizey1, sizex2, sizey2, allow_aggregation) VALUES (10008,'Dell 
OpenManage Ambient Temp',47,'sensor_value','',500,150,0,0,0);
INSERT INTO graph_types (id, description, type, graph1, graph2, sizex1, 
sizey1, sizex2, sizey2, allow_aggregation) VALUES (10009,'Dell 
OpenManage Fan RPM',47,'sensor_value','',500,150,0,0,0);
INSERT INTO pollers (id, name, description, command, parameters) VALUES 
(10001,'dell_om_temp','Dell OpenManage Ambient 
Temp','snmp_counter','1.3.6.1.4.1.674.10892.1.700.20.1.6.1.1');
INSERT INTO pollers (id, name, description, command, parameters) VALUES 
(10002,'dell_om_fan','Dell OpenManage Fan 
RPM','snmp_counter','1.3.6.1.4.1.674.10892.1.700.12.1.6.1.<index>');
INSERT INTO pollers_poller_groups (id, poller_group, pos, poller, 
backend) VALUES (10013,48,30,10001,9);
INSERT INTO pollers_poller_groups (id, poller_group, pos, poller, 
backend) VALUES (10014,48,40,10002,9);
INSERT INTO pollers_poller_groups (id, poller_group, pos, poller, 
backend) VALUES (10015,48,90,1,10);
UPDATE interface_types SET have_graph = 1, graph_default = 10008 where 
id = 47;

The poller does this:
$ php engine/poller.php 155 611
Content-type: text/html
X-Powered-By: PHP/4.3.11

14:40:46  :  H 155 : Poller Start : 6 Items.
14:40:46  :  H 155 :  I 611 :  P  10 : dell_om_chassis(1.3...abl): ok -> 
alarm(3,,180): Nothing was done (time P:1.46 | 0.84)
14:40:46  :  H 155 :  I 611 :  P  20 : dell_om_chassis(1.3...abl): ok -> 
db(show_rootmap,down=2|up=1,0): -1 (time P:0.68 | 0.26)
14:40:46  :  H 155 :  I 611 :  P  30 : 
snmp_counter:dell_om_temp(1.3...1.1): 280 -> buffer(): 1 (time P:0.77 | 
0.16)
14:40:46  :  H 155 :  I 611 :  P  40 : 
snmp_counter:dell_om_fan(1.3...1.1): 7125 -> buffer(): 2 (time P:0.62 | 
0.09)
14:40:46  :  H 155 :  I 611 :  P  90 : no_poller(): 0 -> rrd(*): 
dell_om_temp:280 - dell_om_fan:7125 (time P:0.1 | 13.63)
14:40:46  :  H 155 :  I 611 :  P LPD : last_poll_date(): 1206729646 -> 
db(last_poll_date): 1 (time P:0.16 | 1.18)
14:40:46  :  H 155 : Poller End, Total Time: 23.68 msec.

And there's even a pair of RRD files for interface 611 that are being 
updated regularly, with good permissions:
$ ls -l ./rrd/interface-611-*
-rw-rw-r--  1 apache apache 829980 Mar 28 14:40 ./rrd/interface-611-0.rrd
-rw-rw-r--  1 apache apache 829980 Mar 28 14:40 ./rrd/interface-611-1.rrd

But, when I pull up the Performance page for this Interface, it just says:
The RRDTool files for Interface ID 612 (from Host ID 145), has not been 
created by the Poller Process yet
The RRDTool files for Interface ID 612 (from Host ID 145), has not been 
created by the Poller Process yet

I must be way off here and I apologize for being a dummy. Has anybody 
else been successful with this?

-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
_______________________________________________
jffnms-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jffnms-users

Reply via email to