|
List Info
Thread: Re: Alert when state of ClusterXL changes
|
|
| Re: Alert when state of ClusterXL
changes |
  United States |
2007-10-18 06:31:02 |
Hugo,
Why don't you just tell him what the problem is?
Erik, it is most likely that the problem you have is the
script you
have does not have this line in it:
sh /opt/CPshrd-R65/tmp/.CPprofile.sh (this is NGx R65)
for more info, go to cd $CPDIR/tmp and you will find
.CPprofile.sh and
.CPprofile.csh. Depending on your script (csh or sh), you
will put in
one of these lines and your script will work with crontab.
I ran into a similar issue and didn't know how to fix it
'cause I am not
a programmer. It took me about an hour to figure it out.
good luck to you.
Hugo van der Kooij <hvdkooij VANDERKOOIJ.ORG> wrote:
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Erik Gielow wrote:
> Thanks too!!
> I tried to do this making a script shell, and running
in a root crontab,
> the script are working 100% when i run manualy, the
email with the warning
> that the
> clusterxl A are down and B up etc ...
> but when i put the script in a crontab, i didnt receve
any email ... i
> think, could be, the roots contrab are not allowed to
send email ??? i
> really dont know ...
> this is the answer to this problem! i ll try latter!
You propably rely on variables being set. But most of the
ones that are
set when you login are not set when you run from crontab.
You will find details about which script needs to be called
from your
script in the archives.
Hugo.
- --
hvdkooij vanderkooij.org http://hugo.vanderkooij.
org/
PGP/GPG? Use: http://hug
o.vanderkooij.org/0x58F19981.asc
Bored? Click on http://spamornot.org/ and
rate those images.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (GNU/Linux)
iD8DBQFHFwSDBvzDRVjxmYERAsG6AKCat+A9J51UzRLOwFL1A6QTM43+6ACf
Uf/N
5jwL52+nBeau3+iYupj26GU=
=zzWg
-----END PGP SIGNATURE-----
=================================================
To set vacation, Out-Of-Office, or away messages,
send an email to LISTSERV amadeus.us.checkpoint.com
in the BODY of the email add:
set fw-1-mailinglist nomail
=================================================
To unsubscribe from this mailing list,
please see the instructions at
http:
//www.checkpoint.com/services/mailing.html
=================================================
If you have any questions on how to change your
subscription options, email
fw-1-owner ts.checkpoint.com
=================================================
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection
around
http://mail.yahoo.com
=================================================
To set vacation, Out-Of-Office, or away messages,
send an email to LISTSERV amadeus.us.checkpoint.com
in the BODY of the email add:
set fw-1-mailinglist nomail
=================================================
To unsubscribe from this mailing list,
please see the instructions at
http:
//www.checkpoint.com/services/mailing.html
=================================================
If you have any questions on how to change your
subscription options, email
fw-1-owner ts.checkpoint.com
=================================================
|
|
| Re: Alert when state of ClusterXL
changes |
  Netherlands |
2007-10-18 06:52:28 |
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
cisco4ng wrote:
> Hugo,
>
> Why don't you just tell him what the problem is?
Because I do not have a Check Point machine at hand. And I
could not
tell from memory the exact syntax. And I am just not the
spoon feeding
type of guy.
Hugo.
- --
hvdkooij vanderkooij.org http://hugo.vanderkooij.
org/
PGP/GPG? Use: http://hug
o.vanderkooij.org/0x58F19981.asc
Bored? Click on http://spamornot.org/ and
rate those images.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (GNU/Linux)
iD8DBQFHF0j6BvzDRVjxmYERAkfnAJ47a5YsZELcwrTxyO99+JKx9qSFxgCe
Lp0c
cA9Oxt43Fkvvu4suu89xsIE=
=WHfM
-----END PGP SIGNATURE-----
=================================================
To set vacation, Out-Of-Office, or away messages,
send an email to LISTSERV amadeus.us.checkpoint.com
in the BODY of the email add:
set fw-1-mailinglist nomail
=================================================
To unsubscribe from this mailing list,
please see the instructions at
http:
//www.checkpoint.com/services/mailing.html
=================================================
If you have any questions on how to change your
subscription options, email
fw-1-owner ts.checkpoint.com
=================================================
|
|
| Re: Alert when state of ClusterXL
changes |

|
2007-10-18 06:45:49 |
Erik,
I would very much like that script if that is possible.
It would help me out a lot.
-Torkel
> -----Original Message-----
> From: Mailing list for discussion of Firewall-1
[mailto:FW-1-
> MAILINGLIST AMADEUS.US.CHECKPOINT.COM] On Behalf Of
cisco4ng
> Sent: Thursday, October 18, 2007 1:31 PM
> To: FW-1-MAILINGLIST AMADEUS.US.CHECKPOINT.COM
> Subject: Re: [FW-1] Alert when state of ClusterXL
changes
>
> Hugo,
>
> Why don't you just tell him what the problem is?
>
> Erik, it is most likely that the problem you have is
the script you
> have does not have this line in it:
>
> sh /opt/CPshrd-R65/tmp/.CPprofile.sh (this is NGx R65)
>
> for more info, go to cd $CPDIR/tmp and you will find
.CPprofile.sh and
> .CPprofile.csh. Depending on your script (csh or sh),
you will put in
> one of these lines and your script will work with
crontab.
>
> I ran into a similar issue and didn't know how to fix
it 'cause I am not
> a programmer. It took me about an hour to figure it
out.
>
> good luck to you.
>
> Hugo van der Kooij <hvdkooij VANDERKOOIJ.ORG> wrote:
-----BEGIN PGP SIGNED
> MESSAGE-----
> Hash: SHA1
>
> Erik Gielow wrote:
> > Thanks too!!
> > I tried to do this making a script shell, and
running in a root
> crontab,
> > the script are working 100% when i run manualy,
the email with the
> warning
> > that the
> > clusterxl A are down and B up etc ...
> > but when i put the script in a crontab, i didnt
receve any email ... i
> > think, could be, the roots contrab are not allowed
to send email ??? i
> > really dont know ...
> > this is the answer to this problem! i ll try
latter!
>
> You propably rely on variables being set. But most of
the ones that are
> set when you login are not set when you run from
crontab.
>
> You will find details about which script needs to be
called from your
> script in the archives.
>
> Hugo.
>
> - --
> hvdkooij vanderkooij.org http://hugo.vanderkooij.
org/
> PGP/GPG? Use: http://hug
o.vanderkooij.org/0x58F19981.asc
>
> Bored? Click on http://spamornot.org/ and
rate those images.
>
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.7 (GNU/Linux)
>
>
iD8DBQFHFwSDBvzDRVjxmYERAsG6AKCat+A9J51UzRLOwFL1A6QTM43+6ACf
Uf/N
> 5jwL52+nBeau3+iYupj26GU=
> =zzWg
> -----END PGP SIGNATURE-----
>
> =================================================
> To set vacation, Out-Of-Office, or away messages,
> send an email to LISTSERV amadeus.us.checkpoint.com
> in the BODY of the email add:
> set fw-1-mailinglist nomail
> =================================================
> To unsubscribe from this mailing list,
> please see the instructions at
> http:
//www.checkpoint.com/services/mailing.html
> =================================================
> If you have any questions on how to change your
> subscription options, email
> fw-1-owner ts.checkpoint.com
> =================================================
>
>
> __________________________________________________
> Do You Yahoo!?
> Tired of spam? Yahoo! Mail has the best spam
protection around
> http://mail.yahoo.com
>
> =================================================
> To set vacation, Out-Of-Office, or away messages,
> send an email to LISTSERV amadeus.us.checkpoint.com
> in the BODY of the email add:
> set fw-1-mailinglist nomail
> =================================================
> To unsubscribe from this mailing list,
> please see the instructions at
> http:
//www.checkpoint.com/services/mailing.html
> =================================================
> If you have any questions on how to change your
> subscription options, email
> fw-1-owner ts.checkpoint.com
> =================================================
=================================================
To set vacation, Out-Of-Office, or away messages,
send an email to LISTSERV amadeus.us.checkpoint.com
in the BODY of the email add:
set fw-1-mailinglist nomail
=================================================
To unsubscribe from this mailing list,
please see the instructions at
http:
//www.checkpoint.com/services/mailing.html
=================================================
If you have any questions on how to change your
subscription options, email
fw-1-owner ts.checkpoint.com
=================================================
|
|
| Re: Alert when state of ClusterXL
changes |
  Romania |
2007-10-18 14:25:29 |
cisco4ng wrote:
> Hugo,
>
> Why don't you just tell him what the problem is?
>
> Erik, it is most likely that the problem you have is
the script you
> have does not have this line in it:
>
> sh /opt/CPshrd-R65/tmp/.CPprofile.sh (this is NGx R65)
executing the CPprofile.sh script will not help. you need to
source the
file, e.g.:
#!/bin/sh
. /opt/CPshrd-R65/tmp/.CPprofile.sh
the rest of your script
sin
=================================================
To set vacation, Out-Of-Office, or away messages,
send an email to LISTSERV amadeus.us.checkpoint.com
in the BODY of the email add:
set fw-1-mailinglist nomail
=================================================
To unsubscribe from this mailing list,
please see the instructions at
http:
//www.checkpoint.com/services/mailing.html
=================================================
If you have any questions on how to change your
subscription options, email
fw-1-owner ts.checkpoint.com
=================================================
|
|
[1-4]
|
|