No idea about Zabbix api, at the moment, maybe is the same as the Nagios one.
If not, it will be easy to implement, just by changing exit status and the way perf data are printed (if Zabbix supports perf data).
I'll add this to the TODO.
Thanks Daniel!
-giovanni
answered from mobile, please pardon terseness and typos, -giovanni
On Wed, Apr 21, 2021, 14:51 Daniel-Constantin Mierla miconda@gmail.com wrote:
Hello,
On 21.04.21 11:42, Giovanni Maruzzelli wrote:
Hello fellow VoIPers and RTCers,
on GitHub there is an early release of sipnagios, opensource.
check it out: https://github.com/gmaruzz/sipnagios https://github.com/gmaruzz/sipnagios
sipnagios is a Nagios Plugin to check Call Quality in SIP VoIP (compatible with checkmk, etc)
sipnagios implements the Nagios plugin API for monitoring and performance data.sipnagios.c is a modification of the original siprtp.c sample in pjproject distribution. Supposedly, it works on Linux, Windows, and anywhere you can compile pjproject on.It makes a call, checks all the various resulting values (mos, rtt, pdd, tta, jitter, packet loss, bytes and packets transferred, and so on). It verifies these values are included into acceptable, warning, or critical ranges.If the call has gone well, sipnagios print performance data for Nagios graphs, and returns 0.If the call fails, or if its measured values are not inside acceptable ranges, it exits with Nagios conventional WARNING or CRITICAL values.
mos calculation is scraped from Julien Chavanton work (VoIP Patrol, on GitHub too) I can't even understand :) (merci Julien!)
thanks for letting everyone here know about this tool!
Do you know if other monitoring platforms (e.g., Zabbix) have the same plugin API and can be used with? Or it is for Nagios only?
Cheers, Daniel
-- Daniel-Constantin Mierla -- www.asipto.com www.twitter.com/miconda -- www.linkedin.com/in/miconda Kamailio Advanced Training - Online May 17-20, 2021 (Europe Timezone) - June 7-10, 2021 (America Timezone)