Categories: Hostripples Featured

MRTG: WARNING: Problem with External get

WARNING: Problem with External get ‘/etc/mrtg/system swap’:
Expected a Number for ‘in’ but got ”

WARNING: Problem with Externale get ‘/etc/mrtg/system swap’:
Expected a Number for ‘out’ but got ”

Solution:

root#vim /etc/mrtg/system

if [ “$TYPE” = “swap” ]; then

INDATA=`/usr/bin/free -b | grep “Swap:” | sed ‘s/ * / /g’ | cut -d ‘ ‘ -f2`

OUTDATA=`/usr/bin/free -b | grep “Swap:” | sed ‘s/ * / /g’ | cut -d ‘ ‘ -f3`
fi


HR-ADMIN

Recent Posts

This Diwali, Give Your Website the Glow It Deserves — Host Smarter,Rank Higher

Every Diwali Brings New Light, New Beginnings, and New Opportunities In today’s digital world, your website is the Diya that…

12 hours ago

What Are the Best WordPress Photo Gallery Plugins for 2026?

Photography is not just about taking pictures—it’s about presenting them beautifully. For photographers and creative bloggers, WordPress photo gallery plugins…

2 weeks ago

How Can You Prepare Your Ecommerce Site/blog for Festivals?

Festivals are more than cultural celebrations—they’re golden opportunities for e-commerce stores and bloggers to attract, engage, and convert audiences. During…

3 weeks ago

Shared Hosting: Migrating Your Site Seamlessly

If you’re new to web hosting, the idea of moving your website from one provider to another might sound intimidating.…

1 month ago

Top 15 WooCommerce Plugins to Power Your eCommerce Store in 2025

WooCommerce powers over 5 million online stores, and its true potential comes alive with plugins that enhance functionality. The right…

1 month ago