self-diagnostics: 1.0.14

This commit is contained in:
Amin Ben Romdhane 2025-03-11 09:30:31 +01:00 committed by Vivek Dutta
parent 63c27601e5
commit 32ab2eb2cc
5 changed files with 89 additions and 3 deletions

View file

@ -1,7 +1,7 @@
include $(TOPDIR)/rules.mk
PKG_NAME:=self-diagnostics
PKG_VERSION:=1.0.13
PKG_VERSION:=1.0.14
PKG_RELEASE:=1
PKG_LICENSE:=GPL-2.0-only

View file

@ -65,7 +65,7 @@
},
{
"description": "Data Elements Dump",
"cmd": "ubus call wifi.dataelements.collector refresh; sleep 2; ubus call wifi.dataelements.collector dump2"
"cmd": "ubus call wifi.dataelements refresh; sleep 2; ubus call wifi.dataelements dump"
}
]
}

View file

@ -80,6 +80,20 @@
{
"description": "IGMP Snooping Table",
"cmd": "ubus call mcast stats"
},
{
"description": "DHCP Leases",
"cmd": "cat /tmp/dhcp.leases"
},
{
"description": "DHCP Leases Options",
"cmd": "cat /tmp/dhcp.client.options",
"dependency": [
{
"type": "file",
"file": "/tmp/dhcp.client.options"
}
]
}
]
}

View file

@ -5,6 +5,16 @@
"description": "Firmware banks",
"cmd": "ubus call fwbank dump"
},
{
"description": "Firmware banks via script",
"cmd": "/etc/sysmngr/fwbank call dump",
"dependency": [
{
"type": "file",
"file": "/etc/sysmngr/fwbank"
}
]
},
{
"description": "System Info",
"cmd": "ubus call system info"
@ -62,6 +72,10 @@
"dependency" : {
"file": "/usr/sbin/ubinfo"
}
},
{
"description": "NTP Status",
"cmd": "ntpq -c 'rv 0 stratum'"
}
]
}

View file

@ -7,13 +7,17 @@
}
],
"exec" : [
{
"description": "Datamodel UCI save list",
"cmd": "ls -laR /tmp/bbfdm/"
},
{
"description": "Datamodel microservices",
"cmd": "ubus call service list '{\"name\":\"bbfdm.services\"}'"
},
{
"description": "Datamodel microservices registration",
"cmd": "ubus call bbfdm service"
"cmd": "ubus call bbfdm services"
},
{
"description": "Datamodel plugins and services list",
@ -31,10 +35,64 @@
"description": "TR-181 Parameters via CWMP",
"cmd": "icwmpd -c get Device."
},
{
"description": "TR-069 Internal Configs list",
"cmd": "ls -R /etc/icwmpd/"
},
{
"description": "TR-069 status",
"cmd": "ubus call tr069 status"
},
{
"description": "TR-069 Backup Session",
"cmd": "cat /etc/icwmpd/icwmpd_backup_session.xml",
"dependency": [
{
"type": "file",
"file": "/etc/icwmpd/icwmpd_backup_session.xml"
}
]
},
{
"description": "TR-069 Temporary Config",
"cmd": "cat /var/state/icwmp",
"dependency": [
{
"type": "file",
"file": "/var/state/icwmp"
}
]
},
{
"description": "TR-069 Internal Config",
"cmd": "cat /etc/icwmpd/cwmp",
"dependency": [
{
"type": "file",
"file": "/etc/icwmpd/cwmp"
}
]
},
{
"description": "TR-069 Force Inform Parameters",
"cmd": "cat /etc/icwmpd/force_inform.json",
"dependency": [
{
"type": "file",
"file": "/etc/icwmpd/force_inform.json"
}
]
},
{
"description": "TR-069 Obj/Param with Notification",
"cmd": "cat /etc/icwmpd/cwmp_notifications",
"dependency": [
{
"type": "file",
"file": "/etc/icwmpd/cwmp_notifications"
}
]
},
{
"description": "TR-069 Logs",
"cmd": "cat /var/log/icwmpd.log",