mirror of
https://github.com/openwrt/packages.git
synced 2025-01-31 04:51:44 +00:00
4281b7639c
- 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>
13 lines
264 B
Diff
13 lines
264 B
Diff
--- 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);
|