# Parameters

Required parameters:

<table border="1" id="bkmrk--c-comunidad--v-vers" style="width: 100%; border-collapse: collapse; border-width: 1px;"><colgroup><col style="width: 25.0933%;"></col><col style="width: 74.9067%;"></col></colgroup><tbody><tr><td><div><div>-v *version*</div></div></td><td>SNMP version</td></tr><tr><td><div><div>-h *IP*</div></div></td><td>Target IP address</td></tr></tbody></table>

SNMP specific parameters:

<table border="1" id="bkmrk--c%C2%A0community-comunid" style="width: 100%; height: 305.563px;"><colgroup><col style="width: 25.2098%;"></col><col style="width: 74.7902%;"></col></colgroup><tbody><tr style="height: 29.7969px;"><td style="height: 29.7969px;"><div><div>-c *community*</div></div></td><td style="height: 29.7969px;">SNMP community (SNMP v1 y v2c)</td></tr><tr style="height: 29.7969px;"><td style="height: 29.7969px;">-u *user*</td><td style="height: 29.7969px;"><div><div>SNMP user name (SNMPv3 only)</div></div></td></tr><tr style="height: 29.7969px;"><td style="height: 29.7969px;">-n *context*</td><td style="height: 29.7969px;"><div><div>Context (SNMPv3 only)</div></div></td></tr><tr style="height: 46.5938px;"><td style="height: 46.5938px;">-l *securityLevel*</td><td style="height: 46.5938px;"><div><div>Security level (SNMPv3 only). Accepted values are "noAuthNoPriv", "authNoPriv" and "authPriv".</div></div></td></tr><tr style="height: 29.7969px;"><td style="height: 29.7969px;">-a *authProtocol*</td><td style="height: 29.7969px;"><div><div>Authentication protocol (SNMPv3 only). It can be "MD5" or "SHA".</div></div></td></tr><tr style="height: 46.5938px;"><td style="height: 46.5938px;">-A *authKey*</td><td style="height: 46.5938px;"><div><div>Authentication Key used in combination with the specified authentication protocol (SNMPv3 only).</div></div></td></tr><tr style="height: 46.5938px;"><td style="height: 46.5938px;">-x *privProtocol*</td><td style="height: 46.5938px;"><div><div>Privacy protocol to be used for encrypting the transmitted data (SNMPv3 only). Accepted values are "DES" and "AES".</div></div></td></tr><tr style="height: 46.5938px;"><td style="height: 46.5938px;">-X *privKey*</td><td style="height: 46.5938px;"><div><div>The privacy key used in conjunction with the privacy protocol to encrypt and decrypt transmitted data (SNMPv3 only).</div></div></td></tr></tbody></table>

Optional plugin parameters:

<table border="1" id="bkmrk--agent-agentname-nom" style="width: 100%; height: 546.719px;"><colgroup><col style="width: 25.2154%;"></col><col style="width: 74.7846%;"></col></colgroup><tbody><tr style="height: 46.5938px;"><td style="height: 46.5938px;"><div><div>-agent *agentname*</div></div></td><td style="height: 46.5938px;">Agent name (only if running as a Server Plugin). If this parameter is omitted, the plugin will work as Agent Plugin.</td></tr><tr style="height: 46.5938px;"><td style="height: 46.5938px;"><div><div>-only *regex*</div></div></td><td style="height: 46.5938px;">Text string or regular expression to filter items. Only branches containing this expression in their name branch will be monitored.</td></tr><tr style="height: 46.5938px;"><td style="height: 46.5938px;"><div><div>-reject *regex*</div></div></td><td style="height: 46.5938px;">Text string or regular expression to filter items. Branches containing this expression in their name branch will be excluded.</td></tr><tr style="height: 29.7969px;"><td style="height: 29.7969px;">-p *port*</td><td style="height: 29.7969px;">SNMP port of the target device. Default: 161</td></tr><tr style="height: 29.7969px;"><td style="height: 29.7969px;">-d *data\_type*</td><td style="height: 29.7969px;">Data type (auto-detected by default)</td></tr><tr style="height: 29.7969px;"><td style="height: 29.7969px;">-o *OID*</td><td style="height: 29.7969px;">Base OID for monitoring (this is the starting point for the -branches and -names OIDs).</td></tr><tr style="height: 29.7969px;"><td style="height: 29.7969px;"><div><div>-names *namesOID*</div></div></td><td style="height: 29.7969px;">Sub-branch to be used as name for the modules (part of the OID denoted by -o)</td></tr><tr style="height: 80.1719px;"><td style="height: 80.1719px;"><div><div>-branches *branches*</div></div></td><td style="height: 80.1719px;">This option specifies the branches to retrieve under the provided OIDs (part of the OID indicated by -o). The format is Branch1:OID1,Branch2:OID2,....

For example: ‘OperStatus:.8,AdminStatus:.7’.

</td></tr><tr style="height: 29.7969px;"><td style="height: 29.7969px;"><div><div>-wmin *wmin*</div></div></td><td style="height: 29.7969px;">Minimum warning threshold for the generated modules</td></tr><tr style="height: 29.7969px;"><td style="height: 29.7969px;"><div><div>-wmax *wmax*</div></div></td><td style="height: 29.7969px;">Maximum warning threshold for the generated modules</td></tr><tr style="height: 29.7969px;"><td style="height: 29.7969px;"><div><div>-cmin *cmin*</div></div></td><td style="height: 29.7969px;">Minimum critical threshold for the generated modules</td></tr><tr style="height: 29.7969px;"><td style="height: 29.7969px;"><div><div>-cmax *cmax*</div></div></td><td style="height: 29.7969px;">Maximum critical threshold for the generated modules</td></tr><tr style="height: 29.7969px;"><td style="height: 29.7969px;"><div><div>-alrt *alerts*</div></div></td><td style="height: 29.7969px;">Global alerts for generated modules (e.g. ‘Critical condition’)</td></tr><tr style="height: 29.7969px;"><td style="height: 29.7969px;"><div><div>-group *modulegroup*</div></div></td><td style="height: 29.7969px;">Group for the generated modules</td></tr><tr style="height: 28.7969px;"><td style="height: 28.7969px;"><div><div>-nodefaults 1</div></div></td><td style="height: 28.7969px;">Disables monitoring by default (used in conjunction with -o, -names and -branches).</td></tr><tr><td><div><div>-interval</div></div></td><td>Set the interval for the agent (By default 300)</td></tr></tbody></table>

Data transfer to Pandora FMS (only when running as a server plugin):

<table border="1" id="bkmrk--m%C2%A0mode-modo-de-tran" style="border-collapse: collapse; width: 100%; border-width: 1px;"><colgroup><col style="width: 25.2159%;"></col><col style="width: 74.7841%;"></col></colgroup><tbody><tr><td><div><div>-m mode</div></div></td><td>Transfer mode, tentacle or localcopy. Default: ‘tentacle’.</td></tr><tr><td><div><div>-t_ip tentacleIP</div></div></td><td>Tentacle IP (only with ‘tentacle’ transfer mode). Default: 127.0.0.1</td></tr><tr><td><div><div>-t_port tentaclePort</div></div></td><td>Tentacle port (only with ‘tentacle’ transfer mode). Default: 41121</td></tr><tr><td><div><div>-t_opts tentacleOpts</div></div></td><td>Extra Tentacle options (only with ‘tentacle’ transfer mode)</td></tr><tr><td><div><div>-t_file_path tentaclePath</div></div></td><td>Tentacle path (only with ‘localcopy’ transfer mode). Default: "/var/spool/pandora/data\_in/"</td></tr></tbody></table>