We have some AIX server that seems not work with SNMP. Can we monitor it using Custom Script?
Ethernet Transmit:
Statistics: 36%
Ethernet Receive:
Statistics: 53%
What would be a good script that can display above data.
Hi there,
The following might help in configuring SNMP on the host.
Configuring SNMP Version 3 on AIX
joel.regado, I know that the IBM SNMP package that comes default with AIX is very limited. I've heard that to get more info through SNMP is to replace the default SNMP package with net-snmp. Once that is done then you should be able to get interface statistics on the host without needing to create a custom script.
SNMPv3 is a beast on AIX, hopefully you can get away with just SNMPv2.
The benefit of enabling SNMP is to have NPM also transform the collected data into percentages. You could certainly grab interface statistics through scripting methods but they will be "raw". Example - looking at the output of entstat you can see transmit and receive data is listed in Packets or Bytes sent and received by the interface. Same for netstat...
NPM will convert this into "utilization" percentages for you in a resource chart named "Current Percent Utilization for each Interface"
You can certainly still option to script out interface stats using SAM and collect raw data as Packets/Bytes of course but haven't seen this done in template form/scripting as of yet.
Hi Guys,
Thank you for the inputs. I already discussed the SNMPv3 with the admin but they are reluctant on implementing it since the server is very critical to them.
I will try to find more information about the possible script.