As you have & in your query, which is a special character for your shell, you will need to enclose the URL in quotes.
On 4 May 2020 19:22:58 BST, Parthey Khanderia <parthey.khande...@gmail.com> wrote: >When I do curl I get > > >[1] 156655 >[2] 156656 >[$ 'target' parameter must be specified once > >[1]- Done curl http:ip :9116/snmp?community=string >[2]+ Done module=if_mib > > >-- >You received this message because you are subscribed to the Google >Groups "Prometheus Users" group. >To unsubscribe from this group and stop receiving emails from it, send >an email to prometheus-users+unsubscr...@googlegroups.com. >To view this discussion on the web visit >https://groups.google.com/d/msgid/prometheus-users/d95b6bde-c549-403a-a99c-cbd66c74725c%40googlegroups.com. -- Sent from my Android device with K-9 Mail. Please excuse my brevity. -- You received this message because you are subscribed to the Google Groups "Prometheus Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to prometheus-users+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/prometheus-users/863E910B-CAB1-468C-8F49-34B0786C14BF%40Jahingo.com.