Page 1 of 1

Monitoring

Posted: Mon May 23, 2011 1:39 am
by jbmaliwat
Hi,

Can NagiosXI monitor Domino - email server and IPCOP - proxy linux server

THANK YOU!!!

Re: Monitoring

Posted: Mon May 23, 2011 7:13 am
by srrhd

Re: Monitoring

Posted: Mon May 23, 2011 9:14 am
by nscott
Right on! Thanks for posting the information srrhd.

Re: Monitoring

Posted: Tue May 24, 2011 12:55 am
by srrhd
You're welcome !

I am now moving to Customers' Forum, see you there. ;)

Re: Monitoring

Posted: Tue May 24, 2011 2:05 am
by deepeshkumargopal
we have installed nagios monitoring tool in our server and the total process output from nagios screen is showing a different value than the current process numbers from top command. Can any one helpo me on this

The output i am getting is PROCS oK 25 processes state RSZDT..

when we isssue top command the total number of procs is more than 225.

We have decided a threshold of 300 for warning and 450 for critical..
Please help on this..

regards,
Deepesh

Re: Monitoring

Posted: Tue May 24, 2011 9:53 am
by mguthrie
What does the command definition look like for that particular check? It's possible there's a filtering option for that check that's returning a lower number of processes. Here's the plugin doc:

Checks all processes and generates WARNING or CRITICAL states if the specified
metric is outside the required threshold ranges. The metric defaults to number
of processes. Search filters can be applied to limit the processes to check.

Code: Select all

./check_procs -h
Usage: check_procs -w <range> -c <range> [-m metric] [-s state] [-p ppid]
 [-u user] [-r rss] [-z vsz] [-P %cpu] [-a argument-array]
 [-C command] [-t timeout] [-v]

Options:
 -h, --help
    Print detailed help screen
 -V, --version
    Print version information
 -w, --warning=RANGE
   Generate warning state if metric is outside this range
 -c, --critical=RANGE
   Generate critical state if metric is outside this range
 -m, --metric=TYPE
  Check thresholds against metric. Valid types:
  PROCS   - number of processes (default)
  VSZ     - virtual memory size
  RSS     - resident set memory size
  CPU     - percentage cpu
  ELAPSED - time elapsed in seconds
 -t, --timeout=INTEGER
    Seconds before connection times out (default: 10)
 -v, --verbose
    Extra information. Up to 3 verbosity levels

Filters:
 -s, --state=STATUSFLAGS
   Only scan for processes that have, in the output of `ps`, one or
   more of the status flags you specify (for example R, Z, S, RS,
   RSZDT, plus others based on the output of your 'ps' command).
 -p, --ppid=PPID
   Only scan for children of the parent process ID indicated.
 -z, --vsz=VSZ
   Only scan for processes with vsz higher than indicated.
 -r, --rss=RSS
   Only scan for processes with rss higher than indicated.
 -P, --pcpu=PCPU
   Only scan for processes with pcpu higher than indicated.
 -u, --user=USER
   Only scan for processes with user name or ID indicated.
 -a, --argument-array=STRING
   Only scan for processes with args that contain STRING.
 --ereg-argument-array=STRING
   Only scan for processes with args that contain the regex STRING.
 -C, --command=COMMAND
   Only scan for exact matches of COMMAND (without path).

RANGEs are specified 'min:max' or 'min:' or ':max' (or 'max'). If
specified 'max:min', a warning status will be generated if the
count is inside the specified range

This plugin checks the number of currently running processes and
generates WARNING or CRITICAL states if the process count is outside
the specified threshold ranges. The process count can be filtered by
process owner, parent process PID, current state (e.g., 'Z'), or may
be the total number of running processes

Examples:
 check_procs -w 2:2 -c 2:1024 -C portsentry
  Warning if not two processes with command name portsentry.
  Critical if < 2 or > 1024 processes

 check_procs -w 10 -a '/usr/local/bin/perl' -u root
  Warning alert if > 10 processes with command arguments containing
  '/usr/local/bin/perl' and owned by root

 check_procs -w 50000 -c 100000 --metric=VSZ
  Alert if vsz of any processes over 50K or 100K

 check_procs -w 10 -c 20 --metric=CPU
  Alert if cpu of any processes over 10%% or 20%%

Re: Monitoring

Posted: Wed May 25, 2011 1:36 am
by jbmaliwat
Thank you very much!

After I downloaded and installed the plugins for IPCOP and Domino, how will I able to monitor it? What are the steps.

Re: Monitoring

Posted: Wed May 25, 2011 9:28 am
by tonyyarusso
Have a look at the documentation and training video.