Alex,
We are using this for time series monitoring (e.g. Zabbix). It doesn’t make sense, at
least to me, to implement jsonrpc-s just to get the kamctl stats output. I mean,
currently I’m just chaining the output with cut and tr, and that’s fine. I just suggest
utilizing JSON a bit better here.
Thanks!
~Noah
On Sep 20, 2017, at 1:17 PM, Alex Balashov
<abalashov(a)evaristesys.com> wrote:
You may want to consider an alternate and more streamlined method of pulling these.
On September 20, 2017 1:16:49 PM EDT, Noah Mehl <noahmehl(a)gmail.com> wrote:
Alex,
This is how that output was generated:
# kamctl stats shmem | jq .
Thanks!
~Noah
On Sep 20, 2017, at 1:14 PM, Alex Balashov
<abalashov(a)evaristesys.com> wrote:
Hello,
The jsonrpc-s module has a pretty_print option. Or is that not where
you're
dispatching this JSON output from?
-- Alex
--
Sent via mobile, please forgive typos and brevity.
_______________________________________________
Kamailio (SER) - Users Mailing List
sr-users(a)lists.kamailio.org
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
_______________________________________________
Kamailio (SER) - Users Mailing List
sr-users(a)lists.kamailio.org
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
-- Alex
--
Sent via mobile, please forgive typos and brevity.
_______________________________________________
Kamailio (SER) - Users Mailing List
sr-users(a)lists.kamailio.org
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users