Prafull Warade | 21 Apr 08:44 2016

Re: [Check_mk (english)] Check_mk configuration with common storrage.

Hi ,

Can someone share the key to configure this setup??



On Fri, Apr 15, 2016 at 3:43 PM, Prafull Warade <prafull.warade-S+2EEftrWX4i8rCdYzckzA@public.gmane.org> wrote:
Hi,

I want to configure check_mk server on two different servers which has the common storage.

Please help me in configuring it.

Kindly share any links or doc from which i can make it work

Thanks
Prafull


_______________________________________________
checkmk-en mailing list
checkmk-en@...
http://lists.mathias-kettner.de/mailman/listinfo/checkmk-en
Rick Kohrs | 20 Apr 18:29 2016
Picon

[Check_mk (english)] Multiple rules for a user

New check_mk user here.
We have multiple hosts sending messages.
I want to setup 2 rules for a single user.
The first would be to send e-mails for all messages coming from a single host.
The second rule would send e-mails for a different host and certain services.

I'm not understanding the flow. Do all messages go through both rules or does the first rule act as a filter for the second rule and only e-mail messages are sent for the second rule.
_______________________________________________
checkmk-en mailing list
checkmk-en@...
http://lists.mathias-kettner.de/mailman/listinfo/checkmk-en
Stephen Berg (Contractor | 20 Apr 16:59 2016
Picon

[Check_mk (english)] df sees incorrect mountpoint for NFS shared filesystem

Sent this to feedback but haven't gotten any response.  Can anyone shed some light on this issue?


-------- Forwarded Message -------- Subject: Date: From: To:
[Bug]: df sees incorrect mountpoint for NFS shared filesystem
Fri, 25 Mar 2016 05:10:40 -0500
Stephen Berg (Contractor) <stephen.berg.ctr-VnSJq/sOXly5jOOfXgogbA@public.gmane.org>
feedback-7UdbT41UENVg9hUCZPvPmw@public.gmane.org


Had this problem for quite awhile now, still haven't found a solution. We use NFS automounts quite extensively here. Lot's of filesystems that show up (to the user's) as /u/something. On the system where the filesystem exists it will be available as /u/something and also /export/something. If the /u/something mount point is mounted on a system where it's hosted it suddenly can't see the /export/something mount point and that service goes into an UNKN state. I've added: ignored_services = [ ( ALL_HOSTS, [ "fs_/u/" ] ), to my main.mk. But that doesn't seem to get it to see the local mount point when check_mk_agent runs. I think it's because the agent see the bind mount and ignores the actual mount point in it's df output. For instance on one system where I have this issue this is in /proc/mounts: /dev/mapper/732254-common /export/new_common xfs rw,relatime,attr2,inode64,sunit=1024,swidth=3072,noquota 0 0 auto.direct /common autofs rw,relatime,fd=19,pgrp=14066,timeout=300,minproto=5,maxproto=5,direct 0 0 /dev/mapper/732254-common /common xfs rw,relatime,attr2,inode64,sunit=1024,swidth=3072,noquota 0 0 That filesystem is local on /export/new_common, but via the automounter it's seen as /common. The system was inventoried when it only saw it as /export/common so now the "fs_/export/new_common" service is UNKN even though it's just fine. Not really sure if I should be tweaking something in the agent, the server or both. -- Stephen Berg Systems Administrator NRL Code: 7320 Office: 228-688-5738 stephen.berg.ctr-VnSJq/sOXly5jOOfXgogbA@public.gmane.org
-- Stephen Berg Systems Administrator NRL Code: 7320 Office: 228-688-5738 stephen.berg.ctr-VnSJq/sOXly5jOOfXgogbA@public.gmane.org

_______________________________________________
checkmk-en mailing list
checkmk-en@...
http://lists.mathias-kettner.de/mailman/listinfo/checkmk-en
Wilke Alexander | 19 Apr 07:59 2016
Picon

[Check_mk (english)] problems with individual program call

Dear all,

 

Sometimes we do not get data from the individual program call instead of agent. It is working for month now, but now it fails and only works again after a restart of the omd.

Currently we are using cee 1.2.8b7.

 

When I try the same command on the shell of the checkMK user, it is working fine. Seems only the cmc stops using the command.

 

The command called:

echo '<<<uhp1000_ss30>>>' && wget -O - http://<IP>/ss30 | html2text | grep -v '^$' && echo '<<<uhp1000_ss34>>>' && wget -O - http://<IP>/ss34 | html2text | grep -v '^$'

 

Does anyone have an idea what might cause the core to stop issuing the command?

 

BTW, it does not matter how fast the web interface is responding. It happened on local LAN as well as over satellite link.

 

Alexander Wilke

 

Project Engineer Operations

 

IABG mbh

Digital Assurance - Teleport

Einsteinstrasse 20

D-85521 Ottobrunn, Germany

 

Phone: +49 89 6088 2616   

Fax  : +49 89 6088 132616

XMPP: wilke <at> teleport-iabg.de

Email: wilke <at> iabg.de

 

Visit us at:  http://www.teleport-iabg.de

 

Phone NOC:    +49 89 6659 20 56

Email NOC:    noc <at> teleport-iabg.de

NOC Chat (skype):     teleport-iabg

 


Industrieanlagen-Betriebsgesellschaft mbH

Sitz der Gesellschaft: Ottobrunn, Registergericht: Amtsgericht München, HRB 5499
Geschäftsführung: Prof. Dr.-Ing. Rudolf F. Schwarz
Vorsitzender des Aufsichtsrats: RA Engelbert Kupka MdL a.D.
_______________________________________________
checkmk-en mailing list
checkmk-en@...
http://lists.mathias-kettner.de/mailman/listinfo/checkmk-en
Prafull Warade | 19 Apr 06:32 2016

[Check_mk (english)] Event console replication

I was trying to follow this and configure but not able to locate the said links, screens and items as mentioned in the document.
Please help.
I am using OMD  1.6.2p16.cre and Check_MK is RAW  1.6.2p16

Thanks
Prafull
_______________________________________________
checkmk-en mailing list
checkmk-en@...
http://lists.mathias-kettner.de/mailman/listinfo/checkmk-en
Marcel Schulte | 18 Apr 17:32 2016
Picon

Re: [Check_mk (english)] UNKNOWN Error getting data from agent

I think you should first read about some things yourself:
http://mathias-kettner.com/checkmk.html

Here you'll find information about the agent, local checks, plugins, mrpe, writing checks and more...

Regards,
Marcel

Am 18.04.2016 17:25 schrieb "Alejandro Olivan Alvarez" <alejandro.olivan.alvarez-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>:
>
> WOW!!!!
>
> I think its time to stop, break, halt ....and recall info... it is
> gettin hot now.... /usr/lib/check_mk_agent/plugins ?!?!?!
> that sounds very familiar to my munin world!!!
>
> Until now, I assumed check_mk_agent was a long script, that was called
> by check_mk and that was able to provid info back.
> Plugins, on the other hand was Nagios stuff...
>
> To me, this meant thinking absolutely on the contrary to munin, where
> munin-node agent is totally useless unless you populate its plugins
> folder with all and every plugins you want it to run every time
> munin server connects in, and fetches info (munin plugins were scripts,
> that could be written in any scripting language, and could be run
> directly on the prompt, or tested with the munin-run command).
>
> Now, you tell me there is a certain path, were (I guess plugins) have to
> be put (or linked I suppose) for check_mk_agent... this, unleashes a ton
> of questions!
>
> Does this means that the check_mk_agent works in two ways at the
> same time: running its "main" script and runnin external plugins? Where
> are those plugins located?, are they common or OS dependant?, Are they
> related or independant of Nagios plugins? when are they run? Is there a
> relation between the GUI "manual check" plugins long list and the
> available plugins? why could I add a "manual check" for lnx_if plugin
> (and it worked) and why apache_status plugin does not?
>
> Sorry for so many questions... but I think this is getting really close
> to the core matter of the thing...
>
> Thank you so much guys!!!
>
> On Mon, 18 Apr 2016 14:59:36 +0000
> Marcel Schulte <schulte.marcel-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:
>
> > And here's the other thread ;)
> >
> > Why did you do it with manual check? Usually you have to put the
> > apache_status in the plugins folder of the agent (most likely
> > /usr/lib/check_mk_agent/plugins/ and simply discover the host.
> >
> > If this does not work check what the plugin puts out if executed as
> > root user.
> >
> > Regards,
> > Marcel
> >
> > Alejandro Olivan Alvarez <alejandro.olivan.alvarez-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> schrieb
> > am Mo., 18. Apr. 2016 16:52:
> >
> > > Hi list...
> > >
> > > I'm tryng to monitor the apache server that runs on the
> > > nagios/check_mk server itself.
> > >
> > > Being a complete noob, and after googling around, I managed to
> > > define a "manual check" for the specific host.
> > > After applying changes, the host shows a new service on the lists.
> > >
> > > Problem is, it doesn't show apache related stuff, but instead, at
> > > the inventory list there appear the following entry in the "Manual
> > > services (defined in main.mk)" table:
> > >
> > > UNKN    apache_status   127.0.0.1:80    Apache
> > > 127.0.0.1:80 Status     Error getting data from agent
> > >
> > > What am I missing? What does that means? If the host has the
> > > check_mk agent deb package installed... why the agent does not
> > > presents data?
> > >
> > > Does the agent needs aditional setup in order to perform "extra"
> > > tasks such as apache monitoring? (in munin world, the munin-node
> > > agent had to be configured with plugins, as it did anything by
> > > itself, but the check_mk agent instead seems to be a long script,
> > > OS specific, capable of perform everything on its own).
> > > I have read about "local" plugins, and it seems to be a folder with
> > > that name, but it is unclear wether the user has to manually put
> > > scripts on it, manually link them (as we do in munin), or let
> > > check_mk take care of it automagically... I thing I'm missing
> > > exactly how this works
> > >
> > > Thank you guys and best regards!!!
> > > _______________________________________________
> > > checkmk-en mailing list
> > > checkmk-en-qhrM8SXbD5JpaB0eVFyvwnWFp+d4uDoM@public.gmane.org
> > > http://lists.mathias-kettner.de/mailman/listinfo/checkmk-en
> > >
>

_______________________________________________
checkmk-en mailing list
checkmk-en@...
http://lists.mathias-kettner.de/mailman/listinfo/checkmk-en
UPF Poblenou | 18 Apr 17:01 2016
Picon

[Check_mk (english)] Problems with Classical active and passive Nagios checks

Dear all,


I have created custom checks via WATO -> Host & Service Parameters -> Active checks -> Classical active and passive Nagios checks.  For Debian and Ubuntu servers, there is not any problem, but for Fedora and CentOS, these checks do not work fine.

 

For example, when I start or stop fail2ban service, the custom check is always in critical state, while if I run locally the command line of this check in the server or the Nagios plugin is called via MRPE, it works fine.


Someone knows how to solve it? I am interested to manage all checks using the web interface, therefore MRPE is not the best solution.

 

Thank you.

 


Regards,

 

 



Christine

_______________________________________________
checkmk-en mailing list
checkmk-en@...
http://lists.mathias-kettner.de/mailman/listinfo/checkmk-en
Alejandro Olivan Alvarez | 18 Apr 16:51 2016
Picon

[Check_mk (english)] UNKNOWN Error getting data from agent

Hi list...

I'm tryng to monitor the apache server that runs on the nagios/check_mk
server itself.

Being a complete noob, and after googling around, I managed to define a
"manual check" for the specific host.
After applying changes, the host shows a new service on the lists.

Problem is, it doesn't show apache related stuff, but instead, at the
inventory list there appear the following entry in the "Manual services
(defined in main.mk)" table:

UNKN	apache_status	127.0.0.1:80	Apache
127.0.0.1:80 Status	Error getting data from agent

What am I missing? What does that means? If the host has the check_mk
agent deb package installed... why the agent does not presents data?

Does the agent needs aditional setup in order to perform "extra" tasks
such as apache monitoring? (in munin world, the munin-node agent had
to be configured with plugins, as it did anything by itself, but the
check_mk agent instead seems to be a long script, OS specific, capable
of perform everything on its own).
I have read about "local" plugins, and it seems to be a folder with
that name, but it is unclear wether the user has to manually put scripts
on it, manually link them (as we do in munin), or let check_mk take
care of it automagically... I thing I'm missing exactly how this works

Thank you guys and best regards!!!
Marcel Schulte | 18 Apr 14:32 2016
Picon

Re: [Check_mk (english)] WAITING - Active check, cannot be done offline

You're watching the discovery page. That's different to the list of a host's service actually checked. After you save the configuration at discovery page you have to apply changes to get the services monitored.

Counter based checks need at least 2 checks to output anything, that's why they show "cannot be done offline". After activation of changes those services are pending for 2-3 check cycles because of that. But whenever you show the discovery page again, they're shown as "cannot be done offline" because the discovery does not execute checks multiple times.

For the hw/sw inventory... This active check does show output at discovery page here. What's your "failing" host using as OS? And how is it monitored (cmk agent or SNMP)?

Regards,
Marcel


Alejandro Olivan Alvarez <alejandro.olivan.alvarez-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> schrieb am Mo., 18. Apr. 2016 um 14:17 Uhr:
Hi, thank you for your help...

I just installed everything last week using sources and tar.gz so I
think everything is up to date. Check_mk is 1.2.6p16.
I thing there are not pending changes to activate... check_mk is great
in that aspect... the GUI remembers me to activate changes whenever I
do something...

...So, without no activation pending, those messages mean something,
and I guess it is something interesting.

I do not understand whats beyond "checks are also executed on inventory
page..." you mentioned, I'm missing something obvious probably.
The page where I see those messages is the WATO one where you can
check/uncheck available services in the "Already configured services"
table.
There appear other tables, chithout checkboxes, "Active Checks" and
"Manual services (defined in main.mk)" tables, for instance.

My nagios host has the following entries on the Already configured
services" table:

PEND    diskstat        SUMMARY Disk IO SUMMARY
WAITING - Counter based check, cannot be done offline

PEND    kernel  Context Switches        Kernel Context
Switches        WAITING - Counter based check, cannot be done offline

PEND    kernel  Major Page Faults       Kernel Major Page
Faults  WAITING - Counter based check, cannot be done offline

PEND    kernel  Process Creations       Kernel Process
Creations       WAITING - Counter based check, cannot be done offline


While the "Active checks" table has the following

PEND    cmk_inv Check_MK HW/SW Inventory        Check_MK
HW/SW Inventory WAITING - Active check, cannot be done offline


The problem is I do not understand what check_mk is trying to tell to
me with constantly complaining "cannot be done offline"

Thank you for your help!


On Mon, 18 Apr 2016 11:48:18 +0000
Marcel Schulte <schulte.marcel-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:

> Hi Alejandro,
>
> I asuume you're using 1.2.4 or earlier, where active checks are not
> executed until you have applied changes. At least since 1.2.6 active
> checks are also executed (and their output shown) on inventory page
> where you see the messages you mentioned.
>
> BTW: it's always a good idea to tell your used versions with every
> request
> - that makes helping easier.
>
> HTH,
> Marcel
>
> Alejandro Olivan Alvarez <alejandro.olivan.alvarez-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> schrieb
> am Mo., 18. Apr. 2016 um 13:39 Uhr:
>
> > Hi list...
> >
> > I'm tryng to google the meaning of this message but I'm not finding
> > understandable information with my limited knoledge.
> >
> > I'm having this message for kernel, diskstat, and cmk_inv services
> > on the host definition that currently hosts nagios + check_mk
> >
> > Other services are OK, and returning values normally, so I'm missing
> > why those particular ones refuse to work and are stuck at PENDING
> > state...
> > I suspect this errors hides interesting things to learnabout
> > check_mk innards...
> >
> > Hope you can give me some clue!
> > Thank you all in advance, best regards!
> > _______________________________________________
> > checkmk-en mailing list
> > checkmk-en-qhrM8SXbD5JpaB0eVFyvwnWFp+d4uDoM@public.gmane.org
> > http://lists.mathias-kettner.de/mailman/listinfo/checkmk-en
> >

_______________________________________________
checkmk-en mailing list
checkmk-en@...
http://lists.mathias-kettner.de/mailman/listinfo/checkmk-en
Alejandro Olivan Alvarez | 18 Apr 13:37 2016
Picon

[Check_mk (english)] WAITING - Active check, cannot be done offline

Hi list...

I'm tryng to google the meaning of this message but I'm not finding
understandable information with my limited knoledge.

I'm having this message for kernel, diskstat, and cmk_inv services on
the host definition that currently hosts nagios + check_mk

Other services are OK, and returning values normally, so I'm missing
why those particular ones refuse to work and are stuck at PENDING
state...
I suspect this errors hides interesting things to learnabout check_mk
innards...

Hope you can give me some clue!
Thank you all in advance, best regards! 
Alejandro Olivan Alvarez | 18 Apr 13:16 2016
Picon

[Check_mk (english)] Acknowledge/dismiss WARNs... possible or dumb idea?

Hi list!

Continuing my learning on check_mk I find that there probably is an
elegant way to tell check_mk / nagios I'm aware and accept some WARNs,
specially the check_mk discovery of services I do not want:

The problem is that, due to the lack of ethtool in bsd, the lnx_if
plugin is unable to determine link speed. To circumvent this, I have
successfully tried the "manual check" feature of check_mk, and I have
been able to manually setup lnx_if services for interfaces on pfSense
(bsd) routers, using the great assumed_speeds values to manually
declare link speed, which allowed me to have my interfaces monitored,
and with percent data... ready to play with nagvis ... great!!!!

To avoid having duplicated reads both from automatic lnx_if plugin
reads and my manually setup lnx_if plugin setup, I have unchecked the
first ones on the host available services table... OK....
...but now the problem is that my check_mk interface is geting cramped
with yellow colors of WARN... seems check_mk is unhappy I'm ignoring
services ...

Is there a way to say check_mk, "OK, I'm aware those services are
available but I do not want them" without those WARNs?

Thank you very much in advance

Gmane