Search Results

Search: Posts Made By: manju98458
2,845
Posted By manju98458
The current interval is set to 15 min as i...
The current interval is set to 15 min as i understood it will complete the cycle of generating only 4 emails per hour.
2,845
Posted By manju98458
Step 1. I accidently put that i removed it. ...
Step 1. I accidently put that i removed it.
Step 2. Sorry, I have included the path.

Now, Once again I run the script twice still the same issue
2,845
Posted By manju98458
No luck still the mails are going when i run the...
No luck still the mails are going when i run the script 2nd and 3rd time also:(
2,845
Posted By manju98458
Issue is that it Compares the Hours each time...
Issue is that it Compares the Hours each time when the script runs
for eg., at 2:00 PM the script runs first it will store the 2012120702
and when script runs 2nd time again 2012120702 so the...
2,845
Posted By manju98458
cron is running every 17 min, For eg;-if the...
cron is running every 17 min, For eg;-if the /apps folder size is reached 85 % in within hour every 17 minutes the alert will generate unless we manually clear some space.
2,845
Posted By manju98458
concept doesn't work when services is having...
concept doesn't work when services is having issue. Just need to limit the alerts to send only one mail per hour instaed of sending multiple emails
2,845
Posted By manju98458
Limiting the Script
Greetings.

I have script to monitor the disk space of folder it runs every 17 min with help of cron. It sends email when disk size reaches to 85 %. Now the issue is that it continousely generates...
12,492
Posted By manju98458
Main goal of the scipt is to execute alert only...
Main goal of the scipt is to execute alert only one time in hour when https

services is down. below is the error when i execute the script with sh -x

script

sed: -e expression #1, char...
12,492
Posted By manju98458
still It's not working
still It's not working
12,492
Posted By manju98458
Sed: -e expression #1, char 2: extra characters after command
Greetings..

getting the error while execution of the script, correct where i am missing

#!/bin/bash
DATE=`date +%Y-%m-%d:::%H:%M`
HOSTNAME=`hostname`
TXT="/log/temp.txt"...
Forum: Red Hat 11-10-2012
2,044
Posted By manju98458
Find and move
Greetings....

Trying to find and move the 30 days old logs

#!/bin/bash
DATE=`date +%d-%b-%Y`
STATUSLOG="$HPATH$DATE-E3Backup.log"
HPATH="/ABC/Websphere/"
HT=`hostname`...
8,957
Posted By manju98458
can you please correct me where i am missing , I...
can you please correct me where i am missing , I have to satisfy both condition if and elif condition
8,957
Posted By manju98458
1). when condition success and failed i should...
1). when condition success and failed i should get an alert

2). Each time when the script runs sftpstatus.dat will only success
string but no the failed string
8,957
Posted By manju98458
I have changed it to lowercase for success and...
I have changed it to lowercase for success and now I am seeing below

output is it correct.
8,957
Posted By manju98458
when executing the script getting the below...
when executing the script getting the below message
8,957
Posted By manju98458
Can you plese help me if any issue with existing...
Can you plese help me if any issue with existing script which i posted

not able to execute it correctly
5,685
Posted By manju98458
To start you can use iostat and caputre the...
To start you can use iostat and caputre the CPU_IDLE time and then you can use the formula =100-CPU_IDLE you will get complete details how much load on the servers. You can export the values to excel...
8,957
Posted By manju98458
bipinajith, Do you have any alternate...
bipinajith,

Do you have any alternate solution which we can use the global variable so that the values also should be stored in the script itself with export

Please suggest and shares the...
8,957
Posted By manju98458
Is it possible to do the same script without...
Is it possible to do the same script without calling the file name outside the script with golbal variable if yes, can you please provide me script with golbal variable
8,957
Posted By manju98458
no it's not a batch file ,External SFTP services...
no it's not a batch file ,External SFTP services are running in Linux Box we have to monitor the services with shell script
8,957
Posted By manju98458
Script for SFTP Status Checking
Greetings...

I have to construct shell script to check the SFTP status,

Define a global variable (say sftpStatus). Set it to default value "success" when you define it first time outside the...
1,894
Posted By manju98458
Hi Pamu, Thanks for your eg. but i have...
Hi Pamu,

Thanks for your eg. but i have tried with string, still haven't got success

can you please give the eg with string option.
1,894
Posted By manju98458
Due to security issue , I cannt able to paste the...
Due to security issue , I cannt able to paste the logs please
1,894
Posted By manju98458
I have modified the script Pamu, how to grep 3...
I have modified the script Pamu, how to grep 3 hours data in the script itself , say 9 AM I have to check the log it should check the logs before
9 AM and generate it.
1,894
Posted By manju98458
Thanks Issue resolved
Thanks Issue resolved
Showing results 1 to 25 of 29

 
All times are GMT -4. The time now is 02:19 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy