Results 1 to 4 of 4
  1. #1
    Join Date
    May 2005
    Location
    Bangalore
    Posts
    32

    FreeBSD+nagios+check_procs

    Hello,

    I have configured nagios to check chkservd service using the plugin check_procs. But it's giving the incorrect information in one of my FreeBSD servers.

    [email protected] [~]# ps -awux|grep chkservd
    root 76784 0.0 0.0 3364 1740 p1- I 7:03AM 0:01.02 chkservd (perl)
    [email protected] [~]# /usr/local/nagios/libexec/check_procs -w 1:5 -c 1:20 -C chkservd
    PROCS CRITICAL: 0 processes with command name 'chkservd'

    But it's working perfectly fine in my another server.

    [email protected] [~]# ps -awux|grep chkservd
    root 82878 0.0 0.1 3468 2984 ?? I 12:55AM 0:01.72 chkservd (perl)
    [email protected] [~]# /usr/local/nagios/libexec/check_procs -w 1:5 -c 1:20 -C chkservd
    PROCS OK: 1 process with command name 'chkservd'

    Any help is much appreciated.
    Akhthar Parvez K
    http://SysAdminGUIDE.COM
    System Management Tips

    -UNIX is basically a simple operating system, but you have to be a genius to understand the simplicity - Dennie Richie

  2. #2
    Join Date
    May 2002
    Location
    Moscow
    Posts
    1,490
    run check_procs with verbose output option and you will see what happen with process finding...
    Rustelekom LLC Dedicated server since 2002, RIPE NCC member, LIR, AS51168

  3. #3
    Join Date
    May 2005
    Location
    Bangalore
    Posts
    32
    Didn't get any additional info even after running the following command.

    /usr/local/nagios/libexec/check_procs -w 1:5 -c 1:20 -v -C chkservd
    PROCS CRITICAL: 0 processes with command name 'chkservd'
    Akhthar Parvez K
    http://SysAdminGUIDE.COM
    System Management Tips

    -UNIX is basically a simple operating system, but you have to be a genius to understand the simplicity - Dennie Richie

  4. #4
    Join Date
    May 2002
    Location
    Moscow
    Posts
    1,490
    try quote chkservd or chkservd (perl)
    Rustelekom LLC Dedicated server since 2002, RIPE NCC member, LIR, AS51168

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •