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

check_snmp_mem.pl not work on cisco SG200-50FP #37

Open
R00T88 opened this issue Aug 9, 2017 · 8 comments
Open

check_snmp_mem.pl not work on cisco SG200-50FP #37

R00T88 opened this issue Aug 9, 2017 · 8 comments

Comments

@R00T88
Copy link

R00T88 commented Aug 9, 2017

Hello,
i try to get mem info from my cisco switch SG200-50FP but i get always this error:

ERROR: Description table : The requested table is empty or dows not exist

this is the command line that i use:

./check_snmp_mem.pl -H 192.168.0.66 -C public -w 99 -c 100 -I

SNMP is enable on switch because i can retry CPU usage information

How can i fix it?

Thanks

@dnsmichi
Copy link
Collaborator

dnsmichi commented Aug 9, 2017

Maybe the OIDs are wrong. I suggest to enable the verbose/debug mode and look into the script which OIDs are pulled. Might need adoptions for that switch of yours. I don't have such hardware to test, so I will make blind suggestions here.

@R00T88
Copy link
Author

R00T88 commented Aug 10, 2017

i think there is no memory pool information on CISCO Small Business switch.
I try to search on mib but without success.
Do you know how can i check sysUptime ?

Thanks

@dnsmichi
Copy link
Collaborator

You could look into #31 which seems to implement that for the CPU plugin. Maybe @spali has an idea?

@R00T88
Copy link
Author

R00T88 commented Aug 10, 2017

Temperature and fan oid are different on CISCOSB too.
@spali what health check did you implement on your switch?

@dnsmichi dnsmichi added the bug label Aug 10, 2017
@spali
Copy link
Contributor

spali commented Aug 10, 2017

Currently I disabled all SNMP checks, Because it results in CPU spikes on the switch.
Researched a bit, and it seems to be a common problem with these switches to use SNMP :(

@R00T88
Copy link
Author

R00T88 commented Aug 10, 2017

So your advice is to disable snmp check on it?

@spali
Copy link
Contributor

spali commented Aug 10, 2017

Depends on how critical the switch is for you or if you have an alternative. But at least I suggest to keep an eye on the CPU load when you do snmp checks on a SG switches.
I disabled it, because for me the performance of my switch is more important than the stuff I monitor with snmp. Also I have a stack of two for redundancy, which makes it less critical if one dies. And because it's a home setup... I can life with with the drawbacks only monitoring the switch with ping checks.

@R00T88
Copy link
Author

R00T88 commented Aug 11, 2017

thanks @spali and @dnsmichi
i found oid for temperature and fan

temperature SNMP OID is: 1.3.6.1.4.1.9.6.1.101.83.5.1.1.2.1

Fans Unit 1 .1.3.6.1.4.1.9.6.1.101.83.1.1.1.3.67109249
Fans Unit 2 .1.3.6.1.4.1.9.6.1.101.83.1.1.1.3.67109250
Fans Unit 3 .1.3.6.1.4.1.9.6.1.101.83.1.1.1.3.67109251
Fans Unit 4 .1.3.6.1.4.1.9.6.1.101.83.1.1.1.3.67109252

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

No branches or pull requests

3 participants