Fortinet black logo

Administration Guide

SNMP agent

SNMP agent

The SNMP agent sends SNMP traps originating on the FortiPortal system to an external monitoring SNMP manager defined in an SNMP community. Typically an SNMP manager is an application on a local computer that can read the SNMP traps and generate reports or graphs from them.

The SNMP manager can monitor the FortiPortal system to determine if it is operating properly, or if there are any critical events occurring. The description, location, and contact information for this FortiPortal system will be part of the information an SNMP manager will have. This information is useful if the SNMP manager is monitoring many devices, and it will enable faster responses when the FortiPortal system requires attention.

FortiPortal supports SNMPv1, v2, and v3.

To set up an SNMP agent, use the following CLI syntax:

config system snmp
    set address <address>
    set community <community>
    set password <password>
    set protocol {v1/v2c | v1/v2c,v3 | v3}
    set server_port <port>
    set status {enable | disable}
    set username authPrivUser
end

Variable

Description

address <address>

Enter the listening address for the SNMP agent. Default: 127.0.01.

For use with protocol v1/v2c only.

community <community>

Enter the SNMP community string. Default: public.

For use with protocol v1/v2c only.

password <password>

Password for authorization and encryption.

For use with protocol v3 only.

protocol {v1/v2c | v1/v2c,v3 | v3}

Enter the SNMP protocol version.

server_port <port>

Enter the listening port for the SNMP agent. Default: 161.

status {enable | disable}

Enable/disable the SNMP agent. Default: disable.

username

Username authPriveUser for SNMPv3 only. Read only.

SNMP agent

The SNMP agent sends SNMP traps originating on the FortiPortal system to an external monitoring SNMP manager defined in an SNMP community. Typically an SNMP manager is an application on a local computer that can read the SNMP traps and generate reports or graphs from them.

The SNMP manager can monitor the FortiPortal system to determine if it is operating properly, or if there are any critical events occurring. The description, location, and contact information for this FortiPortal system will be part of the information an SNMP manager will have. This information is useful if the SNMP manager is monitoring many devices, and it will enable faster responses when the FortiPortal system requires attention.

FortiPortal supports SNMPv1, v2, and v3.

To set up an SNMP agent, use the following CLI syntax:

config system snmp
    set address <address>
    set community <community>
    set password <password>
    set protocol {v1/v2c | v1/v2c,v3 | v3}
    set server_port <port>
    set status {enable | disable}
    set username authPrivUser
end

Variable

Description

address <address>

Enter the listening address for the SNMP agent. Default: 127.0.01.

For use with protocol v1/v2c only.

community <community>

Enter the SNMP community string. Default: public.

For use with protocol v1/v2c only.

password <password>

Password for authorization and encryption.

For use with protocol v3 only.

protocol {v1/v2c | v1/v2c,v3 | v3}

Enter the SNMP protocol version.

server_port <port>

Enter the listening port for the SNMP agent. Default: 161.

status {enable | disable}

Enable/disable the SNMP agent. Default: disable.

username

Username authPriveUser for SNMPv3 only. Read only.