Page 2 of 3

Re: How to monitor following things in a single server

Posted: Thu Mar 20, 2014 11:23 am
by sreinhardt
Interesting, what version of the plugin are you using? Let's also get verbose output and see what we can find.

Code: Select all

./check_snmp_process_wizard.pl -h
./check_snmp_process_wizard.pl -H 169.131.241.195 -C public --v2c -n "vcs" -w '2,9' -vvv | grep -i 'vcs'

Re: How to monitor following things in a single server

Posted: Thu Mar 20, 2014 11:42 am
by Rupender
please find the output

Re: How to monitor following things in a single server

Posted: Thu Mar 20, 2014 5:09 pm
by abrist
It looks like either:
1) Your device is returning truncated strings
OR:
2) Net-snmp is truncating those strings in translation.

Could you run the following, just out of curiosity:

Code: Select all

./check_snmp_process_wizard.pl -H 169.131.241.195 -C public --v2c -n "wor" -w '2,9' -vvv | grep -i 'wor'

Re: How to monitor following things in a single server

Posted: Fri Mar 21, 2014 3:23 am
by Rupender
Hi,


please the output as you required...


Thanks,

Re: How to monitor following things in a single server

Posted: Fri Mar 21, 2014 11:51 am
by slansing
So it looks like portions of the OID descriptions are being cut off, do you have the full name of one of these processes that you can try this with? We had talked about this a bit yesterday, it's possible that the fuzzy matching technique may not apply here as the ':' or '/' may be truncating the rest of the process name.

Re: How to monitor following things in a single server

Posted: Tue Mar 25, 2014 11:04 am
by Rupender
So, what would be the solution to monitor these process?

I already attached the snapshot regarding the process name.

Thanks,

Re: How to monitor following things in a single server

Posted: Tue Mar 25, 2014 1:53 pm
by lmiltchev
Can you try using the full path (by adding the "-f" flag)?

Example:

Code: Select all

./check_snmp_process_wizard.pl -H 192.168.x.x -C public -n /usr/sbin/httpd -f -w '2,9'
8 process matching /usr/sbin/httpd (> 2) (<= 9):OK

Re: How to monitor following things in a single server

Posted: Wed Mar 26, 2014 10:05 am
by Rupender
Hi,

please find the output:

Re: How to monitor following things in a single server

Posted: Wed Mar 26, 2014 2:50 pm
by lmiltchev
Can you run the following commands and show us the output?

Code: Select all

ps aux | grep -i "[v]cs"
./check_snmp_process_wizard.pl -H 169.131.241.195 -C public --v2c -n "vcs" -w '2,9' -vvv

Re: How to monitor following things in a single server

Posted: Wed May 07, 2014 3:12 am
by Rupender
[root@localusarad libexec]# ./check_snmp_process_wizard.pl -H 169.131.241.195 -C public --v2c -n "vcs" -w '2,9' -vvv
2,9 0 1 0
Alarm at 15
Filter : vcs
OID : 1.3.6.1.2.1.25.4.2.1.2.1513, Desc : automount
OID : 1.3.6.1.2.1.25.4.2.1.2.81, Desc : md/0
OID : 1.3.6.1.2.1.25.4.2.1.2.33, Desc : ksoftirqd/7
OID : 1.3.6.1.2.1.25.4.2.1.2.75, Desc : ata_sff/5
OID : 1.3.6.1.2.1.25.4.2.1.2.16473, Desc : tail
OID : 1.3.6.1.2.1.25.4.2.1.2.110, Desc : crypto/0
OID : 1.3.6.1.2.1.25.4.2.1.2.55, Desc : kintegrityd/5
OID : 1.3.6.1.2.1.25.4.2.1.2.19576, Desc : postmaster
OID : 1.3.6.1.2.1.25.4.2.1.2.1763, Desc : mingetty
OID : 1.3.6.1.2.1.25.4.2.1.2.1452, Desc : hald-runner
OID : 1.3.6.1.2.1.25.4.2.1.2.93, Desc : md_misc/4
OID : 1.3.6.1.2.1.25.4.2.1.2.1257, Desc : rpcbind
OID : 1.3.6.1.2.1.25.4.2.1.2.342, Desc : mpt_poll_0
OID : 1.3.6.1.2.1.25.4.2.1.2.92, Desc : md_misc/3
OID : 1.3.6.1.2.1.25.4.2.1.2.73, Desc : ata_sff/3
OID : 1.3.6.1.2.1.25.4.2.1.2.1529, Desc : mcelog
OID : 1.3.6.1.2.1.25.4.2.1.2.6578, Desc : redis-server
OID : 1.3.6.1.2.1.25.4.2.1.2.1661, Desc : master
OID : 1.3.6.1.2.1.25.4.2.1.2.19574, Desc : postmaster
OID : 1.3.6.1.2.1.25.4.2.1.2.1442, Desc : acpid
OID : 1.3.6.1.2.1.25.4.2.1.2.116, Desc : crypto/6
OID : 1.3.6.1.2.1.25.4.2.1.2.37, Desc : events/2
OID : 1.3.6.1.2.1.25.4.2.1.2.43, Desc : cgroup
OID : 1.3.6.1.2.1.25.4.2.1.2.430, Desc : ext4-dio-unwrit
OID : 1.3.6.1.2.1.25.4.2.1.2.30778, Desc : sudo
OID : 1.3.6.1.2.1.25.4.2.1.2.107, Desc : aio/5
OID : 1.3.6.1.2.1.25.4.2.1.2.16714, Desc : httpd
OID : 1.3.6.1.2.1.25.4.2.1.2.86, Desc : md/5
OID : 1.3.6.1.2.1.25.4.2.1.2.1400, Desc : dbus-daemon
OID : 1.3.6.1.2.1.25.4.2.1.2.2133, Desc : postmaster
OID : 1.3.6.1.2.1.25.4.2.1.2.1767, Desc : mingetty
OID : 1.3.6.1.2.1.25.4.2.1.2.112, Desc : crypto/2
OID : 1.3.6.1.2.1.25.4.2.1.2.53, Desc : kintegrityd/3
OID : 1.3.6.1.2.1.25.4.2.1.2.45, Desc : netns
OID : 1.3.6.1.2.1.25.4.2.1.2.2391, Desc : postmaster
OID : 1.3.6.1.2.1.25.4.2.1.2.11, Desc : migration/2
OID : 1.3.6.1.2.1.25.4.2.1.2.95, Desc : md_misc/6
OID : 1.3.6.1.2.1.25.4.2.1.2.13883, Desc : tail
OID : 1.3.6.1.2.1.25.4.2.1.2.15, Desc : migration/3
OID : 1.3.6.1.2.1.25.4.2.1.2.56, Desc : kintegrityd/6
OID : 1.3.6.1.2.1.25.4.2.1.2.103, Desc : aio/1
OID : 1.3.6.1.2.1.25.4.2.1.2.22, Desc : watchdog/4
OID : 1.3.6.1.2.1.25.4.2.1.2.30785, Desc : su
OID : 1.3.6.1.2.1.25.4.2.1.2.24, Desc : migration/5
OID : 1.3.6.1.2.1.25.4.2.1.2.429, Desc : jbd2/dm-0-8
OID : 1.3.6.1.2.1.25.4.2.1.2.38, Desc : events/3
OID : 1.3.6.1.2.1.25.4.2.1.2.17, Desc : ksoftirqd/3
OID : 1.3.6.1.2.1.25.4.2.1.2.30657, Desc : console-kit-dae
OID : 1.3.6.1.2.1.25.4.2.1.2.1778, Desc : udevd
OID : 1.3.6.1.2.1.25.4.2.1.2.1761, Desc : mingetty
OID : 1.3.6.1.2.1.25.4.2.1.2.115, Desc : crypto/5
OID : 1.3.6.1.2.1.25.4.2.1.2.19215, Desc : postmaster
OID : 1.3.6.1.2.1.25.4.2.1.2.29, Desc : ksoftirqd/6
OID : 1.3.6.1.2.1.25.4.2.1.2.71, Desc : ata_sff/1
OID : 1.3.6.1.2.1.25.4.2.1.2.1769, Desc : mingetty
OID : 1.3.6.1.2.1.25.4.2.1.2.51, Desc : kintegrityd/1
OID : 1.3.6.1.2.1.25.4.2.1.2.7, Desc : migration/1
OID : 1.3.6.1.2.1.25.4.2.1.2.951, Desc : ext4-dio-unwrit
OID : 1.3.6.1.2.1.25.4.2.1.2.66, Desc : kacpid
OID : 1.3.6.1.2.1.25.4.2.1.2.114, Desc : crypto/4
OID : 1.3.6.1.2.1.25.4.2.1.2.19577, Desc : postmaster
OID : 1.3.6.1.2.1.25.4.2.1.2.106, Desc : aio/4
OID : 1.3.6.1.2.1.25.4.2.1.2.132, Desc : kpsmoused
OID : 1.3.6.1.2.1.25.4.2.1.2.344, Desc : scsi_eh_2
OID : 1.3.6.1.2.1.25.4.2.1.2.5, Desc : migration/0
OID : 1.3.6.1.2.1.25.4.2.1.2.105, Desc : aio/3
OID : 1.3.6.1.2.1.25.4.2.1.2.84, Desc : md/3
OID : 1.3.6.1.2.1.25.4.2.1.2.526, Desc : udevd
OID : 1.3.6.1.2.1.25.4.2.1.2.16720, Desc : httpd
OID : 1.3.6.1.2.1.25.4.2.1.2.88, Desc : md/7
OID : 1.3.6.1.2.1.25.4.2.1.2.3, Desc : migration/0
OID : 1.3.6.1.2.1.25.4.2.1.2.9, Desc : ksoftirqd/1
OID : 1.3.6.1.2.1.25.4.2.1.2.61, Desc : kblockd/3
OID : 1.3.6.1.2.1.25.4.2.1.2.128, Desc : kthrotld/6
OID : 1.3.6.1.2.1.25.4.2.1.2.1541, Desc : sshd
OID : 1.3.6.1.2.1.25.4.2.1.2.2129, Desc : postmaster
OID : 1.3.6.1.2.1.25.4.2.1.2.124, Desc : kthrotld/2
OID : 1.3.6.1.2.1.25.4.2.1.2.13, Desc : ksoftirqd/2
OID : 1.3.6.1.2.1.25.4.2.1.2.48, Desc : sync_supers
OID : 1.3.6.1.2.1.25.4.2.1.2.1921, Desc : udevd
OID : 1.3.6.1.2.1.25.4.2.1.2.1746, Desc : certmonger
OID : 1.3.6.1.2.1.25.4.2.1.2.35, Desc : events/0
OID : 1.3.6.1.2.1.25.4.2.1.2.2393, Desc : vcs-bbsipd: wor
1.3.6.1.2.1.25.4.2.1.7.2393
OID : 1.3.6.1.2.1.25.4.2.1.2.64, Desc : kblockd/6
OID : 1.3.6.1.2.1.25.4.2.1.2.15982, Desc : tail
OID : 1.3.6.1.2.1.25.4.2.1.2.412, Desc : kdmflush
OID : 1.3.6.1.2.1.25.4.2.1.2.99, Desc : kswapd0
OID : 1.3.6.1.2.1.25.4.2.1.2.1243, Desc : irqbalance
OID : 1.3.6.1.2.1.25.4.2.1.2.8509, Desc : vcs-bbradiusd [
1.3.6.1.2.1.25.4.2.1.7.8509
OID : 1.3.6.1.2.1.25.4.2.1.2.1922, Desc : bluetooth
OID : 1.3.6.1.2.1.25.4.2.1.2.27, Desc : migration/6
OID : 1.3.6.1.2.1.25.4.2.1.2.1481, Desc : hald-addon-inpu
OID : 1.3.6.1.2.1.25.4.2.1.2.97, Desc : linkwatch
OID : 1.3.6.1.2.1.25.4.2.1.2.29997, Desc : snmpd
OID : 1.3.6.1.2.1.25.4.2.1.2.2130, Desc : vcs-bbradiusd:
1.3.6.1.2.1.25.4.2.1.7.2130
OID : 1.3.6.1.2.1.25.4.2.1.2.19575, Desc : postmaster
OID : 1.3.6.1.2.1.25.4.2.1.2.96, Desc : md_misc/7
OID : 1.3.6.1.2.1.25.4.2.1.2.26, Desc : watchdog/5
OID : 1.3.6.1.2.1.25.4.2.1.2.16, Desc : migration/3
OID : 1.3.6.1.2.1.25.4.2.1.2.76, Desc : ata_sff/6
OID : 1.3.6.1.2.1.25.4.2.1.2.16717, Desc : httpd
OID : 1.3.6.1.2.1.25.4.2.1.2.25, Desc : ksoftirqd/5
OID : 1.3.6.1.2.1.25.4.2.1.2.108, Desc : aio/6
OID : 1.3.6.1.2.1.25.4.2.1.2.49, Desc : bdi-default
OID : 1.3.6.1.2.1.25.4.2.1.2.117, Desc : crypto/7
OID : 1.3.6.1.2.1.25.4.2.1.2.24322, Desc : tail
OID : 1.3.6.1.2.1.25.4.2.1.2.1189, Desc : auditd
OID : 1.3.6.1.2.1.25.4.2.1.2.1667, Desc : qmgr
OID : 1.3.6.1.2.1.25.4.2.1.2.98, Desc : khungtaskd
OID : 1.3.6.1.2.1.25.4.2.1.2.16715, Desc : httpd
OID : 1.3.6.1.2.1.25.4.2.1.2.82, Desc : md/1
OID : 1.3.6.1.2.1.25.4.2.1.2.164, Desc : kstriped
OID : 1.3.6.1.2.1.25.4.2.1.2.47, Desc : pm
OID : 1.3.6.1.2.1.25.4.2.1.2.17088, Desc : pickup
OID : 1.3.6.1.2.1.25.4.2.1.2.21, Desc : ksoftirqd/4
OID : 1.3.6.1.2.1.25.4.2.1.2.19213, Desc : vcs-xmlrpcd [/u
1.3.6.1.2.1.25.4.2.1.7.19213
OID : 1.3.6.1.2.1.25.4.2.1.2.2134, Desc : postmaster
OID : 1.3.6.1.2.1.25.4.2.1.2.54, Desc : kintegrityd/4
OID : 1.3.6.1.2.1.25.4.2.1.2.101, Desc : khugepaged
OID : 1.3.6.1.2.1.25.4.2.1.2.14, Desc : watchdog/2
OID : 1.3.6.1.2.1.25.4.2.1.2.19573, Desc : postmaster
OID : 1.3.6.1.2.1.25.4.2.1.2.46, Desc : async/mgr
OID : 1.3.6.1.2.1.25.4.2.1.2.44, Desc : khelper
OID : 1.3.6.1.2.1.25.4.2.1.2.57, Desc : kintegrityd/7
OID : 1.3.6.1.2.1.25.4.2.1.2.85, Desc : md/4
OID : 1.3.6.1.2.1.25.4.2.1.2.2395, Desc : postmaster
OID : 1.3.6.1.2.1.25.4.2.1.2.1498, Desc : hald-addon-acpi
OID : 1.3.6.1.2.1.25.4.2.1.2.12, Desc : migration/2
OID : 1.3.6.1.2.1.25.4.2.1.2.672, Desc : vmmemctl
OID : 1.3.6.1.2.1.25.4.2.1.2.90, Desc : md_misc/1
OID : 1.3.6.1.2.1.25.4.2.1.2.18, Desc : watchdog/3
OID : 1.3.6.1.2.1.25.4.2.1.2.50, Desc : kintegrityd/0
OID : 1.3.6.1.2.1.25.4.2.1.2.68, Desc : kacpi_hotplug
OID : 1.3.6.1.2.1.25.4.2.1.2.78, Desc : ksuspend_usbd
OID : 1.3.6.1.2.1.25.4.2.1.2.10, Desc : watchdog/1
OID : 1.3.6.1.2.1.25.4.2.1.2.1451, Desc : hald
OID : 1.3.6.1.2.1.25.4.2.1.2.16713, Desc : httpd
OID : 1.3.6.1.2.1.25.4.2.1.2.59, Desc : kblockd/1
OID : 1.3.6.1.2.1.25.4.2.1.2.111, Desc : crypto/1
OID : 1.3.6.1.2.1.25.4.2.1.2.23, Desc : migration/5
OID : 1.3.6.1.2.1.25.4.2.1.2.8, Desc : migration/1
OID : 1.3.6.1.2.1.25.4.2.1.2.109, Desc : aio/7
OID : 1.3.6.1.2.1.25.4.2.1.2.343, Desc : mpt/0
OID : 1.3.6.1.2.1.25.4.2.1.2.1765, Desc : mingetty
OID : 1.3.6.1.2.1.25.4.2.1.2.2389, Desc : vcs-bbsipd [/us
1.3.6.1.2.1.25.4.2.1.7.2389
OID : 1.3.6.1.2.1.25.4.2.1.2.72, Desc : ata_sff/2
OID : 1.3.6.1.2.1.25.4.2.1.2.30786, Desc : bash
OID : 1.3.6.1.2.1.25.4.2.1.2.41, Desc : events/6
OID : 1.3.6.1.2.1.25.4.2.1.2.113, Desc : crypto/3
OID : 1.3.6.1.2.1.25.4.2.1.2.125, Desc : kthrotld/3
OID : 1.3.6.1.2.1.25.4.2.1.2.94, Desc : md_misc/5
OID : 1.3.6.1.2.1.25.4.2.1.2.127, Desc : kthrotld/5
OID : 1.3.6.1.2.1.25.4.2.1.2.130, Desc : pciehpd
OID : 1.3.6.1.2.1.25.4.2.1.2.65, Desc : kblockd/7
OID : 1.3.6.1.2.1.25.4.2.1.2.42, Desc : events/7
OID : 1.3.6.1.2.1.25.4.2.1.2.17977, Desc : login
OID : 1.3.6.1.2.1.25.4.2.1.2.2132, Desc : vcs-bbradiusd:
1.3.6.1.2.1.25.4.2.1.7.2132
OID : 1.3.6.1.2.1.25.4.2.1.2.104, Desc : aio/2
OID : 1.3.6.1.2.1.25.4.2.1.2.80, Desc : kseriod
OID : 1.3.6.1.2.1.25.4.2.1.2.31, Desc : migration/7
OID : 1.3.6.1.2.1.25.4.2.1.2.60, Desc : kblockd/2
OID : 1.3.6.1.2.1.25.4.2.1.2.122, Desc : kthrotld/0
OID : 1.3.6.1.2.1.25.4.2.1.2.1701, Desc : httpd
OID : 1.3.6.1.2.1.25.4.2.1.2.39, Desc : events/4
OID : 1.3.6.1.2.1.25.4.2.1.2.62, Desc : kblockd/4
OID : 1.3.6.1.2.1.25.4.2.1.2.20, Desc : migration/4
OID : 1.3.6.1.2.1.25.4.2.1.2.69, Desc : ata_aux
OID : 1.3.6.1.2.1.25.4.2.1.2.89, Desc : md_misc/0
OID : 1.3.6.1.2.1.25.4.2.1.2.19571, Desc : postmaster
OID : 1.3.6.1.2.1.25.4.2.1.2.63, Desc : kblockd/5
OID : 1.3.6.1.2.1.25.4.2.1.2.1275, Desc : rpc.statd
OID : 1.3.6.1.2.1.25.4.2.1.2.126, Desc : kthrotld/4
OID : 1.3.6.1.2.1.25.4.2.1.2.32, Desc : migration/7
OID : 1.3.6.1.2.1.25.4.2.1.2.74, Desc : ata_sff/4
OID : 1.3.6.1.2.1.25.4.2.1.2.14274, Desc : tail
OID : 1.3.6.1.2.1.25.4.2.1.2.2, Desc : kthreadd
OID : 1.3.6.1.2.1.25.4.2.1.2.16718, Desc : httpd
OID : 1.3.6.1.2.1.25.4.2.1.2.77, Desc : ata_sff/7
OID : 1.3.6.1.2.1.25.4.2.1.2.133, Desc : usbhid_resumer
OID : 1.3.6.1.2.1.25.4.2.1.2.19, Desc : migration/4
OID : 1.3.6.1.2.1.25.4.2.1.2.79, Desc : khubd
OID : 1.3.6.1.2.1.25.4.2.1.2.16716, Desc : httpd
OID : 1.3.6.1.2.1.25.4.2.1.2.52, Desc : kintegrityd/2
OID : 1.3.6.1.2.1.25.4.2.1.2.410, Desc : kdmflush
OID : 1.3.6.1.2.1.25.4.2.1.2.30, Desc : watchdog/6
OID : 1.3.6.1.2.1.25.4.2.1.2.30723, Desc : bash
OID : 1.3.6.1.2.1.25.4.2.1.2.1723, Desc : crond
OID : 1.3.6.1.2.1.25.4.2.1.2.40, Desc : events/5
OID : 1.3.6.1.2.1.25.4.2.1.2.87, Desc : md/6
OID : 1.3.6.1.2.1.25.4.2.1.2.2131, Desc : vcs-bbradiusd:
1.3.6.1.2.1.25.4.2.1.7.2131
OID : 1.3.6.1.2.1.25.4.2.1.2.1693, Desc : abrt-dump-oops
OID : 1.3.6.1.2.1.25.4.2.1.2.6, Desc : watchdog/0
OID : 1.3.6.1.2.1.25.4.2.1.2.102, Desc : aio/0
OID : 1.3.6.1.2.1.25.4.2.1.2.2392, Desc : vcs-bbsipd: wor
1.3.6.1.2.1.25.4.2.1.7.2392
OID : 1.3.6.1.2.1.25.4.2.1.2.1, Desc : init
OID : 1.3.6.1.2.1.25.4.2.1.2.83, Desc : md/2
OID : 1.3.6.1.2.1.25.4.2.1.2.1214, Desc : rsyslogd
OID : 1.3.6.1.2.1.25.4.2.1.2.100, Desc : ksmd
OID : 1.3.6.1.2.1.25.4.2.1.2.24335, Desc : tail
OID : 1.3.6.1.2.1.25.4.2.1.2.256, Desc : scsi_eh_1
OID : 1.3.6.1.2.1.25.4.2.1.2.2135, Desc : postmaster
OID : 1.3.6.1.2.1.25.4.2.1.2.34, Desc : watchdog/7
OID : 1.3.6.1.2.1.25.4.2.1.2.91, Desc : md_misc/2
OID : 1.3.6.1.2.1.25.4.2.1.2.255, Desc : scsi_eh_0
OID : 1.3.6.1.2.1.25.4.2.1.2.1144, Desc : flush-253:0
OID : 1.3.6.1.2.1.25.4.2.1.2.70, Desc : ata_sff/0
OID : 1.3.6.1.2.1.25.4.2.1.2.1417, Desc : cupsd
OID : 1.3.6.1.2.1.25.4.2.1.2.123, Desc : kthrotld/1
OID : 1.3.6.1.2.1.25.4.2.1.2.129, Desc : kthrotld/7
OID : 1.3.6.1.2.1.25.4.2.1.2.1001, Desc : kauditd
OID : 1.3.6.1.2.1.25.4.2.1.2.950, Desc : jbd2/sda1-8
OID : 1.3.6.1.2.1.25.4.2.1.2.58, Desc : kblockd/0
OID : 1.3.6.1.2.1.25.4.2.1.2.4, Desc : ksoftirqd/0
OID : 1.3.6.1.2.1.25.4.2.1.2.2394, Desc : postmaster
OID : 1.3.6.1.2.1.25.4.2.1.2.16711, Desc : httpd
OID : 1.3.6.1.2.1.25.4.2.1.2.19569, Desc : postmaster
OID : 1.3.6.1.2.1.25.4.2.1.2.28, Desc : migration/6
OID : 1.3.6.1.2.1.25.4.2.1.2.36, Desc : events/1
OID : 1.3.6.1.2.1.25.4.2.1.2.1734, Desc : atd
OID : 1.3.6.1.2.1.25.4.2.1.2.67, Desc : kacpi_notify
OID : 1.3.6.1.2.1.25.4.2.1.2.1685, Desc : abrtd
Process 2393 in state 4 using 1054556160, and 15432 CPU
Process 8509 in state 4 using 1066254336, and 72819 CPU
Process 2130 in state 4 using 1376649216, and 42857 CPU
Process 19213 in state 4 using 1316159488, and 308982 CPU
Process 2389 in state 4 using 1133903872, and 85341 CPU
Process 2132 in state 4 using 1376649216, and 17026 CPU
Process 2131 in state 4 using 1376649216, and 17205 CPU
Process 2392 in state 4 using 1054556160, and 15730 CPU
0 process matching vcs (<= 0 : CRITICAL) (<= 9):OK
[root@localusarad libexec]# ./check_snmp_process_wizard.pl -H 169.131.241.195 -C public --v2c -n "vcs" -w '2,9' -vvv | less
You have new mail in /var/spool/mail/root