sysObjectID and exec

Evgeny Rachlenko <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <CAOKZ+0Le9ux0ndKg_HnuZhNCVDdCrY=bXn9gKwH34p5zkQyRhg@mail.gmail.com>
Good evening ,
I have 2 questions :

1st
when I define sysObject id

sysObjectID 1.3.6.1.4.1.8888.20.25

I see in the request

 1.3.6.1.4.1.8888.20.25.10

How can i avoid "10" ?


2nd :
# Now the Output has grown to two lines, and we can see the 'hi
# there.' output as the second line from our shell script.
#
# Note that you must alter the mib.txt file to be correct if you want
# the .50.* outputs above to change to reasonable text descriptions.

# Other ideas:
#
# exec .1.3.6.1.4.1.2021.51 ps /bin/ps
# exec .1.3.6.1.4.1.2021.52 top /usr/local/bin/top
# exec .1.3.6.1.4.1.2021.53 mailq /usr/bin/mailq
# exec .1.3.6.1.4.1.2021.54 sar -A 1 1 /bin/sar

I am trying to use example from the configuration file ,
and monitor few application by exec .

Which mib I have to edit in order to allow check my application such as
illustrated in example :

exec .1.3.6.1.4.1.2021.80.20 app1 /bin/app1 arg1
exec .1.3.6.1.4.1.2021.80.21 app1 /bin/app1 arg2
exec .1.3.6.1.4.1.2021.80.22 app1 /bin/app1 arg3
exec .1.3.6.1.4.1.2021.80.23 app1 /bin/app1 arg4
exec .1.3.6.1.4.1.2021.80.24 app1 /bin/app1 arg5

exec .1.3.6.1.4.1.2021.81.20 app2 /bin/app2 arg1
exec .1.3.6.1.4.1.2021.81.21 app2 /bin/app2 arg2
exec .1.3.6.1.4.1.2021.81.22 app2 /bin/app2 arg3
exec .1.3.6.1.4.1.2021.81.23 app2 /bin/app2 arg4
exec .1.3.6.1.4.1.2021.81.24 app2 /bin/app2 arg5

many thanks .



Evgeny Rachlenko
~~~_/)~~~_/)~~~_/)~~~_/)~~~
email: [email protected]

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