snmpd conf extend : set fixed value instead of execute external script
Clash Royale CLAN TAG#URR8PPP
up vote
1
down vote
favorite
We have a monitor application, reading info thru snmp.
This app expects to gather some values from snmp extensions, via "extend".
On the monitored hosts, for various reasons (security, performance), we want to set fixed values into the snmpd.conf, instead of executing external scripts.
For example, let create one extension in snmpd.conf:
extend .1.3.6.1.4.1.2021.7890.1 test /opt/sysutils/test.sh
I see, with snmpwalk, that snmpd creates 14 OIDs to manage this one !
Question: is it possible to create an extension with a fixed value ?
extend .1.3.6.1.4.1.2021.7890.1 test "foo bar"
snmpd extend
add a comment |Â
up vote
1
down vote
favorite
We have a monitor application, reading info thru snmp.
This app expects to gather some values from snmp extensions, via "extend".
On the monitored hosts, for various reasons (security, performance), we want to set fixed values into the snmpd.conf, instead of executing external scripts.
For example, let create one extension in snmpd.conf:
extend .1.3.6.1.4.1.2021.7890.1 test /opt/sysutils/test.sh
I see, with snmpwalk, that snmpd creates 14 OIDs to manage this one !
Question: is it possible to create an extension with a fixed value ?
extend .1.3.6.1.4.1.2021.7890.1 test "foo bar"
snmpd extend
add a comment |Â
up vote
1
down vote
favorite
up vote
1
down vote
favorite
We have a monitor application, reading info thru snmp.
This app expects to gather some values from snmp extensions, via "extend".
On the monitored hosts, for various reasons (security, performance), we want to set fixed values into the snmpd.conf, instead of executing external scripts.
For example, let create one extension in snmpd.conf:
extend .1.3.6.1.4.1.2021.7890.1 test /opt/sysutils/test.sh
I see, with snmpwalk, that snmpd creates 14 OIDs to manage this one !
Question: is it possible to create an extension with a fixed value ?
extend .1.3.6.1.4.1.2021.7890.1 test "foo bar"
snmpd extend
We have a monitor application, reading info thru snmp.
This app expects to gather some values from snmp extensions, via "extend".
On the monitored hosts, for various reasons (security, performance), we want to set fixed values into the snmpd.conf, instead of executing external scripts.
For example, let create one extension in snmpd.conf:
extend .1.3.6.1.4.1.2021.7890.1 test /opt/sysutils/test.sh
I see, with snmpwalk, that snmpd creates 14 OIDs to manage this one !
Question: is it possible to create an extension with a fixed value ?
extend .1.3.6.1.4.1.2021.7890.1 test "foo bar"
snmpd extend
snmpd extend
edited Sep 5 at 15:54
asked Sep 5 at 15:09
Massimo
4001317
4001317
add a comment |Â
add a comment |Â
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f467043%2fsnmpd-conf-extend-set-fixed-value-instead-of-execute-external-script%23new-answer', 'question_page');
);
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password