[Check_mk (english)] HW/SW inventory without WATO

Stephen Berg (Contractor) stephen.berg.ctr at nrlssc.navy.mil
Mon Apr 27 14:03:28 CEST 2015


Found the problem.  Under /var/lib/check_mk_agent/ there were some 
mk_inventory.last files. Deleted those, re-inventoried the system and 
checked again.  Now have the full list of hardware and software for the 
F21 system.

On 04/27/2015 06:42 AM, Stephen Berg (Contractor) wrote:
> Thanks, that seems to be working.
>
> But it does bring up another question.  On a system running SciLinux 
> 7.0 I get all the hardware stuff and a list of all rpm packages 
> installed.  This system was set up using wato and inventoried.
>
> Two other systems (one running Fedora 21, the other runs SciLinux 
> 6.6), the inventory sees "Memory (RAM)" and the total installed but no 
> other hardware info, nothing about software installed.  Both of these 
> systems were setup when wato was disabled using the main.mk file.
>
> Found the file "var/check_mk/inventory/hostname" which contains:
> ############
> {'hardware': {'memory': {'total_ram_usable': 16750993408,
>                          'total_swap': 17178742784,
>                          'total_vmalloc': 35184372087808}}}
> ############
>
>
> On 04/27/2015 06:13 AM, Marcel Schulte wrote:
>> Hi Stephen,
>>
>> when I activate the rule in WATO for all hosts I get this in rules.mk 
>> <http://rules.mk> - you could try using it in main.mk <http://main.mk>:
>>
>> #########
>> active_checks.setdefault('cmk_inv', [])
>>
>> active_checks['cmk_inv'] = [
>>   ( None, [], ALL_HOSTS ),
>> ] + active_checks['cmk_inv']
>> #########
>>
>> HTH,
>> Marcel
>>
>>
>> Stephen Berg (Contractor) <stephen.berg.ctr at nrlssc.navy.mil 
>> <mailto:stephen.berg.ctr at nrlssc.navy.mil>> schrieb am Mo., 27. Apr. 
>> 2015 um 12:20 Uhr:
>>
>>     Is there a way to enable the HW/SW inventory stuff if you're not
>>     using WATO?
>>
>>     --
>>     Stephen Berg
>>     Systems Administrator
>>     NRL Code: 7320
>>     Office: 228-688-5738
>>     stephen.berg.ctr at nrlssc.navy.mil
>>     <mailto:stephen.berg.ctr at nrlssc.navy.mil>
>>
>>     _______________________________________________
>>     checkmk-en mailing list
>>     checkmk-en at lists.mathias-kettner.de
>>     <mailto:checkmk-en at lists.mathias-kettner.de>
>>     http://lists.mathias-kettner.de/mailman/listinfo/checkmk-en
>>
>>     Well meet in Munich for the 2nd Check_MK Conference!
>>     Book your place now and be part of it.
>>     October 18th-20th, 2015
>>     http://mathias-kettner.de/conference
>>
>
>
> -- 
> Stephen Berg
> Systems Administrator
> NRL Code: 7320
> Office: 228-688-5738
> stephen.berg.ctr at nrlssc.navy.mil  
>
>
> _______________________________________________
> checkmk-en mailing list
> checkmk-en at lists.mathias-kettner.de
> http://lists.mathias-kettner.de/mailman/listinfo/checkmk-en
>
> We’ll meet in Munich for the 2nd Check_MK Conference!
> Book your place now and be part of it.
> October 18th-20th, 2015
> http://mathias-kettner.de/conference


-- 
Stephen Berg
Systems Administrator
NRL Code: 7320
Office: 228-688-5738
stephen.berg.ctr at nrlssc.navy.mil

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mathias-kettner.de/pipermail/checkmk-en/attachments/20150427/7e34d97c/attachment-0001.html>


More information about the checkmk-en mailing list