I am getting the following error yet the script is doing what I need it to do restart a process:

 

Use of uninitialized value at /usr/local/admin/named_monit.pl line 71 (#1)

 

   (W) An undefined value was used as if it were already defined.  It was

   interpreted as a "" or a 0, but maybe it was a mistake.  To suppress this

   warning assign an initial value to your variables.

 

ps: wrong PID number -o

ps: Unknown option (vsz).

Did not close FH ps   at /usr/local/admin/named_monit.pl line 86.

Did not close FH pso  at /usr/local/admin/named_monit.pl line 87.

 

 

 

Here is my code as attached, but please excuse the Perl version….. 5.005_03

Thank you

Derek

 

 

Derek Bellner Smith

Unix Systems Engineer

Cardinal Health Dublin, Ohio

 

 

_________________________________________________

This message is for the designated recipient only and may contain privileged, proprietary, or otherwise private information. If you have received it in error, please notify the sender immediately and delete the original. Any other use of the email by you is prohibited.

Dansk - Deutsch - Espanol - Francais - Italiano - Japanese - Nederlands - Norsk - Portuguese - Svenska: www.cardinalhealth.com/legal/email

Attachment: named_monit.pl
Description: named_monit.pl

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>

Reply via email to