Showing posts with label SYSTEM. Show all posts
Showing posts with label SYSTEM. Show all posts

Wednesday, April 16, 2014

Cacti Monitoring

JUDUL MANUAL CACTI

GRAPH MANAGEMENT - EDIT - SELECT GRAPH TEMPLATE NONE
TITLE = NAMA DEVICE
AUTO SCALE = TIDAK DI CENTANG
UPPER LIMIT = 1000000 (1MB)

--- ***---

CACTI ERROR @WWW1

04/14/2014 08:15:26 AM - CMDPHP: Poller[0] ERROR: A DB Exec Failed!, Error:'145', SQL:"insert into poller_output (local_data_id, rrd_name, time, output) values (140, 'traffic', '2014-04-14 08:15:25', '614753775')'


---
SOLUSI ~
#mysqlcheck -u root -p --auto-repair -c -o cacti
Enter password:

Saturday, June 08, 2013

Remove User Account From Logon Screen

1. Regedit
2. HKEY_LOCAL_MACHINE\Software\Microsoft\Windows NT\CurrentVersion\Winlogon
3. Right click on the right pane and select New > Key
4. Enter the value: SpecialAccounts
5. Select SpecialAccounts that was just created and then right click on the right pane and select New > Key
6. Enter the value: UserList

7. On the left pane mark User List and then Right click on the right pane and select:
New  > DWORD (32-bit) Value
8. Set the value of the key to the user account name (i.e : share) and click OK
If you have more user accounts that you want to disappear from the logon screen, please repeat steps 7, 8

Saturday, March 16, 2013

Google Docs Website Uptime Monitor



A few months ago a colleague pointed me to a few blogs that were sharing Google Docs spreadsheets that offered free uptime monitoring for websites. Here are the original links that I checked out:
The original spreadsheet (first link above) allowed single-site uptime monitoring. The spreadsheet would email you at a specified interval (every 5 minutes, for example) if the status of the website changed. Another developer made some enhancements to allow monitoring of multiple sites and also to offer SMS reminders. I decided it'd be fun to improve the usability of the spreadsheet, so my version:
  • moves settings to separate sheet
  • moves sites to separate sheet
  • adds "Active/Inactive" toggle
  • stores last value var as sitename instead of row number
  • cleans up messages
  • supports additional sites without having to modify script's loop count
  • moves log to separate sheet
  • adds README with instructions
  • adds Send Email and Send SMS toggles
Try it out for yourself! COPY THE SPREADSHEET
You'll find a README sheet that explains everything. You will find credits to the original authors (that did much of the heavy lifting) as well as a changelog within the script code. I have tested this on 199 websites with a 5 minute trigger interval; it ran for quite a while before giving me an error that "urlfetch" has been invoked too many times in one day. I'll re-post when I figure out what the limit is. I believe I had it run approximately 14,328 times before it quit, but I'll verify.
UPDATE: I have found a page that lists the quota limits per service for Google Apps. The urlFetch action should, at minimum be able to be called 20000 in one day. So, unless my math is off, something is wrong. I'm looking into whether or not this kind of thing (website monitoring) violates Google's TOS.
UPDATE 2: I've asked some questions at StackOverflow re: the quotas and TOS. View the post
UPDATE 3: Just added a few bugfixes re: email/sms notifications.

Monday, January 14, 2013

VMWare [at] Windows8


Not enough physical memory is available to power this virtual machine with its configured settings.

You must add a setting to the config file to restrict Workstation to using a percentage of the host’s available RAM.
- First Shut down all running virtual machines and exit Workstation.
Open the config.ini file located at C:ProgramDataVMwareVMware Workstation.
- Add this line to the file: vmmon.disableHostParameters = TRUE
- Save and close the file.
- Restart Windows.
If you are having this trouble and you have not installed SP 1, you might have a look at:

Thursday, December 20, 2012

SysBench : Mysql Perfoma Benchmark

Dalam melakukan benchmarking MySQL, pengembang MySQL merekomendasikan untuk menggunakan salah satu tool populer yang disebut dengan SysBench (dibuat oleh seorang pengembang MySQL). Software tersebut dapat diperoleh di http://sysbench.sourceforge.net/

SysBench menawarkan beberapa fasilitas yang dapat digunakan oleh administrator database untuk melakukan benchmark terhadap CPU, File I/O dan perfoma MySQL.

SysBench mengukur perfoma MySQL dengan cara membuat sebuah table test di dalam database 'sbtest' dengan 1.000.000 baris data. Perintah yang dijalankan adalah sebagai berikut :
sysbench --test=oltp --oltp-table-size=1000000 --mysql-db=sbtest --mysql-user=root --mysql-password=xxx prepare 


Setelah tahap persiapan, selanjutnya perintah untuk melakukan benchmark adalah sebagai berikut :

sysbench --test=oltp --oltp-table-size=1000000 --mysql-db=sbtest --mysql-user=root --mysql-password=xxx --max-time=60 --oltp-read-only=on --max-requests=0 --num-threads=8 run

Dalam perintah tersebut, SysBench melakukan benchmark perfoma MySQL  melalui table di database  yang bernama 'sbtest' yang telah dipersiapkan pada proses prepare. SysBench melakukan benchmark selama 60s (1 menit) dengan mode read-only dan dengan threads sebanyak 8.

Output dari perintah tersebut adalah :
***
sysbench 0.4.12:  multi-threaded system evaluation benchmark

No DB drivers specified, using mysql
Running the test with following options:
Number of threads: 8 (Jumlah threads)

Doing OLTP test.
Running mixed OLTP test
Doing read-only test (mode benchmark read-only)
Using Special distribution (12 iterations,  1 pct of values are returned in 75 pct cases)
Using "BEGIN" for starting transactions
Using auto_inc on the id column
Threads started!
Time limit exceeded, exiting...
(last message repeated 7 times)
Done.

OLTP test statistics:
    queries performed:
        read:                            443184 (Jumlah query Read pada saat proses benchmark)
        write:                           0 (Jumlah query Write pada saat proses benchmark, 0 karena read only)
        other:                           63312 (Jumlah query lain pada saat proses benchmark)
        total:                           506496 (Jumlah query Read + Write + Other)
    transactions:                        31656  (527.51 per sec.) (31656 =Jumlah transaksi yg dijalakan selama proses benchmark , 527.51= Jumlah Transaksi : Total Time)
    deadlocks:                           0      (0.00 per sec.) (Tidak ditemukan transaksi yang mengalami Deadlocks)
    read/write requests:                 443184 (7385.11 per sec.) (443184=Jumlah query Read+Write, 7385.11= (Read+Write):Total Time)
    other operations:                    63312  (1055.02 per sec.) (63312=Jumlah query Other, 1055.02= Other Operations:Total Time)

Test execution summary: (Penjelasan mengenai eksekusi Test benchmark yg dilakukan)
    total time:                          60.0105s (Total waktu yang dibutuhkan untuk menjalakan benchmark --max-time)
    total number of events:              31656 (Jumlah transaksi yg dijalankan selama proses benchmark)
    total time taken by event execution: 479.8432 (Perkiraan waktu yg dibutuhkan untuk menyelesaikan benchmark seluruh Threads ="Threads*Total Time")
    per-request statistics:
         min:                                  2.22ms (waktu minimal yg dibutuhkan untuk melakukan request)
         avg:                                 15.16ms (waktu minimal yg dibutuhkan untuk melakukan request)
         max:                                105.72ms (waktu minimal yg dibutuhkan untuk melakukan request)
         approx.  95 percentile:              23.08ms (95 prcentile waktu rata-rata yg dibutuhkan untuk melakukan request)

Threads fairness:
    events (avg/stddev):           3957.0000/11.50 (3957.0000 adalah rata-rata transaksi yang diselesaikan oleh setiap Threads "Transactions:Threads", dengan standard deviasai sebesar 11.50)
    execution time (avg/stddev):   59.9804/0.00 ( 59.9804 adalah rata-rata waktu yang dibutuhkan untuk menyelesaikan benchmark setiap Threads "Total time taken by event execution:Threads")
***

Dari Output hasil benchmark, nilai yang paling penting untuk diperhatikan adalah pada bagian transactions:        31656  (527.51 per sec.) . Jumlah transaksi yang dapat dijalankan SysBench setiap detik, merupakan nilai yang nantinya bisa digunakan untuk melakukan pembandingan.

Wednesday, June 20, 2012

Layer 7 Extension


Layer7-protocol file extension (Mikrotik 3.x)
---
/ip firewall layer7-protocol
add comment="" name="Extension \" .exe \"" regexp="\\.(exe)"
add comment="" name="Extension \" .rar \"" regexp="\\.(rar)"
add comment="" name="Extension \" .zip \"" regexp="\\.(zip)"
add comment="" name="Extension \" .7z \"" regexp="\\.(7z)"
add comment="" name="Extension \" .cab \"" regexp="\\.(cab)"
add comment="" name="Extension \" .asf \"" regexp="\\.(asf)"
add comment="" name="Extension \" .mov \"" regexp="\\.(mov)"
add comment="" name="Extension \" .wmv \"" regexp="\\.(wmv)"
add comment="" name="Extension \" .mpg \"" regexp="\\.(mpg)"
add comment="" name="Extension \" .mpeg \"" regexp="\\.(mpeg)"
add comment="" name="Extension \" .mkv \"" regexp="\\.(mkv)"
add comment="" name="Extension \" .avi \"" regexp="\\.(avi)"
add comment="" name="Extension \" .flv \"" regexp="\\.(flv)"
add comment="" name="Extension \" .pdf \"" regexp="\\.(pdf)"
add comment="" name="Extension \" .wav \"" regexp="\\.(wav)"
add comment="" name="Extension \" .rm \"" regexp="\\.(rm)"
add comment="" name="Extension \" .mp3 \"" regexp="\\.(mp3)"
add comment="" name="Extension \" .mp4 \"" regexp="\\.(mp4)"
add comment="" name="Extension \" .ram \"" regexp="\\.(ram)"
add comment="" name="Extension \" .rmvb \"" regexp="\\.(rmvb)"
add comment="" name="Extension \" .dat \"" regexp="\\.(dat)"
add comment="" name="Extension \" .daa \"" regexp="\\.(daa)"
add comment="" name="Extension \" .iso \"" regexp="\\.(iso)"
add comment="" name="Extension \" .nrg \"" regexp="\\.(nrg)"
add comment="" name="Extension \" .bin \"" regexp="\\.(bin)"
add comment="" name="Extension \" .vcd \"" regexp="\\.(vcd)"


/ip firewall layer7-protocol
add comment="" name=High regexp="^.*get.+\\.(exe|rar|iso|zip|7zip|0[0-9][1-9]|flv|mkv|avi|mp4|3gp|rmvb|mp3|img|dat|mov).*\$"
add comment="" name=Mid regexp="^.*get.+\\.(zip|rar|7z).*\$"
add comment="" name=End regexp="^.*get.+\\.(pdf|doc|docx|xlsx|xls|rtf|ppt|ppt).*\$"
add comment="" name=Video regexp="http/(0\\.9|1\\.0|1\\.1)[\\x09-\\x0d ][1-5][0-9][0-9][\\x09-\\x0d -~]*(content-type: video)"

----
http://forum.mikrotik.com/viewtopic.php?t=42064&f=9

Tuesday, May 29, 2012

How to change GRAPH TITLE ?


Graph Management --> selete Graph (Youwant to change)

1.change " Selected Graph Template " to NON --> Save
2.this page have show "Graph Configuration" Now! Can change title.......

Wednesday, March 28, 2012

Deb NAT

echo 1 > /proc/sys/net/ipv4/ip_forward
iptables -t nat -A POSTROUTING -o vlan509 -j SNAT --to x.x.x.x

Friday, February 24, 2012

php5-snmp-5.3.8 FreeBSD

Ketika terjadi error install php5-snmp pada FreeBSD,  maka uninstall terlebih dahulu php5-snmp
;;pkg_delete php5-snmp-5.3.8;; dan ;;pkg_delete net-snmp-5.7.1_2;;
Setelah itu perintahkan ;;reboot;;
lakukan install melalui port ;;/usr/ports/net-mgmt/net-snmp/;; dan  ;;/usr/ports/net-mgmt/php5-snmp/;;


Tuesday, January 31, 2012

dd-wrt port forwarding

Administration -- Commands --- "paste script berikut" --- Save Startup


iptables -t nat -I PREROUTING -p tcp --dport 80 -j DNAT --to 192.168.24.11:80
iptables -I FORWARD -p tcp -d 192.168.24.11 --dport 80 -j ACCEPT


@forward port 80

Wednesday, November 16, 2011

Persistence VLAN Configuration

To make configuration persistence, open /etc/rc.conf:
# vi /etc/rc.conf
Append / modify as follows:
cloned_interfaces="vlan0"
ifconfig_vlan0="inet x.x.x.x netmask y.y.y.y vlan 2 vlandev em0"

Saturday, November 12, 2011

Lost Browser Icon BlackBerry

You need to resend your service books. Options - Advanced Options - Host Routing Table -Highlight one of the addresses in there - hit the menu button (right of the green call button) and click register now.

http://forums.crackberry.com/blackberry-storm-f86/lost-browser-my-storm-help-99289/

Wednesday, November 02, 2011

Debian Kiosk


I have configured a kiosk using Debian GNU/Linux with blackbox window manager.


The challenges:
1. Touchscreen configuration.
2. Autometic login and start X server.
3. Start desired application for kiosk.
4. A boot splash for booting and shutdown.
 
1. Touchscreen configuration:
First, setup touchscreen driver and configure it according to your device specification.
I was using eGalax driver, which I have downloaded from
source: http://home.eeti.com.tw/web20/eg/drivers.htm 

2. Automatic login:
Edit /etc/inittab and comment the following line:
#1:2345:respawn:/sbin/getty 38400 tty1
add the following line below:
1:2345:respawn:/bin/login -f USER_LOGIN tty1 /dev/tty1 2>&1 

Edit .bash_profile (create if require) and add the following line at bottom:
startx
source: http://www.debianadmin.com/how-to-auto-login-and-startx-without-a-display-manager-in-debian.html

Blackbox window manager:
Edit ~/.xinitrc (or ~/.Xsession), create if require, and add the following line:
exec blackbox
3. Autostart application:
To autostart iceweasel/firefox:
Again edit ~/.xinitrc (or ~/.Xsession) and add the following line:
firefox &
exec blackbox
source: http://blackboxwm.sourceforge.net/BlackboxFAQ/StartupAndShutdown

Install iceweasel/firefox plugin "R-kiosk" from https://addons.mozilla.org/en-US/firefox/addon/1659

3. Bootsplash:
Install a bootsplash
apt-get install splashy
Create your own bootsplash and set it
# splashy_config -c
To enable splashy, you may need to edit grub.config and add the following after "kernel...ro quiet"
vga=791 splash
source: http://splashy.alioth.debian.org/wiki/faq

Tips and tricks:
"X: user not authorized to run the X server"
You can allow the user to use run startx by:
#dpkg-reconfigure x11-common
or edit  /etc/X11/Xwrapper.config
allowed_users=anybody 
"Auto login problem"
 If you have setup GDM (XDM) earlier, then you need to disable it for automatic log in
#update-rc.d -f gdm remove
If you want to enable it simply run (experiment purpose):
#update-rc.d -f gdm defaults
source: http://www.debianadmin.com/howto-boot-debian-in-text-mode-instead-of-graphical-mode-gui.html

Kiosk performance tuning:
Install the CPU frequency related tools and configure it.
details: http://wiki.debian.org/HowTo/CpuFrequencyScaling

resources:
http://salahuddin66.blogspot.com/2010/04/debian-kiosk.html
http://www.debianadmin.com/debirf-build-a-kernel-and-initrd-to-run-debian-from-ram.html
http://cmrg.fifthhorseman.net/wiki/debirf

Friday, October 28, 2011

LinuxMint Tips

If you've configured some things brocken in your panel or simply delete it by mistake (like me) then
- open a terminal (Alt-F2) and enter
gconftool --recursive-unset /apps/panel
that should reset the complete panel to mint defaults.

Edit: Thanks to Redsandro:
You can also remove the configuration. For gnome:

mv ~/.gconf/apps/panel ~/.gconf/apps/panel.old

Then logout and login again.
http://community.linuxmint.com/tutorial/view/333
----

"Sound volume too low"
Just go to "Terminal" , then type "alsamixer"
----

"Setting ip address"
Go to "Terminal"
#nano -w /etc/networking/network-scripts/ifcfg-eth0
masukkan script berikut ini ..

auto eth0
iface eth0 inet static
address 192.168.23.13
netmask 255.255.255.240
broadcast 192.168.23.15
network 192.168.23.0
gateway 192.168.23.14

#/etc/init.d/networking restart
Selesai ...

Wednesday, September 07, 2011

root: unknown user

This problem occurs because the file /etc/master.passwd damaged

1. Start FreeBSD server
2. Enter key at boot loader
    At Welcome to FreeBSD! boot menu press spacebar key to pause default booting
    Type number 4 key (type 4 number) to boot into single user mode




3. Press Enter Key, When prompted Enter full pathname of shell or RETURN for /bin/sh:
4. You need to remount / (root) file system in read and write mode with mount command, type the following commands:
    # mount -u /
    # mount -a
5.restoring /etc/master.passwd
    #cp /var/backups/master.passwd.bak /etc/master.passwd
    #pwd_mkdb -C /etc/master.passwd
    #pwd_mkdb -p /etc/master.passwd
    #pwd_mkdb /etc/master.passwd
6. change the root password
    #passwd root
7. reboot ...
http://www.cyberciti.biz/tips/howto-freebsd-reset-recover-root-password.html

Monday, September 05, 2011

Lost password Windows 7

Just folow the following steps and everything will be ok:
  1. Boot from Windows PE/RE and start the command prompt
  2. Use the following command to create a copy of the Stick Keys application: copy c:/windows/system32/sethc.exe c:/ (where c is the drive letter where your OS is installed)
  3. The next command will replace the Sticky Keys application with command prompt: copy /y c:/windows/system32/cmd.exe c:/windows/system32/sethc.exe
  4. Reboot your computer and when you see the log-on screen and press Shift key five times.
  5. Now you will see a command prompt window. Here you will use the following command: net user you_user_name new_password
  6. That’s it. Now you can use your new password to log in.
  7. Don’t forget to restore the Sticky Keys application:  copy /y c:/sethc.exe c:/windows/system32/sethc.exe.
    http://www.pctips3000.com/how-to-reset-your-administrator-password-in-windows-7/

Tuesday, July 05, 2011

Multi-AP Roaming Network Background

There's no magic to making multiple-AP (roaming) 802.11 networks work. Wireless clients just assume that all APs with the same SSID are configured similarly and are all just different points of access to the same underlying wired network. A client will scan all channels looking for APs publishing the SSID it wants, and will pick whichever one suits it needs best (usually that means whichever one shows the highest signal strength).
Once on the network, clients stay with the same AP as long as it's meeting the client's needs (i.e. as long as it's signal strength is above a "good enough" threshold). If the client later thinks it could be better off with another AP on that network, it'll do periodic scans of all channels looking for other APs publishing that SSID. If a scan turns up a candidate AP that's enough better than the AP it's currently on, it'll automatically roam to the other AP, usually without so much as a missed frame.
Assuming both APs are configured similarly and are connected to the same underlying network, roaming is seamless and invisible to the user (except nerds like me who run tools to watch for these things). Roaming events are invisible to applications using the network, although some low-level parts of the network stack might be notified of the event, so that, for example, your DHCP client can double-check that this new AP really is connected to the same network, so it can be sure your DHCP lease is still valid on this network.
Some other users' Answers and Comments on this question erroneously suggested that wireless protocols or features like wireless relay or WDS might be needed for roaming, but this is absolutely incorrect. Those features are just ways to replace a wired Ethernet backhaul with a wireless one.
For the sake of completeness, I should mention that there is a set of technologies, some proprietary, some standardized in IEEE 802.11F, known generally as Inter-Access Point Protocol. IAPP is a method by which generally enterprise-class APs can communicate with each other over the backhaul to optimize client roaming. But that's just an optimization, not a prerequisite for roaming. Roaming works "well enough" on networks both small and large without any IAPP going on.

Configuration Suggestions

Give both APs the same network name (SSID), the same security type (WPA2-PSK recommended), and the same wireless security passphrase. Many clients assume that these kinds of settings will be the same across all APs with the same SSID.
Since you already have the cabling in place, use wired Ethernet as your backhaul. This saves your wireless bandwidth for your portable/mobile devices that actually need it, instead of wasting in on stationary devices like APs that could reasonably be cabled up.
If you have another device on the network, such as a broadband home gateway, providing NAT and DHCP service, then put both APs in bridge mode (turn off NAT and DHCP service). You generally only want one box on your network acting as a NAT gateway or serving DHCP. If you don't already have another device on your network doing NAT and DHCP, and you need those services, then you can have one of your APs do it. Have the more "upstream" AP (the one that's closer, topologically, to your broadband modem) do NAT and DHCP, and make sure that the wired Ethernet connection to the other AP comes from the first AP's LAN port. Also make sure that the "downstream" AP is in bridge mode. I call this out because I've seen people make the mistake of leaving NAT and DHCP enabled on both their APs, and I've seen clients that aren't smart enough to realize that, say, the 192.168.1.x/24 network they're on now is not the same 192.168.1.x/24 network they were on a moment ago in the other room. I've also seen users get confused in this situation where two laptops in the same house had 192.168.1.x addresses, but couldn't ping each other because they really on two separate IP networks behind two separate NATs.
Channel is one key setting you do want to vary from AP to AP in a roaming (multiple AP) 802.11 network. To maximize bandwidth, leave your APs to automatically select the channel to use, or you can manually pick different, non-overlapping, and hopefully unoccupied channels to use. You don't want transmissions to/from one AP to compete for bandwidth with transmissions to/from the other AP.

Additional Considerations

The rest of this answer is just a bunch of general "how to maximize your home 802.11 network bandwidth" tips, not specific to your question of two APs with the same SSID.

Consider taking this opportunity to fully modernize

If you're already buying a new AP and taking the time to reconfigure things, I'd recommend using this opportunity to replace your existing AP as well, by buying two of the latest APs that support simultaneous dual-band 802.11n technology. That way you can support both the 2.4GHz band for older clients that are 2.4GHz only, as well as the less busy 5GHz band for more bandwidth. It's becoming a "best practice" to set your 2.4GHz 802.11n radio to 20MHz (HT20) channels so that it leaves some of the band free for things like Bluetooth to use. This limits your 802.11n transmission rates in 2.4GHz to ~130mbps instead of 300mbps, but allows other non-802.11 2.4GHz devices to still work okay. In 5GHz, where there are many more channels available and they're all generally much less busy, you're encouraged to use 40MHz (HT40) channels to get maximum throughput.
I know that Apple's latest AirPort Extreme and Time Capsule (but not AirPort Express) are simultaneous dual-band 802.11n, and they also support 3-stream (a.k.a. "3x3") 802.11n, for transmission rates up to 450mbps once you get if you have 3-stream clients that can do it (Apple's clients are currently still on 2x2, so 300mbps max Apple's March 2011 "Thunderbolt" renewal of the MacBook Pro line quietly added 3x3 radios).

If you're stuck with older single-band-at-a-time APs

If you don't need to support any older 2.4GHz-only devices, use the 5GHz band since it is generally less busy, and you can use HT40 without starving Bluetooth and other uses.
If you're stuck supporting 2.4GHz-only devices with single-band-at-a-time APs, be careful of your channel selection. In the 2.4GHz band, the channels overlap to a great degree. However, channels 1, 6, and 11 don't overlap at all, so those are good choices to pick manually. You could use a Wi-Fi network scanner like NetStumbler, iStumbler, many "war driving" tools, etc. to see which channels are in use by other APs visible from where you are. If you suspect you have non-802.11 2.4GHz interferers in your area, such as Bluetooth, microwave ovens, and many (but not all) cordless phones, baby monitors, wireless webcams, and wireless room-to-room A/V senders, you could go all-out and get a spectrum analyzer like a Metageek Wi-Spy to find which channels are the least noisy where you are.

Wednesday, June 08, 2011

update

Setelah spliting table di database utama, tiba-tiba tombol update saya bermasalah.

solusi :
tambahkan opsi --safe-updates di bawah [mysqld] dan [mysqld_safe]

Tuesday, May 24, 2011

rsync

error code : rsync: link_stat "." (in squid) failed: Permission denied (13)

use chroot = yes
read only = yes

[squid]
path = /var/log/squid
comment = squid logs
include = *.log
list = yes
uid = proxy
gid = proxy

auth users = squid
secrets file = /var/log/squid/rsync.secrets
hosts allow = 192.168.0.254

Monday, May 23, 2011

Clock Synchronization with NTP

FreeBSD
#ntpdate -v -b 3.id.pool.ntp.org

rc.conf
ntpdate_enable="YES"
ntpdate_hosts="
3.id.pool.ntp.org"
OpenBSD
rc.conf
ntpd_flags="-s"