RE: 回复: what wrong with my mib2c .iterate.conf generate .c file?? ?
"Mike Ayers" <[email protected]>
| Newsgroups | gmane.network.net-snmp.user |
|---|---|
| Message-ID | <83E753BE7B6A324ABB336245BAF1DAAC0D886E84@mailserver.metatv-ds.metatv.com> |
> From: Dave Shield [mailto:[email protected]] > Sent: Tuesday, December 08, 2009 2:09 AM > > My .c code file has something wrong > > There is nothing obviously wrong with your C code. > It looks to be working fine. I see a bit of a problem - no business logic. Our Fei-fei has been so worried about SNMP matters that he forgot that bit. He needs to: - Change the fixed initialization in initialize_table_diskSystemTable() to a scan of the actual disks and a filling out of the table with relevant data. - Update diskSystemTable_handler() to dynamically fetch any columns that may change from call to call, such as the status info. - If applicable, scan for added or removed disks occasionally. Perhaps an integration with the alarm system? - Bask in the glory of a job well done. Peace, love, and managed systems, Mike ------------------------------------------------------------------------------ Return on Information: Google Enterprise Search pays you back Get the facts. http://p.sf.net/sfu/google-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