Giter VIP home page Giter VIP logo

check_mk's People

Contributors

allangood avatar hanneslink avatar jeff-cook avatar schaeferpp avatar stano avatar wesseldr avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

check_mk's Issues

check_bind9 issue

The plugin was successfully installed (MKP package + local agent installation) But I'm unable to activate host check changes after successful check discovery. Getting that error:
"Error: Error precompiling checks for host %HOST%: Cannot find check file dns needed for check type dns

check_mk_agent test command works without any issues.

I'm using Check_MK RAW 1.2.8p11

problem with 1.2.6

hello, im using 1.2.6 atm still since some things dont work yet on 1.2.8 ur plugins do but others not.
do u still have an old file of the remote_access plugin?
that was working on version 1.2.6 since i noticed u overwrote the old one with the 1.2.8 one
screen shot of the 1.2.8 one in 1.2.6 error:

https://postimg.org/image/o6xw62von/

ty in advance

check_mk squid check broken

Hi,

I am trying to upgrade your squid check to 1.3 from 1.0 but it seems broken?
I get this error: Service discovery failed for this host: Invalid check parameter string 'squid_cpu_time'

I am using check_mk-raw-1.2.6p16 on centos 6.7

I noticed that the wato plugin is missing in the mpk file so I added it manually but then I get this error instead:

Check_MK Version: 1.2.6p16
Page: wato.py

GET/POST-Variables:
 _do_seach=Search
 _transid=1454754446/1203955784
 filled_in=search
 folder=
 mode=rulesets
 search=cpu

Traceback (most recent call last):
  File "/omd/sites/main/share/check_mk/web/htdocs/index.py", line 142, in handler
    load_all_plugins()
  File "/omd/sites/main/share/check_mk/web/htdocs/index.py", line 76, in load_all_plugins
    module.load_plugins()
  File "/omd/sites/main/share/check_mk/web/htdocs/wato.py", line 18931, in load_plugins
    load_web_plugins("wato", globals())
  File "/omd/sites/main/share/check_mk/web/htdocs/lib.py", line 212, in load_web_plugins
    execfile(file_path, globalvars)
  File "/omd/sites/main/local/share/check_mk/web/plugins/wato/check_squid.py", line 13
    ],
    ^
SyntaxError: invalid syntax

Any ideas?

isc_bind9 error

Hi!

I installed your isc_bind9 script. I copied the agent script to the agent, and it show up in services on check_mk, but when i try to apply the changes, it gives me this error:

"Failed: Error precompiling checks for host Cannot find check file dns needed for check type dns"

What kind of dns I need to install? check_dns? As far as I see it is part of the check_mk package. I tried almost everything, and nothing works. The script by the way runing fine manualy.

Thankyou in anticipation!

Regards,
Steven

Check_mk 2.00 issue

Hi!

I've just upgraded to v2.00 so as to take advantage of the new features of check_mk but the plugin does not work.. I get the error:

Unknow DFS state

Is there a workaround to make it work again?

Thank you!

Crash in check_puppet_agent.events

Can you have a look a this?

Operating System el6
Check_MK Version 1.2.8p9
Python Version 2.6.6 (r266:84292, Jul 23 2015, 15:22:56) [GCC 4.4.7 20120313 (Red Hat 4.4.7-11)]
Exception UnboundLocalError (local variable 'failures' referenced before assignment)
Traceback

 File "/omd/sites/cmk/share/check_mk/modules/check_mk_base.py", line 1468, in do_all_checks_on_host
    result = sanitize_check_result(check_function(item, params, info), check_uses_snmp(checkname))

  File "/omd/sites/cmk/local/share/check_mk/checks/check_puppet_agent.include", line 85, in check_puppet_agent_events
    if failures > crit:

Local Variables

{'crit': 5,
 'info': [[u'last_run:', u'1474546024']],
 'item': u'Events Failure',
 'line': [u'last_run:', u'1474546024'],
 'params': (2, 5),
 'warn': 2}

Only extracting last_run from last_run_summary.yaml

Hi! I've had to remove an extra space (between : and $) from those lines below on plugins/linux/mk_puppet to be able to extract values from last_run_summary.yaml:

before:
echo "${OUT}" | grep -A8 '^resources: $' | sed 's/^/resources_/g'
echo "${OUT}" | grep -A3 '^events: $' | sed 's/^/events_/g'
after:
echo "${OUT}" | grep -A8 '^resources:$' | sed 's/^/resources_/g'
echo "${OUT}" | grep -A3 '^events:$' | sed 's/^/events_/g'

My puppet version is 4.7.0.

applied configuration as metioned but getting python dump

Exception in icon plugin!
Traceback (most recent call last): File "/omd/sites/DC/share/check_mk/web/plugins/views/painters.py", line 150, in paint_icons output += icon_output TypeError: coercing to Unicode: need string or buffer, tuple found

i am a old user of guacamole and tried to use your plugin but getting above error pls guide me if i am setting it wrong

Cannot find check file dfs_state needed for check type dfs_state

When I install the packet and start using it on my Hosts
I see the following error message

OMD[master]:/tmp$ check_mk -R
Generating configuration for core (type nagios)...OK
Validating Nagios configuration...OK
Precompiling host checks...Error precompiling checks for host DFS_TEST_HOST: Cannot find check file dfs_state needed for check type dfs_state
OMD[master]:/tmp$

I'm able to resolve the issue by renaming check_dfs_state -> dfs_state

mv /omd/sites/master/local/share/check_mk/checks/check_dfs_state /omd/sites/master/local/share/check_mk/checks/dfs_state

snmp_scan function on overland checks

pls insert snmp_scan function in check_overland checks:

'snmp_scan_function':   lambda oid: oid(".1.3.6.1.2.1.1.2.0").startswith(".1.3.6.1.4.1.3351"),

thx

ibm_ts3200 broken on 1.5p15

In version 1.5p15 snmp_scan_function seems to be not functioning. This might be fixed by using snmp_info directly in the check_info part.
Just like this line, I tested, from check_ts3200_global:
'snmp_info': ( ".1.3.6.1.4.1.2.6.211", [ "2.1.0", "3.1.1.22.1", "3.1.1.23.1", "3.1.1.24.1" ] ),

However the check_ts3200_cartidges also complains about 'cartridges_severity_level' as it isn't a global defined variable.

[detect_virtual] Doesn't work with Proxmox 4.4

I testest the plugin with KVM and LXC.

KVM:
[root@omd tmp]# bash detect_virtualization
<<<lnx_detect_virtual>>>
Manufacturer :
Model : Standard PC (i440FX + PIIX, 1996)
BIOSVersion :

LXC:
root@mailer:/tmp# bash detect_virtualization
/dev/mem: No such file or directory
/dev/mem: No such file or directory
/dev/mem: No such file or directory
<<<lnx_detect_virtual>>>
Manufacturer :
Model :
BIOSVersion :
IsVirtualMachine : False

doesnt work in 1.6.0b1

Hello,
im using ur plugin for a pretty long time now and i really love em.
so my question is can this plugin be updated for 1.6.0b1

kind regards
FinalX

it does open in a shell now

hello,

is it posible to change the remote controll to not open in check_mk shell
we are using a database with loggins and when its running in a shell it does not work.
i would like to have it like before that was awesome.

can u help me out?

ty in advance

HowTo

Hello, I've installed the dfs check package and the agent plugin to the server, but whatever I'm trying I cannot find it in WATO or in the host inventory so as to enable it. Is there a howto or instructions as how to do it?

Thank you
Gregory

Crash in check_puppet_agent.lastrun

Now there is another one:
UnboundLocalError (local variable 'warn' referenced before assignment)

 File "/omd/sites/cmk/share/check_mk/modules/check_mk_base.py", line 1468, in do_all_checks_on_host
    result = sanitize_check_result(check_function(item, params, info), check_uses_snmp(checkname))

  File "/omd/sites/cmk/local/share/check_mk/checks/check_puppet_agent.include", line 64, in check_puppet_agent_lastrun
    perfdata = [('puppet_agent_lastrun',diffminutes,warn,crit)]

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.