Hi, I am trying to implement an SNMP table which can monitor several inputs. The table looks like this:
Column1: inputNumber (table index: 1,2,3 ...) Column2: inputStatus (disabled, signalLoss, signalPresent) Column3: inputFlowId (unsigned32) Column4: inputFlowBitrate (integer32) When the inputStatus is disabled or signalLoss, the columns for inputFlowBitrate and inputFlowId don't really make sense. For bitrate I could just return 0. But what about the Flow ID (A 32 bit unsiged integer where all possible values could be used as flow ID)? I can think of 2 solutions: 1. return 'no such instance' for those columns 2. Just return anything and expect the manager to check inputStatus first before processing the remaining columns How is this handled best? I am not sure if solution 1 is allowed in SNMP. I.e. is it allowd to have table rows where some columns are present and others not? Are there any other ways how this could be handled? Thanks in advance Holger ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ Net-snmp-coders mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/net-snmp-coders
