Skip to content

pynag (0.9.1) #12

@myereach

Description

@myereach

Hi,
It seem pynag has some changes and the following code can not work now
self.command_file = Model.Control.Command.find_command_file(config['nagios_main_cfg'])
.......
Model.Control.Command.restart_program(command_file=self.command_file)

I have to change them as the following to make work.

self.command_file = Control.Command.find_command_file(config['nagios_main_cfg'])
.......
Control.Command.restart_program(command_file=self.command_file)

If anyone encounter the same problem, maybe it helps

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions