cancel
Showing results for 
Search instead for 
Did you mean: 

Display message during Maintenance

SOLVED
BHPCI_
Occasional Contributor

Display message during Maintenance

Every Sunday we have our maintenance window from 2AM -10AM. During this time the SA4500 we use will allow logins, but the resources that are behind it are not available. This causes errors to be displayed, which in turn generates help desk calls. Is it possible to allow the login but during that window display an alternate home page saying the system was down for maintenance? If not possible, are there any other options?

1 ACCEPTED SOLUTION

Accepted Solutions
muttbarker_
Valued Contributor

Re: Display message during Maintenance

Well - the easiest way to do this would be to create a custom role. Have this role be assigned based a custom expression that you would create using "time of day login" - do a stop processing after the role is assigned. Then in the role direct them to a custom home page, or just do a notification message saying "not available" or whatever.

Very easy - let me know if you need help with the custom expression.

View solution in original post

4 REPLIES 4
muttbarker_
Valued Contributor

Re: Display message during Maintenance

Well - the easiest way to do this would be to create a custom role. Have this role be assigned based a custom expression that you would create using "time of day login" - do a stop processing after the role is assigned. Then in the role direct them to a custom home page, or just do a notification message saying "not available" or whatever.

Very easy - let me know if you need help with the custom expression.

BHPCI_
Occasional Contributor

Re: Display message during Maintenance

Cool!

I have created a role called Maintenance and an auth realm that maps it if loginTime.dayOfWeek = 0 AND loginTime = (01:45 TO 10:00). I created a Web ACL for that role's start page which is a static .htm page on an internal apache server. Thanks for your help!

Mark

muttbarker_
Valued Contributor

Re: Display message during Maintenance

Glad to help. Welcome to the Juniper Forums - it is a pretty cool place to hang out and get and receive a lot of help!
BHPCI_
Occasional Contributor

Re: Display message during Maintenance

Yeah I have already pulled quite a bit of knowledge out of here. I am in the process of moving our different VPN implementations from The Big C Word to Juniper and its come in handy. Everything has gone pretty smooth so far...I'm sure I'll have more noob questions shortly though.