op5-monitor-check-openweathermap:从OpenWeatherMap监视天气统计信息

时间:2021-03-18 17:34:11
【文件属性】:
文件名称:op5-monitor-check-openweathermap:从OpenWeatherMap监视天气统计信息
文件大小:128KB
文件格式:ZIP
更新时间:2021-03-18 17:34:11
Python op5-monitor-check-openweathermap 使用OP5 Monitor从OpenWeatherMap监视天气统计信息。需要访问OpenWeatherMap API。此处更多信息: : 可以在以下位置找到天气位置: : 需要 python请求 OpenWeather API密钥 用法 将脚本上传到: /opt/plugins/custom/ 为插件创建一个check_command: command_name = check_openweathermap command_line = $USER1$/custom/check_openweathermap.py -l $ARG1$ -k $ARG2$ -t $ARG3$ 为每种类型的天气指标创建服务对象:(温度示例) service_description = Temperature check_command =
【文件预览】:
op5-monitor-check-openweathermap-main
----README.md(1KB)
----check_openweathermap.py(3KB)
----openweathermap-checks.png(132KB)

网友评论