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: debian_based
  • architecture: all
  • signature_date:
  • size: 36.35 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 Debian.
depends           : 
conflicts         : 
maturity          : PROD
locale            : 
target_os         : debian_based
min_wapt_version  : 2.1
sources           : 
installed_size    : 
impacted_process  : 
description_fr    : Agent checkmk pour Debian. 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      : 08ba9733-bd3e-45f5-879a-92aaa0670561
valid_from        : 
valid_until       : 
forced_install_on : 
changelog         : 
min_os_version    : 
max_os_version    : 
icon_sha256sum    : 860a80a5e5f0b9f67a94e99c5e4b2827db031b482130696158183b578bf8e5ce
signer            : Tranquil IT
signer_fingerprint: 8c5127a75392be9cc9afd0dbae1222a673072c308c14d88ab246e23832e8c6bb
signature         : fKGZwyW2N1sxk0hpDGePkf+zXuY0OWlh7I7ZInYI2trSeP8Y8hNYczSdSQxnr5ABB/nwbPp9BjlTpsPh3PTZgWvxrqBWMz57Mfa0b+Isx+jqdXZi6fDB67QL0EAvFM+COScU+yoX+22MAEek3kme0t4i9IVdu2vbSRYmwTgb+gHiegEXLnmTMPEic9rC15VXf1vi+6swYqDkUTIK5D5xacpGYoyQnzb9oDK3/0JhbosexMa5dDCc/7PpMLRA4M463mrKONAAKQuynRCytv9NGLOCGo5Je3aTHZnj6M9gkpjHOHIVmeZ7bkxTG0RQItxCqKUoyM6jmO0wokaFk7VFfw==
signature_date    : 2022-01-09T17:00:11.658682
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_deb('check-mk-agent_{}-1_all.deb'.format(version_cmk))


def uninstall():
    uninstall_apt('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_all.deb'.format(cmk_version)
    filename = 'check-mk-agent_{}-1_all.deb'.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()

c7bbad27fc0d723a45cdf79a04d7659dcd054ffee48be9503413df5503498de9 : setup.py
1a9817cb6bd33ac16bd6e6c8ea2aa5f598238bc67210295d204fccebc7b87e1f : check-mk-agent_2.0.0.9-1_all.deb
860a80a5e5f0b9f67a94e99c5e4b2827db031b482130696158183b578bf8e5ce : WAPT/icon.png
a5a97261381e1d0ad46ee15916abec9c2631d0201f5cc50ceb0197a165a0bbbf : WAPT/certificate.crt
84778af7ea78fbb98481f152ca465ee8219a60cb9349544d5d79bb159e43e82f : luti.json
97ca2a11ae5abb5cc1c06cf066a0563d011074f3be656bdbc2cd16cae007badd : WAPT/control