Error: XML: Cacti version does not exist

18 aprile 2012 Nessun commento

OS: CentOS 6.2
Cacti version: 0.8.8

If you get the error in subject importing a template, simply edit /var/www/cacti/include/global_array.php, at line 558 add a comma at the end

1
"0.8.7i" => "0023",

and after it add a new line

1
"0.8.8" => "0024"

 

Enjoy :)

Categorie:Linux Tag: ,

How-to: install mssh on Fedora 16

5 marzo 2012 Nessun commento
Ultima modifica di Spike il 21 marzo 2012 alle 22:11

Form Debian Unstable packages list
http://packages.debian.org/source/unstable/mssh
download
mssh_1.2.orig.tar.gz
mssh_1.2-1.1.diff.gz

Untar both files

1
2
tar xzf mssh_1.2.orig.tar.gz
gunzip mssh_1.2-1.1.diff.gz

Apply the patch

1
patch -p0 < mssh_1.2-1.1.diff

Enter mssh directory

1
cd mssh-1.2/

Be sure you have installed the following packages

1
su -c "yum install GConf2-devel gtk2-devel vte-devel"

Run configure

1
./configure

Run make

1
make

Then make install (as root)

1
su -c "make install"

 

Enjoy :)

Categorie:Fedora, Linux Tag: , , ,

How-To: install and configure SNMP v3 on CentOS 6.2

20 febbraio 2012 Nessun commento

Install SNMP

1
yum install net-snmp-utils net-snmp-libs

Create a new user using the net-snmp-create-v3-user command

1
2
3
Usage:
net-snmp-create-v3-user [-ro] [-A authpass] [-X privpass]
[-a MD5|SHA] [-x DES|AES] [username]
1
2
3
4
5
[root@centos-mail ~]# net-snmp-create-v3-user -ro -A auth_password -X privacy_password -a SHA -x AES cactiuser
adding the following line to /var/lib/net-snmp/snmpd.conf:
   createUser cactiuser SHA "auth_password" AES privacy_password
adding the following line to /etc/snmp/snmpd.conf:
   rouser cactiuser

Test it with

1
snmpwalk -v 3 -u cactiuser -a SHA -A "auth_password" -l authPriv -x AES -X "privacy_password" localhost

Change auth_password and privacy_password with your passwords.

Enjoy :)

 

 

SOURCE: SNMP v3 Setup Guide by Digital Servitude

Categorie:Ubuntu Tag:

NFS client on CentOS

12 febbraio 2012 Nessun commento
Ultima modifica di Spike il 12 febbraio 2012 alle 12:45

To mount a nfs share from a CentOS

1
2
3
yum install nfs-utils
chkconfig rpcbind on
service rpcbind start

Now you can mount it

1
mount 192.168.0.50:/backup /mnt/backup/

Categorie:Linux Tag: ,

Google Music Manager on virtual machines workaround

3 febbraio 2012 Nessun commento
Ultima modifica di Spike il 12 febbraio 2012 alle 12:45

If you try to login with Google Music Manager installed on a virtual machine, you get the following error

1
Login failed: Could not identify your computer

It checks your NIC MAC address, so all you have to do is to change it to something that belongs to a real vendor.
For example, if you MAC address is

1
e0:cb:xx:xx:25:0b

Simply change the last character/number to something else:

1
e0:cb:xx:xx:25:0c

 

Enjoy :)