formats

Tutorial Monitoring VPS using Munin

Im sick today ans stay at home. And I’m bored.

So, instead of wasting time, I just looking something to do using a lot of my VPS’es. And I remember node monitoring by using Munin. So let’s start the tutorial, and please note that bellow are my VPS specifications :

  • Server OS : Ubuntu 10.04 32bit
    Memory 256 MB
    Burstable 512 MB
    Disk Space 15 GB
    Bandwidth 1TB
    Web Server : Lighttpd + PHP
  • Node OS : Ubuntu 10.04 32bit
    Memory 512 MB
    vSwap 512 MB
    Disk Space 20 GB
    Bandwidth 3TB
    Web Server : Lighttpd + PHP + MySQL

Installation for Munin Server Node

  • # apt-get install munin munin-node
  • Copying Munin default template to the web dir :
    # cp var/cache/munin/www /var/www/munin
  • Configuring munin configuration
    # nano /etc/munin/munin.conf
    # The next three variables specifies where the location of the RRD
    # databases, the HTML output, and the logs, severally.  They all
    # must be writable by the user running munin-cron.
    # dbdir   /var/lib/munin
    # htmldir /var/www/munin
    # logdir  /var/log/munin
    # rundir  /var/run/munin
    
    # Where to look for the HTML templates
    tmpldir /etc/munin/templates
    
    # Make graphs show values per minute instead of per second
    #graph_period minute
    
    # Drop somejuser@fnord.comm and anotheruser@blibb.comm an email everytime
    # something changes (OK -> WARNING, CRITICAL -> OK, etc)
    #contact.someuser.command mail -s "Munin notification" somejuser@fnord.comm
    #contact.anotheruser.command mail -s "Munin notification" anotheruser@blibb.comm
    #
    # For those with Nagios, the following might come in handy. In addition,
    # the services must be defined in the Nagios server as well.
    #contact.nagios.command /usr/sbin/send_nsca -H nagios.host.com -c /etc/send_nsca.cfg
    
    # a simple host tree
    [localhost.localdomain]
       address 127.0.0.1
       use_node_name yes

    Change the configuration for example.

    # The next three variables specifies where the location of the RRD
    # databases, the HTML output, and the logs, severally.  They all
    # must be writable by the user running munin-cron.
    dbdir   /var/lib/munin
    htmldir /var/www/munin
    logdir  /var/log/munin
    rundir  /var/run/munin
    
    # Where to look for the HTML templates
    tmpldir /etc/munin/templates
    
    # Make graphs show values per minute instead of per second
    #graph_period minute
    
    # Drop somejuser@fnord.comm and anotheruser@blibb.comm an email everytime
    # something changes (OK -> WARNING, CRITICAL -> OK, etc)
    # contact.someuser.command mail -s "Munin notification" somejuser@fnord.comm
    # contact.anotheruser.command mail -s "Munin notification" anotheruser@blibb.comm
    #
    # For those with Nagios, the following might come in handy. In addition,
    # the services must be defined in the Nagios server as well.
    # contact.nagios.command /usr/sbin/send_nsca -H nagios.host.com -c /etc/send_nsca.cfg
    
    # a simple host tree
    [srv.bsie.net]
       address 127.0.0.1
       use_node_name yes
    # add as many as node you want to monitor, and change the address to your node ip address
  • Assign the Munin directory to the Munin user and group by using chown.
    # chown munin.munin -R /var/www/munin
  • And now you can start Munin.
    # /etc/init.d/munin-node start
    or
    # service munin-node restart

 

Installation for Munin  Node

  • # apt-get install munin-node
  • Configuring the munin-node configuration
    # nano /etc/munin/munin.conf
    #
    # Example config-file for munin-node
    #
    
    log_level 4
    log_file /var/log/munin/munin-node.log
    port 4949
    pid_file /var/run/munin/munin-node.pid
    background 1
    setseid 1
    
    # Which port to bind to;
    host *
    user root
    group root
    setsid yes
    
    # Regexps for files to ignore
    
    ignore_file ~$
    ignore_file \.bak$
    ignore_file %$
    ignore_file \.dpkg-(tmp|new|old|dist)$
    ignore_file \.rpm(save|new)$
    
    # Set this if the client doesn't report the correct hostname when
    # telnetting to localhost, port 4949
    #
    #host_name localhost.localdomain
    
    host_name   munintest.test.com
    
    # A list of addresses that are allowed to connect.  This must be a
    # regular expression, due to brain damage in Net::Server, which
    # doesn't understand CIDR-style network notation.  You may repeat
    # the allow line as many times as you'd like
    
    allow ^127\.0\.0\.1$
    
    allow ^172\.30\.5\.132$

    In the above configuration file there are two important things you need to enter.

    First one is under

    #host_name localhost.localdomain

    You need to add your client machine fully qualified name example

    #host_name localhost.localdomain
    host_name   hostname.server.com

    Second one is you need to enter the server ipaddress by defauly you can see 127.0.0.1 in your config file under that you need to add your munin server ipaddress example as follows

    allow ^127\.0\.0\.1$
    allow ^172\.30\.5\.132$

And the last, restart both munin in the server and node. Please wait for a moment for munin to update.

You can access the Munin report page from the Server by browse it :

http://ipaddress/munin
share save 171 16 Tutorial Monitoring VPS using Munin
formats

NBVPS Review – Nevada-VPS-256M

I’ve purchased a VPS from NBVPS several days ago, but didn’t make any review yet. So here we go :

  • Memory 256 MB
  • Burstable Memory 512 MB
  • Disk Space 15 GB
  • Bandwidth 200 GB
  • Node NV-node1
  • 1 IPv4 and 1 IPv6
  • PPTP available
  • OpenVZ
  • Monthly fee $1.80 with coupon : 20120420 to get 40% recurring discount icon biggrin NBVPS Review   Nevada VPS 256M

CPU Info :

# cat /proc/cpuinfo
processor       : 0
vendor_id       : GenuineIntel
cpu family      : 6
model           : 42
model name      :           Intel(R) Xeon(R) CPU E31230 @ 3.20GHz
stepping        : 7
cpu MHz         : 1596.460
cache size      : 8192 KB
physical id     : 0
siblings        : 8
core id         : 0
cpu cores       : 4
apicid          : 0
fpu             : yes
fpu_exception   : yes
cpuid level     : 13
wp              : yes
flags           : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm syscall nx rdtscp lm constant_tsc ida nonstop_tsc arat pni monitor ds_cpl vmx smx est tm2 ssse3 cx16 xtpr sse4_1 sse4_2 popcnt lahf_lm
bogomips        : 6385.84
clflush size    : 64
cache_alignment : 64
address sizes   : 36 bits physical, 48 bits virtual
power management: [8]

Network Speed

# wget cachefly.cachefly.net/100mb.bin
--2012-04-18 07:03:37--  http://cachefly.cachefly.net/100mb.bin
Resolving cachefly.cachefly.net... 205.234.175.175
Connecting to cachefly.cachefly.net|205.234.175.175|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 104857600 (100M) [application/octet-stream]
Saving to: `100mb.bin.1'

100%[===================================================================================================================>] 104,857,600 21.6M/s   in 4.6s

2012-04-18 07:03:41 (21.8 MB/s) - `100mb.bin.1' saved [104857600/104857600]

Disk IO

# dd if=/dev/zero of=iotest bs=64k count=16k conv=fdatasync
16384+0 records in
16384+0 records out
1073741824 bytes (1.1 GB) copied, 34.8442 s, 30.8 MB/s

I just realized that the NBVPS account on WHT is suspended. Ahh well maybe they will run or become scam soon.

 

Update :

April 29, 2012 : Their website can not be accessed

share save 171 16 NBVPS Review   Nevada VPS 256M
formats

NameCheap TRUSTe Privacy Policy with Seal Deals

Another WOW for NameCheap!!!

This morning I’m receiving the NameCheap Newsletter and saw an offer for TRUSTe Privacy Policy with seal which normaly costs  you $89.95/yr but you can get it only $0.01 by using the Coupon Code :

TRUSTME

 

I wonder, how do they get the profit, if most of their profit were given back to the customer icon smile NameCheap TRUSTe Privacy Policy with Seal Deals

NC TrustE NameCheap TRUSTe Privacy Policy with Seal Deals

share save 171 16 NameCheap TRUSTe Privacy Policy with Seal Deals
formats

Moving to Iperweb/Prometeus

Today, I’m moving my personal blog to the IperWeb/Prometeus because I’m looking for a stable provider which runs for years.

So, here what we got with VZ5 :

  • Memory 512 MB
  • vSwap 512 MB
  • Disk Space 20 GB
  • Bandwidth 3TB
  • Node pm14
  • 1 IPv4, no IPv6 2 IPv6 available with the new purchase, or you can get it by opening Ticket.
  • Tun/Tap and PPTP can be enabled upon request. We can alo run OpenVPN-AS here
  • Monthly fee $3.45

CPU Info :

# cat /proc/cpuinfo
processor       : 0
vendor_id       : AuthenticAMD
cpu family      : 16
model           : 9
model name      : AMD Opteron(tm) Processor 6176
stepping        : 1
cpu MHz         : 2300.099
cache size      : 512 KB
physical id     : 0
siblings        : 12
core id         : 0
cpu cores       : 12
apicid          : 0
initial apicid  : 0
fpu             : yes
fpu_exception   : yes
cpuid level     : 5
wp              : yes
flags           : fpu vme de pse tsc msr pae mce cx8 apic mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ht syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm 3dnowext 3dnow constant_tsc rep_good nonstop_tsc extd_apicid amd_dcm pni monitor cx16 popcnt lahf_lm cmp_legacy svm extapic cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw ibs skinit wdt nodeid_msr npt lbrv svm_lock nrip_save pausefilter
bogomips        : 4600.19
TLB size        : 1024 4K pages
clflush size    : 64
cache_alignment : 64
address sizes   : 48 bits physical, 48 bits virtual
power management: ts ttp tm stc 100mhzsteps hwpstate

processor       : 1
vendor_id       : AuthenticAMD
cpu family      : 16
model           : 9
model name      : AMD Opteron(tm) Processor 6176
stepping        : 1
cpu MHz         : 2300.099
cache size      : 512 KB
physical id     : 3
siblings        : 12
core id         : 0
cpu cores       : 12
apicid          : 48
initial apicid  : 48
fpu             : yes
fpu_exception   : yes
cpuid level     : 5
wp              : yes
flags           : fpu vme de pse tsc msr pae mce cx8 apic mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ht syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm 3dnowext 3dnow constant_tsc rep_good nonstop_tsc extd_apicid amd_dcm pni monitor cx16 popcnt lahf_lm cmp_legacy svm extapic cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw ibs skinit wdt nodeid_msr npt lbrv svm_lock nrip_save pausefilter
bogomips        : 4600.46
TLB size        : 1024 4K pages
clflush size    : 64
cache_alignment : 64
address sizes   : 48 bits physical, 48 bits virtual
power management: ts ttp tm stc 100mhzsteps hwpstate

Network Speed :

# wget cachefly.cachefly.net/100mb.bin
--2012-04-18 07:26:46--  http://cachefly.cachefly.net/100mb.bin
Resolving cachefly.cachefly.net... 205.234.175.175
Connecting to cachefly.cachefly.net|205.234.175.175|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 104857600 (100M) [application/octet-stream]
Saving to: `100mb.bin'

100%[===================================================================================================================>] 104,857,600 50.1M/s   in 2.0s

2012-04-18 07:26:48 (50.1 MB/s) - `100mb.bin' saved [104857600/104857600]

Disk IO :

# dd if=/dev/zero of=iotest bs=64k count=16k conv=fdatasync
16384+0 records in
16384+0 records out
1073741824 bytes (1.1 GB) copied, 7.56876 s, 142 MB/s

Well, overall I can say that I’ satisfied for this VPS.

  • Support is fast and friendly
  • Fast speed
  • Nice resource with low price
share save 171 16 Moving to Iperweb/Prometeus
formats

EZPZHosting UK15 under DDOS

My reseller account with EZPZHosting which located in UK15  is down today. Important websites hosted there, including the University Website in Madagascar, inscae.mg

Big apologies for any clients which are affected by this.

The engineer are working at this

 

Regards,
Erawan Arif Nugroho


 

UPDATE

  • SRV15 DDoS Attack (Reported)
    
    Affecting Server - cPanel15 | Priority - Critical
    
        SRV15 is currently the target of a large scale DDoS attack which has taken the server offline.
        We are working to identify the user being targetted and mitigate the attack but due to the size or the attack may take some time.
        11:08 - The server is now back online and we're monitoring the network very closely.
        21:42 - The attack has escalated resulting in the server going offline. We're working on mitigating this now.
        2:09   - We are now changing accounts IPs to mitigate the DDoS. No nameserver changes are required.
        11:08 - The IPs have all been changed and a mass mail to all affected clients has been sent.
        20:54 - The DdoS has started again and we're identiying the IP address being attacked.
        20:59 - The IP address being targetted has been nulled. Thanks to the measures put in place yesterday only one reseller is currently offline.
    
    Date - 15/04/2012 07:46
    Last Updated - 16/04/2012 21:00
    
share save 171 16 EZPZHosting UK15 under DDOS
formats

Moving to SecureDragon

As a trial, I will move my another project to the SecureDragon today.

Despite bad review from several people because the TOS breaking for non polite words, I guess it’s because the people are not patient and not honoring another person. Same case just like QuickWeb. I saw many people having problem with them, and saying to be careful. But if I see it from the provider side, that the customer were the one having the problem, the customer were not polite and harassing the employee. So, it’s not a problem from the provider, but from the customer itself.

So, welcome to the new provider, SecureDragon. Wish I could stay long with them icon smile Moving to SecureDragon

Before we go, as usual, I will write some review of SecureDragon OpenVZ O256 :

  • Memory 256 MB
  • Burstable Memory 512 MB
  • Disk Space 15 GB Raid10
  • Bandwidth 1TB
  • Node fire01
  • 1 IPv4, no IPv6
  • Tun/Tap and PPP can be enabled from SolusVM
  • Monthly fee $2.99

CPU Info :

# cat /proc/cpuinfo
processor       : 0
vendor_id       : GenuineIntel
cpu family      : 6
model           : 15
model name      : Intel(R) Xeon(R) CPU           X5355  @ 2.66GHz
stepping        : 11
cpu MHz         : 2660.027
cache size      : 4096 KB
physical id     : 0
siblings        : 4
core id         : 0
cpu cores       : 4
apicid          : 0
fpu             : yes
fpu_exception   : yes
cpuid level     : 10
wp              : yes
flags           : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm syscall nx lm constant_tsc pni monitor ds_cpl vmx est tm2 ssse3 cx16 xtpr lahf_lm
bogomips        : 5320.05
clflush size    : 64
cache_alignment : 64
address sizes   : 38 bits physical, 48 bits virtual
power management:

Network Speed :

# wget cachefly.cachefly.net/100mb.bin
--2012-04-15 05:37:18--  http://cachefly.cachefly.net/100mb.bin
Resolving cachefly.cachefly.net... 205.234.175.175
Connecting to cachefly.cachefly.net|205.234.175.175|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 104857600 (100M) [application/octet-stream]
Saving to: `100mb.bin'

100%[==================================================================================================================>] 104,857,600 44.7M/s   in 2.2s

2012-04-15 05:37:20 (44.7 MB/s) - `100mb.bin' saved [104857600/104857600]

Disk IO :

# dd if=/dev/zero of=iotest bs=64k count=16k conv=fdatasync
16384+0 records in
16384+0 records out
1073741824 bytes (1.1 GB) copied, 5.70003 s, 188 MB/s

SecureDragon OpenVZ Moving to SecureDragon

share save 171 16 Moving to SecureDragon
formats

SonyErricsson changed to Sony Mobile Communications

Sony Ericsson has been changed to Sony Mobile Communications. and now under brand of Sony

se sony SonyErricsson changed to Sony Mobile Communications

share save 171 16 SonyErricsson changed to Sony Mobile Communications
formats

Another VPS Review and where to go?

I’m gonna out of town for several days, and therefore this blog might be empty with the new posts icon smile Another VPS Review and where to go?

I’ve tried some new vps hosts and have changing this blog to each of them, but didn’t decided where do I will host this blog on.

The lists are :

  • BuyVM OpenVZ 256
    Memory 256MB
    Burstable Memory 512 MB
    Disk Space 30 GB
    Bandwidth 1TB
    1 IPv4 and 16 IPv6
    Location : San Jose
  • IperWeb / Prometeus OpenVZ VZ5
    Memory 512MB
    vSwap 512MB
    Disk Space 20 GB
    Bandwidth 3TB
    1 IPv4 and no IPv6
    Location : Italy
  • SecureDragon OpenVZ O256
    Memory 256 MB
    Burstable Memory 512 MB
    Disk Space 15 GB
    Bandwidth 1TB
    1 IPv4 and no IPv6
    Location Florida

Update :

share save 171 16 Another VPS Review and where to go?
formats

Another hacking attempt to this blog in the middle of the night. LOL!!!

Tonight while I’m awake, and want to perform Shollat Tahajud, I just received a notification email that someone is trying to bruteforce the admin user of this blog.

Here is the IP :

IP Address: 188.27.89.175
Hostname: 188-27-89-175.rdsnet.ro
IP Country: Romania
IP Country Code: ROU
IP Continent: Europe
IP Region: Bucuresti
Guessed City: Bucharest
IP Latitude: 44.4333
IP Longitude: 26.1
Organization: Romania Data Systems
ISP Provider: Romania Data Systems

If you comes from the search engine looking for this IP, pleas add it to your blocked list icon biggrin Another hacking attempt to this blog in the middle of the night. LOL!!!

share save 171 16 Another hacking attempt to this blog in the middle of the night. LOL!!!
formats

Review of VPS.net Free Trial

Today I saw an offer in the LET and also WHT of a VPS.net Trial, so I decide o give it a try :

  • Dedicated CPU 600MHZ
  • Memory 376 MB
  • Disk Space 10 GB
  • Bandwidth 1TB
  • 1 IPv4 Address
  • XEN
  • Free Trial for 1 Month and then $20 after
  • Node SLC / Salt Lake City

CPU Info :

# cat /proc/cpuinfo
processor       : 0
vendor_id       : GenuineIntel
cpu family      : 6
model           : 44
model name      : Intel(R) Xeon(R) CPU           E5620  @ 2.40GHz
stepping        : 2
cpu MHz         : 2400.084
cache size      : 12288 KB
physical id     : 0
siblings        : 1
core id         : 0
cpu cores       : 1
fpu             : yes
fpu_exception   : yes
cpuid level     : 11
wp              : yes
flags           : fpu de tsc msr pae cx8 apic sep cmov pat clflush acpi mmx fxsr sse sse2 ss ht syscall nx lm constant_tsc pni ssse3 cx16 sse4_1 sse4_2 popcnt lahf_lm
bogomips        : 6005.09
clflush size    : 64
cache_alignment : 64
address sizes   : 40 bits physical, 48 bits virtual
power management:

processor       : 1
vendor_id       : GenuineIntel
cpu family      : 6
model           : 44
model name      : Intel(R) Xeon(R) CPU           E5620  @ 2.40GHz
stepping        : 2
cpu MHz         : 2400.084
cache size      : 12288 KB
physical id     : 1
siblings        : 1
core id         : 0
cpu cores       : 1
fpu             : yes
fpu_exception   : yes
cpuid level     : 11
wp              : yes
flags           : fpu de tsc msr pae cx8 apic sep cmov pat clflush acpi mmx fxsr sse sse2 ss ht syscall nx lm constant_tsc pni ssse3 cx16 sse4_1 sse4_2 popcnt lahf_lm
bogomips        : 6005.09
clflush size    : 64
cache_alignment : 64
address sizes   : 40 bits physical, 48 bits virtual
power management:

Memory Info :


# cat /proc/meminfo
MemTotal:       385024 kB
MemFree:        130420 kB
Buffers:          6080 kB
Cached:          50832 kB
SwapCached:          0 kB
Active:          47004 kB
Inactive:        41276 kB
HighTotal:           0 kB
HighFree:            0 kB
LowTotal:       385024 kB
LowFree:        130420 kB
SwapTotal:     1048568 kB
SwapFree:      1048568 kB
Dirty:               8 kB
Writeback:           0 kB
AnonPages:       31312 kB
Mapped:           9032 kB
Slab:            12112 kB
PageTables:       3816 kB
NFS_Unstable:        0 kB
Bounce:              0 kB
CommitLimit:   1241080 kB
Committed_AS:   111280 kB
VmallocTotal: 34359738367 kB
VmallocUsed:      2624 kB
VmallocChunk: 34359735743 kB

Network Speed :

# wget cachefly.cachefly.net/100mb.bin
--2012-03-25 02:35:43--  http://cachefly.cachefly.net/100mb.bin
Resolving cachefly.cachefly.net... 205.234.175.175
Connecting to cachefly.cachefly.net|205.234.175.175|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 104857600 (100M) [application/octet-stream]
Saving to: `100mb.bin'

100%[===================================================================================================================>] 104,857,600 25.1M/s   in 4.3s

2012-03-25 02:35:48 (23.2 MB/s) - `100mb.bin' saved [104857600/104857600]

Disk IO Test

# dd if=/dev/zero of=iotest bs=64k count=16k conv=fdatasync
16384+0 records in
16384+0 records out
1073741824 bytes (1.1 GB) copied, 108.053 seconds, 9.9 MB/s
share save 171 16 Review of VPS.net Free Trial
credit
© Copyright 2011 - 2012 BSIE.net