...
sudo nano /etc/hosts
sudo nano /etc/hostname
sudo /etc/init.d/hostname.sh
Notice that the hostname here must include the domain. So, our hostname was pinger.raspberry.slac.stanford.edu. In the hosts file is not necessary to write the domain name.
We temporarily entered the machines as monitors in the PingER meta data base of hosts and successfully gathered the data using the standard overnight cronjob.