One url has a typo, "modules" is incorrect. It is "module", not plural.

On Thu, Oct 15, 2020, 04:00 'Justin Counsell' via Prometheus Users <
[email protected]> wrote:

> this link works
>
> http://192.168.1.1:9116/snmp?target=192.168.1.100&module=fortigate_snmp
>
> but the exporter uses the below link. which does not work.. anyway I can
> get it it to use the top link instead?
>
> http://192.168.1.1:9116/snmp?modules=fortigate_snmp&target=192.168.1.100
>
> On Wednesday, October 14, 2020 at 5:23:51 PM UTC+11 Justin Counsell wrote:
>
>> yes have added modules..
>>
>> On Wednesday, October 14, 2020 at 5:23:17 PM UTC+11 Justin Counsell wrote:
>>
>>> exactly the same as the one found here -
>>> https://grafana.com/grafana/dashboards/7567
>>>
>>>
>>> On Wednesday, October 14, 2020 at 5:13:22 PM UTC+11 [email protected]
>>> wrote:
>>>
>>>> It will be helpful to solve the problem if you upload the yml file as
>>>> well. I am new to this stuff myself but the error seems to suggest that it
>>>> is taking "fortigate-fortinet-mib" as a keyword. Have you added
>>>> "modules: " in the begining of your generator.yml file?
>>>>
>>>> On Wednesday, 14 October 2020 at 09:53:18 UTC+5:30
>>>> [email protected] wrote:
>>>>
>>>>> [root@localhost generator]# ./generator parse_errors
>>>>> level=info ts=2020-10-14T04:22:00.098Z caller=net_snmp.go:142
>>>>> msg="Loading MIBs"
>>>>> from=/root/.snmp/mibs:/usr/share/snmp/mibs:/usr/share/snmp/mibs
>>>>>
>>>>> [root@localhost generator]#
>>>>>
>>>>> lol no errors?
>>>>>
>>>>> On Wednesday, October 14, 2020 at 3:20:39 PM UTC+11 Justin Counsell
>>>>> wrote:
>>>>>
>>>>>> where is this main.config file?
>>>>>>
>>>>>> On Wednesday, October 14, 2020 at 3:18:31 PM UTC+11 Justin Counsell
>>>>>> wrote:
>>>>>>
>>>>>>> [root@localhost generator]# ./generator generate
>>>>>>> level=info ts=2020-10-14T04:12:44.442Z caller=net_snmp.go:142
>>>>>>> msg="Loading MIBs"
>>>>>>> from=/root/.snmp/mibs:/usr/share/snmp/mibs:/usr/share/snmp/mibs
>>>>>>> level=error ts=2020-10-14T04:12:44.712Z caller=main.go:130
>>>>>>> msg="Error generating config netsnmp" err="error parsing yml config: 
>>>>>>> yaml:
>>>>>>> unmarshal errors:\n  line 1: field fortigate-fortinet-mib not found in 
>>>>>>> type
>>>>>>> main.Config"
>>>>>>>
>>>>>>>
>>>>>>> mibs work perfectly fine if I use snmpwalk... soon as I try to build
>>>>>>> it cant find that module? fortigate_snmp does not exist... this came 
>>>>>>> from
>>>>>>> logicmonitor.
>>>>>>>
>>>>>>>
>>>>>>> --
> 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 [email protected].
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/prometheus-users/0f354736-2871-434f-9cb3-38680decb0acn%40googlegroups.com
> <https://groups.google.com/d/msgid/prometheus-users/0f354736-2871-434f-9cb3-38680decb0acn%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
>

-- 
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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/prometheus-users/CABbyFmo-P9tsHs8DdsP-MtbbEq0A1gquwrn4MJ5z86ZYWQuZ9Q%40mail.gmail.com.

Reply via email to