Support Questions
Find answers, ask questions, and share your expertise
Announcements
Alert: Welcome to the Unified Cloudera Community. Former HCC members be sure to read and learn how to activate your account here.

getsnmp attribute

Solved Go to solution

getsnmp attribute

New Contributor

Hello.

I run execute getsnmp and i need get the content of field "snmp$1.3.6.1.2.1.1.5.0$4"

How do i get it?

Regards

1 ACCEPTED SOLUTION

Accepted Solutions

Re: getsnmp attribute

Hello @sandra Alvarez!
Just to confirm, you're using NIFI, right? If so, check this article (have an example using Getsnmp + LogAttribute):
https://community.hortonworks.com/articles/215092/how-to-use-make-a-simple-flow-using-snmpsetsnmpget...
Also, to get the attribute of FlowFiles and write into files, check the following link:

https://community.hortonworks.com/questions/75255/nifi-how-to-write-a-flowfile-attribute-to-a-file.h...

Hope this helps!

5 REPLIES 5

Re: getsnmp attribute

Hello @sandra Alvarez!
Just to confirm, you're using NIFI, right? If so, check this article (have an example using Getsnmp + LogAttribute):
https://community.hortonworks.com/articles/215092/how-to-use-make-a-simple-flow-using-snmpsetsnmpget...
Also, to get the attribute of FlowFiles and write into files, check the following link:

https://community.hortonworks.com/questions/75255/nifi-how-to-write-a-flowfile-attribute-to-a-file.h...

Hope this helps!

Re: getsnmp attribute

New Contributor

Hi Vinicius:

Your answer has helped me a lot. The logAttribute was the solution.

Thank you very much

Regards

Re: getsnmp attribute

Hello @sandra Alvarez!
I'm glad you made it :)

If you found this answer helpful, please I'd kindly ask you to accept this as the best answer. Doing this will engage other HCC users to keep doing a good job, and also will help others to find the answer faster.
Thank you.

Re: getsnmp attribute

New Contributor

Hello Vinicius:

I think that already i done it , Can I check it?

Regards

Re: getsnmp attribute

Done! Thanks :)

Don't have an account?
Coming from Hortonworks? Activate your account here