Skip to content
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

missing examples/guide about interfaces mode #36

Open
magowiz opened this issue Jan 29, 2018 · 0 comments
Open

missing examples/guide about interfaces mode #36

magowiz opened this issue Jan 29, 2018 · 0 comments

Comments

@magowiz
Copy link

magowiz commented Jan 29, 2018

Hi,
I'm trying to use your check-cisco.pl to monitor a cisco router, almost all checks are clear and simple to me, great job! Anyway I don't know how to perform the "int" check, I don't know wich is the format of the parameter I should provide in -i and where I can find the right OID.
For examples if I give as OID .1.3.6.1.2.1.2.2.1.1.1 which should be the index of first interface I get :

./check-cisco.pl -H XXX.XXX.XXX.XXX -C <my community> -t int -o .1.3.6.1.2.1.2.2.1.1.1
SNMP error: No response from remote host 'XXX.XXX.XXX.XXX'

If I use the same OID using snmpwalk I get :

$ snmpwalk -v 1 XXX.XXX.XXX.XXX -c <my community> .1.3.6.1.2.1.2.2.1.1.1
IF-MIB::ifIndex.1 = INTEGER: 1

Can you please provide some examples ? It's not so clear to understand which is the right way to pass the parameter and which parameter I should pass

Thanks in advance
magowiz

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant