opsweekly
opsweekly copied to clipboard
Oncall provider:logstash integration with Icinga "help wanted"
Hi
Did someone of you integrate opsweekly with icinga i did try with logstash oncall but i cant get icinga stuff in opsweekly . below you can find config file ,any idea
s ?
+1
Does icinga log with different variable to nagios?
The plugin does a query to logstash
"query": "nagios_notifyname:"'.$pagername.'" AND NOT (nagios_state:"ACKNOWLEDGEMENT*" OR nagios_state:"UP" OR nagios_state:"OK") AND NOT nagios_service:"SMS Check""
perhaps icinga_ ?
I wrote the plugin, its currently hardcoded... i'll make the query settable via config and submit a PR if it helps.
I setup logstash-forwarder on the icinga machine to shoot the icinga logs into logstash. I think the logstash nagios rules worked out of the box with that, but I'd need to revisit my setup to make sure.
I checked the nagios provider query, and I hadn't changed it.
How did you setup the logstash filter for the logs? pattern => "%{NAGIOSLOGLINE}" ?
As for the github stuff, does your icinga contact names match your users github names?