Ad Widget

Collapse

Active checks - case sensitive hostname

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • mbrijun
    Member
    • Mar 2006
    • 63

    #1

    Active checks - case sensitive hostname

    Hello,

    today I have run into an issue that the other members discovered a while ago. If the server name is given in caps on the database, and in lower case in the zabbix_agentd.conf, then the active checks do not work. I did a bit of research and discovered a feature request which was apparently closed on Aug 26, 2011. The release notes of 1.8.8rc1 do not contain this reference.



    Below are some facts about my installation:

    Server ver. = 1.8.7, agent ver. = 1.6.6.

    First, the case is mismatched. The agent receives an empty dataset, although the response is a "success".

    Code:
      2152:20110908:124727 Sending [{
    	"request":"active checks",
    	"host":"gmswa"}]
      2152:20110908:124727 Before read
      2152:20110908:124728 Got [{
    	"response":"success",
    	"data":[]}]
      2152:20110908:124728 In parse_list_of_checks() [{
    	"response":"success",
    	"data":[]}]
    In this case there is no mismatch. The data is received properly.

    Code:
      6112:20110908:123745 Sending [{
    	"request":"active checks",
    	"host":"GMSWA"}]
      6112:20110908:123745 Before read
      6112:20110908:123745 Got [{
    	"response":"success",
    	"data":[
    		{
    			"key":"vfs.fs.size[c:,free]",
    			"delay":"180",
    			"lastlogsize":"0",
    			"mtime":"0"}]}]
      6112:20110908:123745 In parse_list_of_checks() [{
    	"response":"success",
    	"data":[
    		{
    			"key":"vfs.fs.size[c:,free]",
    			"delay":"180",
    			"lastlogsize":"0",
    			"mtime":"0"}]}]
Working...