I can help with time synchronization if you are using ntpd to synchronize the time.
Check to be sure that you have your selected time servers in /etc/ntp.conf
Next run
ntpupdate 0.uk.pool.ntp.org
to synchronize your clock with a time servers. If this server happens to be down, change to one of the others.
The ntpupdate program will return a line similar to this one
24 Mar 18:16:43 ntpdate[10255]: adjust time server 200.100.20.10 offset -0.000267 sec
If the offset is > 1 second (The digit(s) before the decimal point in the offset is > 0) then run ntpupdate again using the same time server.
Count the number of times you need to run ntpupdate to get an offset less than 1.
In your startup routines add a script that runs ntpupdate as follows
Code:
#!/bin/bash
# Initial time sync of Linux without an on-board clock
# Repeat ntpupdate and sleep commands as necessary to match the number of updates you needed to do to get accurate time
# by changing counter= to the number of times you ran ntpupdate
counter=4
sync1=$counter
sync2=$counter
while [ $sync1 -gt 0 ]; do
ntpupdate 0.uk.pool.ntp.org
sleep 1
done
# backup sync in case primary time server is down
# repeat these the same number of times as the ones above
while [ $sync1 -gt 0 ]; do
ntpupdate 1.uk.pool.ntp.org
sleep 1
done
# a few seconds later we now have an accurate software clock running
Be sure this runs after your network initializes and before ntpd (the time sync deamon) starts.
I'm not sure about Voyage Linux, but you can use killall to shutdown services.
Code:
killall ntpd # safely kills all instances of ntpd running on the server
killall -9 ntpd # kills all instances of ntpd by sending signal 9 (this usually stops ones that automatically restart)
Looking on the Voyager site, it appears that there are no commands for service start/restart/stop yet, but they will be included in a future release. Meanwhile I hope this helps. I understand that Voyager was intended as an embedded Linux for devices, and starting/stopping services was probably not a priority for an embedded linux.
Sorry, I can't help with SNMP or Cacti. Both are outside my experience.