在我们的实验室中,我们目前使用两个系统来远程监控敏感数量等:
Icinga2,作为监视系统,从称为Watchdog的日志记录DAQ中读取数据,并在测量值超过用户定义的阈值时创建警报;
Graphite绘制来自Carbon的数据,通过网络或其他方式(保存在磁盘上)并将其存储到网页上,以便远程访问.
到目前为止,我们只能让Icinga2 写入 Graphite上收到的任何内容,以便我们可以看到它.
是否可以从Graphite中读取 Icinga2 ?
还有其他程序直接向Graphite写入内容,并且无法通过DAQ Watchdog从Icinga读取(缺少端口).
理想情况下,我们希望在Graphite上创建警报(Icinga2可以做到).
我有几十个设备需要使用 API 脚本登录。一组设备的密码以 $ 结尾。我已经尝试了很多东西,但我似乎无法摆脱那个 $ 字符。这是我看到的错误。
critical/config: Error: Validation failed for object 'gelt-uk4-gp!HTTP/80: Status Check ' of type 'Service'; Attribute 'vars' -> 'gspass': Closing $ not found in macro format string 'n0t-real#$'.
Location: in /etc/icinga2/zones.d/global-templates/global-services.conf: 55:5-55:31
/etc/icinga2/zones.d/global-templates/global-services.conf(53): if ( host.vars.company == "gelt-emea" ) {
/etc/icinga2/zones.d/global-templates/global-services.conf(54): vars.gsuser = "admin"
/etc/icinga2/zones.d/global-templates/global-services.conf(55): vars.gspass = "n0t-real#$"
^^^^^^^^^^^^^^^^^^^^^^^^^^^
Run Code Online (Sandbox Code Playgroud)