Search Results

Search: Posts Made By: iron_michael86
1,335
Posted By iron_michael86
Need Help in rearranging the content of a file comma seperated
I have a file with the below content

a = test1
b = test2
a = test3
b= test4
c = test6
b = test5
d = test7
d = test9


Need the output to be as follows

a = test1,test3
b = test2,...
Forum: Programming 01-15-2015
5,754
Posted By iron_michael86
Curl alternative for python code
Need to run this api command via curl, the python code works without any problems , but we want the same to be run as curl command

import requests
params = {'username': 'testuser'}...
Forum: Infrastructure Monitoring 12-24-2012
4,340
Posted By iron_michael86
You can use the following inherit parent is...
You can use the following
inherit parent is not required in your case .I have given an example

define servicedependency{
hostgroup_name servers
host_name ...
Forum: Infrastructure Monitoring 12-08-2012
4,340
Posted By iron_michael86
The way we have done in our environment is use...
The way we have done in our environment is use service dependencies with this we have reduced the alert count drastically you can go through nagios doc to configure it
:)
Forum: Infrastructure Monitoring 02-03-2012
2,813
Posted By iron_michael86
Check the nrpe.cfg file in the client (check how...
Check the nrpe.cfg file in the client (check how the commands are defined and also make sure nagios plugins are installed in server and client and also make sure you have defined the command...
706
Posted By iron_michael86
thanks it works great!
thanks it works great!
706
Posted By iron_michael86
Need help of script
I have an xml data and i need to get the following output


--
<application>
<id type="integer">513393</id>
<name>test1</name>
--
<application>
<id...
1,075
Posted By iron_michael86
using awk or sed need help
Hi experts,

I have a file with the following output


HOST = host1
SERVICE_NAME = service1
HOST = host2
SERVICE_NAME = service2
HOST = host3
SERVICE_NAME = service3


Need the...
1,093
Posted By iron_michael86
when I use IFS=$'\n' AD...
when I use IFS=$'\n'

AD server,10.0.0.1,host1
AD server File server,10.0.0.1 10.0.0.2,host1 host2
File server,10.0.0.2,host2
AD server File server,10.0.0.1 10.0.0.2,host1 host2
Print...
1,093
Posted By iron_michael86
Shell Script on for do
Hi all,
I have a list of servers in a file test
I have used awk to print the particular column.I need to configure 100 servers but the description has a space between .Hence the configuration file...
Forum: Linux 08-16-2011
3,066
Posted By iron_michael86
Logrotate every 15days
Hi all,

I have been asked to configure logrotate for a perticular log file for every 15 days. I do not find options other than weekly or monthly.Need you expertise on the same:confused:
976
Posted By iron_michael86
thanks
birei Thanks I will try with perl:D
bartus11 it worked great
Thanks guys you saved my day
976
Posted By iron_michael86
Using sed or awk
Hi all,
I have a file with the following content

host1
:1
:2

host2
:1
:2
:3
:4

host 3
:2
:3
:4

Need the output like
1: host1,host2
Forum: Linux 09-10-2010
4,038
Posted By iron_michael86
IPtable rule help need
Hi,

I need to configure iptable such that whatever request comes to 192.168.0.4 needs to forwarded to 192.168.0.50 and only port 80 and 443 needs to be forwarded others need to be blocked....
...
2,480
Posted By iron_michael86
Help need to write a script on column separation for syslog output in perl
HI Pros,

I have a issue.I need to write a script to parse the logs got from syslog server and update the same in my database.I need the following output.I donot know perl and I heard it very easy...
Showing results 1 to 15 of 15

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