aboutsummaryrefslogtreecommitdiff
path: root/net/apinger/patches
diff options
context:
space:
mode:
authorJaymin Patel <jem.patel@gmail.com>2022-07-26 18:44:32 +0530
committerJaymin Patel <jem.patel@gmail.com>2022-07-29 14:12:45 +0530
commit4281b7639c79ece68b50031f37ee8c693f32b4ef (patch)
tree09d7a9de1b2c8937ccf1c4ed6186dba04562316f /net/apinger/patches
parentd1ba399006a6342bced5414e0e43693c03d93213 (diff)
apinger: add rrd graph support
- add package apinger-rrd for RRD graphs - add RPC to get an overview and update graphs - fix interface hotplug to restart apinger instance - add patch to split alarms list in the status Signed-off-by: Jaymin Patel <jem.patel@gmail.com>
Diffstat (limited to 'net/apinger/patches')
-rw-r--r--net/apinger/patches/060-format-alarm-list.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/net/apinger/patches/060-format-alarm-list.patch b/net/apinger/patches/060-format-alarm-list.patch
new file mode 100644
index 000000000..815202f3b
--- /dev/null
+++ b/net/apinger/patches/060-format-alarm-list.patch
@@ -0,0 +1,12 @@
+--- a/src/apinger.c
++++ b/src/apinger.c
+@@ -860,6 +860,9 @@ char *buf1,*buf2;
+ a=al->alarm;
+ if(config->status_format){
+ fprintf(f,"%s",a->name);
++ if(al->next){
++ fprintf(f,",");
++ }
+ }
+ else{
+ fprintf(f," \"%s\"",a->name);