This is the current (non functional) yaml.
name: polkadot-rpc-check
base: core20
version: '0.1'
summary: Nagios plugin to check polkadot rpc endpoint.
description: |
This is a nagios plugin to check a pokadot rpc endpoint.
grade: devel
confinement: devmode
apps:
check-substraterpc:
command: bin/check-substraterpc
plugs:
- network
parts:
check-node:
source: .
plugin: npm
npm-node-version: "17.7.2"
build-environment:
- npm_config_unsafe_perm: 'true'
- SUDO_UID: '0'
- SUDO_GID: '0'
- SUDO_USER: 'root'