Re: [poll comment] "SNMP request/reply support"

2019-08-21 Thread Daniel Stenberg via curl-library

On Wed, 21 Aug 2019, Sergei Nikulov wrote:


The first thing to decide with snmp support is: which side of the snmp
protocoll you want to support?
- client side: to gather information via snmp from devices supporting snmp?


This is the primary usage. Curl is a cross-platform multiprotocol 
command-line tool and library which could be used in other products. I 
believe a lot of test engineers used this tool for querying network services 
and devices. As for SNMP, some subset of GetRequest/SetRequest could be 
useful for the same reasons.


I agree; (lib)curl has always been client-side and it should remain 
client-side.


--

 / daniel.haxx.se | Get the best commercial curl support there is - from me
  | Private help, bug fixes, support, ports, new features
  | https://www.wolfssl.com/contact/
---
Unsubscribe: https://cool.haxx.se/list/listinfo/curl-library
Etiquette:   https://curl.haxx.se/mail/etiquette.html

Re: [poll comment] "SNMP request/reply support"

2019-08-21 Thread Sergei Nikulov via curl-library
ср, 21 авг. 2019 г. в 09:58, Sergei Nikulov :
>
> вт, 20 авг. 2019 г. в 18:24, Robert NEMKIN via curl-library
> :
> >
> > On 2019-08-19 12:34, Daniel Stenberg via curl-library wrote:
> > > Another suggestion from the poll.
> > >
> > > (SNMP is not currently supported by curl.)
> > >
> > > I'm not personally fluent in SNMP so I would need to do this together
> > > with someone who is and someone who has an existing use case that could
> > > drive it - so that it becomes a less theoretical and more practical
> > > exercise. I found that RFC 4088 defines the URL syntax but can we really
> > > view such SNMP requests and replies as "transfers" ? What kind of data
> > > does such a transfer return?
> > >
> > > Ideas? Thoughts?
> > >
> >
> > The first thing to decide with snmp support is: which side of the snmp
> > protocoll you want to support?
> > - client side: to gather information via snmp from devices supporting snmp?
>
> This is the primary usage.
> Curl is a cross-platform multiprotocol command-line tool and library
> which could be used in other products.
> I believe a lot of test engineers used this tool for querying network
> services and devices.
> As for SNMP, some subset of GetRequest/SetRequest could be useful for
> the same reasons.
> And better not to rely on net-snmp dependency if possible (it never
> has a goal to be cross-platform).
>
> > - server side: to provide curl data to snmp clients?
> >
> Not sure about server-side (from FAQ "cURL is the name of the project.
> The name is a play on 'Client for URLs')
>
> > I'm actively using snmp to monitor my internet service provider network,
> > so I'm pretty sure I will never install and use curl instead of
> > (net-snmp's snmp-get and snmp-walk or other integrated snmp client).
> >
> All admins are actively used SNMP in their monitoring suites.
>
> P.S.
> As a joke (don't take it seriously) I've replaced SNMP with FTP and
> rephrase your statement.
> "I'm pretty sure I will never install and use curl instead of (ncftp
> or other integrated ftp client)"
>
> > On the other hand, if you daemonize a curl server, and use it for
> > centralized download, it might be usefull to provide data about current
> > downloads and performance via snmp. So include a kind of snmp agent into
> > curld can be an usefull idea.
> >
> > Buci
> > ---
> > Unsubscribe: https://cool.haxx.se/list/listinfo/curl-library
> > Etiquette:   https://curl.haxx.se/mail/etiquette.html

Corrections for net-snmp statement.
I have found how to build it under Windows, but it a really not simple quest.
-- 
Best Regards,
Sergei Nikulov

---
Unsubscribe: https://cool.haxx.se/list/listinfo/curl-library
Etiquette:   https://curl.haxx.se/mail/etiquette.html

Re: [poll comment] "SNMP request/reply support"

2019-08-21 Thread Sergei Nikulov via curl-library
вт, 20 авг. 2019 г. в 18:24, Robert NEMKIN via curl-library
:
>
> On 2019-08-19 12:34, Daniel Stenberg via curl-library wrote:
> > Another suggestion from the poll.
> >
> > (SNMP is not currently supported by curl.)
> >
> > I'm not personally fluent in SNMP so I would need to do this together
> > with someone who is and someone who has an existing use case that could
> > drive it - so that it becomes a less theoretical and more practical
> > exercise. I found that RFC 4088 defines the URL syntax but can we really
> > view such SNMP requests and replies as "transfers" ? What kind of data
> > does such a transfer return?
> >
> > Ideas? Thoughts?
> >
>
> The first thing to decide with snmp support is: which side of the snmp
> protocoll you want to support?
> - client side: to gather information via snmp from devices supporting snmp?

This is the primary usage.
Curl is a cross-platform multiprotocol command-line tool and library
which could be used in other products.
I believe a lot of test engineers used this tool for querying network
services and devices.
As for SNMP, some subset of GetRequest/SetRequest could be useful for
the same reasons.
And better not to rely on net-snmp dependency if possible (it never
has a goal to be cross-platform).

> - server side: to provide curl data to snmp clients?
>
Not sure about server-side (from FAQ "cURL is the name of the project.
The name is a play on 'Client for URLs')

> I'm actively using snmp to monitor my internet service provider network,
> so I'm pretty sure I will never install and use curl instead of
> (net-snmp's snmp-get and snmp-walk or other integrated snmp client).
>
All admins are actively used SNMP in their monitoring suites.

P.S.
As a joke (don't take it seriously) I've replaced SNMP with FTP and
rephrase your statement.
"I'm pretty sure I will never install and use curl instead of (ncftp
or other integrated ftp client)"

> On the other hand, if you daemonize a curl server, and use it for
> centralized download, it might be usefull to provide data about current
> downloads and performance via snmp. So include a kind of snmp agent into
> curld can be an usefull idea.
>
> Buci
> ---
> Unsubscribe: https://cool.haxx.se/list/listinfo/curl-library
> Etiquette:   https://curl.haxx.se/mail/etiquette.html



-- 
Best Regards,
Sergei Nikulov

---
Unsubscribe: https://cool.haxx.se/list/listinfo/curl-library
Etiquette:   https://curl.haxx.se/mail/etiquette.html

Re: [poll comment] "SNMP request/reply support"

2019-08-20 Thread Robert NEMKIN via curl-library

On 2019-08-19 12:34, Daniel Stenberg via curl-library wrote:

Another suggestion from the poll.

(SNMP is not currently supported by curl.)

I'm not personally fluent in SNMP so I would need to do this together
with someone who is and someone who has an existing use case that could
drive it - so that it becomes a less theoretical and more practical
exercise. I found that RFC 4088 defines the URL syntax but can we really
view such SNMP requests and replies as "transfers" ? What kind of data
does such a transfer return?

Ideas? Thoughts?



The first thing to decide with snmp support is: which side of the snmp 
protocoll you want to support?

- client side: to gather information via snmp from devices supporting snmp?
- server side: to provide curl data to snmp clients?

I'm actively using snmp to monitor my internet service provider network, 
so I'm pretty sure I will never install and use curl instead of 
(net-snmp's snmp-get and snmp-walk or other integrated snmp client).


On the other hand, if you daemonize a curl server, and use it for 
centralized download, it might be usefull to provide data about current 
downloads and performance via snmp. So include a kind of snmp agent into 
curld can be an usefull idea.


Buci
---
Unsubscribe: https://cool.haxx.se/list/listinfo/curl-library
Etiquette:   https://curl.haxx.se/mail/etiquette.html