tis-checkmk-agent icon

check-mk-agent

Silent install package for check-mk-agent

2.0.0.9-0

  • package: tis-checkmk-agent
  • name: check-mk-agent
  • version: 2.0.0.9-0
  • categories: System and network
  • maintainer: Kévin Guérineau, Simon Fonteneau
  • editor: Mathias Kettner GmbH
  • target_os: redhat_based
  • architecture: all
  • signature_date:
  • size: 37.62 Ko
  • homepage : https://mathias-kettner.de/

package           : tis-checkmk-agent
version           : 2.0.0.9-0
architecture      : all
section           : base
priority          : optional
name              : check-mk-agent
categories        : System and network
maintainer        : Kévin Guérineau, Simon Fonteneau
description       : checkmk agent for Redhat based.
depends           : 
conflicts         : 
maturity          : PROD
locale            : 
target_os         : redhat_based
min_wapt_version  : 2.1
sources           : 
installed_size    : 
impacted_process  : 
description_fr    : Agent checkmk pour Redhat. ATTENTION: Crée une règle de parefeu pour ouvrir les connections entrantes sur le port TCP 6556
description_pl    : 
description_de    : 
description_es    : 
description_pt    : 
description_it    : 
description_nl    : 
description_ru    : 
audit_schedule    : 
editor            : Mathias Kettner GmbH
keywords          : monitoring
licence           : 
homepage          : https://mathias-kettner.de/
package_uuid      : 67d2bca1-5eb0-4072-b9c3-ff07783ba30f
valid_from        : 
valid_until       : 
forced_install_on : 
changelog         : 
min_os_version    : 
max_os_version    : 
icon_sha256sum    : 860a80a5e5f0b9f67a94e99c5e4b2827db031b482130696158183b578bf8e5ce
signer            : Tranquil IT
signer_fingerprint: 8c5127a75392be9cc9afd0dbae1222a673072c308c14d88ab246e23832e8c6bb
signature         : PAkICxoyR3l0f/KNVxNy8dxTn+yg9yG/Y6LSSf4kttHQNyDiBLSZp/xEodnA6SGWlTdWrmaptNbkltIq3Ms5B0ctjjoPXytT4U7jQWwByr74iOf5t+JxSou2e+HiGKqqYkYsDJPYaSNSAIv7jBd32/hmAvqUKFeBlLolZV9oXrKTdxhW7g/uqS8dqQAZiGQo3ZwyNVfxqvtwsUW0JQO57v76+lnUJaUrAtIdOmfSOO85PbxNcJ485PAKauf9YkTQXcQ0mif0CRNTiGyd56cZs8dxEL8FSEZw3SH3seG7BHklWeSOIMEARhorcWIuWjSeA7ZfcNjhCJ4lmIG43QZLug==
signature_date    : 2022-01-09T17:01:08.161492
signed_attributes : package,version,architecture,section,priority,name,categories,maintainer,description,depends,conflicts,maturity,locale,target_os,min_wapt_version,sources,installed_size,impacted_process,description_fr,description_pl,description_de,description_es,description_pt,description_it,description_nl,description_ru,audit_schedule,editor,keywords,licence,homepage,package_uuid,valid_from,valid_until,forced_install_on,changelog,min_os_version,max_os_version,icon_sha256sum,signer,signer_fingerprint,signature_date,signed_attributes

# -*- coding: utf-8 -*-
from setuphelpers import *
import socket
from string import ascii_letters
uninstallkey = []
import glob


def install():
    print('installing tis-check_mkagent')

    version_cmk = control['version'].split('-',1)[0]

    install_rpm('check-mk-agent-{}-1.noarch.rpm'.format(version_cmk))


def uninstall():
    uninstall_yum('check-mk-agent')


def update_package():
    host = "srvnagios.ad.tranquil.it"
    site = "tranquilit"
    cmk_version = '2.0.0p9'
    stripped_version = cmk_version.replace('p','.')
    filename_dl = 'check-mk-agent-{}-1.noarch.rpm'.format(cmk_version)
    filename = 'check-mk-agent-{}-1.noarch.rpm'.format(stripped_version)

    control = PackageEntry().load_control_from_wapt ('.')

    download_url = "http://{}/{}/check_mk/agents/{}".format(host,site,filename_dl)
    print('Downloading DEB from {}'.format(download_url))

    wget(download_url,filename)

    for fn in glob.glob('*.deb'):
        if fn != filename:
            remove_file(fn)

    print('Downloaded version is {}'.format(cmk_version))

    print(stripped_version)
    control.version = '{}-0'.format(stripped_version)
    control.save_control_to_wapt('.')


if __name__ == '__main__':
    update_package()

f42713aa816912458ef0ca01f0c6c35d611f3a231e4aa3c8f6ae221597a4f9b6 : setup.py
860a80a5e5f0b9f67a94e99c5e4b2827db031b482130696158183b578bf8e5ce : WAPT/icon.png
a5a97261381e1d0ad46ee15916abec9c2631d0201f5cc50ceb0197a165a0bbbf : WAPT/certificate.crt
88bc5b2944a3c1806b3fc166b4eb7bc554fca3094e2863c25c4ef6b6c3bd9556 : check-mk-agent-2.0.0.9-1.noarch.rpm
f54ab0694cb241cc67c3de661b5bb4a292d451a1ffd62a5846e13a3f7e39e88d : luti.json
29e898dd9eb302dc60390fe9b5d2e671e50e41f2fbdba0268e82bf274023782b : WAPT/control