linux process match

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
dara79
Posts: 16
Joined: Wed Jan 11, 2012 9:20 am

linux process match

Post by dara79 »

Hi, seems to be having some grepping problem..

I am using the linux snmp workstation wizard template..

and get "No process matching postg found : CRITICAL" have tried all different combinations possible.. anything longer then "post" dont grep anything..

the postgres process lines all look like: "postgres: USER DATABASE (PID?) status" and the lines can get very long..


"check_xi_service_snmp_linux_process! -C public --v2c -n 'postg' -w '5,50' -c '3,70'"


i have probably done something wrong but cant seem to find it.. any suggestions ?

Just doing a snmpwalk on the machine and you can see the postgres processes..

Code: Select all

[root@nagiosxi01 libexec]# snmpwalk -v2c -cpublic 192.168.101.47 |grep postg
HOST-RESOURCES-MIB::hrSWRunPath.2773 = STRING: "postgres: jira_user jira4.4.3_db 192.168.101.46(40688) idle"
HOST-RESOURCES-MIB::hrSWRunPath.2775 = STRING: "postgres: jira_user jira4.4.3_db 192.168.101.46(40689) idle"
HOST-RESOURCES-MIB::hrSWRunPath.4022 = STRING: "postgres: logger process   "
HOST-RESOURCES-MIB::hrSWRunPath.4024 = STRING: "postgres: writer process   "
HOST-RESOURCES-MIB::hrSWRunPath.4025 = STRING: "postgres: wal writer process   "
HOST-RESOURCES-MIB::hrSWRunPath.4026 = STRING: "postgres: autovacuum launcher process   "
HOST-RESOURCES-MIB::hrSWRunPath.4027 = STRING: "postgres: stats collector process   "
HOST-RESOURCES-MIB::hrSWRunPath.4455 = STRING: "postgres: jira_user jira4.4.3_db 192.168.101.46(40046) idle"
HOST-RESOURCES-MIB::hrSWRunPath.4491 = STRING: "postgres: jira_user jira4.4.3_db 192.168.101.46(40049) idle"
HOST-RESOURCES-MIB::hrSWRunPath.9965 = STRING: "postgres: jira_user jira4.4.3_db 192.168.101.46(35085) idle"
HOST-RESOURCES-MIB::hrSWRunPath.9966 = STRING: "postgres: jira_user jira4.4.3_db 192.168.101.46(35086) idle"
HOST-RESOURCES-MIB::hrSWRunPath.10661 = STRING: "postgres: jira_user jira4.4.3_db 192.168.101.46(52117) idle"
HOST-RESOURCES-MIB::hrSWRunPath.11543 = STRING: "postgres: jira_user jira4.4.3_db 192.168.101.46(42309) idle"
HOST-RESOURCES-MIB::hrSWRunPath.18049 = STRING: "postgres: jira_user fisheye2.7.10_db 192.168.101.46(45810) idle"
HOST-RESOURCES-MIB::hrSWRunPath.18050 = STRING: "postgres: jira_user fisheye2.7.10_db 192.168.101.46(45811) idle"
HOST-RESOURCES-MIB::hrSWRunPath.18290 = STRING: "postgres: jira_user fisheye2.7.10_db 192.168.101.46(58701) idle"
HOST-RESOURCES-MIB::hrSWRunPath.18399 = STRING: "postgres: jira_user fisheye2.7.10_db 192.168.101.46(54253) idle"
HOST-RESOURCES-MIB::hrSWRunPath.18400 = STRING: "postgres: jira_user fisheye2.7.10_db 192.168.101.46(54254) idle"
HOST-RESOURCES-MIB::hrSWRunPath.18401 = STRING: "postgres: jira_user fisheye2.7.10_db 192.168.101.46(54256) idle"
HOST-RESOURCES-MIB::hrSWInstalledName.118 = STRING: "postgresql84-libs-8.4.5-1.el5_5.1"
HOST-RESOURCES-MIB::hrSWInstalledName.427 = STRING: "postgresql84-server-8.4.5-1.el5_5.1"
HOST-RESOURCES-MIB::hrSWInstalledName.682 = STRING: "postgresql84-8.4.5-1.el5_5.1"
HOST-RESOURCES-MIB::hrSWInstalledName.694 = STRING: "postgresql-libs-8.1.22-1.el5_5.1"
HOST-RESOURCES-MIB::hrSWInstalledName.733 = STRING: "postgresql-libs-8.1.22-1.el5_5.1"

But running check_snmp_process_wizard.pl shows no results..

Code: Select all

[root@nagiosxi01 libexec]# ./check_snmp_process_wizard.pl -H 192.168.101.47 -C public -n postg -v
0 0 0 0
Alarm at 15
Filter : postg
OID : 1.3.6.1.2.1.25.4.2.1.2.31467, Desc : httpd
OID : 1.3.6.1.2.1.25.4.2.1.2.25, Desc : kthread
OID : 1.3.6.1.2.1.25.4.2.1.2.553, Desc : ksnapd
OID : 1.3.6.1.2.1.25.4.2.1.2.18401, Desc : postmaster
OID : 1.3.6.1.2.1.25.4.2.1.2.31468, Desc : httpd
OID : 1.3.6.1.2.1.25.4.2.1.2.18535, Desc : more
OID : 1.3.6.1.2.1.25.4.2.1.2.2213, Desc : kjournald
OID : 1.3.6.1.2.1.25.4.2.1.2.31469, Desc : httpd
OID : 1.3.6.1.2.1.25.4.2.1.2.3972, Desc : mingetty
OID : 1.3.6.1.2.1.25.4.2.1.2.2219, Desc : kjournald
OID : 1.3.6.1.2.1.25.4.2.1.2.4455, Desc : postmaster
OID : 1.3.6.1.2.1.25.4.2.1.2.3477, Desc : hald-addon-stor
OID : 1.3.6.1.2.1.25.4.2.1.2.3442, Desc : acpid
OID : 1.3.6.1.2.1.25.4.2.1.2.3387, Desc : rpc.idmapd
OID : 1.3.6.1.2.1.25.4.2.1.2.18049, Desc : postmaster
OID : 1.3.6.1.2.1.25.4.2.1.2.31464, Desc : httpd
OID : 1.3.6.1.2.1.25.4.2.1.2.2221, Desc : kjournald
OID : 1.3.6.1.2.1.25.4.2.1.2.276, Desc : aio/1
OID : 1.3.6.1.2.1.25.4.2.1.2.4022, Desc : postmaster
OID : 1.3.6.1.2.1.25.4.2.1.2.2775, Desc : postmaster
OID : 1.3.6.1.2.1.25.4.2.1.2.525, Desc : mpt_poll_0
OID : 1.3.6.1.2.1.25.4.2.1.2.3529, Desc : sshd
OID : 1.3.6.1.2.1.25.4.2.1.2.8, Desc : khelper
OID : 1.3.6.1.2.1.25.4.2.1.2.18290, Desc : postmaster
OID : 1.3.6.1.2.1.25.4.2.1.2.4030, Desc : gam_server
OID : 1.3.6.1.2.1.25.4.2.1.2.533, Desc : ata_aux
OID : 1.3.6.1.2.1.25.4.2.1.2.31470, Desc : httpd
OID : 1.3.6.1.2.1.25.4.2.1.2.3744, Desc : httpd
OID : 1.3.6.1.2.1.25.4.2.1.2.527, Desc : scsi_eh_0
OID : 1.3.6.1.2.1.25.4.2.1.2.531, Desc : ata/0
OID : 1.3.6.1.2.1.25.4.2.1.2.31463, Desc : httpd
OID : 1.3.6.1.2.1.25.4.2.1.2.197, Desc : kseriod
OID : 1.3.6.1.2.1.25.4.2.1.2.273, Desc : pdflush
OID : 1.3.6.1.2.1.25.4.2.1.2.4491, Desc : postmaster
OID : 1.3.6.1.2.1.25.4.2.1.2.3756, Desc : crond
OID : 1.3.6.1.2.1.25.4.2.1.2.2721, Desc : vmmemctl
OID : 1.3.6.1.2.1.25.4.2.1.2.10661, Desc : postmaster
OID : 1.3.6.1.2.1.25.4.2.1.2.9965, Desc : postmaster
OID : 1.3.6.1.2.1.25.4.2.1.2.3651, Desc : mysqld
OID : 1.3.6.1.2.1.25.4.2.1.2.192, Desc : cqueue/1
OID : 1.3.6.1.2.1.25.4.2.1.2.31, Desc : kblockd/1
OID : 1.3.6.1.2.1.25.4.2.1.2.568, Desc : kjournald
OID : 1.3.6.1.2.1.25.4.2.1.2.7, Desc : events/1
OID : 1.3.6.1.2.1.25.4.2.1.2.271, Desc : khungtaskd
OID : 1.3.6.1.2.1.25.4.2.1.2.3454, Desc : hald
OID : 1.3.6.1.2.1.25.4.2.1.2.2138, Desc : kmpathd/0
OID : 1.3.6.1.2.1.25.4.2.1.2.18400, Desc : postmaster
OID : 1.3.6.1.2.1.25.4.2.1.2.3468, Desc : hald-addon-keyb
OID : 1.3.6.1.2.1.25.4.2.1.2.532, Desc : ata/1
OID : 1.3.6.1.2.1.25.4.2.1.2.32, Desc : kacpid
OID : 1.3.6.1.2.1.25.4.2.1.2.3302, Desc : irqbalance
OID : 1.3.6.1.2.1.25.4.2.1.2.2, Desc : migration/0
OID : 1.3.6.1.2.1.25.4.2.1.2.11543, Desc : postmaster
OID : 1.3.6.1.2.1.25.4.2.1.2.3604, Desc : mysqld_safe
OID : 1.3.6.1.2.1.25.4.2.1.2.4027, Desc : postmaster
OID : 1.3.6.1.2.1.25.4.2.1.2.2773, Desc : postmaster
OID : 1.3.6.1.2.1.25.4.2.1.2.18399, Desc : postmaster
OID : 1.3.6.1.2.1.25.4.2.1.2.3230, Desc : syslogd
OID : 1.3.6.1.2.1.25.4.2.1.2.3202, Desc : audispd
OID : 1.3.6.1.2.1.25.4.2.1.2.3967, Desc : mingetty
OID : 1.3.6.1.2.1.25.4.2.1.2.5, Desc : ksoftirqd/1
OID : 1.3.6.1.2.1.25.4.2.1.2.17225, Desc : login
OID : 1.3.6.1.2.1.25.4.2.1.2.482, Desc : kpsmoused
OID : 1.3.6.1.2.1.25.4.2.1.2.526, Desc : mpt/0
OID : 1.3.6.1.2.1.25.4.2.1.2.9966, Desc : postmaster
OID : 1.3.6.1.2.1.25.4.2.1.2.30, Desc : kblockd/0
OID : 1.3.6.1.2.1.25.4.2.1.2.3, Desc : ksoftirqd/0
OID : 1.3.6.1.2.1.25.4.2.1.2.593, Desc : kauditd
OID : 1.3.6.1.2.1.25.4.2.1.2.3349, Desc : rpciod/0
OID : 1.3.6.1.2.1.25.4.2.1.2.3464, Desc : hald-addon-acpi
OID : 1.3.6.1.2.1.25.4.2.1.2.4028, Desc : yum-updatesd
OID : 1.3.6.1.2.1.25.4.2.1.2.6, Desc : events/0
OID : 1.3.6.1.2.1.25.4.2.1.2.195, Desc : khubd
OID : 1.3.6.1.2.1.25.4.2.1.2.3969, Desc : mingetty
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.191, Desc : cqueue/0
OID : 1.3.6.1.2.1.25.4.2.1.2.624, Desc : udevd
OID : 1.3.6.1.2.1.25.4.2.1.2.3319, Desc : portmap
OID : 1.3.6.1.2.1.25.4.2.1.2.2912, Desc : vmtoolsd
OID : 1.3.6.1.2.1.25.4.2.1.2.3568, Desc : ntpd
OID : 1.3.6.1.2.1.25.4.2.1.2.3350, Desc : rpciod/1
OID : 1.3.6.1.2.1.25.4.2.1.2.17249, Desc : bash
OID : 1.3.6.1.2.1.25.4.2.1.2.4024, Desc : postmaster
OID : 1.3.6.1.2.1.25.4.2.1.2.540, Desc : kstriped
OID : 1.3.6.1.2.1.25.4.2.1.2.3200, Desc : auditd
OID : 1.3.6.1.2.1.25.4.2.1.2.3977, Desc : mingetty
OID : 1.3.6.1.2.1.25.4.2.1.2.3234, Desc : klogd
OID : 1.3.6.1.2.1.25.4.2.1.2.4026, Desc : postmaster
OID : 1.3.6.1.2.1.25.4.2.1.2.4025, Desc : postmaster
OID : 1.3.6.1.2.1.25.4.2.1.2.3925, Desc : atd
OID : 1.3.6.1.2.1.25.4.2.1.2.272, Desc : pdflush
OID : 1.3.6.1.2.1.25.4.2.1.2.4, Desc : migration/1
OID : 1.3.6.1.2.1.25.4.2.1.2.17337, Desc : snmpd
OID : 1.3.6.1.2.1.25.4.2.1.2.3408, Desc : dbus-daemon
OID : 1.3.6.1.2.1.25.4.2.1.2.3788, Desc : xfs
OID : 1.3.6.1.2.1.25.4.2.1.2.31466, Desc : httpd
OID : 1.3.6.1.2.1.25.4.2.1.2.3728, Desc : postmaster
OID : 1.3.6.1.2.1.25.4.2.1.2.3455, Desc : hald-runner
OID : 1.3.6.1.2.1.25.4.2.1.2.274, Desc : kswapd0
OID : 1.3.6.1.2.1.25.4.2.1.2.31465, Desc : httpd
OID : 1.3.6.1.2.1.25.4.2.1.2.18050, Desc : postmaster
OID : 1.3.6.1.2.1.25.4.2.1.2.3357, Desc : rpc.statd
OID : 1.3.6.1.2.1.25.4.2.1.2.3968, Desc : mingetty
OID : 1.3.6.1.2.1.25.4.2.1.2.275, Desc : aio/0
OID : 1.3.6.1.2.1.25.4.2.1.2.2139, Desc : kmpathd/1
OID : 1.3.6.1.2.1.25.4.2.1.2.2140, Desc : kmpath_handlerd
No process matching postg found : CRITICAL

BR
Daniel
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: linux process match

Post by scottwilkerson »

This is because it is listing as postmaster not postgres
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
dara79
Posts: 16
Joined: Wed Jan 11, 2012 9:20 am

Re: linux process match

Post by dara79 »

Yes i know, "post" gets the postfix processes..tried postgres/postg/post.. but it should also get the postgres ones or ?

BR
Daniel Rapp
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: linux process match

Post by scottwilkerson »

dara79 wrote:

Code: Select all

[root@nagiosxi01 libexec]# ./check_snmp_process_wizard.pl -H 192.168.101.47 -C public -n postg -v
0 0 0 0
Alarm at 15
Filter : postg
OID : 1.3.6.1.2.1.25.4.2.1.2.31467, Desc : httpd
OID : 1.3.6.1.2.1.25.4.2.1.2.25, Desc : kthread
OID : 1.3.6.1.2.1.25.4.2.1.2.553, Desc : ksnapd
OID : 1.3.6.1.2.1.25.4.2.1.2.18401, Desc : postmaster
OID : 1.3.6.1.2.1.25.4.2.1.2.31468, Desc : httpd
OID : 1.3.6.1.2.1.25.4.2.1.2.18535, Desc : more
OID : 1.3.6.1.2.1.25.4.2.1.2.2213, Desc : kjournald
OID : 1.3.6.1.2.1.25.4.2.1.2.31469, Desc : httpd
OID : 1.3.6.1.2.1.25.4.2.1.2.3972, Desc : mingetty
OID : 1.3.6.1.2.1.25.4.2.1.2.2219, Desc : kjournald
OID : 1.3.6.1.2.1.25.4.2.1.2.4455, Desc : postmaster
OID : 1.3.6.1.2.1.25.4.2.1.2.3477, Desc : hald-addon-stor
OID : 1.3.6.1.2.1.25.4.2.1.2.3442, Desc : acpid
OID : 1.3.6.1.2.1.25.4.2.1.2.3387, Desc : rpc.idmapd
OID : 1.3.6.1.2.1.25.4.2.1.2.18049, Desc : postmaster
OID : 1.3.6.1.2.1.25.4.2.1.2.31464, Desc : httpd
OID : 1.3.6.1.2.1.25.4.2.1.2.2221, Desc : kjournald
OID : 1.3.6.1.2.1.25.4.2.1.2.276, Desc : aio/1
OID : 1.3.6.1.2.1.25.4.2.1.2.4022, Desc : postmaster
OID : 1.3.6.1.2.1.25.4.2.1.2.2775, Desc : postmaster
OID : 1.3.6.1.2.1.25.4.2.1.2.525, Desc : mpt_poll_0
OID : 1.3.6.1.2.1.25.4.2.1.2.3529, Desc : sshd
OID : 1.3.6.1.2.1.25.4.2.1.2.8, Desc : khelper
OID : 1.3.6.1.2.1.25.4.2.1.2.18290, Desc : postmaster
OID : 1.3.6.1.2.1.25.4.2.1.2.4030, Desc : gam_server
OID : 1.3.6.1.2.1.25.4.2.1.2.533, Desc : ata_aux
OID : 1.3.6.1.2.1.25.4.2.1.2.31470, Desc : httpd
OID : 1.3.6.1.2.1.25.4.2.1.2.3744, Desc : httpd
OID : 1.3.6.1.2.1.25.4.2.1.2.527, Desc : scsi_eh_0
OID : 1.3.6.1.2.1.25.4.2.1.2.531, Desc : ata/0
OID : 1.3.6.1.2.1.25.4.2.1.2.31463, Desc : httpd
OID : 1.3.6.1.2.1.25.4.2.1.2.197, Desc : kseriod
OID : 1.3.6.1.2.1.25.4.2.1.2.273, Desc : pdflush
OID : 1.3.6.1.2.1.25.4.2.1.2.4491, Desc : postmaster
OID : 1.3.6.1.2.1.25.4.2.1.2.3756, Desc : crond
OID : 1.3.6.1.2.1.25.4.2.1.2.2721, Desc : vmmemctl
OID : 1.3.6.1.2.1.25.4.2.1.2.10661, Desc : postmaster
OID : 1.3.6.1.2.1.25.4.2.1.2.9965, Desc : postmaster
OID : 1.3.6.1.2.1.25.4.2.1.2.3651, Desc : mysqld
OID : 1.3.6.1.2.1.25.4.2.1.2.192, Desc : cqueue/1
OID : 1.3.6.1.2.1.25.4.2.1.2.31, Desc : kblockd/1
OID : 1.3.6.1.2.1.25.4.2.1.2.568, Desc : kjournald
OID : 1.3.6.1.2.1.25.4.2.1.2.7, Desc : events/1
OID : 1.3.6.1.2.1.25.4.2.1.2.271, Desc : khungtaskd
OID : 1.3.6.1.2.1.25.4.2.1.2.3454, Desc : hald
OID : 1.3.6.1.2.1.25.4.2.1.2.2138, Desc : kmpathd/0
OID : 1.3.6.1.2.1.25.4.2.1.2.18400, Desc : postmaster
OID : 1.3.6.1.2.1.25.4.2.1.2.3468, Desc : hald-addon-keyb
OID : 1.3.6.1.2.1.25.4.2.1.2.532, Desc : ata/1
OID : 1.3.6.1.2.1.25.4.2.1.2.32, Desc : kacpid
OID : 1.3.6.1.2.1.25.4.2.1.2.3302, Desc : irqbalance
OID : 1.3.6.1.2.1.25.4.2.1.2.2, Desc : migration/0
OID : 1.3.6.1.2.1.25.4.2.1.2.11543, Desc : postmaster
OID : 1.3.6.1.2.1.25.4.2.1.2.3604, Desc : mysqld_safe
OID : 1.3.6.1.2.1.25.4.2.1.2.4027, Desc : postmaster
OID : 1.3.6.1.2.1.25.4.2.1.2.2773, Desc : postmaster
OID : 1.3.6.1.2.1.25.4.2.1.2.18399, Desc : postmaster
OID : 1.3.6.1.2.1.25.4.2.1.2.3230, Desc : syslogd
OID : 1.3.6.1.2.1.25.4.2.1.2.3202, Desc : audispd
OID : 1.3.6.1.2.1.25.4.2.1.2.3967, Desc : mingetty
OID : 1.3.6.1.2.1.25.4.2.1.2.5, Desc : ksoftirqd/1
OID : 1.3.6.1.2.1.25.4.2.1.2.17225, Desc : login
OID : 1.3.6.1.2.1.25.4.2.1.2.482, Desc : kpsmoused
OID : 1.3.6.1.2.1.25.4.2.1.2.526, Desc : mpt/0
OID : 1.3.6.1.2.1.25.4.2.1.2.9966, Desc : postmaster
OID : 1.3.6.1.2.1.25.4.2.1.2.30, Desc : kblockd/0
OID : 1.3.6.1.2.1.25.4.2.1.2.3, Desc : ksoftirqd/0
OID : 1.3.6.1.2.1.25.4.2.1.2.593, Desc : kauditd
OID : 1.3.6.1.2.1.25.4.2.1.2.3349, Desc : rpciod/0
OID : 1.3.6.1.2.1.25.4.2.1.2.3464, Desc : hald-addon-acpi
OID : 1.3.6.1.2.1.25.4.2.1.2.4028, Desc : yum-updatesd
OID : 1.3.6.1.2.1.25.4.2.1.2.6, Desc : events/0
OID : 1.3.6.1.2.1.25.4.2.1.2.195, Desc : khubd
OID : 1.3.6.1.2.1.25.4.2.1.2.3969, Desc : mingetty
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.191, Desc : cqueue/0
OID : 1.3.6.1.2.1.25.4.2.1.2.624, Desc : udevd
OID : 1.3.6.1.2.1.25.4.2.1.2.3319, Desc : portmap
OID : 1.3.6.1.2.1.25.4.2.1.2.2912, Desc : vmtoolsd
OID : 1.3.6.1.2.1.25.4.2.1.2.3568, Desc : ntpd
OID : 1.3.6.1.2.1.25.4.2.1.2.3350, Desc : rpciod/1
OID : 1.3.6.1.2.1.25.4.2.1.2.17249, Desc : bash
OID : 1.3.6.1.2.1.25.4.2.1.2.4024, Desc : postmaster
OID : 1.3.6.1.2.1.25.4.2.1.2.540, Desc : kstriped
OID : 1.3.6.1.2.1.25.4.2.1.2.3200, Desc : auditd
OID : 1.3.6.1.2.1.25.4.2.1.2.3977, Desc : mingetty
OID : 1.3.6.1.2.1.25.4.2.1.2.3234, Desc : klogd
OID : 1.3.6.1.2.1.25.4.2.1.2.4026, Desc : postmaster
OID : 1.3.6.1.2.1.25.4.2.1.2.4025, Desc : postmaster
OID : 1.3.6.1.2.1.25.4.2.1.2.3925, Desc : atd
OID : 1.3.6.1.2.1.25.4.2.1.2.272, Desc : pdflush
OID : 1.3.6.1.2.1.25.4.2.1.2.4, Desc : migration/1
OID : 1.3.6.1.2.1.25.4.2.1.2.17337, Desc : snmpd
OID : 1.3.6.1.2.1.25.4.2.1.2.3408, Desc : dbus-daemon
OID : 1.3.6.1.2.1.25.4.2.1.2.3788, Desc : xfs
OID : 1.3.6.1.2.1.25.4.2.1.2.31466, Desc : httpd
OID : 1.3.6.1.2.1.25.4.2.1.2.3728, Desc : postmaster
OID : 1.3.6.1.2.1.25.4.2.1.2.3455, Desc : hald-runner
OID : 1.3.6.1.2.1.25.4.2.1.2.274, Desc : kswapd0
OID : 1.3.6.1.2.1.25.4.2.1.2.31465, Desc : httpd
OID : 1.3.6.1.2.1.25.4.2.1.2.18050, Desc : postmaster
OID : 1.3.6.1.2.1.25.4.2.1.2.3357, Desc : rpc.statd
OID : 1.3.6.1.2.1.25.4.2.1.2.3968, Desc : mingetty
OID : 1.3.6.1.2.1.25.4.2.1.2.275, Desc : aio/0
OID : 1.3.6.1.2.1.25.4.2.1.2.2139, Desc : kmpathd/1
OID : 1.3.6.1.2.1.25.4.2.1.2.2140, Desc : kmpath_handlerd
No process matching postg found : CRITICAL
If you look through the list returned, you can see there are no processes listed named postgres, they are named postmaster.

If you are going to snmpwalk, you would need to start at the OID 1.3.6.1.2.1.25.4.2.1.2 as the plugin does.
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
dara79
Posts: 16
Joined: Wed Jan 11, 2012 9:20 am

Re: linux process match

Post by dara79 »

ok, thank you.
Locked