SNMP - Get Mounted Partitions FAILS

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

Moderators: Developers, Moderators

Post Reply
michele.castigliego
Posts: 1
Joined: Fri Jan 28, 2005 7:42 am

SNMP - Get Mounted Partitions FAILS

Post by michele.castigliego »

Hi all,
I notice that SNMP Get Mounted partitions is functionally only with port UDP 161...

I'm monitoring some servers behind a firewall and all is ok but Get mounted partition.
Just for know, ucd/snmp Get Monitored Partition works.

Thanks.
User avatar
egarnel
Cacti Pro User
Posts: 708
Joined: Thu Nov 21, 2002 8:55 am
Location: Austin, TX

Post by egarnel »

have you added and/or uncomented the disk settings in snmp.conf?

here are the ports for snmp from /etc/services:
snmp 161/tcp # Simple Net Mgmt Proto
snmp 161/udp # Simple Net Mgmt Proto
snmptrap 162/udp snmp-trap # Traps for SNMP

here is a sample snmp.conf file (snipped)

Code: Select all

#       sec.name  source          community
com2sec notConfigUser  default      public

####
# Second, map the security name into a group name:

#       groupName      securityModel securityName
group   notConfigGroup v1           notConfigUser
group   notConfigGroup v2c           notConfigUser

####
# Third, create a view for us to let the group have rights to:

#       name           incl/excl     subtree         mask(optional)
view    systemview     included      .1       
# .1 for everything
####
# Finally, grant the group read-only access to the systemview view.

#       group          context sec.model sec.level prefix read   write  notif
access  notConfigGroup ""      any       noauth    exact  systemview none none

# Check the / partition and make sure it contains at least 10 megs.

disk / 10000
disk /usr 10000
disk /var 10000

If you can read other snmp values, then chances are it is not a port issue.
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest