Project

General

Profile

Tâche #23667

Scénario #9558: Mettre à niveau l'agent de surveillance de l'état des disques

Faire fonctionner l'agent Zéphir proposé

Added by Joël Cuissinat over 2 years ago. Updated over 2 years ago.

Status:
Résolu
Priority:
Normal
Assigned To:
Target version:
-
Start date:
04/19/2018
Due date:
% Done:

100%

Estimated time:
3.00 h
Spent time:
Remaining (hours):
0.25

Description

En l'état, il empêche le lancement du service :o

root@amon:/usr/share/zephir/monitor# /usr/bin/twistd --nodaemon --no_save --pidfile /run/z_stats.pid zephiragents --tmp=data --data=stats --archive=/tmp --static=static --actions=actions
Traceback (most recent call last):
  File "/usr/bin/twistd", line 18, in <module>
    run()
  File "/usr/lib/python2.7/dist-packages/twisted/scripts/twistd.py", line 29, in run
    app.run(runApp, ServerOptions)
  File "/usr/lib/python2.7/dist-packages/twisted/application/app.py", line 617, in run
    runApp(config)
  File "/usr/lib/python2.7/dist-packages/twisted/scripts/twistd.py", line 25, in runApp
    _SomeApplicationRunner(config).run()
  File "/usr/lib/python2.7/dist-packages/twisted/application/app.py", line 348, in run
    self.application = self.createOrGetApplication()
  File "/usr/lib/python2.7/dist-packages/twisted/application/app.py", line 408, in createOrGetApplication
    ser = plg.makeService(self.config.subOptions)
  File "/usr/lib/python2.7/dist-packages/zephir/monitor/agentmanager/zephir_tap.py", line 49, in makeService
    return ZephirService(config,serve_static=True).with_updater_and_publisher()
  File "/usr/lib/python2.7/dist-packages/zephir/monitor/agentmanager/zephirservice.py", line 85, in with_updater_and_publisher
    self.updater = UpdaterService(self.config, self, self.root_resource)
  File "/usr/lib/python2.7/dist-packages/zephir/monitor/agentmanager/zephirservice.py", line 110, in __init__
    self.agents = self.load_agents()
  File "/usr/lib/python2.7/dist-packages/zephir/monitor/agentmanager/zephirservice.py", line 158, in load_agents
    execfile(f, globals(), h)
  File "./configs/smart.agent", line 18, in <module>
    config_period_alerts = client.creole_get('smartmontools_period_alerts')
AttributeError: 'CreoleClient' object has no attribute 'creole_get'

Associated revisions

Revision af994885 (diff)
Added by Joël Cuissinat over 2 years ago

Correction de l'agent Zéphir "smart"

Ref: #23667

History

#1 Updated by Joël Cuissinat over 2 years ago

  • Status changed from Nouveau to Résolu
  • Assigned To set to Joël Cuissinat
  • % Done changed from 0 to 100
  • Remaining (hours) changed from 3.0 to 0.25

Also available in: Atom PDF