Ad Widget

Collapse

remove CONFIG_STAT_FILE on agentd stop

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • abi
    Member
    • Jun 2006
    • 81

    #1

    remove CONFIG_STAT_FILE on agentd stop

    hi,

    zabbix_agentd leaves its CONFIG_STAT_FILE (/tmp/zabbix_agentd.tmp)
    when stopping. See here for the full bugreport in the Debian BTS:



    i think zabbix_agentd should care about removing this file,
    not the init scripts. I've had a look at the source and it seems
    like CONFIG_STAT_FILE should be configurable within the config
    file, but these parts in the source are commented out. Not sure
    if thats wanted, however, i've added the needed parts to the
    uninit function for removing this file on agentd stop.

    The patch (also attached to the above mentioned bugreport)
    can be found here:

    http://people.debian.org/~abi/stat_file.diff

    (sorry for the wrong forum, may one please move this thread
    over to the Patch forum? Thanks!)
    Last edited by abi; 04-07-2006, 15:56.
  • abi
    Member
    • Jun 2006
    • 81

    #2
    ... opinions?

    Comment

    • Alexei
      Founder, CEO
      Zabbix Certified Trainer
      Zabbix Certified SpecialistZabbix Certified Professional
      • Sep 2004
      • 5654

      #3
      The patch is wrong. It adds new parameter but doesn't use it anywhere. I'll fix this problem today.
      Last edited by Alexei; 07-07-2006, 13:45.
      Alexei Vladishev
      Creator of Zabbix, Product manager
      New York | Tokyo | Riga
      My Twitter

      Comment

      • Alexei
        Founder, CEO
        Zabbix Certified Trainer
        Zabbix Certified SpecialistZabbix Certified Professional
        • Sep 2004
        • 5654

        #4
        New patch has been created and applied.
        Alexei Vladishev
        Creator of Zabbix, Product manager
        New York | Tokyo | Riga
        My Twitter

        Comment

        Working...