Nagios check_snmp issues for Solaris

Ludo Bosmans Ludo.Bosmans at aureusim.be
Thu Mar 17 16:18:47 CET 2005


Patrick,

On solaris there is a file /etc/snmp/conf/snmpd.conf
In that file there is a "managers" entry that contain a list of host names that are allowed to send snmp queries. I think localhost must be included always.
Some example:
managers localhost host1 host2

After adapting conf file, stop snmp daemons and restart them. There are a several related daemons or reboot server.

Best regards,

ludo

-----Original Message-----
From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Subhendu Ghosh
Sent: donderdag 17 maart 2005 15:58
To: Mohanty, Amitabh (Corporate, consultant)
Cc: Patrick Proy; nagios-users at lists.sourceforge.net
Subject: RE: [Nagios-users] Nagios check_snmp issues for Solaris

Looks like the Sun Management Center agent..
(Note a lot of the SNMP stuff in Sun is from Halcyoninc.com)

<from sun.com>
Sun Management Center has published MIB's for certain modules. They are 
available in /opt/SUNWsymon/util/cfg directory of an installed Sun 
Management Center agent image. They are:

    * file-scan.mib
    * health-monitor-mib.mib
    * kernel-reader-mib.mib
    * nfsmon-mib.mib
    * nfsstat-mib.mib
    * print-spool-mib.mib
    * process-details-mib.mib
    * process-monitor.mib 

</from sun.com>

Some have been reverse-engineered:
http://forum.sun.com/thread.jspa?forumID=181&threadID=15248


If you can - it might be better to run the Net-SNMP agent instead of 
SunMC for consistency across your hosts.

-sg

On Thu, 17 Mar 2005, Mohanty, Amitabh (Corporate, consultant) wrote:

> Hi Patrick,
>   I would like to thank you again for your help. Is there any website I
> can get the list of MIBs for solaris .
> 
> Also I get the following result when I try the following command
> =====================================================================================
> bash-2.03$ ps -eaf|grep snmp
>     root   383     1  0   Oct 18 ?        0:00 /usr/lib/dmi/snmpXdmid -s cisidr0
> 2
>     root   376     1  0   Oct 18 ?        0:01 /usr/lib/snmp/snmpdx -y -c /etc/s
> nmp/conf
>     root 23451     1  0   Oct 29 ?        0:18 ./snmpmagt /export/home/patrol/So
> laris27-sun4/lib/snmpmagt.cfg NOV
> =====================================================================================
> 
> Thanks,
> Amitabh
> -----Original Message-----
> From: Patrick Proy [mailto:nagios-user at proy.org]
> Sent: Thursday, March 17, 2005 4:04 AM
> To: Mohanty, Amitabh (Corporate, consultant);
> nagios-users at lists.sourceforge.net
> Subject: RE: [Nagios-users] Nagios check_snmp issues for Solaris
> 
> 
> Hi,
> 
> The 1.3.6.1.4.1.2021 branch is only valid with Net-SNMP daemon. 
> 
> Which snmp server are you using on Solaris ?
> Did you try the MIB-II OID for CPU instead (1.3.6.1.2.1.25.3.3.1.2.X) ?
> 
> Patrick 
> Nagios AT proy.org
> 
> -----Message d'origine-----
> De : nagios-users-admin at lists.sourceforge.net
> [mailto:nagios-users-admin at lists.sourceforge.net] De la part de Mohanty,
> Amitabh (Corporate, consultant)
> Envoyé : jeudi 17 mars 2005 00:35
> À : nagios-users at lists.sourceforge.net
> Objet : [Nagios-users] Nagios check_snmp issues for Solaris
> 
> Hi,
>   We are having Nagios running on RedHat Linux. We are able to monitor the
> CPU, DISK and Memory statistics of Linux servers using the check_snmp
> plug-in. We are planning to use the same procedure for Solaris. Do we have
> to use different executables/OID for Solaris. Please let me know.
> 
> We are getting the following error for solaris
> 
> ./check_snmp -H <host_name> -C <Community> -o
> .1.3.6.1.4.1.2021.11.9.0,.1.3.6.1.4.1.2021.11.10.0,.1.3.6.1.4.1.2021.11.11.0
> SNMP problem - No data received from host
> CMD: /usr/bin/snmpget -t 1 -r 9 -m ALL -v 1 -c <community> <host_name>:161
> .1.3.6.1.4.1.2021.11.9.0 .1.3.6.1.4.1.2021.11.10.0 .1.3.6.1.4.1.2021.11.11.0
> 
> Thanks,
> Amitabh Mohanty 
> 
> 

--



-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_ide95&alloc_id396&op=ick
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. 
::: Messages without supporting info will risk being sent to /dev/null


-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_ide95&alloc_id396&op=click
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. 
::: Messages without supporting info will risk being sent to /dev/null





More information about the Users mailing list