Sponsored Content
Top Forums Shell Programming and Scripting Snmp Process Monitoring Issue Post 302512692 by SkySmart on Monday 11th of April 2011 09:50:14 AM
Old 04-11-2011
Snmp Process Monitoring Issue

Can someone please explain to me how come snmpwalk doesn't always find a running process that's on a remote server?

I prefer to use snmp to monitor processes remotely because this doesn't require me to put a script on that remote box. but the problem is, there are times that my snmp command will report that a certain process wasn't found, when in fact that process is running.

The script i run for this revolves around this command:

Code:
snmpwalk -v2c -c bla&@ blah.blah.net hrSWRunPath | egrep -ic oracle


is there a better way to do this via snmp?
 

10 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

Monitoring CPU usage on AIX 5.3 with SNMP

Hi I would like to monitor CPU usage ( %) , memory utilization and such on an AIX 5.3 with snmp. How would I do that ? :confused: If I do "snmpwalk -c public -v1 hosttomonitor" I get nothing about the CPU. I've done this on Linux ( not much trouble doing it on linux ) but I'm having a hard... (2 Replies)
Discussion started by: art
2 Replies

2. AIX

monitoring process list via snmp, hrSWRun

hello, i'd like to evaluate the process list of an AXI 5.3 system via snmpv3. The problem is, that there's no data below the specified branches: 1.3.6.1.2.1.25.4 / .5 in /etc/mib.defs it is defined as hrSWRun / hrSWRunPerf The user's viewgroup is iso. (1.). A snmpwalk through... (0 Replies)
Discussion started by: Bzubi
0 Replies

3. Solaris

Net-snmp issue in Solaris 8

Hi there, I know this is a common question, but I have not found a satsifactory solution yet, so pardon me for posting similar questions. My problem is the log /var/adm/messages is filling up with this entry every few minutes Please refer below. Oct 4 21:39:46 host last message repeated 3... (5 Replies)
Discussion started by: sundar63
5 Replies

4. Infrastructure Monitoring

net-snmp issue

When I run a script that polls a router I get the following error from net-snmp. I can not seem to find a straight answer. Could my mib files be corrupt? xxx-xxx:/etc/sma/snmp/mibs# perl /export/home/user/perl/test.pl Unlinked OID in SNMPv2-MIB: snmp ::= { mib-2 11 } Undefined identifier:... (2 Replies)
Discussion started by: mrlayance
2 Replies

5. Infrastructure Monitoring

SNMP Issue

When my server is restarted, SNMP does not start automatically. It needs to be started manually everytime the server is restarted. (1 Reply)
Discussion started by: shahdeo
1 Replies

6. Infrastructure Monitoring

Monitoring CPU Usage with SNMP

Can someone please tell me how to calculate the CPU usage from what one gets back from snmpwalk? I have searched and dug through the internet and apparently, no one has the answer to this? i can use snmpwalk to pull out relevant information about cpu. but i have no clue what values are to be... (1 Reply)
Discussion started by: SkySmart
1 Replies

7. Infrastructure Monitoring

temp monitoring via SNMP

Hi, I am trying to monitor temperature of telecom devices of avaya and polycom. I have setup SNMP. can somebody help me to know what are the requirements to have a SNMP command working for this thanks in advance (1 Reply)
Discussion started by: Subhash Chauhan
1 Replies

8. Infrastructure Monitoring

SNMP Monitoring

Hi, I have below IP address configured in my server. Recently i installed SNMP in Linux 64x bit. While checking the snmp using snmpwalk i get Time out error for all IP except loopback IP(127.0.0.1). How to make all my IPs listen to SNMP eth0 BOOTPROTO=static DEVICE=eth0... (1 Reply)
Discussion started by: Paulwintech
1 Replies

9. UNIX for Advanced & Expert Users

Issue with SNMP

Hi, I have a strange issue with snmwpalk. If I do snmpget on yyy.977.4.3.1.3.1006 I get the following successfull output : yyy.977.4.3.1.3.1006 = INTEGER: 206 This is what I was excepting for, now I want to look for other snmp addresses Under yyy.977.4.3.1.3.xxxx. If I do snmpwalk on... (3 Replies)
Discussion started by: FFedo
3 Replies

10. Shell Programming and Scripting

Monitoring processes in parallel and process log file after process exits

I am writing a script to kick off a process to gather logs on multiple nodes in parallel using "&". These processes create individual log files. Which I would like to filter and convert in CSV format after they are complete. I am facing following issues: 1. Monitor all Processes parallelly.... (5 Replies)
Discussion started by: shunya
5 Replies
PIDOF(8)						Linux System Administrator's Manual						  PIDOF(8)

NAME
pidof -- find the process ID of a running program. SYNOPSIS
pidof [-s] [-x] [-o omitpid] [-o omitpid..] program [program..] DESCRIPTION
Pidof finds the process id's (pids) of the named programs. It prints those id's on the standard output. This program is on some systems used in run-level change scripts, especially when the system has a System-V like rc structure. In that case these scripts are located in /etc/rc?.d, where ? is the runlevel. If the system has a start-stop-daemon (8) program that should be used instead. OPTIONS
-s Single shot - this instructs the program to only return one pid. -x Scripts too - this causes the program to also return process id's of shells running the named scripts. -o Tells pidof to omit processes with that process id. The special pid %PPID can be used to name the parent process of the pidof pro- gram, in other words the calling shell or shell script. NOTES
pidof is simply a (symbolic) link to the killall5 program, which should also be located in /sbin. When pidof is invoked with a full pathname to the program it should find the pid of, it is reasonably safe. Otherwise it is possible that it returns pids of running programs that happen to have the same name as the program you're after but are actually other programs. SEE ALSO
shutdown(8), init(8), halt(8), reboot(8) AUTHOR
Miquel van Smoorenburg, miquels@cistron.nl 01 Sep 1998 PIDOF(8)
All times are GMT -4. The time now is 07:09 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy