Monitoring Solaris via SNMP?

Paul Weaver paul.weaver at bbc.co.uk
Tue Aug 19 16:52:39 CEST 2008


>> From: Serafin, Chris
>> Sent: Monday, August 18, 2008 4:01 PM
>> To: Nagios-users at lists.sourceforge.net
>> Subject: [Nagios-users] Monitoring Solaris via SNMP?
>>  
>> I'm trying to monitor CPU, memory and disk space via SNMP on a bunch
of Solaris machines and running into errors (nothing returned from
check_snmp_cpu.pl). 
>> Is anyone monitoring Solaris this way, and if so how/what plugin?
> From: Doug Veldhuisen
> 
> Are you using the Solaris snmp stack or the net-snmp version on your
Sun box?
> There is a difference, big difference in the data obtained.  I think
what your looking for comes from the Net-SNMP stack.
> Not totally sure, I have a couple of Sun boxes I plan on putting up
under Nagios myself.

I monitor about a dozen solaris boxes using a variety of custom plugins
(as well as things like check_tcp, check_ssh, ping etc), but snmp wise I
use:
1) a "check_hd" one, [www.peters-webcorner.de/nagios], then I "modified
to add support for multiple oses, reconfigured output, changed help to
be clearer, and added support for snmpv3"
2) a "check_process_by_snmp", which from the style I think I wrote from
scratch before I started storing my libexec directory in subversion,
that checks a process is running (optionally with a parameter)
3) a "check_mem_by_snmp", another internal one which checks the free
memory on a box

On the machine I use "net-snmp 5.0.9" in /usr/sfw/sbin/snmpd. I think
(I'm not a solaris admin), it attected to "snmpdx -- Sun Solstice
Enterprise Master Agent" supplied by the SUNWmibii. 

You can run snmpwalk -v2c -cpublic hostname .1 to see what fun
information is available

--
"Power corrupts. Power failure corrupts absolutely"

Paul Weaver    
Systems Development Engineer
News Production Facilities, BBC News

http://www.bbc.co.uk/
This e-mail (and any attachments) is confidential and may contain personal views which are not the views of the BBC unless specifically stated.
If you have received it in error, please delete it from your system.
Do not use, copy or disclose the information in any way nor act in reliance on it and notify the sender immediately.
Please note that the BBC monitors e-mails sent or received.
Further communication will signify your consent to this.
					

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
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