[ 
https://issues.apache.org/jira/browse/NIFI-1537?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15209986#comment-15209986
 ] 

ASF GitHub Bot commented on NIFI-1537:
--------------------------------------

Github user pvillard31 commented on the pull request:

    https://github.com/apache/nifi/pull/257#issuecomment-200748951
  
    @olegz I just rebased the PR.
    
    As @michalklempa mentioned, you can use online SNMP service provided by 
snmpsim (http://snmpsim.sourceforge.net/public-snmp-simulator.html), otherwise 
it depends of your OS. Personally, I tried the processor by requesting basic 
SNMP data (such as uptime for example) on a CentOS machine with net-snmp agent 
running with various configurations in SNMP v1, v2c and v3 (MD5/DES). 
    
    As a side note, at this moment, the processor is expecting an OID in 
numerical format. If I try the following command on my computer:
    
    `snmpwalk -v2c -c public demo.snmplabs.com IF-MIB::interfaces`
    
    I can get numerical OID by adding the option -On:
    
    `snmpwalk -v2c -c public demo.snmplabs.com IF-MIB::interfaces -On`
    
    This way I can see that IF-MIB::interfaces is equivalent to 
.1.3.6.1.2.1.2.2.1
    
    I will try to write something to help setting an environment. On a 
Linux-like environment, a quick setup can be:
    yum install net-snmp net-snmp-utils
    service snmpd start
    
    It will allow access to basic SNMP information in v1 and v2c with 'public' 
as community. For SNMP v3 setup, it is possible to add users using the command 
net-snmp-create-v3-user.
    
    Hope it helps, if not, let me know ;)


> Add SNMP processors
> -------------------
>
>                 Key: NIFI-1537
>                 URL: https://issues.apache.org/jira/browse/NIFI-1537
>             Project: Apache NiFi
>          Issue Type: Improvement
>          Components: Extensions
>    Affects Versions: 0.5.0
>            Reporter: Pierre Villard
>            Assignee: Pierre Villard
>            Priority: Minor
>             Fix For: 0.7.0
>
>
> Add SNMP processors:
> - GetSNMP to allow "get"/"walk"
> - SetSNMP to allow "set"



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to