Re: Continuously displaying the same error message on the screen

"Dave Shield" <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <[email protected]>
On 14/02/07, Dave Shield <[email protected]> wrote:
> The easiest short-term fix is probably to delete the line
> that generates the "Missing CPU info entry" message.

Sudden thought - a better fix would be to tweak the
'netsnmp_cpu_get_byIdx()' call immediately previous
to read:

    cpu = netsnmp_cpu_get_byIdx( i, 1 );

That should both remove the offending error message
*and* keep the hrProcessorLoad object active.
   The description of the processor (in the hrDeviceTable)
will still be broken, but it's better than nothing.

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.