New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unknown flag passed to -C: I #5164

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

Comments

Projects
None yet
3 participants
@boudreau
Contributor

boudreau commented Dec 13, 2016

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

This comment has been minimized.

Show comment
Hide comment
@Gorian

Gorian Dec 13, 2016

Contributor

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

Contributor

Gorian commented Dec 13, 2016

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

laf added a commit to laf/librenms that referenced this issue Dec 14, 2016

@laf laf added the Bug 🐞 label Dec 14, 2016

@laf laf closed this Dec 20, 2016

@lock lock bot locked as resolved and limited conversation to collaborators May 18, 2018

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.