mirror of
https://github.com/openwrt/packages.git
synced 2026-01-10 11:44:48 +00:00
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:
12
net/apinger/patches/060-format-alarm-list.patch
Normal file
12
net/apinger/patches/060-format-alarm-list.patch
Normal 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);
|
||||
Reference in New Issue
Block a user