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>
This commit is contained in:
Jaymin Patel
2022-07-26 18:44:32 +05:30
parent d1ba399006
commit 4281b7639c
6 changed files with 207 additions and 6 deletions

View File

@@ -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);