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
[plugin] [raisecom] Add plugin to check raisecom switchs #435
Comments
@Sims24 Hi. I've already written a plugin for the CPU, traffic checking via the standard mode. RAM almost completed the check, there was a problem with the proper size determination. if there is an opportunity to help with its finalization I will be glad. |
Can we give us full snmpwalk ? The following table should be interesting also: There is also: raisecomTemperature and raisecomVoltTable. |
@garnier-quentin Hello, Quentin! |
@maksimatveev , Quentin will do the job. After looking to the memory mode on your fork, think that you need to multiply value by 1024 before passing it to change _bytes routine. After this you should find the intended result ;) Thx |
@Sims24 Thank you, Simon, for the hint. |
@Sims24 It turned out, not so much as you have written. But the sense I understand =) |
@Sims24 Changed OIDs, now taken from raisecomCPUUtilizationTable: ./centreon_plugins.pl --plugin=network::raisecom::snmp::plugin --mode=cpu --hostname=172.27.252.5 --snmp-community=public --snmp-version=2 --warning=10,10,10 --critical=15,15,15 |
Hi @maksimatveev, I'll have an hour to look this tomorrow, we'll probably end up with this dev and I'll let you do the PR to Quentin. I'll send you an email with potential change. ;) |
Hi @maksimatveev , Could you provide a walk resulting from this command please snmpwalk -Cc -v2c -c SNMPCOMMUNITY -ObentU X.X.X.X .1 > raisecom.snmpwalk You should replace SNMPCOMMUNITY by your community string and X.X.X.X by the raisecom ip address and then send me the raisecom.snmpwalk file. This will be easier for us to simulate a raisecom switch ;) Thanks, I send you info by the end of the day |
@Sims24 Simon, sent you an email. |
@maksimatveev , thanks for the walk. Just pushed cpu and memory mode here : https://github.com/Sims24/centreon-plugins/tree/raisecom but concerning hardware (volt, temp, and fan), looks like value doesn't exist, are you aware of such components on your switch actually ? |
@Sims24 temperature and voltage precisely is in the output snmpwalk. and about the fans - can not be set to the switch model. |
We managed to find a model with the necessary parameters:
Temperature and Volts
|
Sorry for the delay.
Regards, |
@Sims24 okay, I send it as soon as possible. Thank you. |
@Sims24 For several of the most popular models of switches: |
@garnier-quentin Thanks Quentin, can I check? |
Yes. Check it of course ;) |
@garnier-quentin First of all, thank you for the job well done by you! I'm just learning how to write plugins and you inspire me =) Can be reduced output to this: |
Can be unified as in other plug-ins, example Cisco CPU Load: |
Could you test it ? I have done the change. |
@garnier-quentin Thank you, Quentin! All right! |
@garnier-quentin You can migrate other component checks from https://github.com/cgagnaire/centreon-plugins/tree/master/network/raisecom/snmp/ ? |
There are all :) |
@garnier-quentin sorry, did not notice =) |
As a side note from Maksimatev, would be nice to have a plugin for raisecom. First basic things like :
Thx
The text was updated successfully, but these errors were encountered: