Bluehost.com Web Hosting $6.95

Re: how to modify the output of an smpset command

This is a discussion on Re: how to modify the output of an smpset command within the SNMP Users forums, part of the Networking and Network Related category; Hi, thanks for the infor, i'll work on that, i think it's enough in my case. thanks. En/...


Go Back   Usenet Forums > Networking and Network Related > SNMP Users

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 03-13-2008
Jordi Moles
 
Posts: n/a
Default Re: how to modify the output of an smpset command

Hi,

thanks for the infor, i'll work on that, i think it's enough in my case.

thanks.

En/na Dave Shield ha escrit:
> On 13/03/2008, Jordi Moles <jordi@cdmon.com> wrote:
>
>> Example: i want to create folders from snmp.
>> let's say i run something like this:
>>
>> ***********************
>>
>> snmpset -v 2c -c mykey localhost .1.3.6.1.4.1.2021.255.8.1.9 s "create...folder1"
>>
>> *****************************
>>
>> and i want snmp to create the folder1 and return if it has been created
>> or not.
>>

>
> Fair enough.
>
>
>> So... knowing that snmpset can't return a personalised "OK"
>> message........
>>

>
> It can't return a *personalised* OK message.
> But it can certainly return an indication of success/failure.
>
> Your perl script can take this assignment,
> parse the new value to interpret the command
> and act on it.
> Then either return nothing (if the command
> succeeds), or something like "wrong-value"
> or "inconsistent-value" (if it fails).
>
> The agent would then return these errors to the
> originating client application.
>
>
> Dave
>
> -------------------------------------------------------------------------
> This SF.net email is sponsored by: Microsoft
> Defy all challenges. Microsoft(R) Visual Studio 2008.
> http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
> _______________________________________________
> Net-snmp-users mailing list
> Net-snmp-users@lists.sourceforge.net
> Please see the following page to unsubscribe or change other options:
> https://lists.sourceforge.net/lists/...net-snmp-users
>
>



-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Net-snmp-users mailing list
Net-snmp-users@lists.sourceforge.net
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/...net-snmp-users
Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT +1. The time now is 08:49 PM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0