-
Notifications
You must be signed in to change notification settings - Fork 15
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
fixed API usage (includes PR#54, PR#71, PR#74) #78
base: master
Are you sure you want to change the base?
Conversation
Hi @adn77 . Do you know how to get trapdirector running wihthout an IDO database? |
I compiled the patches in order not to use IDO anymore. You can basically follow the documentation below the module configuration (I used the manual installation steps). Then simply set the IDO-Database dropdown to the Trapdirector Database (in case some legacy code is trying to use it). |
Yes, I used your version, but I am facing this messages in trapdirector. Ok, looks like I am facing the same issue as another use here Do you have a solution for this? |
I tried "fixing" the error message by adding "default to API use" and making it only a warning 😃 |
Ah okay. So if the API part is "OK" everything is fine? so i could choose every database in IDO field, it wouldn't change anything? My problem is, that MIBs are loaded, and i try to send the test trap command, but i don't see them in the Received tab. |
Right, the IDO-database can be anything - the check will just fail. I didn't know any better and didn't want to remove the IDO code as some people might still rely on it. If API is configured, you're all set!
Check if the traphandler is working correctly: If it's working, you need to check the traphandler configuration. |
Yes, with your command it will be displayed in icinga. |
My command-line is:
Make sure, your /etc/snmp/snmptrapd.conf is correct:
|
Sorry I didn't create a separate branch for my changes :(
This is only a diff from my running production code, hence PR#54, PR#71, PR#74 are included.
I mostly fixed the rule handling to use API calls.
There're some additional notes in the config dialog about IDO_DB failing and trapd not listening on port 162 when trapdirector is run in a different Docker container.