1754393 Members
2798 Online
108813 Solutions
New Discussion

SNMP quizz

 
josselin vernache
Occasional Contributor

SNMP quizz

Hi , i configed my snmpd.conf ,

for instance disk /home 202020302020
I put this value ,in order to get trap , but , i got nothing, just the coldstart .

I want to get different traps ( such as disk,memory,cpu..) but i only got coldstart and shutdown!!!

Help , please

josselin
1 REPLY 1
Ivan Ferreira
Honored Contributor

Re: SNMP quizz

You should read the MIB's, it doesn't trap
for disk usage. You'll have to poll for disk space usage.

See man sndmpd.conf, when the value is reached, a OID is set to 1.


disk PATH [ MINSPACE | MINPERCENT% ]
Checks the named disks mounted at PATH for available disk space. If the disk space is less than MINSPACE (kB) if specified or less than MINPERCENT (%) if a % sign is specified, or DEFDISKMINIMUMSPACE (kB) if not specified, the associated entry in the 1.3.6.1.4.1.2021.9.1.100 mib table will be set to (1) and a descriptive error message will be returned to queries of 1.3.6.1.4.1.2021.9.1.101.


You should use a tool like NAGIOS to monitor your systems, or GANGLIA if you want federation.
Por que hacerlo dificil si es posible hacerlo facil? - Why do it the hard way, when you can do it the easy way?