11-17-2010
I just use the netdate tool, I can drop netdate my.time.server into local.start and/or /etc/cron.weekly/ and it goes. Just be sure to try runing netdate as a limited user from commandline first -- it won't set the time, but it will show you the time offset for you to doublecheck for sanity.
Wow, its manpage is from 1985...
9 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Hello everyone!
First I would like to say that I am very glad that I found this forum, and by some of the posts I have viewed, I see that I can learn a lot from you all!
Secondly, I know next to nothing about Linux/Unix (gotta learn sometime right?) and need some assistance.
I am a... (5 Replies)
Discussion started by: kolton
5 Replies
2. What is on Your Mind?
What you have to say about the following comparison:
Compare (2 Replies)
Discussion started by: tayyabq8
2 Replies
3. UNIX for Advanced & Expert Users
Hello
i want to connect my solaris & Linux boxes to ntp server
i used the command
/usr/sbin/ntpdate -s -b -p 8 -u <NTP-IP>
and added the NTP server as server in /etc/ntp.conf
please help in completing the process and verifying it (1 Reply)
Discussion started by: learn82
1 Replies
4. UNIX for Dummies Questions & Answers
Not connected to the internet so I would like to set up 1 unix machine to be the ntp server and have it sync time to about 30 other machines that are all on an private 10net network?:confused: (3 Replies)
Discussion started by: parrisjr
3 Replies
5. UNIX for Dummies Questions & Answers
Hi everybody ,
I'm new here in the forum and new Dummy in L|U systems (Hope finding welcomes...:)).
I just want to ask : What is the OS's that works on servers and the OS's that work as client OS??
I just know that Solaris Work on sarvers :D..
and i'm glad to be memmber in this... (1 Reply)
Discussion started by: derbi
1 Replies
6. Linux
All here, thank you for listening. Now I've set up a Linux NTP server by adding a external windows NTP server in /etc/ntp.conf. Then I start the ntpd daemon. But how often does the Linux NTP server update its time with the external NTP server? I've looked up everywhere but found no information... (1 Reply)
Discussion started by: MichaelLi
1 Replies
7. AIX
Dears all
is it possible to have two NTP servers in one host ?
how i can configure them .
please advice (5 Replies)
Discussion started by: thecobra151
5 Replies
8. Solaris
We had a network problem a couple of days before that caused 1 interface to down and up. But today I have noticed that our date is wrong, our system have 4 servers and the other 3 are OK.
I used <date> command, the result is: Fri Jan 2 17:57:55 ICT 1970
I have tried set date to be the same as... (3 Replies)
Discussion started by: salvation3103
3 Replies
9. UNIX for Dummies Questions & Answers
sudo /usr/sbin/ntpdate -q nxdbsr01.paramount.com
server 192.168.148.165, stratum 2, offset 45.247135, delay 0.09427
29 Jul 17:49:48 ntpdate: step time server 192.168.148.165 offset 45.247135 sec
sudo /usr/sbin/ntpdate -d nxdbsr01.paramount.com
29 Jul 17:49:54 ntpdate: ntpdate... (6 Replies)
Discussion started by: stunn3r
6 Replies
LEARN ABOUT DEBIAN
tsmoke
TSMOKE(1) SmokePing TSMOKE(1)
NAME
tSmoke - Commandline tool for sending SmokePing information
SYNOPSIS
tSmoke [ --testmail | --morning | --weekly | --version | --help | --man]
Options:
--man Show the manpage
--help Help :-)
--version Show SmokePing Version
--testmail Send a test message
--listrrds List the RRDs used by this Smokeping
--morning Send a morning synopsis
--weekly Send a weekly status report
--to E-mail address to send message (i.e. '--to=xyz@company.com.invalid'
--detail How much detail to send in weekly report (i.e. '--detail=1')
--quiet Do not print welcome
DESCRIPTION
The tSmoke tool is a commandline tool which interfaces with the SmokePing system. Its main function is to send a message indicating the
current status of the systems being monitored by Smokeping or an HTML mail file containing the status over the past day, past week and past
month including an overview.
Typical crontab used to invoke this are
# Quick morning alert to see what's down
0 6 * * * /usr/local/smokeping/bin/tSmoke.pl --q --to=mobilephone@att.net.invalid --morning
# Weekly report on the percent availability of network systems with no detail
0 8 * * * /usr/local/smokeping/bin/tSmoke.pl --q --to=mailbox@company.com.invalid --weekly --detail=0
SETUP
When installing tSmoke, some variables must be adjusted to fit your local system.
We need to use the following libraries:
Smokeping
RRDTool Perl bindings
Getopt::Long
Set up your libraries:
use lib "/usr/local/smokeping/lib";
use lib "/usr/local/rrdtool-1.0.39/lib/perl";
Point to your Smokeping config file
my $cfgfile = "/usr/local/smokeping/etc/config";
Modify the Smokeping config file to include a path for tmail in the General section:
tmail = /usr/local/smokeping/etc/tmail
COPYRIGHT
Copyright (c) 2003 by Dan McGinn-Combs. All right reserved.
LICENSE
This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation,
Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
AUTHOR
Dan McGinn-Combs <d.mcginn-combs@mindspring.com>
Modified for Smokeping official distribution by Niko Tyni <ntyni@iki.fi>
2.6.8 2012-02-26 TSMOKE(1)