Unknown flag passed to -C: I #5164

Closed
boudreau opened this Issue Dec 13, 2016 · 1 comment

Projects

None yet

3 participants

@boudreau
Contributor
boudreau commented Dec 13, 2016 edited

While on debug on poller.php, a wrong argument is passed to the snmpbulkwalk:

./poller.php -r -d -h 1366 > /tmp/test 2>&1
<...snipped...>
SNMP[^[[0;36m/usr/bin/snmpbulkwalk -Cr20 -v2c -c COMMUNITY -CI -Oq -m CISCO-STACK-MIB -M /var/www/librenms/mibs -t 2 -r 2 udp:HOSTNAME:161 portIfIndex^[[0m]
Unknown flag passed to -C: I

SNMP[^[[0;36m/usr/bin/snmpbulkwalk -Cr20 -v2c -c COMMUNITY -CI -OQs -m CISCO-STACK-MIB -M /var/www/librenms/mibs -t 2 -r 2 udp:HOSTNAME:161 portName^[[0m]
Unknown flag passed to -C: I
<...snipped...>

Might be a typo, only -Ci is a valid argument for snmpbulkwalk intead of -CI

Component Version
LibreNMS f0fefcf
DB Schema 151
PHP 7.0.13
MySQL 5.5.50-MariaDB
RRDTool 1.4.8
SNMP NET-SNMP 5.7.2

DO NOT DELETE THIS INFORMATION.

Please read this information carefully.

GitHub issues is for feature requests or bugs, please do not post issues asking for help or how to do X, Y or Z.
You can use our irc channel ##librenms on freenode to ask questions or our community site.

  • Is your install up to date? Updating your install
    Please do not submit an issue if your install is not up to date within the last 24 hours or on a stable monthly release.
  • Please include all of the information between the ==================================== section of ./validate.php.
  • If you would like us to add a new device or your device is listed as Generic then please provide the information asked for here
  • Please provide as much detail as possible.
@Gorian
Contributor
Gorian commented Dec 13, 2016

FYI, post the information BETWEEN the equal signs... not including. It will format a lot better

@laf laf added a commit to laf/librenms that referenced this issue Dec 14, 2016
@laf laf fix: Stop sending -CI with snmpbulkwalk commands #5164 459ff53
@laf laf added the Bug label Dec 14, 2016
@laf laf closed this Dec 20, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment