Find Jobs
Hire Freelancers

Custom CheckMK Plugin

$30-250 USD

已关闭
已发布超过 5 年前

$30-250 USD

货到付款
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, }
项目 ID: 18248645

关于此项目

4提案
远程项目
活跃5 年前

想赚点钱吗?

在Freelancer上竞价的好处

设定您的预算和时间范围
为您的工作获得报酬
简要概述您的提案
免费注册和竞标工作
4威客以平均价$124 USD来参与此工作竞价
用户头像
typing.. ............... .................
$155 USD 在3天之内
4.9 (42条评论)
6.6
6.6
用户头像
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 在3天之内
5.0 (6条评论)
4.4
4.4
用户头像
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 在1天之内
5.0 (3条评论)
3.0
3.0
用户头像
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 在3天之内
0.0 (1条评论)
0.0
0.0

关于客户

UNITED STATES的国旗
Maple Falls, United States
5.0
1
付款方式已验证
会员自4月 10, 2018起

客户认证

谢谢!我们已通过电子邮件向您发送了索取免费积分的链接。
发送电子邮件时出现问题。请再试一次。
已注册用户 发布工作总数
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
加载预览
授予地理位置权限。
您的登录会话已过期而且您已经登出,请再次登录。