Skip to main content
rezafathi
Explorer III
January 21, 2024
Question

Multi vdom snmp

  • January 21, 2024
  • 3 replies
  • 2331 views

Hi

I have multi vdom configuration.

 

Mgmt vdom : management and root vdom. I want to enable snmp to monitor fgt with zabbix. How can i do that?

3 replies

AEK
SuperUser
SuperUser
January 21, 2024

Hi

You enable only from management VDOM.

System > SNMP.

AEK
Dhruvin_patel
Staff
Staff
January 21, 2024

Greetings,

 

Please make sure about the following things when you configure SNMP in a multi-vdom environment.

 

1) Make sure that the interface where the polling is set belongs to the management VDOM and allows SNMP processing:

 

config global

config system interface

  edit <SNMP_interface>

    append allowaccess snmp

      set vdom <management_VDOM>

end

 

2) Make sure that the correct VDOM is selected as management VDOM:

 

config global

config system global

  set management-vdom <management_VDOM>

end 

 

3) If trusted hosts are configured in Fortigate, make sure that the user belongs to the management_VDOM

 

config system admin

  edit "test_user"

    set trusthost1 80.80.80.0 255.255.255.0 <----- Ip from SNMPmanager.

    set accprofile "super_admin_readonly"

    set vdom "root" <---- select the management VDOM

  next

end

 

4) Make sure about the routing. Management vdom should be able to reach the SNMP Manager.

 

Regards!

If you have found a solution, please like and accept it to make it easily accessible to others.

esalija
Staff
Staff
January 21, 2024

HI @rezafathi 

The explanation of the @Dhruvin_patel is correct, also you can check the KB - https://community.fortinet.com/t5/FortiGate/Technical-Tip-Configuring-SNMP-when-VDOM-is-enabled/ta-p/194853 for more details.

 

Best regards,

Erlin