Hai All
Thank you guys for your replies. I would note these points which you have
mentioned and try to use further in my coding.
Regards
Chaitanya
On Sat, Aug 14, 2010 at 5:45 AM, Chas. Owens wrote:
> On Fri, Aug 13, 2010 at 05:23, Chaitanya Yanamadala
> wrote:
> > Hai
> > After a lot of frust
On Fri, Aug 13, 2010 at 05:23, Chaitanya Yanamadala
wrote:
> Hai
> After a lot of frustration i have build this code to check which of the
> server is down and which is up.
snip
Here is a major rewrite. In order of importance, here is a list of
changes I made:
* Use whitespace properly, when in
Bg> On Fri, Aug 13, 2010 at 9:05 AM, Vimal wrote:
>> With that being said, please do yourself a favour and get a copy of "Perl
>> Best Practises"
>>
>> On 08/13/2010 09:25 PM, Uri Guttman wrote:
>>>
>>> before i (or anyone else) will delve into your code, please learn to use
>>>
Congratulations. You have just (re)invented Nagios.
B
On Fri, Aug 13, 2010 at 9:05 AM, Vimal wrote:
> With that being said, please do yourself a favour and get a copy of "Perl
> Best Practises"
>
> On 08/13/2010 09:25 PM, Uri Guttman wrote:
>>
>> before i (or anyone else) will delve into your
With that being said, please do yourself a favour and get a copy of
"Perl Best Practises"
On 08/13/2010 09:25 PM, Uri Guttman wrote:
before i (or anyone else) will delve into your code, please learn to use
white space and indenting. you can't read code that is all tightly
jumbled together like
before i (or anyone else) will delve into your code, please learn to use
white space and indenting. you can't read code that is all tightly
jumbled together like this. and don't use very short variable names as
they tell the reader nothing about the program. you need to learn to
write code the oth
Hai
After a lot of frustration i have build this code to check which of the
server is down and which is up.
These are the requirements needed to run this code.
1. Linux machine,
2. Perl >5.8
3. Sql server >5.1
4. XML::LibXML module in perl
5. DBI module
6. sendmail need to installed and service nee