Topic
  • 4 replies
  • Latest Post - ‏2012-05-10T17:30:34Z by GregoryHohertz
Sammy1984
Sammy1984
3 Posts

Pinned topic Agentless monitoring for Linux OS

‏2012-05-02T12:05:05Z |
Hello Everyone,

I have configured some Ubuntu Linux servers to be monitored through SNMP(Agentless Monitoring). I am able to see data for some of the servers but not all. The servers for which I am unable to get data has customized OS running on it and so is the snmpd.conf file.

All the servers are snmp enabled and snmp services are running. There is no firewall in between ITM server and the server which is being monitored. But still I am unable to view data in the TEPS for some of the servers.

Can anyone please suggest me on what I am missing?

Any help in this regard is really appreciated.

Kindly find the attached document for the reference.
Thank you.
  • Sammy1984
    Sammy1984
    3 Posts

    Re: Agentless monitoring for Linux OS

    ‏2012-05-02T12:13:21Z  
    Kindly find the missing attachment..
  • Sammy1984
    Sammy1984
    3 Posts

    Re: Agentless monitoring for Linux OS

    ‏2012-05-03T06:56:13Z  
    • Sammy1984
    • ‏2012-05-02T12:13:21Z
    Kindly find the missing attachment..
    The following is the snmpd.conf file on the server for which I am unable to get data.

    Can anyone please go through the file and let me know what corrections has to be done in snmpd.conf file.

    Awaiting reply from all experts.

    Thank you.

    
    ############################################################################### # System contact information syslocation Somewhere syscontact Root <root@the-grand-root>   ############################################################################### # Access Control   #       sec.name        source          community #com2sec notConfigUser  
    
    default         
    
    public   #       groupName      securityModel securityName group   notConfigGroup v1            notConfigUser group   notConfigGroup v2c           notConfigUser   # Make at least  snmpwalk -v 1 localhost -c 
    
    public system fast again. #       name           incl/excl     subtree         mask(optional) view    systemview    included   .1.3.6.1.2.1.1 view    systemview    included   .1.3.6.1.2.1.25.1.1 view    all           included   .1   #       group          context sec.model sec.level prefix read   write  notif access  notConfigGroup 
    ""      any       noauth    exact  all    none   none   # XXX createuser testUser SHA -l 0x0001020304050607080900010203040506070809 AES -l 0x00010203040506070809000102030405 rouser testUser   # XXX iquerySecName testUser agentSecName testUser   # Interfaces 
    
    interface eth1 6 1000000000 
    
    interface eth2 6 1000000000   # Sensors sensor INTEGER .1.3.6.1.4.1.28731.2.1 temp-sensor-lithium # the other temperature sensors should not be used   sensor INTEGER .1.3.6.1.4.1.28731.3.1 fan-sensor-0 sensor INTEGER .1.3.6.1.4.1.28731.3.2 fan-sensor-1 sensor INTEGER .1.3.6.1.4.1.28731.3.3 fan-sensor-2 sensor INTEGER .1.3.6.1.4.1.28731.3.4 fan-sensor-3 sensor INTEGER .1.3.6.1.4.1.28731.3.5 fan-sensor-4 sensor INTEGER .1.3.6.1.4.1.28731.3.6 fan-sensor-5 sensor INTEGER .1.3.6.1.4.1.28731.3.7 fan-sensor-6 sensor INTEGER .1.3.6.1.4.1.28731.3.8 fan-sensor-7   sensor INTEGER .1.3.6.1.4.1.28731.4.1 volt-sensor-0 sensor INTEGER .1.3.6.1.4.1.28731.4.2 volt-sensor-1 sensor INTEGER .1.3.6.1.4.1.28731.4.3 volt-sensor-2 sensor INTEGER .1.3.6.1.4.1.28731.4.4 volt-sensor-3 sensor INTEGER .1.3.6.1.4.1.28731.4.5 volt-sensor-4 sensor INTEGER .1.3.6.1.4.1.28731.4.6 volt-sensor-5 sensor INTEGER .1.3.6.1.4.1.28731.4.7 volt-sensor-6 sensor INTEGER .1.3.6.1.4.1.28731.4.8 volt-sensor-7   sensor INTEGER .1.3.6.1.4.1.28731.5.1 power-sensor-A sensor INTEGER .1.3.6.1.4.1.28731.5.2 power-sensor-B   sensor INTEGER .1.3.6.1.4.1.28731.6.1.0 stream-count-sensor sensor Counter64 .1.3.6.1.4.1.28731.6.2.0 configured-bandwidth-left-sensor sensor Counter64 .1.3.6.1.4.1.28731.6.3.0 licensed-bandwidth-left-sensor   # Defaults; disk /media 0   ### EVENTS: trap2sink 192.168.201.175 trap2sink 192.168.201.114 com2sec notConfigUser 
    
    default 
    
    public notificationEvent linkDownTrap linkDown ifIndex ifAdminStatus ifOperStatus notificationEvent linkUpTrap   linkUp   ifIndex ifAdminStatus ifOperStatus monitor -r 3 -e linkUpTrap   
    "Generate linkUp"   ifOperStatus != 2 monitor -r 3 -e linkDownTrap 
    "Generate linkDown" ifOperStatus == 2 alarm 105001 tempTrap alarm 105000 fanTrap alarm 105003 powerTrap alarm 101200 bandwidthTrap # Unknown license maximum alarm 101201 bandwidthTrap # RTSP license maximum alarm 101202 bandwidthTrap # FCC burst license maximum alarm 101203 bandwidthTrap # Adobe streaming license maximum alarm 101204 bandwidthTrap # HTTP license maximum alarm 101205 bandwidthTrap # Apple streaming license maximum alarm 101206 bandwidthTrap # Smooth streaming license maximum alarm 101207 bandwidthTrap # Playout license maximum alarm 101208 bandwidthTrap # FCC playout license maximum alarm 101209 bandwidthTrap # Content push license maximum alarm 101250 bandwidthTrap # Interface maximum bandwidth alarm 102012 freeSpaceTrap   # Override System contact information syslocation MDN LAB (ChhatarpurHE) syscontact servicedesk@edgeware.tv
    
  • davidlskeen
    davidlskeen
    68 Posts

    Re: Agentless monitoring for Linux OS

    ‏2012-05-07T18:23:49Z  
    Probably better to ask this question in the ITM forum at http://www.ibm.com/developerworks/forums/forum.jspa?forumID=796
    --
    Dave Skeen
  • GregoryHohertz
    GregoryHohertz
    2 Posts

    Re: Agentless monitoring for Linux OS

    ‏2012-05-10T17:30:34Z  
    • Sammy1984
    • ‏2012-05-03T06:56:13Z
    The following is the snmpd.conf file on the server for which I am unable to get data.

    Can anyone please go through the file and let me know what corrections has to be done in snmpd.conf file.

    Awaiting reply from all experts.

    Thank you.

    <pre class="jive-pre"> ############################################################################### # System contact information syslocation Somewhere syscontact Root <root@the-grand-root> ############################################################################### # Access Control # sec.name source community #com2sec notConfigUser default public # groupName securityModel securityName group notConfigGroup v1 notConfigUser group notConfigGroup v2c notConfigUser # Make at least snmpwalk -v 1 localhost -c public system fast again. # name incl/excl subtree mask(optional) view systemview included .1.3.6.1.2.1.1 view systemview included .1.3.6.1.2.1.25.1.1 view all included .1 # group context sec.model sec.level prefix read write notif access notConfigGroup "" any noauth exact all none none # XXX createuser testUser SHA -l 0x0001020304050607080900010203040506070809 AES -l 0x00010203040506070809000102030405 rouser testUser # XXX iquerySecName testUser agentSecName testUser # Interfaces interface eth1 6 1000000000 interface eth2 6 1000000000 # Sensors sensor INTEGER .1.3.6.1.4.1.28731.2.1 temp-sensor-lithium # the other temperature sensors should not be used sensor INTEGER .1.3.6.1.4.1.28731.3.1 fan-sensor-0 sensor INTEGER .1.3.6.1.4.1.28731.3.2 fan-sensor-1 sensor INTEGER .1.3.6.1.4.1.28731.3.3 fan-sensor-2 sensor INTEGER .1.3.6.1.4.1.28731.3.4 fan-sensor-3 sensor INTEGER .1.3.6.1.4.1.28731.3.5 fan-sensor-4 sensor INTEGER .1.3.6.1.4.1.28731.3.6 fan-sensor-5 sensor INTEGER .1.3.6.1.4.1.28731.3.7 fan-sensor-6 sensor INTEGER .1.3.6.1.4.1.28731.3.8 fan-sensor-7 sensor INTEGER .1.3.6.1.4.1.28731.4.1 volt-sensor-0 sensor INTEGER .1.3.6.1.4.1.28731.4.2 volt-sensor-1 sensor INTEGER .1.3.6.1.4.1.28731.4.3 volt-sensor-2 sensor INTEGER .1.3.6.1.4.1.28731.4.4 volt-sensor-3 sensor INTEGER .1.3.6.1.4.1.28731.4.5 volt-sensor-4 sensor INTEGER .1.3.6.1.4.1.28731.4.6 volt-sensor-5 sensor INTEGER .1.3.6.1.4.1.28731.4.7 volt-sensor-6 sensor INTEGER .1.3.6.1.4.1.28731.4.8 volt-sensor-7 sensor INTEGER .1.3.6.1.4.1.28731.5.1 power-sensor-A sensor INTEGER .1.3.6.1.4.1.28731.5.2 power-sensor-B sensor INTEGER .1.3.6.1.4.1.28731.6.1.0 stream-count-sensor sensor Counter64 .1.3.6.1.4.1.28731.6.2.0 configured-bandwidth-left-sensor sensor Counter64 .1.3.6.1.4.1.28731.6.3.0 licensed-bandwidth-left-sensor # Defaults; disk /media 0 ### EVENTS: trap2sink 192.168.201.175 trap2sink 192.168.201.114 com2sec notConfigUser default public notificationEvent linkDownTrap linkDown ifIndex ifAdminStatus ifOperStatus notificationEvent linkUpTrap linkUp ifIndex ifAdminStatus ifOperStatus monitor -r 3 -e linkUpTrap "Generate linkUp" ifOperStatus != 2 monitor -r 3 -e linkDownTrap "Generate linkDown" ifOperStatus == 2 alarm 105001 tempTrap alarm 105000 fanTrap alarm 105003 powerTrap alarm 101200 bandwidthTrap # Unknown license maximum alarm 101201 bandwidthTrap # RTSP license maximum alarm 101202 bandwidthTrap # FCC burst license maximum alarm 101203 bandwidthTrap # Adobe streaming license maximum alarm 101204 bandwidthTrap # HTTP license maximum alarm 101205 bandwidthTrap # Apple streaming license maximum alarm 101206 bandwidthTrap # Smooth streaming license maximum alarm 101207 bandwidthTrap # Playout license maximum alarm 101208 bandwidthTrap # FCC playout license maximum alarm 101209 bandwidthTrap # Content push license maximum alarm 101250 bandwidthTrap # Interface maximum bandwidth alarm 102012 freeSpaceTrap # Override System contact information syslocation MDN LAB (ChhatarpurHE) syscontact servicedesk@edgeware.tv </pre>
    Please provide the following:

    Output from:
    netstat -au | grep snmp

    SNMPDOPTS line from:
    /etc/default/snmpd

    Thanks,
    Gregory Hohertz
    IBM Strategic Outsourcing Delivery
    ghohertz@us.ibm.com