Search Results

Search: Posts Made By: ghpradeep
2,636
Posted By ghpradeep
Hello, Because, In mount command output, it...
Hello,
Because, In mount command output, it shows default option which are set on particular filesystem. which is not showing in /etc/fstab file. it only show defaults word there.


[root@test...
2,636
Posted By ghpradeep
hello, basically i want search particular...
hello,

basically i want search particular filesystem(eg. /data) is having nodev parameter set or not using mount command.
mount |grep /data

if /data does not have nodev parameter then it...
2,636
Posted By ghpradeep
Hello Mannu2525, thanks for providing...
Hello Mannu2525,

thanks for providing command. Can we add nodev option in fstab file if its not there.
2,636
Posted By ghpradeep
sed command to append word at end of line
hello Team,

I am looking for sed command or script which will append word at end of line. for example. I want to validate particular filesystem with mount |<filesystem name> command. if nodev...
1,759
Posted By ghpradeep
Hello MadeInGermany, I am not much expert in...
Hello MadeInGermany,

I am not much expert in Awk scripting. I have file where all hostgroup_members entry like below. I want read them in above your code and delete them.
example:
prd-server...
1,759
Posted By ghpradeep
Hello MadeInGermany, thanks for code. I...
Hello MadeInGermany,

thanks for code. I checked and its working while passing single hostgroups_members name
Can we use same for multiple hostgroups_members to remove by passing file which...
1,759
Posted By ghpradeep
Thanks rdrtx1, above command working fine. ...
Thanks rdrtx1, above command working fine.

one query here. suppose hostgroup_members are blank. noting is there. is it possible to delete it.
example:

define hostgroup{
hostgroup_name...
1,759
Posted By ghpradeep
How to remove contents from file which are under bracket?
hello Friend,

In hostgroup file, i have define lots of hostgroups. I need to remove few of them without manually editing file. Need script or syntax.
I want to search particular on...
2,666
Posted By ghpradeep
Thanks for reply. its solved my purpose.
Thanks for reply. its solved my purpose.
2,666
Posted By ghpradeep
currently its running with heck_mysql_query...
currently its running with
heck_mysql_query v2.1.1 (nagios-plugins 2.1.1). its does not have above option.

any idea how to use wrapper here.
2,666
Posted By ghpradeep
Need wrapper around mysql query
Hello Friends,

I am using check_mysql_query plugin in nagios to query database and get output. query is working fine but output which i am getting contain query. I want to remove query from output...
2,010
Posted By ghpradeep
Powershell script to monitor windows process
Hello Friend,

I am not expert in power shell scripting. I nee custom powershell script which check if given process is running on windows machine or not.

will use it in nagios to monitor that...
Forum: Infrastructure Monitoring 03-30-2017
3,300
Posted By ghpradeep
Failed to read from eventlog: 31: A device attached to the system is not functioning.
Hello Team,

I am getting below error on nagios to monitor windows Server 2012.

Failed to read from eventlog: 31: A device attached to the system is not functioning.

basically we are...
Forum: Web Development 03-24-2017
1,769
Posted By ghpradeep
actually, there are accessing nagios monitoring...
actually, there are accessing nagios monitoring URL from there desktop and they are opening so many tab on browser. due to this it increase load on website.
Forum: Web Development 03-24-2017
1,769
Posted By ghpradeep
Restrict user for certain number of connection
Hello,

I need help in Apache to restrict user for number of concurrent connection. its basically related to nagios monitoring site. End user opening N no of tab to monitor and it increase load on...
Forum: Infrastructure Monitoring 03-03-2017
5,152
Posted By ghpradeep
How to monitoring windows process using nagios CheckProcState?
Hello,

I am trying to get correct syntax to monitoring process running on windows server using CheckProcState. when i am trying below command whether notepad.exe running or not. its showing...
1,652
Posted By ghpradeep
Hi, I want to change instance depend upon host...
Hi,
I want to change instance depend upon host name. First it should match host name and then it should change the host group name or service group instance name from that group.
1,652
Posted By ghpradeep
Hello, Please find below example original...
Hello,
Please find below example

original file:
define host{
use solaris-server
host_name test
alias ...
1,652
Posted By ghpradeep
Read contains within { and replace the word
Hello Team,
I am looking for help to read contains from { } and replace the word.

basically, I need to use this for nagios configuration file where each host/service define within {}.

I want...
921
Posted By ghpradeep
Thanks all for reply, I have quick question here....
Thanks all for reply, I have quick question here. how about having multiple lines in single file like below.
.
e.g
100 4 5 101 400
900 1245 789 P


I want to read multiple lines from files...
921
Posted By ghpradeep
Script regarding non numerical or empty value
Hello Team,

I need bash script to check if my output is non numerical or empty. if its then my output should display default value as 0

basically, I am reading value from txt file. most of...
1,425
Posted By ghpradeep
Thanks @balajesuri its working on.
Thanks @balajesuri its working on.
1,425
Posted By ghpradeep
I am getting below error sed -i...
I am getting below error

sed -i '\/url=[htmlcgi]\/status.cgi?hostgroup=[hostgroup_name]\/d' 3
sed: -e expression #1, char 57: unterminated address regex
1,425
Posted By ghpradeep
How to delete line from file using sed command?
hello Team,

I want to delete below linux using sed command but I am getting error.sed -i '/url=[htmlcgi]/status.cgi?hostgroup=[hostgroup_name]/d' 3
error:sed: -e expression #1, char 32: unknown...
2,655
Posted By ghpradeep
Hello, Thank you all for reply. using Chubler_XL...
Hello, Thank you all for reply. using Chubler_XL script, I am getting my output.
Showing results 1 to 25 of 26

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