<div dir="ltr"><div dir="ltr">On Wed, Apr 21, 2021 at 3:10 PM Giovanni Maruzzelli <<a href="mailto:gmaruzz@gmail.com">gmaruzz@gmail.com</a>> wrote:<br></div><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="auto">Yep, I believe monitoring systems are in Nagios compatible family (most of them), or in Zabbix clan.<div dir="auto"><br></div></div></blockquote><div><br></div><div>From these pages: </div><div><a href="https://www.zabbix.com/documentation/current/manual/appendix/command_execution">https://www.zabbix.com/documentation/current/manual/appendix/command_execution</a> </div><div><a href="https://www.zabbix.com/documentation/current/manual/config/items/itemtypes/external#external_check_result">https://www.zabbix.com/documentation/current/manual/config/items/itemtypes/external#external_check_result</a> </div><div><br></div><div>I would infer that sipnagios is already Zabbix compatible, right now.</div><div><br></div><div>However, Zabbix seems not to gather historical performance data from external checks. <br>Anyway, Zabbix will DO show the output of sipnagios in GUI, so at least you'll see the latest performance point (eg you will see in GUI all the performance values of the last call).</div><div><br></div><div>-giovanni<br><br></div><div><br></div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="auto"><div dir="auto"></div><div dir="auto">From a quick check seems in Zabbix sipnagios would be an entity called "external check", and it seems Zabbix does not gather multiple performance data, just one value.</div><div dir="auto"><br></div><div dir="auto">But I will check it better.</div><div dir="auto"><br></div><div dir="auto">Btw, sipnagios can be used also as a standalone tool to originate a call and gather it's results, like sipsak for OPTIONS et al.</div><div dir="auto"><br></div><div dir="auto">-giovanni<br><br><div dir="auto">answered from mobile, please pardon terseness and typos,<br>-giovanni</div></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Wed, Apr 21, 2021, 15:04 Daniel-Constantin Mierla <<a href="mailto:miconda@gmail.com" target="_blank">miconda@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
  
    
  
  <div>
    <p>Personally I do not need such feature (e.g., Zabbix), I was more
      curious if there is sort of common plugin API between some of the
      monitoring systems (like seems to be now for web browsers) -- if I
      am not wrong, some of these monitoring systems have common roots.</p>
    <p>Cheers,<br>
      Daniel<br>
    </p>
    <div>On 21.04.21 14:56, Giovanni Maruzzelli
      wrote:<br>
    </div>
    <blockquote type="cite">
      
      <div dir="auto">No idea about Zabbix api, at the moment, maybe is
        the same as the Nagios one.
        <div dir="auto"><br>
        </div>
        <div dir="auto">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).</div>
        <div dir="auto"><br>
        </div>
        <div dir="auto">I'll add this to the TODO.</div>
        <div dir="auto"><br>
        </div>
        <div dir="auto">Thanks Daniel!</div>
        <div dir="auto"><br>
        </div>
        <div dir="auto">-giovanni</div>
        <div dir="auto"><br>
          <br>
          <div dir="auto">answered from
            mobile, please pardon terseness and typos,<br>
            -giovanni</div>
        </div>
      </div>
      <br>
      <div class="gmail_quote">
        <div dir="ltr" class="gmail_attr">On Wed, Apr 21, 2021, 14:51
          Daniel-Constantin Mierla <<a href="mailto:miconda@gmail.com" rel="noreferrer" target="_blank">miconda@gmail.com</a>>
          wrote:<br>
        </div>
        <blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Hello,<br>
          <br>
          On 21.04.21 11:42, Giovanni Maruzzelli wrote:<br>
          > Hello fellow VoIPers and RTCers,<br>
          ><br>
          > on GitHub there is an early release of sipnagios,
          opensource.<br>
          ><br>
          > check it out: <a href="https://github.com/gmaruzz/sipnagios" rel="noreferrer
            noreferrer noreferrer" target="_blank">https://github.com/gmaruzz/sipnagios</a><br>
          > <<a href="https://github.com/gmaruzz/sipnagios" rel="noreferrer noreferrer noreferrer" target="_blank">https://github.com/gmaruzz/sipnagios</a>><br>
          ><br>
          > sipnagios is a Nagios Plugin to check Call Quality in SIP
          VoIP<br>
          > (compatible with checkmk, etc)<br>
          ><br>
          > sipnagios implements the Nagios plugin API for monitoring
          and<br>
          > performance data.sipnagios.c is a modification of the
          original<br>
          > siprtp.c sample in pjproject distribution. Supposedly, it
          works on<br>
          > Linux, Windows, and anywhere you can compile pjproject
          on.It makes a<br>
          > call, checks all the various resulting values (mos, rtt,
          pdd, tta,<br>
          > jitter, packet loss, bytes and packets transferred, and
          so on). It<br>
          > verifies these values are included into acceptable,
          warning, or<br>
          > critical ranges.If the call has gone well, sipnagios
          print performance<br>
          > data for Nagios graphs, and returns 0.If the call fails,
          or if its<br>
          > measured values are not inside acceptable ranges, it
          exits with Nagios<br>
          > conventional WARNING or CRITICAL values.<br>
          ><br>
          > mos calculation is scraped from Julien Chavanton work
          (VoIP Patrol, on<br>
          > GitHub too) I can't even understand :) (merci Julien!)<br>
          <br>
          thanks for letting everyone here know about this tool!<br>
          <br>
          Do you know if other monitoring platforms (e.g., Zabbix) have
          the same<br>
          plugin API and can be used with? Or it is for Nagios only?<br>
          <br>
          Cheers,<br>
          Daniel<br>
          <br>
          -- <br>
          Daniel-Constantin Mierla -- <a href="http://www.asipto.com" rel="noreferrer noreferrer noreferrer" target="_blank">www.asipto.com</a><br>
          <a href="http://www.twitter.com/miconda" rel="noreferrer
            noreferrer noreferrer" target="_blank">www.twitter.com/miconda</a>
          -- <a href="http://www.linkedin.com/in/miconda" rel="noreferrer noreferrer noreferrer" target="_blank">www.linkedin.com/in/miconda</a><br>
          Kamailio Advanced Training - Online<br>
          May 17-20, 2021 (Europe Timezone) - June 7-10, 2021 (America
          Timezone)<br>
            * <a href="https://www.asipto.com/sw/kamailio-advanced-training-online/" rel="noreferrer noreferrer noreferrer" target="_blank">https://www.asipto.com/sw/kamailio-advanced-training-online/</a><br>
          <br>
        </blockquote>
      </div>
    </blockquote>
    <pre cols="72">-- 
Daniel-Constantin Mierla -- <a href="http://www.asipto.com" rel="noreferrer" target="_blank">www.asipto.com</a>
<a href="http://www.twitter.com/miconda" rel="noreferrer" target="_blank">www.twitter.com/miconda</a> -- <a href="http://www.linkedin.com/in/miconda" rel="noreferrer" target="_blank">www.linkedin.com/in/miconda</a>
Kamailio Advanced Training - Online
May 17-20, 2021 (Europe Timezone) - June 7-10, 2021 (America Timezone)
  * <a href="https://www.asipto.com/sw/kamailio-advanced-training-online/" rel="noreferrer" target="_blank">https://www.asipto.com/sw/kamailio-advanced-training-online/</a></pre>
  </div>

</blockquote></div>
</blockquote></div><br clear="all"><div><br></div>-- <br><div dir="ltr" class="gmail_signature">Sincerely,<br><br>Giovanni Maruzzelli<br>OpenTelecom.IT<br>cell: +39 347 266 56 18<br><br></div></div>