* Connection #0 to host 172.16.66.70 left intact 如果看到 HTTP/1.1 412 Precondition Failed 则表示此地址正确,可填入 granfa 插件里的 api 地址。返回其他错误,表示 api 地址填写错误,可尝试添加/zabbix/的后缀比如http://172.16.66.70:8080/zabbix/api_jsonrpc.php从Zabbix 5.4 开始可在页面上新建 API Toke...
zabbix 接口地址:https://www.zabbix.com/documentation/3.2/manual/api/reference/maintenance/object zabbix 优势在于其丰富的api功能,可以高度定制化、扩展。笔者也是在使用了1年的API中收获颇丰。在cmdb资产管理功能、微信操作控制zabbix功能、获取zabbix数据制作报表等都利用到了zabbix api。 笔者把脚本脚本分为三个部...
目标:将IP地址为192.168.217.140,端口为10050的主机进行监控,名称为CentOS_7,监控模板:Linux by Zabbix Agent,群组:Linux servers,并读取监控到的Available memory in %数值。创建主机在手册https://www.zabbix.com/documentation/6.0/zh/manual/api/reference/host/create,需要用的参数:根据上面分析,创建...
LogFile=d:\tmp\zabbix_agentd.log #日志文件存储位置 Server=192.168.0.224 #zabbix主控端IP地址 Hostname=windows name #本监控主机的主机名可以在cmd使用hostname命令获得 ServerActive=192.168.0.224 #zabbix主控端IP地址 3、解压并启动 修改完成后用管理员身份cmd进入到解压目录,逼着这里解压在D盘的根目录下 D:...
zabbix 接口地址:https://www.zabbix.com/documentation/3.2/manual/api/reference/maintenance/object zabbix 优势在于其丰富的api功能,可以高度定制化、扩展。笔者也是在使用了1年的API中收获颇丰。在cmdb资产管理功能、微信操作控制zabbix功能、获取zabbix数据制作报表等都利用到了zabbix api。
1. Java对接Zabbix API 前提准备 zabbix对接文档地址: https://www.zabbix.com/documentation/6.4/zh/manual/api 对接Zabbix API接口需要针对对接的用户授予对应的API权限,如下图所示 使用超管账户登录zabbix 用户---> 用户,查看用户列表 点击对接的用户 ctj-jiankong,查看用户权限-->API ...
是一款广受欢迎的高效监控工具,它提供了一系列丰富的API接口,使得日常监控任务变得更加便捷。无论是查看信息、添加主机、应用监控模板,还是执行删除操作,ZABBIX API都能助您一臂之力,尤其在进行大规模监控部署时,其快速、准确的特点尤为突出。 01 准备工作:ZABBIX API调用 ...
actuator提供了一个health endpoint用于获取有关应用程序的运行状况的详细信息。官方文档地址:https://docs.spring.io/spring-boot/docs/current/actuator-api/htmlsingle/#health URL地址为 http://<ip>:<port>/actuator/health返回结果(JSON数据格式):{"status": "UP","components": {"custom": {"status":...
官方文档地址:https://docs.spring.io/spring-boot/docs/current/actuator-api/htmlsingle/#health URL地址为 http://<ip>:<port>/actuator/health 返回结果(JSON数据格式): { "status": "UP", "components": { "custom": { "status": "UP", ...