[Check_mk (english)] NFS mount check?

Seth Williams sethwill at gmail.com
Tue Jan 5 01:00:32 CET 2016


Hi Marcel,

Here is the complete output, I replaced the real hostname with 'hostname'
but otherwise this is the output.  The command you gave me has the '-l'
option for local filesystems so the mount /system/data (this is the mounted
FS that is missing) isn't showing.

Filesystem                         Type  1024-blocks    Used Available
Capacity Mounted on
/dev/mapper/vg_hostname-lv_root ext4     51475068 4974468  43879160
 11% /
tmpfs                              tmpfs   132244116     216 132243900
  1% /dev/shm
/dev/sda1                          ext4       487652   67087    394965
 15% /boot
/dev/mapper/vg_hostname-lv_home ext4     32896880  616384  30602776
2% /home
/dev/mapper/vg_hostname-lv_opt  ext4    103081248 5836168  92002200
6% /opt

When I do the same command without the '-l' I get this:

Filesystem                         Type  1024-blocks       Used Available
Capacity Mounted on
/dev/mapper/vg_hostname-lv_root ext4     51475068    4974516  43879112
 11% /
tmpfs                              tmpfs   132244116        216 132243900
    1% /dev/shm
/dev/sda1                          ext4       487652      67087    394965
   15% /boot
/dev/mapper/vg_hostname-lv_home ext4     32896880     616380  30602780
  2% /home
/dev/mapper/vg_hostname-lv_opt  ext4    103081248    5836260  92002108
  6% /opt
//system/data                  cifs   2014661912 1858556272 156105640
 93% /system/data


On Thu, Dec 31, 2015 at 6:06 PM Marcel Schulte <schulte.marcel at gmail.com>
wrote:

> Hi Seth,
>
> happy new year! ;)
>
> Could you please send the (complete) output of "df -PTlk"? WHich mounted
> FS are you missing as service? Is it /system/data or something else?
>
> Reagrds,
> Marcel
>
> Seth Williams <sethwill at gmail.com> schrieb am Do., 31. Dez. 2015 um
> 23:48 Uhr:
>
>> Hi Francesco,
>>
>> Sorry for the late reply, but this still hasn't been resolved for me.  I
>> have done this 'bulk inventory' several times and the inventory still does
>> not find my particular mount.  This network folder is definitely mounted, I
>> use it all the time and when I do a 'df' it shows up.  For example when I
>> do a 'df' it says for Filesystem: //system/data and  Mounted on:
>> /system/data.  I have a couple of other mounts that do show up as services:
>>  /, /opt, /boot, and /home but not /system/data.
>>
>> Thanks,
>>
>> Seth
>>
>> On Wed, Oct 28, 2015 at 10:46 AM Francesco DiOrazio <francesco at wepay.com>
>> wrote:
>>
>>> Mounts is another inventoried check and can be done with the GUI:
>>>
>>> *Add your host:*
>>> WATO > Hosts > New Host > check tags you want > "save & go to services"
>>> > "save manual check configuration" > top left click  "# changes" >
>>> "activate changes"
>>>
>>> *If your host is already added, then just do a bulk inventory:*
>>> WATO > Hosts > Bulk Inventory > "Find new & remove obsolete" > start >
>>> finish > top left click  "# changes" > "activate changes"
>>>
>>> *Francesco DiOrazio*
>>> DevOps
>>>
>>> <http://www.wepay.com/>
>>> 350 Convention Way, Suite 200
>>> Redwood City, CA 94063
>>>
>>> Payments API for Platform Businesses
>>>
>>> On Wed, Oct 28, 2015 at 8:40 AM, Seth Williams <sethwill at gmail.com>
>>> wrote:
>>>
>>>> Ok, sorry for the confusion.
>>>>
>>>> I ran check_mk_agent and the <<nfsmounts>> section was empty, so then I
>>>> checked my mounts and they are not NFS mount.  My fault.  I think at some
>>>> point I mentioned, or should have mentioned that I am a total newbie with
>>>> Linux system admin.
>>>>
>>>> So, now my question is how to just check any mount?  I see there is a
>>>> check_mk page https://mathias-kettner.de/checkmk_check_mounts.html but
>>>> to be completely honest, these manual pages make no sense to me...maybe
>>>> because I'm hiding behind OMD and do most things through that interface.  I
>>>> don't see a straight-forward, from the beginning, tutorial on check_mk.
>>>> Everything I see assumes a certain knowledge of check_mk and how it works.
>>>> I rely completely on trial and error, black box testing, and this forum.  I
>>>> appreciate everyone in this forum who helps me!!!!  If someone is willing
>>>> to give me some training via webex, I could arrange some compensation from
>>>> my company.
>>>>
>>>> The check_mk page talks about 'main.mk' but mine is empty and for some
>>>> reason all my configuration is in /omd/sites/sky/etc/check_mk/conf.d/wato/
>>>> rules.mk.  I found this out by doing a 'grep -r' on different
>>>> parameters I configured in OMD.
>>>>
>>>> I tried to configure a mount check in OMD and my 'rules.mk' has this
>>>> from my configuration:
>>>> checkgroup_parameters['fs_mount_options'] = [
>>>>   ( [], [], ['nbpgalaxy03', 'nbpgalaxy04'], ['/nbpdata01/data2'],
>>>> {'comment': u'This is to check the T drive'} ),
>>>> ] + checkgroup_parameters['fs_mount_options']
>>>>
>>>>
>>>> BTW,   I am using check_mk version 1.2.4p5 and OMD version 1.20.
>>>>
>>>> Thanks,
>>>>
>>>> Seth
>>>>
>>>> On Tue, Oct 27, 2015 at 4:26 PM Seth Williams <sethwill at gmail.com>
>>>> wrote:
>>>>
>>>>> OMD - Open Monitoring Distribution Version 1.20
>>>>>
>>>>> On Tue, Oct 27, 2015 at 4:25 PM Seth Williams <sethwill at gmail.com>
>>>>> wrote:
>>>>>
>>>>>> Thanks everyone, I am using check_mk version 1.2.4p5
>>>>>>
>>>>>> On Tue, Oct 27, 2015 at 12:15 PM Francesco DiOrazio <
>>>>>> francesco at wepay.com> wrote:
>>>>>>
>>>>>>> Have you tried the inventoried check?  If not, do an inventory of
>>>>>>> the host.
>>>>>>>
>>>>>>> *Francesco DiOrazio*
>>>>>>> DevOps
>>>>>>>
>>>>>>> <http://www.wepay.com/>
>>>>>>> 350 Convention Way, Suite 200
>>>>>>> Redwood City, CA 94063
>>>>>>>
>>>>>>> Payments API for Platform Businesses
>>>>>>>
>>>>>>> On Tue, Oct 27, 2015 at 9:56 AM, Seth Williams <sethwill at gmail.com>
>>>>>>> wrote:
>>>>>>>
>>>>>>>> Does anyone have any suggestions on how to check an NFS mount using
>>>>>>>> check_mk and OMD?
>>>>>>>>
>>>>>>>> Is this the 'New rule Filesystem mount options (Linux/UNIX)' ?
>>>>>>>>
>>>>>>>> Thanks,
>>>>>>>>
>>>>>>>> Seth
>>>>>>>>
>>>>>>>> _______________________________________________
>>>>>>>> checkmk-en mailing list
>>>>>>>> checkmk-en at lists.mathias-kettner.de
>>>>>>>> http://lists.mathias-kettner.de/mailman/listinfo/checkmk-en
>>>>>>>>
>>>>>>>
>>> _______________________________________________
>> checkmk-en mailing list
>> checkmk-en at lists.mathias-kettner.de
>> http://lists.mathias-kettner.de/mailman/listinfo/checkmk-en
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mathias-kettner.de/pipermail/checkmk-en/attachments/20160105/2facef2f/attachment-0001.html>


More information about the checkmk-en mailing list