-
-
Notifications
You must be signed in to change notification settings - Fork 396
upssched
: Introduce passing of NOTIFYMSG
to a CMDSCRIPT
#3110
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
…s#3105] Signed-off-by: Jim Klimov <[email protected]>
Signed-off-by: Jim Klimov <[email protected]>
…ools#3097] Signed-off-by: Jim Klimov <[email protected]>
…hods, for less confusing dev-testing logs [networkupstools#3105] Signed-off-by: Jim Klimov <[email protected]>
Signed-off-by: Jim Klimov <[email protected]>
@markuswells : you are welcome to test this PR branch, see https://github.com/networkupstools/nut/wiki/Building-NUT-for-in%E2%80%90place-upgrades-or-non%E2%80%90disruptive-tests about custom-building NUT for this. |
✅ Build nut 2.8.4.3565-master completed (commit a1763c975f by @jimklimov) |
…ways issued at latest when shutdown handling just starts (or earlier) [networkupstools#3003, networkupstools#3110] Signed-off-by: Jim Klimov <[email protected]>
…execution is not async in upssched Signed-off-by: Jim Klimov <[email protected]>
…own activity on the upsmon primary system [networkupstools#3003] Signed-off-by: Jim Klimov <[email protected]>
❌ Build nut 2.8.4.3576-master failed (commit bf7f87d453 by @jimklimov) |
✅ Build nut 2.8.4.3577-master completed (commit fb5c8a0720 by @jimklimov) |
…AND UPSMON ROLES section Signed-off-by: Jim Klimov <[email protected]>
…on, refer to TIMED SHUTDOWNS section Signed-off-by: Jim Klimov <[email protected]>
…IT scripts as a source of inspiration Signed-off-by: Jim Klimov <[email protected]>
…LOW section [networkupstools#3003, networkupstools#3110] Signed-off-by: Jim Klimov <[email protected]>
…rkupstools#3084] Signed-off-by: Jim Klimov <[email protected]>
…efinitions [networkupstools#3084] Also helps NIT generate an upsmon.conf to report those events in tests. Signed-off-by: Jim Klimov <[email protected]>
…workupstools#3105] Signed-off-by: Jim Klimov <[email protected]>
Closes: #3105
Follows up from: #3097
Allow the ultimately executed command scripts to see the layman-text message and perhaps forward it to mail/SMS/etc.
For conformity with
UPSNAME
andNOTIFYTYPE
, this is also passed via envvars (but is optional).In
make check-NIT-sandbox-devel
the test loop now reports e.g.:Also follows up with earlier changes to
upssched
/upsmon
interaction - some fixes, many docs.