Re: Monitoring CPU Temp

"Dave Shield" <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <[email protected]>
On 29/07/06, [email protected] <[email protected]> wrote:
> We want Net-SNMP agent to generate alarms when the CPU temperature goes
> above the set threshold value.
> Can any suggest us what are the monitor directives that needs to be added to
> the file snmpd.conf.

Untested, but try something like

  monitor -o lmTempSensorsDevice "temperature"  lmTempSensorsValue > 1000

(or whatever threshold you feel appropriate).
With that, and a suitable trap destination, and internal query
settings (iquerySecName plus access control), the agent should report
whenever a temperature sensor exceeds the given threshold.

Similarly for the other types of sensor variables.


> We have added  "defaultMonitors yes" to snmpd.conf file.

No - the (experimental) sensors MIB is not part of the defaultMonitors setup.
See the documentation for what this does cover.

Dave

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.