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

Add Mikrotik POE sensors #7883

Merged
merged 2 commits into from Dec 9, 2017

Conversation

Projects
None yet
3 participants
@erotel
Contributor

erotel commented Dec 9, 2017

DO NOT DELETE THIS TEXT

Please note

Please read this information carefully. You can run ./scripts/pre-commit.php to check your code before submitting.

Testers

If you would like to test this pull request then please run: ./scripts/github-apply <pr_id>, i.e ./scripts/github-apply 5926

@erotel

This comment has been minimized.

Show comment
Hide comment
@erotel

erotel Dec 9, 2017

Contributor

fix in includes / snmp.inc.php solves this

SNMP[/usr/bin/snmpwalk -v2c -c COMMUNITY -OQUsetX -m UPS-MIB -M /opt/librenms/mibs:/opt/librenms/mibs/mikrotik udp:HOSTNAME:161 upsInputCurrent]
upsInputCurrent = No more variables left in this MIB View (It is past the end of the MIB tree)

-----
Array
(
    [upsInputCurrent] => No more variables left in this MIB View (It is past the end of the MIB tree)
)
Discover sensor: .1.3.6.1.2.1.33.1.3.3.1.4.upsInputCurrent, 100, rfc1628, Input, snmp, 10, 1, , 0

Contributor

erotel commented Dec 9, 2017

fix in includes / snmp.inc.php solves this

SNMP[/usr/bin/snmpwalk -v2c -c COMMUNITY -OQUsetX -m UPS-MIB -M /opt/librenms/mibs:/opt/librenms/mibs/mikrotik udp:HOSTNAME:161 upsInputCurrent]
upsInputCurrent = No more variables left in this MIB View (It is past the end of the MIB tree)

-----
Array
(
    [upsInputCurrent] => No more variables left in this MIB View (It is past the end of the MIB tree)
)
Discover sensor: .1.3.6.1.2.1.33.1.3.3.1.4.upsInputCurrent, 100, rfc1628, Input, snmp, 10, 1, , 0

@scrutinizer-notifier

This comment has been minimized.

Show comment
Hide comment
@scrutinizer-notifier

scrutinizer-notifier Dec 9, 2017

The inspection completed: No new issues

scrutinizer-notifier commented Dec 9, 2017

The inspection completed: No new issues

@laf laf merged commit dbeaf3b into librenms:master Dec 9, 2017

2 checks passed

continuous-integration/travis-ci/pr The Travis CI build passed
Details
license/cla Contributor License Agreement is signed.
Details
@lock

This comment has been minimized.

Show comment
Hide comment
@lock

lock bot May 16, 2018

This thread has been automatically locked since there has not been any recent activity after it was closed.

lock bot commented May 16, 2018

This thread has been automatically locked since there has not been any recent activity after it was closed.

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

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