Find Jobs
Hire Freelancers

Custom CheckMK Plugin

$30-250 USD

Zamknięte
Opublikowano ponad 5 lat temu

$30-250 USD

Płatne przy odbiorze
I'm trying to write a custom plugin and don't understand why it's not working. I just need someone to point me in the right direction and show me what i'm doing wrong. It shouldn't take long if you know what you're doing. It's not a difficult plugin - literally just polling a specific OID and getting that output into checkMKs graph. This is currently what I have. #!/usr/bin/python # -*- encoding: utf-8; py-indent-offset: 4 -*- # +------------------------------------------------------------------+ # | ____ _ _ __ __ _ __ | # | / ___| |__ ___ ___| | __ | \/ | |/ / | # | | | | '_ \ / _ \/ __| |/ / | |\/| | ' / | # | | |___| | | | __/ (__| < | | | | . \ | # | \____|_| |_|\___|\___|_|\_\___|_| |_|_|\_\ | # | | # | Copyright Mathias Kettner 2014 mk@[login to view URL] | # +------------------------------------------------------------------+ # # This file is part of Check_MK. # The official homepage is at [login to view URL] # # check_mk is free software; you can redistribute it and/or modify it # under the terms of the GNU General Public License as published by # the Free Software Foundation in version 2. check_mk is distributed # in the hope that it will be useful, but WITHOUT ANY WARRANTY; with- # out even the implied warranty of MERCHANTABILITY or FITNESS FOR A # PARTICULAR PURPOSE. See the GNU General Public License for more de- # tails. You should have received a copy of the GNU General Public # License along with GNU Make; see the file COPYING. If not, write # to the Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, # Boston, MA 02110-1301 USA. import re def parse_raisecom_y1731_delay_avg(info): parsed = {} for item in info: item = [login to view URL](r'\d+', str(item)) parsed = int(item[0]) return parsed def inventory_raisecom_y1731_delay_avg(parsed): # print("Starting Inventory") # print(parsed) # print(check_raisecom_y1731_delay_avg(None, None, parsed)) return check_raisecom_y1731_delay_avg(None, parsed, parsed) def check_raisecom_y1731_delay_avg(item, params, parsed): if parsed: state = 0 print("Yielding parsed results") print(parsed) yield state, parsed, parsed, parsed # This check works on all SNMP hosts check_info["raisecom_y1731_delay_avg"] = { 'check_function': check_raisecom_y1731_delay_avg, 'inventory_function': inventory_raisecom_y1731_delay_avg, 'parse_function': parse_raisecom_y1731_delay_avg, 'service_description': 'raisecom_y1731_delay_avg', 'snmp_info': ('.1.3.6.1.4.1.[login to view URL]', '1'), 'snmp_scan_function': lambda oid: oid(".1.3.6.1.2.1.1.1.0") is not None, }
Identyfikator projektu: 18248645

Informację o projekcie

4 ofert
Zdalny projekt
Aktywny 5 lat temu

Szukasz sposobu na zarobienie pieniędzy?

Korzyści ze składania ofert na Freelancer.com

Ustal budżet i ramy czasowe
Otrzymuj wynagrodzenie za swoją pracę
Przedstaw swoją propozycję
Rejestracja i składanie ofert jest bezpłatne
4 freelancerzy składają oferty o średniej wysokości $124 USD dla tej pracy
Awatar Użytkownika
typing.. ............... .................
$155 USD w 3 dni
4,9 (42 opinii)
6,6
6,6
Awatar Użytkownika
Hello, I am a Technical Developer working on following Technologies :- #- Basic Skills(HTML5,CSS3,Bootstrap4,AJAX, Javascript, jQuery / Prototype) #- CMS(WordPress, Prestashop, Shopify) #- MEAN STACK #- MVC(Laravel,CodeIgniter,Django) #- Web Scraping(PHP, Python, Googlesheet) #- Data Management(MYSQL, MSSQL, SQLite, PostgreSQL, MongoDB) #- Preferred Backend Language(PHP, Python, NodeJS, Django) #- Database(MySQL, Sqlite, MongoDB) I am mastering *English* course and sure that you will be utilizing my professional and technical skills developed through past work experiences. Feel free to contact me anytime. Thank you a lot.
$155 USD w 3 dni
5,0 (6 opinii)
4,4
4,4
Awatar Użytkownika
Please award me, i will start asap. My portfolio: https://www.freelancer.com/u/sipher69 Im skilled in Python, C#, Javascript, Java, Photoshop, Illustrator, After Effects, Premiere Pro, Muse, InDesign, Corel Suite, Xara, Unity, PHP, HTML, MySQL, MongoDB, Linux server
$30 USD w 1 dzień
5,0 (3 opinii)
3,0
3,0
Awatar Użytkownika
Hi, I just came across your post and I wanted to reach out. My name is Moafa and I am a full-time professional web developer and designer. I have been building and maintaining sites for over 10 years and I am versed in multiple platforms and programming languages. As a freelancer, I pride myself on being reliable, communicative, and affordable. I have worked on a multitude of projects from big to small so there is not much I cant handle. I’m well aware of the overwhelming amount of responses you will be receiving so I will keep mine short. I have listed some of my previous work for you to review and would greatly appreciate being considered for your project. I am also more than happy to answer any questions you might have. Thank you for your time.
$155 USD w 3 dni
0,0 (1 opinia)
0,0
0,0

O kliencie

Flaga UNITED STATES
Maple Falls, United States
5,0
1
Zweryfikowana metoda płatności
Członek od kwi 10, 2018

Weryfikacja Klienta

Dziękujemy! Przesłaliśmy Ci e-mailem link do odebrania darmowego bonusu.
Coś poszło nie tak podczas wysyłania wiadomości e-mail. Proszę spróbować ponownie.
Zarejestrowani Użytkownicy Całkowita Liczba Opublikowanych Projektów
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Wczytywanie podglądu
Udzielono pozwolenia na Geolokalizację.
Twoja sesja logowania wygasła i zostałeś wylogowany. Proszę, zalogować się ponownie.