/proc/meminfo

Post support questions that directly relate to Linux/Unix operating systems.

Moderators: Developers, Moderators

Post Reply
fristi
Posts: 15
Joined: Mon Jul 28, 2008 4:28 am

/proc/meminfo

Post by fristi »

Hello everybody,

We are running cacti 0.8.7b on a Solaris 10 for several days now. A few days ago the crontab registered a very odd problem :
/usr/local/rrdtool-1.2.19/bin/rrdtool: syntax error at line 1: `(' unexpected
cat: cannot open /proc/meminfo
cat: cannot open /proc/meminfo

we are running :
Cacti Version 0.8.7b
Cacti OS unix
SNMP Version net-snmp
RRDTool Version RRDTool 1.2.x
Hosts 3
Graphs 4
Data Sources SNMP Query: 4
Total: 4

thanks in advance,
Fristi,
frdrk
Cacti User
Posts: 55
Joined: Fri Jul 06, 2007 2:27 pm

Post by frdrk »

afaik, solaris doesnt even have a /proc/meminfo.. has it ever worked? :)
fristi
Posts: 15
Joined: Mon Jul 28, 2008 4:28 am

Post by fristi »

It has worked for several days, is there a cacti version specially for Solaris ?
User avatar
TheWitness
Developer
Posts: 17059
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Post by TheWitness »

Is there such a file on Solaris? If you are using net-snmp, was it recently updated? I would suspect this problem is either there, or some other script attempting to open the proc file.

Here's a guess:

Code: Select all

grep -i proc /var/www/html/cacti/scripts
TheWitness
True understanding begins only when we realize how little we truly understand...

Life is an adventure, let yours begin with Cacti!

Author of dozens of Cacti plugins and customization's. Advocate of LAMP, MariaDB, IBM Spectrum LSF and the world of batch. Creator of IBM Spectrum RTM, author of quite a bit of unpublished work and most of Cacti's bugs.
_________________
Official Cacti Documentation
GitHub Repository with Supported Plugins
Percona Device Packages (no support)
Interesting Device Packages


For those wondering, I'm still here, but lost in the shadows. Yearning for less bugs. Who want's a Cacti 1.3/2.0? Streams anyone?
User avatar
Clipper
Posts: 12
Joined: Mon Jun 06, 2005 3:39 am
Location: Switzerland

Solaris vs Linux

Post by Clipper »

That's because by default Cacti enables a host script called linux_memory.pl which does not work on Solaris. You will have to write a specific one or disable that graph.

--
Clipper
--
Clipper
Gray Hat
Post Reply

Who is online

Users browsing this forum: No registered users and 3 guests