Re: CPU Threads
Rick Garland <[email protected]>
| Newsgroups | gmane.network.nagios.plugins.devel |
|---|---|
| Message-ID | <08A1CEF5138A9242AEB8C0A376527B550687EB4D@ppomsg2> |
Sorry. I am not familiar with those utilities. I roll my own. Rick Garland | Sr UNIX Systems Administrator | Quantum, Corp | Office: 720-249-5984 | cell: 720-210-4671 From: Torres-Capeles.Juan [mailto:[email protected]] Sent: Wednesday, September 19, 2012 4:46 PM To: Nagios Plugin Development Mailing List Subject: Re: [Nagiosplug-devel] CPU Threads Rick, Correct, I knew it. I have CF-engine and Puppet which I know that NAGIOS has this specific file that I can write all the parameters to push out across all servers, but so far I do not know where is this file.... Thanks! From: Rick Garland [mailto:[email protected]]<mailto:[mailto:[email protected]]> Sent: Wednesday, September 19, 2012 3:40 PM To: Nagios Plugin Development Mailing List Subject: Re: [Nagiosplug-devel] CPU Threads Here are a couple check commands that were provided. This is from a nrpe.cfg file on monitored system The 1st line, the -w is $ARG1$, -c is $ARG2$, -s is $ARG3$ ARG1=5 ARG2=10 ARG3=Z The 2nd line is $ARG1$ and $ARG2$ ARG1=350 ARG2=500 command[check_zombie_procs]=/usr/local/nagios/libexec/check_procs -w 5 -c 10 -s Z command[check_total_procs]=/usr/local/nagios/libexec/check_procs -w 350 -c 500 NOTE: this is just 1 way of doing it. Rick Garland | Sr UNIX Systems Administrator From: Torres-Capeles.Juan [mailto:[email protected]]<mailto:[mailto:[email protected]]> Sent: Wednesday, September 19, 2012 4:07 PM To: Nagios Plugin Development Mailing List Subject: Re: [Nagiosplug-devel] CPU Threads Rick, I have these entries as well. It is have to be a file which the values can be set-up to have the trigger point. That's what I need. My servers are more frequently accessed and more load is in, which I need to increase the warnings and the critical values to reduce the e-mail traffic. Thanks, J Torres # 'check_local_procs' command definition define command{ command_name check_proc command_line $USER1$/check_procs -w $ARG1$ -c $ARG2$ -C $ARG3$ } # 'check_local_procs' command definition define command{ command_name check_local_procs command_line $USER1$/check_procs -w $ARG1$ -c $ARG2$ $ARG3$ $ARG4$ $ARG5$ $ARG6$ } From: Rick Garland [mailto:[email protected]]<mailto:[mailto:[email protected]]> Sent: Wednesday, September 19, 2012 12:14 PM To: Nagios Plugin Development Mailing List Subject: Re: [Nagiosplug-devel] CPU Threads The $ARG$'s would go into the command.cfg on the server and the values would be in your nrpe.cfg Here is an entry from my commands.cfg define command{ command_name check_proc_by_ssh command_line $USER1$/check_by_ssh -H $HOSTADDRESS$ -C '/usr/local/nagios/libexec/check_procs -w $ARG1$ -c $ARG2$ -a $ARG3$ -u $ARG4$' } The nrpe.cfg would hold the values. Rick Garland | Sr UNIX Systems Administrator | Quantum, Corp | Office: 720-249-5984 | cell: 720-210-4671 From: Torres-Capeles.Juan [mailto:[email protected]]<mailto:[mailto:[email protected]]> Sent: Wednesday, September 19, 2012 12:02 PM To: nagiosplug-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org<mailto:[email protected]> Subject: [Nagiosplug-devel] CPU Threads Support. I have in nrpe.cfg as follow: ... command[check_procs]=/usr/lib64/nagios/plugins/check_procs -w $ARG2$ -c $ARG3$ --metric=$ARG4$ $ARG5$ $ARG6$ command[check_proc]=/usr/lib64/nagios/plugins/check_procs -w $ARG2$ -c $ARG3$ -C $ARG4$ ... In what file I set the actual value? Thanks, Juan Torres Sr. Systems & Apps Administrator IV International Game Technology 405 Howard Street Suite 600 San Francisco, CA 94105 W: (415) 229-8365 M: (386) 478-8599 [email protected]<mailto:[email protected]> ________________________________ The information contained in this transmission may be confidential. Any disclosure, copying, or further distribution of confidential information is not permitted unless such privilege is explicitly granted in writing by Quantum. Quantum reserves the right to have electronic communications, including email and attachments, sent across its networks filtered through anti virus and spam software programs and retain such messages in order to comply with applicable data security and retention requirements. Quantum is not responsible for the proper and complete transmission of the substance of this communication or for any delay in its receipt. ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________________ Nagios Plugin Development Mailing List Nagiosplug-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org Unsubscribe at https://lists.sourceforge.net/lists/listinfo/nagiosplug-devel ::: Please include plugins version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null