-
Notifications
You must be signed in to change notification settings - Fork 9
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
Use with Alignak ? #20
Comments
Hello, To have an idea on how much time it can take, I have seen you port another module like the nrpe-booster. What are the main changes we must apply to transform a shinken module to an alignak module ? Is it just replacing the shinken library with its alignak equivalent or it is more complex ? |
I made a port of the If you have a look into this module: https://github.com/Alignak-monitoring-contrib/alignak-module-nrpe-booster it will give an idea of the main modifications ... If I find some few time in the next days, I will try to submit a PR ... |
Are you using some specific Shinken features or modules for this module ? |
After a quick review, just the shinken.logger and shinken.MacroResolver |
I see in the module doc that it requires : |
I use it with Shinken 2.2 without problem. Edit: I confirm, it wortks with shinken 2.4 too |
I created a repo here: https://github.com/Alignak-monitoring-contrib/alignak-module-snmp-booster. I will port your current version to the Alignak module architecture and we will be able to give a try 😉 |
Ok, I give you the protocol and the file to make the test First, you need: For snmpsim : http://snmpsim.sourceforge.net/ Now the fun part: To simulate the device , you run the following command :
--data-dir is the path of your snmprec file You paste the .ini file in the directory define in your file to configure the alignak module (called datasource) And now the configuration :
Maybe you must change some things: _SNMPCOMMUNITYREAD : It's the name oy your snmprec file (For example here, my file called test.snmprec) After that, you run your redis-server (Don't forget to change db_host and db_port in the snmp-booster module configuration to match your redis server) And finally , run alignak and check if the service obtain value |
What about porting this module to the Alignak framework ?
I am interested in it and may help with:
?
The text was updated successfully, but these errors were encountered: