January 8, 2008 - 2:02 pm
Tags: Cacti, cactiez, CentOS, snmp
Posted in CentOS | No comments
I am running CactiEZ VMWare appliance for a while and couple of graphs I was looking for were not integrated in the SNMP configuration. CactiEZ is based on CentOS linux distribution. Verify SNMP Daemon is running <br>[root@CACTI-04 /]# ps -ef | grep snmp<br>root 29283 1 0 Jan06 ? 00:00:00 /usr/sbin/snmpd -Lsd -Lf /dev/null -p /var/run/snmpd [...]
September 11, 2008 - 1:43 am
# system-config-network
and change hostname under DNS tab, logout then login again would do also.
February 4, 2009 - 4:24 pm
You don’t need to reboot, just logout and login.
March 26, 2009 - 7:24 pm
echo “newhostname” > /proc/sys/kernel/hostname and you dont need to reboot. Reboot is just for new kernel ;D
June 11, 2009 - 12:18 pm
I have changed hostname, on a CentOS 5.3 on VMWare player, but after the change the startup becomes extremely slow, even opening Terminal takes 30s…. I have made sure the entry in the DNS tab in system-config-network is correct, and restarted…. if I restore the previous hostname value (bagvapp) the respose times become normal again…
anybody experiencing the same problem?
June 11, 2009 - 12:26 pm
ah ok I forgot to add the new hostname in the 127.0.0.1 entry in the hosts file…
the procedure is described here:
http://javamonamour.blogspot.com/2009/06/centos-change-hostname-and-ips.html
December 3, 2009 - 5:47 am
/etc/init.d/network restart will do after change the hostname.
December 21, 2009 - 12:36 pm
And you can also type as root in console: “setup” and then go to “Network Configuration” and edit the DNS config.
And you may want to check your /etc/hosts
February 17, 2010 - 5:40 pm
Thanks guys, but the TheBigK’s solution don’t persist before restart.
The Umarzuki and Bob solutions are OK.
Muchas gracias, Thank to all.
Sorry for my bad english.
February 17, 2010 - 5:43 pm
don’t persist “after” restart… is the correct form…
Sorry again.
Good luck.
June 12, 2010 - 5:45 am
no need to restart :
hostname -v yourhostname
July 20, 2010 - 10:52 am
This is a nice guide.
Most control panels have GUI to do this for novice users.
July 22, 2010 - 9:28 pm
edit /etc/sysconfig/network then do service network restart.