-
Notifications
You must be signed in to change notification settings - Fork 5.8k
Description
Use Case
Currently, there’s no easy way in Telegraf to check if a SIP service (such as a PBX, SIP proxy, or VoIP provider) is alive and healthy. For example, we’d like to regularly send a SIP OPTIONS request to a server and get back a response like “200 OK”, just to confirm it’s up. This kind of check is common in VoIP monitoring, but currently, we have to script it ourselves or use external tools.
Expected behavior
The plugin could:
• Send SIP requests to one or more endpoints.
• Measure response time and status code.
• Export metrics like sip_up, sip_response_time, or sip_status_code that we could feed into InfluxDB or Grafana.
• Support SIP over UDP/TCP/TLS and simple auth if needed.
Actual behavior
There’s no native SIP support in Telegraf today. We can work around this with the exec plugin and custom scripts, but that’s harder to manage and not ideal in production environments.
Additional info
Libraries That Might Help
If this sounds like a useful feature, I could look into implementing it using one of these Go SIP libraries:
• sipgo
• gosip (jart)
• gosip (ghettovoice)
Would the Telegraf team be open to accepting a plugin like this? If so, I’d be happy to work on a pull request and align with your guidelines.
Thank you very much for your time and for all the work you do on Telegraf! 🙌