Closed FlowFX closed 9 years ago
They are just going to be the check IDs. You can find that ID by clicking on the check in the uptime robot webpage and in the URL you will see the ID. Then just separate them by commas. 123,123,123
Thank you very much. Now it's working. FYI: this is from my config file:
define('excludedMonitors', serialize(array('775xxxxxx','776xxxxxx','777xxxxxx')))
Note that the includedMonitors differs. Its not an array, its a single string, which will be simply appended to the API URL. Monitor-IDs are separated by dashes. Took me a while to find that out, so I put it here, in case someone needs it:
//Only show these monitors
define('includedMonitors', '775xxxxxx-776xxxxxx-777xxxxxx');
@alainwolf Each of my uptime robot sessions have their own unique API key. Can I add multiple keys? Does this support multiple monitors?
Cheers
@SteamTimeIdler - Yes that would be useful. Have you tried anything ?
I believe this was only introduced with version 2 of API (not certain) ?
FYI you can get your monitor keys here:
http://api.uptimerobot.com/getMonitors?format=xml&apiKey=YOUR-API-KEY
@alainwolf
For the included monitors, you also need to specify the keys - these can be found at the following location, simply replace YOURAPI with your main UR api key.
Thanks for your helpful comment which solved the issue for me!
http://api.uptimerobot.com/getMonitors?format=xml&apiKey=YOUR-API-KEY
What is the format and what are the identifiers for the two configuration lines 'includedMonitors' and 'excludedMonitors'? Is there an example config file somewhere? I couldn't get it to work.