The status format is invalid message comes even the format is correct
Closed this issue · 3 comments
When I'm trying to create an event, I get the following error laravel.log
production.ERROR: exception 'AltThree\Validator\ValidationException' with message 'Validation has failed.' in /var/www/Cachet/vendor/alt-three/validator/src/ValidatingObserver.php:89
Validation errors:
The status format is invalid.
Tried this as explained in doc.
./cachet_notify my.website apache CRITICAL HARD 'The service is DOWN'
I reported this issue upstream, see cachethq/cachet#1789.
Here's my working copy https://scm.lhprojects.net/LHProjects-Network/Scripts/files/db154bb6ca895d4ce1582b31f4cc174ce3b6a8d4/cachet_notify.
Regards
Note that since @LHorace 's link doesn't work for me, I figured I'd include the script I added to Miraheze's puppet repo. Note that the api token and url have to be changed from this, but it adds component_states :)
@NDKilla Great! And btw, my link is fixed now.
Additionally, I created a slightly improved version here https://scm.lhprojects.net/LHProjects-Network/Scripts/files/2c99db69699164f8985c7f73bc635ff63647b73e/cachet_notifyV2.php. AFAIK, it works!
Regards