Page 1 of 1

check google workspace status dashboard

PostPosted: Thu Jul 29, 2021 5:22 pm
by scheived
There's a few checks on exchange for checking the Google Workspace status dashboard but they've recently stopped working with a malformed JSON string warning. Any ideas for a fix?

Re: check google workspace status dashboard

PostPosted: Fri Jul 30, 2021 10:46 am
by mcapra
There's a few checks on exchange


Could you link some of them? Or better yet, the specific one you're using that recently stopped working? I get 0 results when searching "Google Workspace status dashboard" on the Nagios Exchange.

It'd also be useful to see the verbose/debug output for the plugin's execution, if that's available.

Found this one on the Google but it's 9 years old:
https://exchange.nagios.org/directory/P ... ps/details

Re: check google workspace status dashboard

PostPosted: Tue Aug 03, 2021 1:22 pm
by scheived
It's this one, https://exchange.nagios.org/directory/P ... ps/details
and this one, https://exchange.nagios.org/directory/T ... rd/details

The google page it grabs the status from is https://www.google.com/appsstatus/dashboard/

This is the result I get,
./check_googleapps.pl --service "Google Calendar"
malformed JSON string, neither array, object, number, string or atom, at character offset 0 (before "<html lang="en"> <he...") at ./check_

Re: check google workspace status dashboard

PostPosted: Tue Aug 03, 2021 1:52 pm
by mcapra
The page referenced by that plugin no longer exists, as far as I can tell. Using the WayBackMachine the last snapshot I can find was on July 9th.

I suspect the plugin would need to be modified to pull either from the RSS feed, or this JSON history of incidents:
https://www.google.com/appsstatus/dashb ... dents.json