Sponsored Content
Top Forums Shell Programming and Scripting Help on Process Monitoring Script Post 302316011 by swmk on Wednesday 13th of May 2009 08:43:10 PM
Old 05-13-2009
Wow.... Thanks a lot for great replies Smilie. So, that means my script is wrong... Smilie
 

9 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Monitoring ftp process

I have an ftp process using vpn, my box is receiving data hit and miss from the host system. Any tool that can be used within unix (ksh) to monitor that ftp process? (2 Replies)
Discussion started by: arkhewit
2 Replies

2. Shell Programming and Scripting

Process Monitoring Script Help

I have a shell script which runs from 7AM to 3AM every day. The script performs certain monitoring functions and if it has a problem it may need to email someone about it. The problem is that the notification process was never modified to handle running past midnight (from 23:59:59 till 3AM). ... (0 Replies)
Discussion started by: rdc69
0 Replies

3. Shell Programming and Scripting

process monitoring

hi all, i would like to write the shell script to monitoring the processing, but if i passing the parameter the number of process is incorrect how to slove it? many thx got the correct number of process as following script: ===========================================================... (3 Replies)
Discussion started by: eric_wong_ch
3 Replies

4. Shell Programming and Scripting

Process Monitoring Script

I need a script on Solaris 10 OS to monitor 3 seperate processes running. Each process has 3 of the same processes running a total of 9 processes and I need the ability to know if all of processes for each process is running and to email me if they aren't running. I'm new to Unix programming and... (3 Replies)
Discussion started by: soupbone38
3 Replies

5. Shell Programming and Scripting

Error in script to automate the daily monitoring process of UNIX server and it's proc

hi friends, I am trying to automate the daily monitoring process of UNIX server and it's processes. the script are below i executed the above script using ksh -x monitortest1.sh in root login . It shows error at some lines . 1. i logged in using root ,but it... (8 Replies)
Discussion started by: rdhaprakasam
8 Replies

6. Shell Programming and Scripting

Shell script for process monitoring

Im having a bit of troble coming up with a script that does this monitors processes to see if they die, if they do die, restart the process and write out to a log file that the process was restarted with the new PID and the date and time the new process was launched. Any suggestions? (1 Reply)
Discussion started by: jspinal
1 Replies

7. Shell Programming and Scripting

need help with a process monitoring script

GM everyone, I have this script that goes to multiple servers and monitor a certain process and send the output to a file on servers1, the script looks like this exec < server.list while read SERVER do ssh $SERVER "ps -ef | grep process_name" >> /tmp/report done can someone help ad... (0 Replies)
Discussion started by: baders
0 Replies

8. Shell Programming and Scripting

Need help with my process monitoring script

GM everyone, I have this script that goes to multiple servers and monitor a certain process and send the output to a file on servers1, the script looks like this Code: exec < server.listwhile read SERVER do ssh $SERVER "ps -ef | grep process_name" >> /tmp/reportdone can someone help me... (2 Replies)
Discussion started by: baders
2 Replies

9. 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
Monitoring::Livestatus::MULTI(3pm)			User Contributed Perl Documentation			Monitoring::Livestatus::MULTI(3pm)

NAME
Monitoring::Livestatus::MULTI - connector with multiple peers SYNOPSIS
use Monitoring::Livestatus; my $nl = Monitoring::Livestatus::MULTI->new( qw{nagioshost1:9999 nagioshost2:9999 /var/spool/nagios/live.socket} ); my $hosts = $nl->selectall_arrayref("GET hosts"); CONSTRUCTOR
new ( [ARGS] ) Creates an "Monitoring::Livestatus::MULTI" object. "new" takes at least the server. Arguments are the same as in Monitoring::Livestatus. METHODS
do See Monitoring::Livestatus for more information. selectall_arrayref See Monitoring::Livestatus for more information. selectall_hashref See Monitoring::Livestatus for more information. selectcol_arrayref See Monitoring::Livestatus for more information. selectrow_array See Monitoring::Livestatus for more information. selectrow_arrayref See Monitoring::Livestatus for more information. selectrow_hashref See Monitoring::Livestatus for more information. selectscalar_value See Monitoring::Livestatus for more information. errors_are_fatal See Monitoring::Livestatus for more information. warnings See Monitoring::Livestatus for more information. verbose See Monitoring::Livestatus for more information. peer_addr See Monitoring::Livestatus for more information. peer_name See Monitoring::Livestatus for more information. peer_key See Monitoring::Livestatus for more information. disable $ml->disable() disables this connection, returns the last state. enable $ml->enable() enables this connection, returns the last state. AUTHOR
Sven Nierlein, <nierlein@cpan.org> COPYRIGHT AND LICENSE
Copyright (C) 2009 by Sven Nierlein This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself. perl v5.12.3 2010-07-04 Monitoring::Livestatus::MULTI(3pm)
All times are GMT -4. The time now is 06:12 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy