From vamsiupdates at gmail.com Thu Mar 15 07:52:53 2018 From: vamsiupdates at gmail.com (Vamsi KRISHNA REDDY) Date: Thu, 15 Mar 2018 12:22:53 +0530 Subject: Nagios rule Message-ID: *HI,* *I am Vamsi, working as RHEL admin.* *In my environment, I need to modify the nagios rule to push the alerts when cpu load reaches 96%. * *The sample rule of server that is currently used is below:* *CPU_load /usr/lib/nagios/plugins/check_load -w 6,4,2 -c 8,6,4* Thanks in advance. Thanks & Regards, Vamsi Krishna +91 70803 14252 -------------- next part -------------- An HTML attachment was scrubbed... URL: From Andrew.Mayer at spiderrock.net Thu Mar 15 15:34:59 2018 From: Andrew.Mayer at spiderrock.net (Andrew Mayer) Date: Thu, 15 Mar 2018 14:34:59 +0000 Subject: Question about check_nt on 2 cpu server Message-ID: Hello, I?ve run into an issue while using check_nt to monitor CPU load on windows servers from my instance of Nagios core. I?m running NSClient 3.8 or 4.3 and it has become apparent that the CPU utilization information I receive back is only ever for CPU 0 and not the total system load. I?ve been able to replicate this issue on multiple systems and I?m wondering if I?m missing a variable in my config. An example of how I?m using the plugin is: In the cfg for a system: define service{ use 247service host_name HOSTNAME service_description CPU Load check_command check_nt!CPULOAD!-l 5,80,90 } And I?ve defined the command in commands.cfg under objects: define command{ command_name check_nt command_line $USER1$/check_nt -H $HOSTADDRESS$ -p 12489 -s PASSWORD -v $ARG1$ $ARG2$ } I?ve checked multiple forums and I?m not seeing a similar reported issue so I?m wondering if I am just missing something obvious. Thanks, Andrew Andrew Mayer | SpiderRock | 300 S. RiverSide Plaza | Suite 2350 | Chicago, IL 60606 Office: 312.256.9620 | Fax: 312.256.9640 | E-Mail: andrew.mayer at spiderrock.net Client Support: 312.256.9602 | cs at spiderrock.net | AIM: spiderrockcs | gChat: spiderrockcs -- Important - Confidential Information & Disclaimer. All email sent to or from this address will be retained by SpiderRock?s email archiving system. This message is intended only for the use of the individual or entity to which it is addressed, and may contain information that is privileged, confidential, and exempt from disclosure under applicable law. Please do not forward or distribute this correspondence by any means. Please also be aware that there is no assumption of privacy in any SpiderRock communication. If you have received this message in error, please notify us immediately and delete the message without copying or forwarding it to anyone. SpiderRock will not be liable for any compliance and technical information or guidance provided herein. -------------- next part -------------- An HTML attachment was scrubbed... URL: From fmikker at op5.com Fri Mar 23 13:17:55 2018 From: fmikker at op5.com (Fredrik Mikker) Date: Fri, 23 Mar 2018 13:17:55 +0100 Subject: Question about check_nt on 2 cpu server In-Reply-To: References: Message-ID: Hi Andrew, According to the documentation this should be possible (at least via NRPE) by using the filter "filter=none". You can find some more information in the docs: https://docs.nsclient.org/reference/windows/CheckSystem/#check_cpu_samples Hope this helps somewhat. Good Luck! On 2018-03-15 15:34, Andrew Mayer wrote: > Hello, > > ? > > I?ve run into an issue while using check_nt to monitor CPU load on > windows servers from my instance of Nagios core. I?m running NSClient > 3.8 or 4.3 and it has become apparent that the CPU utilization > information I receive back is only ever for CPU 0 and not the total > system load. I?ve been able to replicate this issue on multiple systems > and I?m wondering if I?m missing a variable? in my config. An example of > how I?m using the plugin is: > > ? > > In the cfg for a system: > > ? > > define service{ > > ??????? use???????????????????? 247service > > ??????? host_name?????????????? HOSTNAME > > ??????? service_description???? CPU Load > > ??????? check_command?????????? check_nt!CPULOAD!-l 5,80,90 > > ??????? } > > ? > > And I?ve defined the command in commands.cfg under objects: > > ? > > define command{ > > ??????? command_name??? check_nt > > ??????? command_line??? $USER1$/check_nt -H $HOSTADDRESS$ -p 12489 -s > PASSWORD -v $ARG1$ $ARG2$ > > ??????? } > > ? > > I?ve checked multiple forums and I?m not seeing a similar reported issue > so I?m wondering if I am just missing something obvious. > -- Fredrik Mikker | Operations engineer/Open Source Community Manager | OP5 Phone +46 (0)31-352 56 00 Email: fredrik.mikker at op5.com OP5 AB | F?rsta L?nggatan 19 | 413 27 G?teborg | Sweden VAT SE556582913101 Twitter: @op5ab www.op5.com Red Herring Global top 100 -------------- next part -------------- A non-text attachment was scrubbed... Name: 0x6E41165F.asc Type: application/pgp-keys Size: 7246 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 833 bytes Desc: OpenPGP digital signature URL: