Save Veriable or Value to Custom OID?

I have a script that can get the count of the number of registered.

print count command gives:

10

or however many users in the registration table.

I would like to save this in a custom OID, that i can then queue from a SNMP program.

my goal is to graph the number of connected users over time.

thanks

There is no oid for such option.

you could skip the SNMP and use another program who can make graphs from these values. all you need is a simple putty script that will get this number from another computer, and from there you could use it wherever you need.

so your saying use a putty script to ssh into the mt box, grab the number from the print command, then graph that?

good idea

  1. is it a crazy feature request to be able to assign a value to a user created oid? so a script can be run every few minutes to set the value of the custom oid, which can easily be read?

tks for the reply!