[Check_mk (english)] UPS voltage levels

Related to my previous question…

We have a mix of 480v and 240v UPS system across various sites. The names of all the high voltage units start with “UPS”, the names of all the lower voltage ones start with “cu”.

From what I can make out in the doco, putting this into a ‘limits.mk’ file should set the limits for two different UPSes:

checkgroup_parameters[‘ups_input’] = [

( {‘input_volt_levels’: ( 210, 240, 250, 270 ) }, [], [‘cu’], ALL_SERVICES ),

( {‘input_volt_levels’: ( 420, 480, 500, 540 ) }, [], ['UPS’], ALL_SERVICES ),

]

Naturally, it is not working. What am I doing wrong? Even better, is there a way of administering this from inside WATO?

Thanks

Rob

Unix Systems Administrator

Bunnings Group Limited

126 Pilbara Street, Welshpool WA 6106

Locked Bag 20, Welshpool WA 6986

Phone : (08) 9365-1507

Fax : (08) 9358-6054

E-mail :
rmasters@bunnings.com.au

Website :
www.bunnings.com.au

Hi Robert,

Neither WATO nor mk files - hostnames are always and everywhere matched exactly, not by regex or similar.

But you could put the hosts in different folders and set rules for this folder in WATO…

Regards,
Marcel

···

Am 28.02.2014 05:21 schrieb “Robert Masters” RMasters@bunnings.com.au:

Related to my previous question…

We have a mix of 480v and 240v UPS system across various sites. The names of all the high voltage units start with “UPS”, the names of all the lower voltage ones start with “cu”.

From what I can make out in the doco, putting this into a ‘limits.mk’ file should set the limits for two different UPSes:

checkgroup_parameters[‘ups_input’] = [

( {‘input_volt_levels’: ( 210, 240, 250, 270 ) }, , [‘cu’], ALL_SERVICES ),

( {‘input_volt_levels’: ( 420, 480, 500, 540 ) }, , ['UPS’], ALL_SERVICES ),

]

Naturally, it is not working. What am I doing wrong? Even better, is there a way of administering this from inside WATO?

Thanks

Rob

Unix Systems Administrator

Bunnings Group Limited

126 Pilbara Street, Welshpool WA 6106

Locked Bag 20, Welshpool WA 6986

Phone : (08) 9365-1507

Fax : (08) 9358-6054

E-mail :
rmasters@bunnings.com.au

Website :
www.bunnings.com.au


Bunnings Legal Disclaimer:

  1. This email is confidential and may contain legally privileged

information. If you are not the intended recipient, you must not

disclose or use the information contained in it. If you have received

this email in error, please notify us immediately by return email and

delete the document.

  1. All emails sent to and sent from Bunnings Group Limited.

are scanned for content. Any material deemed to contain inappropriate

subject matter will be reported to the email administrator of all

parties concerned.



checkmk-en mailing list

checkmk-en@lists.mathias-kettner.de

http://lists.mathias-kettner.de/mailman/listinfo/checkmk-en

Thanks for that Marcel – it explains a couple of other behaviours too.

I ended up adding a new auxiliary tag, and everything works now.

-Rob

···

Am 28.02.2014 05:21 schrieb “Robert Masters” RMasters@bunnings.com.au:

Related to my previous question…

We have a mix of 480v and 240v UPS system across various sites. The names of all the high voltage units start with “UPS”, the names of all the lower voltage ones start with “cu”.

From what I can make out in the doco, putting this into a ‘limits.mk’ file should set the limits for two different UPSes:

checkgroup_parameters[‘ups_input’] = [

( {‘input_volt_levels’: ( 210, 240, 250, 270 ) }, [], [‘cu’], ALL_SERVICES ),

( {‘input_volt_levels’: ( 420, 480, 500, 540 ) }, [], ['UPS’], ALL_SERVICES ),

]

Naturally, it is not working. What am I doing wrong? Even better, is there a way of administering this from inside WATO?

Thanks

Rob

Unix Systems Administrator

Bunnings Group Limited

126 Pilbara Street, Welshpool WA 6106

Locked Bag 20, Welshpool WA 6986

Phone : (08) 9365-1507

Fax : (08) 9358-6054

E-mail :
rmasters@bunnings.com.au

Website :
www.bunnings.com.au


Bunnings Legal Disclaimer:

  1. This email is confidential and may contain legally privileged
    information. If you are not the intended recipient, you must not
    disclose or use the information contained in it. If you have received
    this email in error, please notify us immediately by return email and
    delete the document.

  2. All emails sent to and sent from Bunnings Group Limited.
    are scanned for content. Any material deemed to contain inappropriate
    subject matter will be reported to the email administrator of all
    parties concerned.



checkmk-en mailing list
checkmk-en@lists.mathias-kettner.de
http://lists.mathias-kettner.de/mailman/listinfo/checkmk-en