Opened 14 years ago
Closed 14 years ago
#150 closed defect (fixed)
geen hybrids in nagios - script ..../genesis/tools/yaml2nag.py
| Reported by: | huub | Owned by: | nobody |
|---|---|---|---|
| Priority: | major | Milestone: | WL-9.0-RELEASE |
| Keywords: | Cc: | ||
| Resource needed to fix: |
Description
Het script dat de nagios configuratiefile genereert uit de yaml configuratiefiles kent kennelijk nog geen 'hybrids'.
genesis/tools/yaml2nag.py
Note:
See TracTickets
for help on using tickets.

Is eigenlijk beheer/monitoring, maar als we toch bezig zijn:
rvdzwet@bunty tools]$ svn diff Index: yaml2nag.py =================================================================== --- yaml2nag.py (revision 10694) +++ yaml2nag.py (working copy) @@ -41,7 +41,7 @@ continue hostgroups = [] - if datadump['nodetype'] == 'CNode': + if datadump['nodetype'] in ['CNode', 'Hybrid']: datadump['use'] = 'host-pnp' hostgroups.append('nodes-7-2') [rvdzwet@bunty tools]$ svn ci yaml2nag.py Sending yaml2nag.py Transmitting file data . Committed revision 10695.