Re: lm_sensor
Dave Shield <[email protected]>
| Newsgroups | gmane.network.net-snmp.user |
|---|---|
| Message-ID | <[email protected]> |
2010/1/5 rangeli nepal <[email protected]>: > Since this is the first time I saw the net-snmp code ( lmsensors_v3.c) > > void netsnmp_sensor_arch_init( void ) { > FILE *fp = fopen("/etc/sensors.conf", "r"); > DEBUGMSGTL(("sensors:arch", "Initialise v3 LM Sensors module\n")); > sensors_init( fp ); > } > > However when I install lm_sensor it creates file sensors3.conf in /etc > directory. I believe it acts as configuration file for lm_sensor. OK - thanks for letting us know. I'll change the code in the lmsensors_v3.c file. > Thus for net-snmp to work properly we need to create a file with > /etc/sensors.conf havin symbolic link with sensors3.conf.? No - just tweak the fopen() call to match the actual filename. As I said yesterday, the v3 code hasn't really been used much up to now. There may well be a number of issues with it. Dave ------------------------------------------------------------------------------ This SF.Net email is sponsored by the Verizon Developer Community Take advantage of Verizon's best-in-class app development support A streamlined, 14 day to market process makes app distribution fast and easy Join now and get one step closer to millions of Verizon customers http://p.sf.net/sfu/verizon-dev2dev _______________________________________________ Net-snmp-users mailing list [email protected] Please see the following page to unsubscribe or change other options: https://lists.sourceforge.net/lists/listinfo/net-snmp-users