frameworks - SNMP4J : Is it possible to create an OID in the agent (server) MIB from the manager (client)? -


i using snmp4j framework , implements , makes possible standard set, get, get-next, etc. messages.

for example, set, can update value of mib oid "1.3.6.1.2.50.0". works me. can using org.snmp4j.snmp.set(pdu pdu, target target)

what want create custom mib oid (as "1.3.6.1.2.100.0") client , assign value , not update existing mib oid value.

is there standard snmp way ?

yes.

but doesn't make sense in context of snmp "create" new scalar out of thin air; setting 1 defined pre-defined oid, , oid shared agent -> manager via mib file. oid 0th instance (e.g., sysdescr.0).

you can add/remove rows in snmp table (its rows , cells have oids @ instance 1, instance 2, etc.); , snmp table may have 0 rows. cells in table can have values.

here background info on snmp tables.


Comments

Popular posts from this blog

php - Invalid Cofiguration - yii\base\InvalidConfigException - Yii2 -

How to show in django cms breadcrumbs full path? -

ruby on rails - npm error: tunneling socket could not be established, cause=connect ETIMEDOUT -