1832757 Members
3077 Online
110045 Solutions
New Discussion

snmp problems ...

 
Radu Swider_1
Occasional Contributor

snmp problems ...

hello,
i want to use mrtg (using snmp protocol) to monitor one v class and two n class machines.

the first problem is that a receive only from one machine (one n class) good snmp responses (the snmp output from v class is ok, but in the mrtg i don't see network traffic !!, and from the second n class, when i try snmpwalk the output seems to go into loop at interfaces.ifTable.ifEntry.ifIndex.3 ). the configuration files looks to be the same on witch machines.

second, i want to monitor something more then network traffic (logged users, swap, memory, cpu etc); somebody tells me that i have to load some oids into agent machines. how can i do this ?

10x
1 REPLY 1
Magdi KAMAL
Respected Contributor

Re: snmp problems ...

Hi radu,

For monitoring User using su command :
/usr/adm/sulog
For monitoring swap, memory, cpu :
the command "vmstat -S n1 n2"

n1: interval in second
n2: number of times you execute the command

The out put for this command show you :

r : Running process
b : Blocking process for ressources.
w : Waiting process for I/O.

si : Swap in
so : Swap out

pi : Page in
po : Page out

cs : Context Switch

us : Percentage of use of user processes
sy : Percentage of use of system processes
id : Percentage of use of idle process

Sorry for the first part.