netniV / cacti-netsnmp-memory

This script template is intended to overcome these shortcomings by fetching all of the available memory data from all known sources (including the standard HOST MIB), and then performing basic arithmetic to fill in any gaps in the data.
4 stars 2 forks source link

ss_netsnmp_memory_syntax parameter order wrong #3

Closed fanto666 closed 5 years ago

fanto666 commented 5 years ago

the ss_netsnmp_memory_syntax function reports incorrect order of parameters:

    print "Syntax: ss_netsnmp_memory.php <hostname> <snmp_version> <snmp_community>\ \n" .
    "      [<snmp3_username> <snmp3_password> <snmp3_auth_protocol> <snmp3_priv_password>\ \n" .
    "      [<snmp3_priv_protocol> <snmp3_context> <snmp_port>} <snmp_timeout> \n";

port and timeout should immediately follow snmp community, not be at the end.

netniV commented 5 years ago

Thanks @fanto666 - I have updated this now.