How cacti monitoring remote Unix machines ?

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

Moderators: Developers, Moderators

Post Reply
Bazcor
Posts: 9
Joined: Fri Jun 02, 2006 3:54 pm

How cacti monitoring remote Unix machines ?

Post by Bazcor »

Hi,

I have my Cacti server on a Linux machine... and I tried to monitoring IBM/AIX machines with perl script but did not work. I used the example perl script (unix_processes.pl) and work fine... but when I checked directly on the IBM/AIX with the same script (copy and paste) the value was different. What is the difference or what was my error ?

Thanks

PD: sorry about my bad english.
User avatar
gandalf
Developer
Posts: 22383
Joined: Thu Dec 02, 2004 2:46 am
Location: Muenster, Germany
Contact:

Post by gandalf »

There are some scripts, that query the local machine only. Most common used method to get remote data is using SNMP. To get there, apply the ucd/snmp Host Host Template to your targets. This will get you some SNMP Graph Templates and Data Queries.
But as we are fighting with our AIX SNMP daemon (right, rony, not that good of an implementation), some OIDs are not available (e.g. ucd/disk and ucd/host stuff which would come in very useful).
So we changed to use scripts that access remote cgi's vie wget to get the data.
Better solution may be to compile net-snmp for AIX
Reinhard
sqtchman74
Posts: 6
Joined: Fri Jun 09, 2006 4:25 pm
Contact:

Post by sqtchman74 »

I am new at cacti. I have installed Cacti on a Win2K3 server. From what I am gathering you to say is that there is no easy way to monitor a remote AIX box.
User avatar
gandalf
Developer
Posts: 22383
Joined: Thu Dec 02, 2004 2:46 am
Location: Muenster, Germany
Contact:

Post by gandalf »

sqtchman74 wrote:... From what I am gathering you to say is that there is no easy way to monitor a remote AIX box.
That's not exactly what I tried to say. The standard MIBs are supported (e.g. interface, ethernet, IP, TCP, UDP MIB). But such a nice thing as the UCD-HOST-MIB is not, unless you compile net-snmp for AIX. Search for "AIX SNMP" stuff of user rony, he's an expert on this :wink:
Reinhard
Bazcor
Posts: 9
Joined: Fri Jun 02, 2006 3:54 pm

Post by Bazcor »

Well, I not have almost any experience with Cacti, but a lot with AIX and this is my aport to this topic.

RedBook with net-snmp implementation:

http://www.redbooks.ibm.com/redbooks/pdfs/sg246606.pdf

Binaries and Sources of net-snmp on AIX

http://aixpdslib.seas.ucla.edu/packages/net-snmp.html

I hope to help you.
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest