Re: [Nagios-users] SNMP Trap monitoring for Dell servers (onIDRACcards)

2012-07-18 Thread Sven Dohmen
 Message: 2
 Date: Tue, 17 Jul 2012 08:53:42 +0200
 From: john meyer firesk...@emailn.de
 Subject: [Nagios-users] Nagios-users] SNMP Trap monitoring for Dell
servers (on IDRACcards)
 To: nagios-users@lists.sourceforge.net.
 Message-ID: 99b7b71f38f05ee1463ac6f1f43a9...@server1.emailn.de
 Content-Type: text/plain; charset=iso-8859-1
 
 
 Hello Sven
 
 Which Docus did u use?
 
 Which version do you have
 
 Does the snmptt stuff working on a local ( localhost) level?
 
 if you can give me more infos i'm  trying to help you
 
 best regards john

Hello John,

I used 
http://www.whiskey-tango-foxtrott.de/wiki/doku.php?id=linux:debian:snmpd 
as one of the docu's.

Since I am not sure what you mean with the version, i am assuming you are 
talking about the debian machine. That is the last stable release of it. 
This goes for the snmptt and trapd aswell.

Since the last mail i did figure out some stuff. It seems i dont even need 
snmptt to get the traps to work. I started the trapdeamon with the 
following command: snmptrapd -Oa -C -c /etc/snmp/snmptrapd.conf -Lf 
/tmp/log.log

In the logs i noticed then that the traps where sending there own id 
(1001) along with the rest:

2012-07-17 08:20:44 192.168.103.5(via UDP: 
[192.168.0.5]:32768-[192.168.0.11]) TRAP, SNMP v1, community public
SNMPv2-SMI::enterprises.3183.1.1 Enterprise Specific Trap (1001) 
Uptime: 434 days, 14:21:57.89
SNMPv2-SMI::enterprises.3183.1.1.1 = STRING: 
DELLK..T.S..O05J...ZH6.. !XEN01..

So i opened the snmptrapd.conf and i added the following lines:

traphandle SNMPv2-SMI::enterprises.3183.1.1.0.1001 
/usr/lib/nagios/plugins/handle-dell-openmanage-trap 1001

The script itself just checks the id and then gives nagios the 
notification that in this case its a test trap. 

What still is bothering me though is that there is no way to monitor the 
raid controller or hard disks from the idrac itself. Does anyone perhaps 
have a solution for that without the use of dell openmanage or the 
openmanage essentials software?

Met vriendelijke groet / With kind regards,
Sven Dohmen
NOC Engineer
Open for Support bv 
Amerikalaan 1 
6199 AE Maastricht-Airport Tel +31 (0)43 88 000 88 
Fax +31 (0)43 88 000 80 
http://www.o4s.nl --
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/___
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] SNMP Trap monitoring for Dell servers (onIDRACcards)

2012-07-18 Thread john meyer
Hello Sven

It's  not clear what is working and whats not in your post.


So first off all some questions and instructions and put on all debug logs in 
the snmptt config:


1. Does the trap appear in the unknown log? ( show me the whole trap)
2. does the trap appear in the debug snmptt handler log?
3. check your syslog and your /var/log/messages log
4. Does the check work with the default snmptt handler?
5. why you want to check with an other handler beside the default one?
6. do you work with the script submit check result? to send the trap to nagios?
and if  so does the local check work?

Since the last mail i did figure out some stuff. It seems i dont even need 
snmptt to get the traps to work.

It depends on which options does your script offer.

if you do an test check this howto ( 
http://www.radium-networks.com/blog/nagios-snmp-3069/)  and reconstruct the 
example on your system


best regards john














--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
___
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] SNMP Trap monitoring for Dell servers

2012-07-18 Thread Sven Dohmen
 Hello Sven
 
 It's  not clear what is working and whats not in your post.
 
 
 So first off all some questions and instructions and put on all debug 
logs in the snmptt config:
 
 
 1. Does the trap appear in the unknown log? ( show me the whole trap)
 2. does the trap appear in the debug snmptt handler log?
 3. check your syslog and your /var/log/messages log
 4. Does the check work with the default snmptt handler?
 5. why you want to check with an other handler beside the default one?
 6. do you work with the script submit check result? to send the trap to 
nagios?
 and if  so does the local check work?
 
 Since the last mail i did figure out some stuff. It seems i dont even 
need snmptt to get the traps to work.
 
 It depends on which options does your script offer.
 
 if you do an test check this howto ( 
http://www.radium-networks.com/blog/nagios-snmp-3069/)  and reconstruct 
the example on your system
 
 
 best regards john

Hello John,

Sorry if i was unclear but i got the complete monitoring of the traps 
working on the idrac cards. I explained this in the previous mailing what 
i did to fix it. The snmptt handler is completely skipped in my case as i 
let nagios handle them directly after they are recieved by snmptrapd.

The only missing part is are the raid controllers/disks but it seems these 
are not available in the idrac.

Met vriendelijke groet / With kind regards,
Sven Dohmen
NOC Engineer
Open for Support bv 
Amerikalaan 1 
6199 AE Maastricht-Airport Tel +31 (0)43 88 000 88 
Fax +31 (0)43 88 000 80 
http://www.o4s.nl --
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/___
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] SNMP Trap monitoring for Dell servers (onIDRACcards)

2012-07-18 Thread john meyer
I think the way over the bmc ( ipmi )

Would be better fit 

maybe the  idrac has an own bmc and could be queried over ipmi



best regards john



--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
___
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] Nagios Report Info - UP Reasons - Confused

2012-07-18 Thread FTL Nagios
Hi all,

 

Could somebody please explain the Nagios report outputs to me?

 

It's the UP time one that I don't understand:

 

For eg - taken from 1 of my servers this week

 

 


State

Type / Reason

Time

% Total Time

% Known Time


UP

Unscheduled

6d 22h 0m 4s

100.000%

100.000%


Scheduled

0d 1h 59m 56s

1.190%

1.190%


Total

7d 0h 0m 0s

100.000%

100.000%

 

 

What is Unscheduled uptime? 

 

Surely the 6d 22h.. is scheduled uptime??? Its Up and Nagios knows its up?

 

And on the flip side of it, what is the 1h 59m etc that is classed as
scheduled uptime? 

 

Probably being really stupid here!

 

Thanks

 

 

 

--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/___
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] SNMP Trap monitoring for Dell servers

2012-07-18 Thread Sven Dohmen
 I think the way over the bmc ( ipmi )
 
 Would be better fit 
 
 maybe the  idrac has an own bmc and could be queried over ipmi
 
 
 
 best regards john

I figured out the ipmi monitoring aswell but also there is no raid 
monitoring on the dell servers. You can only check if the cable is still 
attached but not if a drive is failing. I know that on the sun servers 
this is possible with ipmi but dell decided to go the other way it seems.

Thanks for the help though.

Met vriendelijke groet / With kind regards,
Sven Dohmen
NOC Engineer

Open for Support bv 
Amerikalaan 1 
6199 AE Maastricht-Airport Tel +31 (0)43 88 000 88 
Fax +31 (0)43 88 000 80 
http://www.o4s.nl --
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/___
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] Flexible Timeout Values?

2012-07-18 Thread Jon Adcock



 Is there a way todefine aNagios check timeout value based on thetime of day? To put it another way, I would likefor a given check to have a 10 second timeout for most of the day, but that same checkhave a 20 second timeout duringour server backup window.

 I know thatwe can make a copyof each check, and runthe originalwith -t 10, and the copy with -t 20, and run each service checkwith the proper 'check_period' value, but I'm trying to avoid doubling the number of service checks.

We're running Nagios Core v3.4.1.





Jon Adcock

Network Systems Administrator
Leon County MIS301 S. Monroe St.Tallahassee, FL 32301Office: (850) 606-5518
adco...@leoncountyfl.gov
--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/___
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] Monitoring Mikrotik router

2012-07-18 Thread Andrea Cappelli
Hi list,
I would monitor a not so large Mikrotik network (about 100 host) via 
SNMP, but I have some questions

1) Where can I find OID for my devices (different version of RouterOS) 
and how use it?
2) How can I define my checks? I would monitor some thing (Ping, PPP 
active users, bandwith on all interfaces, CPU, etc)
3) How can I create a wheatermap of these hosts

Anyone as address a similar task?

Thank you in advance

-- 
Andrea Cappelli
Asidev s.r.l.


--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
___
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 Mikrotik router

2012-07-18 Thread Mark Elsen
On Wed, Jul 18, 2012 at 2:33 PM, Andrea Cappelli a.cappe...@asidev.comwrote:

 Hi list,
 I would monitor a not so large Mikrotik network (about 100 host) via
 SNMP, but I have some questions

 1) Where can I find OID for my devices (different version of RouterOS)
 and how use it?


 SNMP MIBS, for particular equipment and or subsequent software versions
 are usually made available by the vendor of the particular network
equipment being used.

 2) How can I define my checks? I would monitor some thing (Ping, PPP
 active users, bandwith on all interfaces, CPU, etc)


Largely depends on  the 'possibilities' of the MIBS obtained and or wether
the
relevant snmp-variables for your observing targets are provided.

M.
--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/___
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] SNMP Trap monitoring for Dell servers

2012-07-18 Thread john meyer
Hello Sven

Maybe it's a good idea to tell me which hardware you use in an more  exactly way

cause for example  there is an plugin aviable for equallogic arrays  ...: 
http://exchange.nagios.org/directory/Plugins/Hardware/Server-Hardware/Dell/Check-the-status-of-Dell-EqualLogic-storage/details

well  .  I can't promise anything but  maybe we could find a solution

best regards john



--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
___
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] Storing Configuration Files in Database

2012-07-18 Thread Robert V. Bolton
I'm exploring using NDOUtils or another database back-end with Nagios, but
I don't think I understand how they work. After reading the NDOUtils
documentation I noticed that it said that the Nagios daemon doesn't read
the configuration information that is stored in the database. Is there
something out there I can use with Nagios that will allow the daemon to
read the configurations from a database and allow me to get rid of the flat
configuration files?

--
*Robert V. Bolton*
Email: rob...@robertvbolton.com
Web: http://robertvbolton.com
--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/___
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] specific service alert for a specific user

2012-07-18 Thread Kaushal Shriyan
Hi,

is there a way to trigger email/sms alert for a specific service to a
specific user. for example host a has 6 services, out of 6 services, can i
trigger email/sms alert for service 5 to user john for example?

Regards

Kaushal
--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/___
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] specific service alert for a specific user

2012-07-18 Thread Robert V. Bolton
On Wed, Jul 18, 2012 at 11:25 AM, Kaushal Shriyan
kaushalshri...@gmail.comwrote:--

 Hi,

 is there a way to trigger email/sms alert for a specific service to a
 specific user. for example host a has 6 services, out of 6 services, can i
 trigger email/sms alert for service 5 to user john for example?

 Regards

 Kaushal


Kaushal,

You can create a contact group called John that has a contact named John as
it's only member. Then in the configuration you would specify the alert
groups for each service separated by a comma.

--
*Robert V. Bolton*
Email: rob...@robertvbolton.com
Web: http://robertvbolton.com
--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/___
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] unsubscribe

2012-07-18 Thread karim

--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/___
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] Storing Configuration Files in Database

2012-07-18 Thread Alex Griffin
Nagios Core will still read its configuration from text files, but 
there's always something like NagiosQL for managing your configuration 
with a database backend. It will automatically write out the text files 
when changes to the database are applied.

Alex Griffin
---
Tech Team
agrif...@nagios.com

On 2012-07-18 12:11, Robert V. Bolton wrote:
 I'm exploring using NDOUtils or another database back-end with Nagios,
 but I don't think I understand how they work. After reading the NDOUtils
 documentation I noticed that it said that the Nagios daemon doesn't read
 the configuration information that is stored in the database. Is there
 something out there I can use with Nagios that will allow the daemon to
 read the configurations from a database and allow me to get rid of the
 flat configuration files?

 --
 *Robert V. Bolton*
 Email: rob...@robertvbolton.com mailto:rob...@robertvbolton.com
 Web: http://robertvbolton.com



 --
 Live Security Virtual Conference
 Exclusive live event will cover all the ways today's security and
 threat landscape has changed and how IT managers can respond. Discussions
 will include endpoint security, mobile security and the latest in malware
 threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/



 ___
 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

--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
___
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] TEST to Nagios

2012-07-18 Thread Camron W. Fox
TEST TEST TEST

-- 
Camron W. Fox
Hilo Office
High Performance Computing Group
Fujitsu Management Services of America, Inc.
E-mail: cw...@us.fujitsu.com
Phone:  (808) 934-4102
Cell:   (808) 937-5026


--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
___
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] specific service alert for a specific user

2012-07-18 Thread Kaushal Shriyan
On Wed, Jul 18, 2012 at 11:30 PM, Robert V. Bolton rob...@robertvbolton.com
 wrote:

 On Wed, Jul 18, 2012 at 11:25 AM, Kaushal Shriyan 
 kaushalshri...@gmail.com wrote:--

 Hi,

 is there a way to trigger email/sms alert for a specific service to a
 specific user. for example host a has 6 services, out of 6 services, can i
 trigger email/sms alert for service 5 to user john for example?

 Regards

 Kaushal


 Kaushal,

 You can create a contact group called John that has a contact named John
 as it's only member. Then in the configuration you would specify the alert
 groups for each service separated by a comma.

 Thanks Robert, it worked like a charm.
--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/___
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