Skip to main content
sushil
New Member
Oct 7, 2009 7:16 AM UTC
Question

Graceful shut down for fortinet

Hi, a customer of mine looking for power backup solution where in case of power outage the servers and network equipment goes down by setting up certain threshold. So we zero in on APC with snmp card where server can be shut down gracefully.But what about other network equipment like fortigate.Can this be done or not? Any input on this. Reg, Sushil

    7 replies

    g3rman
    New Member
    Oct 7, 2009 3:31 PM UTC
    SNMP on the Fortinet is read-only (as it should be for any firewall :). The only way would be a command line script.
    emnoc
    New Member
    Oct 7, 2009 3:54 PM UTC
    Do you really need to gracefully shutdown the fortigate down? We aren' t really talking about a open file-system thats needs to be uumounted or closed.
    rwpatterson
    New Member
    Oct 7, 2009 5:01 PM UTC
    Maybe FAZs and HDD models...
    sushil
    sushilAuthor
    New Member
    Oct 8, 2009 8:47 AM UTC
    Emnoc will that not be a problem if it goes down unexpectedlly?It is 80C and don' t have hdd. G3man..Can you suggest me a script.Say if battery backup of UPS is about to exhaust then the FG shuts down automatically. Reg, Sushil
    emnoc
    New Member
    Oct 12, 2009 12:35 PM UTC
    I don' t, I have only one HD model and so far nothing been broken from not shutting it down. I maintain about4 FWF60B thru out some SMB operations and they almost never been shutdown. Gracefull would be the perferred means for shutting it off, but it so far has not made any issues for me.
    Esteemed Contributor III
    Oct 8, 2009 5:23 PM UTC
    Something like this should do the trick
      #!/usr/bin/expect -f  set timeout 60  spawn ssh admin@1.1.1.1  expect “password: $”  set send_slow {1 0.05}  send -s “password\r”  send_user “password\r”  send -s " execute shutdown\n"   send -s " y\n"   interact  
    sushil
    sushilAuthor
    New Member
    Oct 12, 2009 11:36 AM UTC
    Will it respond to battery threshold set using snmp card in ups and execute shutdown?
    Risk and Resilience in the Age of AI. An OT Thought Leadership Summit for Houston's Critical Infrastructure Leaders. Date: Thursday, December 3, 2026. Time: 8:30 am - 1:30 pm (CT). Location: The Westin Houston, Memorial City | 945 Gessner Road, Houston, TX 77024