Commit Graph

34 Commits

Author SHA1 Message Date
eloyd 77c773b0dd Added NCPA mode (with potential double -H lookup) and updated debugging 2024-08-09 18:08:13 -04:00
eloyd d497b68bae ENV now supports -H and -S and help was updated to be more clear 2024-08-09 14:35:49 -04:00
eloyd a83f240ed7 ENV now supports HOST SERVICE and CONTACT custom macro double-decode. 2024-08-07 13:17:09 -04:00
eloyd 7cada9d791 ENV is now available to pull information about the host/service into the configuration 2024-08-06 14:51:11 -04:00
eloyd 7df7ea56b4 Updated help and now --bstatus ignores state zero instead of specifically asking for states 1 and 2. 2024-08-03 10:24:16 -04:00
eloyd 7509641bcf Renamed api.sh to napi 2024-08-03 10:04:20 -04:00
eloyd 02f18cf5ab API now has all advertised API selectors from the documentation. 2024-08-02 14:43:29 -04:00
eloyd bc02a4d412 API now does state histories with --start and --end 2024-08-02 13:57:08 -04:00
eloyd fec6530898 Added ability to apply changes while creating 2024-07-31 11:52:00 -04:00
eloyd 0c8482ae01 Updated API to pull quick latency stats if available 2024-07-30 11:32:01 -04:00
eloyd 293b51ddcf api.sh Updated to do a lot more with the -q options 2024-07-25 09:42:33 -04:00
eloyd a69c3b3b96 Almost done with full nagios config directives 2024-07-18 13:53:23 -04:00
eloyd 828f259647 Slowly converting to using arrays instead of variables 2024-07-18 12:44:48 -04:00
eloyd 8fa76d3b89 Set quick fields to default, and then you can add your own via -f 2024-07-11 17:50:41 -04:00
eloyd 592fcf2dee Lots of new options and a QUICK option, too! 2024-07-11 17:16:47 -04:00
eloyd 94e8e6de23 Adding to Git 2024-07-11 17:16:31 -04:00
eloyd fc8077265d Added --output 2024-07-11 11:49:50 -04:00
eloyd c94e433b0b I believe the -o i option is now global to all currently selectable options 2024-07-10 14:09:47 -04:00
eloyd c7d53a00fd Added cmdOptions to be able to do things differently for different API endpoints 2024-07-10 12:12:21 -04:00
eloyd ca4e6532e2 Added lookup table for JSON starting point and more GET API options 2024-06-15 11:50:50 -04:00
eloyd 4702af87a7 Slight change to command line params, added alternative locations for .nagiosapikey, related changes to jQ filters 2024-06-14 14:05:19 -04:00
eloyd 5794d33489 api.sh fleshing out further 2024-05-20 15:32:01 -04:00
eloyd fe4a00666d About to pull api.sh back from 192.168.1.128 2024-05-20 14:08:31 -04:00
eloyd 80da0e2ce3 Can now save or load from a local file 2024-05-13 07:48:02 -04:00
eloyd 405aeddf46 More changes to api.sh 2024-05-13 07:47:29 -04:00
eloyd 081d2026cd Added api.sh 2024-05-03 12:40:53 -04:00
eloyd 1ce9be5545 Removed debugging 2023-08-28 11:48:12 -04:00
eloyd 1383430da0 Adding notify-by-ntfy.sh to send things through personal EWG server 2023-08-28 11:47:29 -04:00
eloyd f53198198d --help updates 2023-08-14 11:38:24 -04:00
eloyd f09467966b Add --event 2023-08-12 17:12:04 -04:00
eloyd 40408bb10a Updated to latest and greatest awk, now with color! 2023-08-12 15:15:31 -04:00
eloyd a77bd035cf Imported from running Nagios box 2023-08-09 11:49:29 -04:00
eloyd f8674cef0d Imported from running Nagios XI 2023-08-09 09:41:50 -04:00
eloyd fd0cc6cd34 Version pulled from 192.168.1.19 at this time 2023-08-07 15:14:32 -04:00