Ad Widget

Collapse

Zabbix 1.1.2 on CentOS 4.4

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • agehring
    Member
    • Oct 2006
    • 49

    #1

    Zabbix 1.1.2 on CentOS 4.4

    Zabbix is reporting the inetd is NOT running.

    it is.. at least xinetd

    Know problem?

    Resolution?

    Thanks
  • James Wells
    Senior Member
    • Jun 2005
    • 664

    #2
    Greetings,

    Not really a bug. The Zabbix Agent(d) is checking for the for a running process called inetd, which is the traditional name for the inet super server, not xinetd, which is a redhatism.
    Unofficial Zabbix Developer

    Comment

    • agehring
      Member
      • Oct 2006
      • 49

      #3
      Is there a "work around'?

      Comment

      • James Wells
        Senior Member
        • Jun 2005
        • 664

        #4
        The best work around at present is to create an item with the key proc.num[xinetd] and for the trigger use {HOSTroc.num[xinetd].last(0)}#1
        Unofficial Zabbix Developer

        Comment

        • agehring
          Member
          • Oct 2006
          • 49

          #5
          Thanks for you help.

          Before I saw your reply, I modified the linux.c and unknown.c in /src/libs/zbxsysinfo directory to include the following:

          {"proc.num", CF_USEUPARAM, PROC_NUM, 0, "xinetd,,,"},
          {"proc.mem", CF_USEUPARAM, PROC_MEMORY, 0, "xinetd,,"},


          Recompiled, then added a item and a trigger identical to inetd, and disabled inetd for that host.

          Is it nessecary to modify the linux.c?

          it works, but I'm wondering if the C mods are nessecary (maintaing code and all of that)

          Thanks

          Comment

          • James Wells
            Senior Member
            • Jun 2005
            • 664

            #6
            Originally posted by agehring
            {"proc.num", CF_USEUPARAM, PROC_NUM, 0, "xinetd,,,"},
            {"proc.mem", CF_USEUPARAM, PROC_MEMORY, 0, "xinetd,,"},
            These changes, basically only affect the pretend mode for the Zabbix Agent(d). This is when you are running the agent with the -p argument. With your change, it will show the correct information for xinetd while running in pretend mode, but doesn't really affect anything else.
            Unofficial Zabbix Developer

            Comment

            Working...