Getting Nagios and AIX SNMP working together happily

Raphaël 'SurcouF' Bordet surcouf at debianfr.net
Fri Mar 9 23:17:38 CET 2007


Le jeudi 08 mars 2007 à 17:50 -0800, Patrick - South Valley Internet a
écrit :
> Hi all,

Hi,

> I'm trying to monitor all the important stuff from a few of our AIX 
> boxes, such as CPU load, memory load, and storage.  I want to be able to 
> have Nagios notify us when we reach a certain level of storage for all 
> the partitions.  I downloaded the AIX Harddisk Checks located at 
> http://www.nagiosexchange.org/AIX.139.0.html?&tx_netnagext_pi1[p_view]=712 
> and I have it working, but it only tells me OK that there is a hard 
> drive in the system.  I want to be able to have Nagios notify us when we 
> reach a certain level of storage for all the partitions.
> 
> Could anyone point me in the right direction on how to get Nagios to 
> check for the amount of storage on the drive?  Do I need a different plugin?

You can check storage by using check_snmp_storage[1] wrote by Patrick
Proy. AIX SNMP agents should provide HOSTS-RESSOURCES-MIB: I've already
set some services using this plugins for a customer. You can also use
Patrick Proy's plugins to get CPU load (check_snmp_load[2]) and memory
usage (check_snmp_mem[3]).
Since AIX 5.2, you must enable aixmibd sub-agent to get "Paging Space"
statistics (I can publish a plugin that support this IBM-AIX-MIB if you
need).

> I also want to put a password on this instead of making it public, do I 
> just change all words that say public to the passphrase I want?

Right, you've to modify this string to change the community.
Note : with SNMPv1 and SNMPv2c, this community will be transfered without
any protection on the network. You must use at least SNMPv3 to get a more
secure protocol. AIX snmpdv3[4] agent also support this protocol version.

Regards,


[1]: http://nagios.manubulon.com/snmp_load.html
[2]: http://nagios.manubulon.com/snmp_mem.html
[3]: http://nagios.manubulon.com/snmp_storage.html
[4]:http://publib16.boulder.ibm.com/pseries/fr_FR/files/aixfiles/snmpdv3.conf.htm
-- 
Raphaël 'SurcouF' Bordet


-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. 
::: Messages without supporting info will risk being sent to /dev/null


More information about the Users mailing list