how to omit the display of a non existing counter?

[email protected]
Newsgroups gmane.network.net-snmp.user
Message-ID <[email protected]>
Dear net-snmp users,

I implemented my own MIB, this MIB is a series of oid all of type counters. I am trying to realise a project where i am fetching my counters from a file. When I am searching for the counter in the file two things can happen:
1-the counter exist
2-the counter doesn't exist in my file
what i am doing is sending the counter value when it's found, and sending a pointer to a 0 valued integer when it's not found.
when i use snmpwalk for example, all my counters in the MIB are beeing displayed not only the existing ones. 

What can I do to display only the existing counters fetched from the file?and not all of the counters in the MIB ?

Thank You

-------------------------------------------------------------------------
Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW!
Studies have shown that voting for your favorite open source project,
along with a healthy diet, reduces your potential for chronic lameness
and boredom. Vote Now at http://www.sourceforge.net/community/cca08

_______________________________________________
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.