article Process Check monitor does not check the full Solaris path

The Check for a Process (Process Check) monitor may not check against the full process path on Solaris systems. This can be caused by the up.time agent using the ps command to match running processes. When you manually run the ps command on Solaris, the result will be truncated if the length of the process path and arguments is beyond a set length.

This issue can be resolved by using the /usr/ucb/ps auxwww command instead of the standard ps command. This option will display the full path arguments. To implement the resolution, update the /opt/uptime-agent/bin/perfparse.sh script within this function:

chk4()
{
PROC=$*
ps -eo "pid args" | egrep -v "perfparse" | egrep -v "proc=" | $AWKBIN -v proc="$PROC" '
{
if( $0 ~ proc )
{
count=count+1
}
}
END{
if(count > 0)
{
print "OK - \"" proc "\" found " count " time\(s\)"
}
else
{
print "CRIT - \"" proc "\" not running "
}
}'
}

Related Articles


Process Count Check error: explorer not found

RatingViews
article

On Windows systems the "explorer" process will not exist if there are no users logged on to the system. If this is the case, we recommend using the "winlogon" process as it is always running on the...

By: uptime Support | Date Created: 12-31-1969 | Last Modified: 8-10-2011 | Index: 290

  2581

I/O Exception Occurs When Performing a Ping Check

RatingViews
article

This article explains how to correct an I/O exception error that may occur when up.time runs a default ping check.

By: uptime Support | Date Created: 6-26-2007 | Last Modified: 6-28-2011 | Index: 202

  2720

How do I change a monitor's check or alerting frequency?

RatingViews
article

To change monitor's timing settings follow these steps 1) Click 'Services' 2) Use the main pane search options to locate the monitor you want to edit 3) Click the Edit icon beside the monitor...

By: uptime Support | Date Created: 12-31-1969 | Last Modified: 8-25-2011 | Index: 343

  4337

How does the SQL Server Tablespace Check monitor work?

RatingViews
article

The SQL Server Tablespace Check monitor works by connecting directly to your database instance and running a set of commands to verify tablespace usage. The commands used are sp_helpdb; From this...

By: uptime Support | Date Created: 12-31-1969 | Last Modified: 8-31-2011 | Index: 296

  4834

How do I check if an agent is running?

RatingViews
article

UNIX & Linux The UNIX & Linux agents do not run until they are polled by the monitoring station. To simulate a polling, and therefore verify that the agent is running, telnet to the agent server...

By: uptime Support | Date Created: 12-31-1969 | Last Modified: 4-27-2013 | Index: 249

  5186

User Comments



No comments have been posted.

Copyright © 2021 IDERA, Inc.   Legal   Privacy Statement