First time Zabbix user, but long time in IT. I have Zabbix up and running, and any Windows host is being discovered and added to a host group of 'Windows Servers' and that's working well.
Here's what is not working:
I have a 2nd discovery rule setup - this discovery rule is setup to look at the following:
<same subnet as discovery rule #1>
Checks:
The idea is that if the RDS role on a Windows server is installed, then it should return 'Remote Desktop Services' from that query on the 2nd check. The hostname is important because in my environment, we have several services running RDS, but I only need the info from a server named server-app01
I can see the discovery happen when I watch the Monitoring->Discovery tab so it seems to be working ok.
The Action is setup as follows:
Conditions A Received value equals Remote Desktop Services
With an Operation of Add to host groups: Remote_Desktop_Services_Servers
No hosts are being added to the Remote_Desktop_Services_Servers and round and round we go.
I have tried an action with a condition saying Received value contains Remote or Received value contains remote and all kinds of variations of this.
What am I doing wrong? Are there logs I can look at/tail on the server to see what's exactly going on with discovery and/or the action rules?
Any and all help would be much appreciated! Thanks in advance for any help offered!
Here's what is not working:
I have a 2nd discovery rule setup - this discovery rule is setup to look at the following:
<same subnet as discovery rule #1>
Checks:
| Zabbix agent "agent.hostname" Zabbix agent "wmi.get[root\cimv2,Select Name From Win32_ServerFeature where Id=18]" |
The idea is that if the RDS role on a Windows server is installed, then it should return 'Remote Desktop Services' from that query on the 2nd check. The hostname is important because in my environment, we have several services running RDS, but I only need the info from a server named server-app01
I can see the discovery happen when I watch the Monitoring->Discovery tab so it seems to be working ok.
The Action is setup as follows:
Conditions A Received value equals Remote Desktop Services
With an Operation of Add to host groups: Remote_Desktop_Services_Servers
No hosts are being added to the Remote_Desktop_Services_Servers and round and round we go.
I have tried an action with a condition saying Received value contains Remote or Received value contains remote and all kinds of variations of this.
What am I doing wrong? Are there logs I can look at/tail on the server to see what's exactly going on with discovery and/or the action rules?
Any and all help would be much appreciated! Thanks in advance for any help offered!
Comment