I have the agent running on 3 servers. One of my servers has a few custom items to check that I defined in the config file. These custom items call a simple sh script that checks for the number of players on a game server and returns that number. However if the checked game server is not running, I get an unreachable status of the server doing the checking. If I shutdown the agent and comment out that custom line in the config file (or deactivate it via the zabbix web page) the server is again reachable. While in this unreachable state though, no other values are recorded. It's been kind of a pain in the butt, and I don't really understand why one item simply not returning any value would cause the entire server to appear unreachable, when in fact it is. I'm guessing I could change my sh script to always return a 0 value if no value is returned, but I'm not real good at writing scripts to do such things.
Is there any other solution? Might I have somethiing configured wrong? This isn't a huge problem, just more of an annoyance. Thank you.
Is there any other solution? Might I have somethiing configured wrong? This isn't a huge problem, just more of an annoyance. Thank you.
Comment