Support Forum
The Forums are a place to find answers on a range of Fortinet products from peers and product experts.
rezafathi
Contributor II

Multi vdom snmp

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?

Reza F.
Reza F.
3 REPLIES 3
AEK
SuperUser
SuperUser

Hi

You enable only from management VDOM.

System > SNMP.

AEK
AEK
Dhruvin_patel

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.

Dhruvin Patel
esalija
Staff
Staff

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... for more details.

 

Best regards,

Erlin

Labels
Top Kudoed Authors