check google workspace status dashboard

Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
Locked
scheived
Posts: 16
Joined: Tue Jul 16, 2013 9:53 am

check google workspace status dashboard

Post 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?
User avatar
mcapra
Posts: 3739
Joined: Thu May 05, 2016 3:54 pm

Re: check google workspace status dashboard

Post 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
Former Nagios employee
https://www.mcapra.com/
scheived
Posts: 16
Joined: Tue Jul 16, 2013 9:53 am

Re: check google workspace status dashboard

Post 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_
User avatar
mcapra
Posts: 3739
Joined: Thu May 05, 2016 3:54 pm

Re: check google workspace status dashboard

Post 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
Former Nagios employee
https://www.mcapra.com/
Locked