Re: [Nagios-users] snmp questions

2007-06-28 Thread Raphaël 'SurcouF' Bordet
Le mercredi 27 juin 2007 à 18:21 +0200, Ronan REYNAUD a écrit :
> Hi

Hi,

> I’m new to nagios, and I’d like to get some snmp requests.
> 
> It’s Ok for some requests (Uptime for example)
> 
> But I can’t get  Disk Space. (No Data received from Host)
> 
> I tried to used snmpget in a console, and get the same bad result.
> 
> May be the Oids are wrong..

You must better use hrStorageTable OIDs.

> Could someone give me a clue ?

Try to use check_snmp_storage plugin wrote by Patrick Proy : 

http://nagios.manubulon.com/snmp_storage.html

-- 
Raphaël 'SurcouF' Bordet



-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
Nagios-users mailing list
Nagios-users@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

Re: [Nagios-users] Nagios, Zabbix, OpenNMS?

2007-04-25 Thread Raphaël 'SurcouF' Bordet
Le lundi 23 avril 2007 à 11:13 -0400, Bill Jacqmein a écrit :
> The biggest problem I have with OpenNMS and Zabbix is the reliance on
> SNMP. Most of the checks I do arent SNMP checks. What would be best is
> if the plugins for Nagios could be used on OpenNMS or Zabbix or
> another network monitor.

Hi,

You can use "exec" directive to have Nagios Plugins to be executed by
Net-SNMP and retrieve output and return code by walking extTable[1]
(extOutput and extResult, respectively).

Regards,

[1]: http://net-snmp.sourceforge.net/docs/mibs/ucdavis.html#extTable
-- 
Raphaël 'SurcouF' Bordet



-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
Nagios-users mailing list
Nagios-users@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

Re: [Nagios-users] monitor linux sw raid with snmp?

2007-04-04 Thread Raphaël 'SurcouF' Bordet
Le mercredi 04 avril 2007 à 09:39 -0500, Andrew Zahn a écrit :
> Hi,
> 
> I am looking for a way to monitor the status of software raid (such
> as md0) using snmp? Primarily I would like to check for a "failed" or 
> "degraded" status. I am wonder how Nagios admins are doing this.

Hi, 

You can try to use chek_raid[1] plugin wrote by Steve Shipway with the
net-snmp exec[2] directive. This plugin is previously designed for NRPE
but you can successfully use it with Net-SNMP, I guess.


Regards,

[1]:http://www.nagiosexchange.org/RAID_Controller.58.0.html?&tx_netnagext_pi1[p_view]=224
[2]:http://net-snmp.sourceforge.net/docs/man/snmpd.conf.html#lbAX
-- 
Raphaël 'SurcouF' Bordet
 


-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
___
Nagios-users mailing list
Nagios-users@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

Re: [Nagios-users] monitor temperature on IBM servers

2007-03-28 Thread Raphaël 'SurcouF' Bordet
Le mardi 27 mars 2007 à 19:52 +, enediel gonzalez a écrit :
> Hello.
> 
> I have nagios running on Linux, I need to monitor the temperature values on 
> IBM servers,  I tried to do it installing Director on the servers and take 
> the information via snmp, but I found director a bit complex and I haven't 
> got the result I wanted.

Hi, 

Which model of IBM server are you using ?


Regards,

-- 
Raphaël 'SurcouF' Bordet



-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
___
Nagios-users mailing list
Nagios-users@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

Re: [Nagios-users] Sun StorEdge 3310

2007-03-21 Thread Raphaël 'SurcouF' Bordet
Le mercredi 21 mars 2007 à 17:00 -0400, Michael Weiner a écrit :
> Does anyone have a plugin that can check on the status of a SE3310 ?
> In particular i am interested in check an SE3310 connected to a Sun
> Fire 280R remotely.

Hi, 

I don't known any plugin but, according to "Sun Storedge 3310 SCSI Array
Release Notes"[1], RAID controller firmware version 4.15 has enhanced
SNMP protocol. According to "Sun StorEdge 3000 Family RAID Firmware 4.15
User's Guide"[2], you can configure the Notification Processing Center
(NPC)[3] via the RAID firmware to use SNMPv1 or SNMPv2c protocols for
GET and SET messages and SNMPv1 for TRAP messages.
You have to wrote a specific plugin for SNMP GET messages or you can use
configure snmptrapd and snmptt to translate SNMP TRAP messages to Nagios
external commands.

Regards,


[1]:http://www.sun.com/products-n-solutions/hardware/docs/pdf/816-7292-28.pdf
[2]:http://docs.sun.com/app/docs?l=fr&q=SNMP&p=doc%2F817-3711-16
[3]:http://docs.sun.com/source/817-3711-16/ch11_configparam.html#18512
-- 
Raphaël 'SurcouF' Bordet



-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
___
Nagios-users mailing list
Nagios-users@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

Re: [Nagios-users] net-snmp on solaris

2007-03-15 Thread Raphaël 'SurcouF' Bordet
Le jeudi 15 mars 2007 à 23:29 -0400, Subhendu Ghosh a écrit :
> Isn't solaris 10 shipping net-snmp instead of sun's own version?

Hi, 

Yes, you're right. Sun is shipping a version of net-snmp (based on
net-snmp 5.0.9) and named SMA[1] (SNMP Management Agent) with Solaris
10. You've always the old agent, SEA[2] (Solstice Entreprise Agent),
shipped.
Under SunFire and Netra servers, you've also another net-snmp based
agent (again based on net-snmp 5.0.9) that implement SUN-PLATFORM-MIB
and ENTITY-MIB and named MASF[3] (Management Agent for SunFire and
netra).

Regards,


[1]: http://docs.sun.com/app/docs/doc/817-3000/6mikgnggu?a=view
[2]: http://docs.sun.com/app/docs/doc/816-1322/6m7ofn7ku?l=de&a=view
[3]: http://www.sun.com/download/products.xml?id=454bc019
-- 
Raphaël 'SurcouF' Bordet



-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
___
Nagios-users mailing list
Nagios-users@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

[Nagios-users] SNMP : sysUptime and hrSystemUptime on SGI IRIX [Was [Re: Getting Nagios and AIX SNMP working together happily]]

2007-03-10 Thread Raphaël 'SurcouF' Bordet
Le samedi 10 mars 2007 à 11:08 -0500, Michael Weiner a écrit :

> Not trying to highjack this interesting thread, but has anyone managed to do
> the same against SGI IRIX? What annoys me most is that when i query system i
> get the uptime of the actual snmpd instance not the host - which may or may
> not necessarily be the same length of time. I have googled and googled and
> have had no real success.
> 
> Anyone doing this that might be able to help?

Hi, 

According to SNMPv2-MIB, syUpTime (OID you're talking about) is:

"The time (in hundredths of a second) since the network management
portion of the system was last re-initialized.".

If you want to get host uptime, you've better to check hrSystemUptime
from HOST-RESOURCES-MIB : 

"The amount of time since this host was last initialized.  Note that
this is different from sysUpTime in the SNMPv2-MIB [RFC1907] because
sysUpTime is the uptime of the network management portion of the
system."

I've never used IRIX but I think you must have "host-snmp" subagent to
be running in order  to implements RFC1514 (or HOST-RESOURCES-MIB) : 
http://techpubs.sgi.com/library/tpl/cgi-bin/getdoc.cgi?coll=0650&db=relnotes&fname=/usr/relnotes/host_snmp


Regards,

-- 
Raphaël 'SurcouF' Bordet



-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
___
Nagios-users mailing list
Nagios-users@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

Re: [Nagios-users] Getting Nagios and AIX SNMP working together happily

2007-03-09 Thread Raphaël 'SurcouF' Bordet
Le vendredi 09 mars 2007 à 15:20 -0600, Russell Adams a écrit :
> > There are no shortage of SNMP-based hard drive checks listed on
> > nagiosexchange.org
> 
> AIX used to not support RFC2790 (HOST-RESOURCES-MIB) which is required
> to use most generic snmp plugins to query data. AIX 5.2 and earlier
> had this problem.
> 
> I just snmpwalked one of my AIX 5.3 systems and it returned HOSTMIB data.

Hi, 

I've already and successfully use some AIX 5.2 systems and retreives OID
from H-R-M (hrSystem, hrStorage, hrDevice and hrSWInstalled tables).
Did you have hostmibd[1] running ? This DPI2 sub-agent implement
HOST-RESSOURCES-MIB (RFC 1155 and 1592).

Regards,


[1]:
http://publib.boulder.ibm.com/infocenter/pseries/v5r3/index.jsp?topic=/com.ibm.aix.cmds/doc/aixcmds2/hostmibd.htm
-- 
Raphaël 'SurcouF' Bordet <[EMAIL PROTECTED]>


-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
___
Nagios-users mailing list
Nagios-users@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

Re: [Nagios-users] Getting Nagios and AIX SNMP working together happily

2007-03-09 Thread Raphaël &#x27;SurcouF&#x27; Bordet
Le jeudi 08 mars 2007 à 17:50 -0800, Patrick - South Valley Internet a
écrit :
> Hi all,

Hi,

> I'm trying to monitor all the important stuff from a few of our AIX 
> boxes, such as CPU load, memory load, and storage.  I want to be able to 
> have Nagios notify us when we reach a certain level of storage for all 
> the partitions.  I downloaded the AIX Harddisk Checks located at 
> http://www.nagiosexchange.org/AIX.139.0.html?&tx_netnagext_pi1[p_view]=712 
> and I have it working, but it only tells me OK that there is a hard 
> drive in the system.  I want to be able to have Nagios notify us when we 
> reach a certain level of storage for all the partitions.
> 
> Could anyone point me in the right direction on how to get Nagios to 
> check for the amount of storage on the drive?  Do I need a different plugin?

You can check storage by using check_snmp_storage[1] wrote by Patrick
Proy. AIX SNMP agents should provide HOSTS-RESSOURCES-MIB: I've already
set some services using this plugins for a customer. You can also use
Patrick Proy's plugins to get CPU load (check_snmp_load[2]) and memory
usage (check_snmp_mem[3]).
Since AIX 5.2, you must enable aixmibd sub-agent to get "Paging Space"
statistics (I can publish a plugin that support this IBM-AIX-MIB if you
need).

> I also want to put a password on this instead of making it public, do I 
> just change all words that say public to the passphrase I want?

Right, you've to modify this string to change the community.
Note : with SNMPv1 and SNMPv2c, this community will be transfered without
any protection on the network. You must use at least SNMPv3 to get a more
secure protocol. AIX snmpdv3[4] agent also support this protocol version.

Regards,


[1]: http://nagios.manubulon.com/snmp_load.html
[2]: http://nagios.manubulon.com/snmp_mem.html
[3]: http://nagios.manubulon.com/snmp_storage.html
[4]:http://publib16.boulder.ibm.com/pseries/fr_FR/files/aixfiles/snmpdv3.conf.htm
-- 
Raphaël 'SurcouF' Bordet


-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
___
Nagios-users mailing list
Nagios-users@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

Re: [Nagios-users] check_snmp_int.pl problem

2006-04-01 Thread Raphaël &#x27;SurcouF&#x27; Bordet
Le vendredi 31 mars 2006 à 22:32 -0700, Neil Lehouillier a écrit :
> Hi all,
>  
> I hoping someone out there can help me out.  I'm having a problem with
> the check_snmp_int.pl script.
>  
> When I issue the following command from the command line
> "check_snmp_int.pl -H 192.168.0.12 -C public -n -w 600,600 -c 800,800"
> to display the status of all the network adapters I get the following:
>  
> MS TCP Loopback interface:UP, 3Com SOHO PCI:UP:2 UP: OK
> 
>  
> But when I issue the command from nagios I only receive the following
> on the nagios web screen:  (I omitted the date time and other non
> essential info)

Hi,

This plugin can use regex to match interfaces you want.
You can use this following regex: ^[^MS TCP Loopback]
You've all interfaces without this naming interface.

Regards,
> 
-- 
Raphaël 'SurcouF' Bordet 
http://debianfr.net/ | JID: surcouf at debianfr dot net




---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&dat1642
___
Nagios-users mailing list
Nagios-users@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


Re: [Nagios-users] Monitoring AIX 5.2 hosts

2006-01-03 Thread Raphaël &#x27;SurcouF&#x27; Bordet
Le lundi 02 janvier 2006 à 19:41 +0100, [EMAIL PROTECTED] a écrit :
> Hello,
> 
> I need to monitor with Nagios the usual system parameters of several AIX
> 5.2 boxes (disk, cpu, mem, swap, proc, and the like). Any of you have got
> it to work in this plattform? And what is the best way: snmp, nrpe, ncsa,
> ...?
> 
> Any hint will be greatly appreciatted...

Hi,

By default, on AIX 5.2, aixmibd subagent are desactivated. This subagent
handle IBM-AIX-MIB's OID. You can find the MIB file
in : /usr/samples/snmpd/aixmib.my

To enable aixmibd agent, you should change this following line
in /etc/snmpdv3.conf :

--( /etc/snmpdv3.conf )--
# exclude aixmibd managed MIBs from the default view
VACM_VIEW defaultView1.3.6.1.4.1.2.6.191- excluded -
---8<---

Just replace "excluded" word by "included" word and start aixmibd
sub-agent :

# startsrc -s aixmibd


Regards,

-- 
Raphaël 'SurcouF' Bordet 
http://debianfr.net/ | JID: surcouf at debianfr dot net




---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_idv37&alloc_id865&op=click
___
Nagios-users mailing list
Nagios-users@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


Re: [Nagios-users] No notification sent - what am I doing wrong?

2005-12-21 Thread Raphaël &#x27;SurcouF&#x27; Bordet
Le mercredi 21 décembre 2005 à 10:36 +0100, Eivind Olsen a écrit :
> Hello.
> 
> I have a server running Nagios v2.0b4. I have configured some test on 
> some hosts. Tonight one of the monitored hosts (monitored through nrpe) 
> had a full filesystem, but no notification email was sent from the 
> Nagios host.
> 
> It's probably just me doing something wrong, but I can't see what it 
> should be and I'm hoping someone here might point me in the right 
> direction. :)

This service is depending from generic-service template but you've
forget to paste this object too. Do you have defined an option
"notification_options" in this template ? If not, you must define this
option in order to having notifications to work. 

Regards,

-- 
Raphaël 'SurcouF' Bordet 
http://debianfr.net/ | JID: surcouf at debianfr dot net

-- 
Raphaël 'SurcouF' Bordet 
http://debianfr.net/ | JID: surcouf at debianfr dot net

-- 
Raphaël 'SurcouF' Bordet 
http://debianfr.net/ | JID: surcouf at debianfr dot net




---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_idv37&alloc_id865&op=click
___
Nagios-users mailing list
Nagios-users@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


Re: [Nagios-users] Trouble logging performance data

2005-12-21 Thread Raphaël &#x27;SurcouF&#x27; Bordet
Le mercredi 21 décembre 2005 à 10:43 +0100, Matija Grabnar a écrit :
> I can't seem to get nagios to log performance data.
> I tried compiling nagios with --with-default-perfdata and 
> --with-file-perfdata
> separately and together.
> 
> My nagios.cfg file contains the statements:
> 
> process_performance_data=1
> 
> host_perfdata_command=process-host-perfdata
> 
> service_perfdata_command=process-service-perfdata
> 
> and
> xpdfile_host_perfdata_template=$TIMET$\t$HOSTNAME$\t$OUTPUT$\t$PERFDATA$\t$EXECUTIONTIME$
> 
> xpdfile_service_perfdata_template=$TIMET$\t$HOSTNAME$\t$SERVICEDESC$\t$OUTPUT$\t$PERFDATA$\t$EXECUTIONTIME$
> 
> xpdfile_host_perfdata_file=/opt/nagios/var/hostperf.log
> xpdfile_service_perfdata_file=/opt/nagios/var/serviceperf.log
> 
> The files got created, but nothing ever gets written there. I MUST be 
> missing something basic.
> What do I need to do to get performance data written somewhere?

Do you have defined any "process_perf_data" option to "1" for your
services, by using template or not ?
You must define this option for each service or host you want to process
performance datas.
You've also defined somes "xpdfile_*" options, so I expect you've
recompiled nagios with --with-file-perfdata support option.

Regards,

-- 
Raphaël 'SurcouF' Bordet 
http://debianfr.net/ | JID: surcouf at debianfr dot net

-- 
Raphaël 'SurcouF' Bordet 
http://debianfr.net/ | JID: surcouf at debianfr dot net

-- 
Raphaël 'SurcouF' Bordet 
http://debianfr.net/ | JID: surcouf at debianfr dot net




---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_idv37&alloc_id865&op=click
___
Nagios-users mailing list
Nagios-users@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


[Nagios-users] Re: Re: Multiple service extended information objects per service/host?

2005-12-21 Thread Raphaël &#x27;SurcouF&#x27; Bordet
Le lundi 20 juin 2005 à 21:28 -0500, Steven Danz a écrit :
> Hello
> 
> Thanks for the reply.  I figured as much and spent a couple hours and 
> added the code to the CGIs to allow use of the | character to
separate 
> multiple entries in notes_url, icon_image, and icon_image_alt for 
> extended info for both hosts and services.  Its in 1.2, if anyone is 
> interested I can bundle up a patch file.

Hi, 

I'm very interessted by your patch because I've multiples metrics by
services due to perfparse and I want to add an extended information for
each metric/service instead of each service only.
Can you publish this patch on any place ?

Thanks a lot and best regards,

-- 
Raphaël 'SurcouF' Bordet 
http://debianfr.net/ | JID: surcouf at debianfr dot net

-- 
Raphaël 'SurcouF' Bordet 
http://debianfr.net/ | JID: surcouf at debianfr dot net

-- 
Raphaël 'SurcouF' Bordet 
http://debianfr.net/ | JID: surcouf at debianfr dot net




---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_idv37&alloc_id865&op=click
___
Nagios-users mailing list
Nagios-users@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