Thomas Guyot-Sionnest | 1 Dec 2010 02:23
Picon
Favicon
Gravatar

Re: check_by_ssh does not seem to honour StrictHostKeyChecking


On 10-11-29 11:10 AM, Patricia Jung wrote:
> Hello out there,
> 
> when monitoring service-bound IPs using check_by_ssh I encounter the problem that several servers
might answer which have differing ssh server keys. This way the service check fails whenever the
answering server changes. A (far from perfect) solution to this would be to set StrictHostKeyChecking to
no for the relevant IP. check_by_ssh however does not seem to honour this setting (not 1.4.15 and below) --
as long as I don't remove the offending key from known_hosts the plugin will time out.
> 
> Any suggestions?

Can't you pass it with the -o option?

 -o, --ssh-option=OPTION
    Call ssh with '-o OPTION' (may be used multiple times) [optional]

This works just like the ssh -o option.

--

-- 
Thomas
Thomas Guyot-Sionnest | 1 Dec 2010 02:28
Picon
Favicon
Gravatar

Re: check_disk reporting odd information


On 10-11-11 01:24 PM, Israel Brewster wrote:
> I'm seeing something similar with the check_disk_smb plugin. I don't know for sure if it is related, but
the result is the same- in my case it says "Disk ok - 2047.93G (53280%) free on \\otz-freenas\flight". It
seems to me the problem is related to the disk being completely full. If I look at df on the machine in
question, I get the following:
> 
> Filesystem    Size    Used   Avail Capacity  Mounted on
> /dev/ad0s2    3.9G    3.8G   -309M   109%    /mnt/flight
> 
> notice the negative available space and greater than 100% capacity. Perhaps the check_disk and
check_disk_smb plugins don't deal with negative numbers and greater than 100% properly, resulting in a rollover?

These two plugins have nothing in common, and afaik check_disk should
work fine with negative numbers.

In the past however we've had bugs in the underlying library that
provides the data to check_disk. would you mind trying with the latest
version (1.4.15) and if you still encounter the bug, with the debug
output (-vvv) added?

The same could be done with check_disk_smb if it fails, although I don't
even know if it will print useful data for debugging...

Thanks

--

-- 
Thomas
Thomas Guyot-Sionnest | 1 Dec 2010 07:15
Picon
Favicon
Gravatar

Re: check_snmp ignores warn and critical


On 10-10-22 09:04 AM, Thomas Vogt wrote:
> Hello
> 
> It looks like the latest greatest nagios plugin 1.4.15 changed a few
> things in check_snmp. I use sysUpTimeInstance output to see if my
> hardware devices have rebooted.
> 
> My example check_snmp command:
> 
> ./check_snmp -H xxxxxx -C public -P2c -o sysUpTimeInstance -t 20 -e 3 -c
> 90000000: -u "1/100 sec"
> 
> Output:
> SNMP OK - Timeticks: (2012945) 5:35:29.45 1/100 sec |
> 
> Problem:
> Ever check receives a OK message, no Critical or warn (if definied)
> message, never. It looks like -c and -w thresholds are ignored or could
> not checked against the output.
> 
> The same check worked fine with nagios plugin 1.4.14:
> 
> ./check_snmp -H xxxxxx -C public -P2c -o sysUpTimeInstance -t 20 -e 3 -c
> 90000000: -u "1/100 sec"
> 
> Output:
> SNMP CRITICAL - *2101283* 1/100 sec |
> DISMAN-EVENT-MIB::sysUpTimeInstance=2101283
> 
(Continue reading)

Patricia Jung | 1 Dec 2010 13:10
Picon

Re: check_by_ssh does not seem to honour StrictHostKeyChecking


Am 01.12.2010 um 02:23 schrieb Thomas Guyot-Sionnest:
> On 10-11-29 11:10 AM, Patricia Jung wrote:
>> when monitoring service-bound IPs using check_by_ssh I encounter the problem that several servers
might answer which have differing ssh server keys. This way the service check fails whenever the
answering server changes. A (far from perfect) solution to this would be to set StrictHostKeyChecking to
no for the relevant IP. check_by_ssh however does not seem to honour this setting (not 1.4.15 and below) --
as long as I don't remove the offending key from known_hosts the plugin will time out.
> 
> Can't you pass it with the -o option?
Good idea -- with a tiny drawback: This requires a new check command for service IP checks, and changing the
Nagios configuration this way is much more cumbersome than setting  StrictHostKeyChecking=no in
.ssh/config for the IPs in question.

Well... one must not be too lazy, right?

Thanks a lot

   Patricia
--

-- 
Patricia Jung 
Senior Software and Support Engineer 

censhare AG
Paul-Gerhardt-Allee 50, 81245 Muenchen, Germany
Fon +49 89 568236-311 
Fax +49 89 568236-501
http://www.censhare.com
http://blog.censhare.com
Pflichtangaben/Mandatory Information: http://www.censhare.com/pflichtangaben
(Continue reading)

Kaushal Shriyan | 9 Dec 2010 10:12
Picon

Check RAID Script

Hi

I have the below Raid Controller Card on HP DL 360 G6 Server. Can someone please suggest/guide and let me know if there is a Raid Check script for this specific model

03:00.0 RAID bus controller: Hewlett-Packard Company Smart Array G6 controllers (rev 01)
    Subsystem: Hewlett-Packard Company Device 3245
    Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr+ Stepping- SERR- FastB2B- DisINTx+
    Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
    Latency: 0, Cache Line Size: 64 bytes
    Interrupt: pin A routed to IRQ 28
    Region 0: Memory at fbc00000 (64-bit, non-prefetchable) [size=4M]
    Region 2: Memory at fbbf0000 (64-bit, non-prefetchable) [size=4K]
    Region 4: I/O ports at 4000 [size=256]
    [virtual] Expansion ROM at e4000000 [disabled] [size=512K]
    Capabilities: [40] Power Management version 3
        Flags: PMEClk- DSI- D1+ D2- AuxCurrent=375mA PME(D0+,D1-,D2-,D3hot-,D3cold-

)
        Status: D0 PME-Enable- DSel=0 DScale=0 PME-
    Capabilities: [50] Message Signalled Interrupts: Mask- 64bit+ Queue=0/0 Enable-
        Address: 0000000000000000  Data: 0000
    Capabilities: [70] Express (v2) Endpoint, MSI 00
        DevCap:    MaxPayload 256 bytes, PhantFunc 0, Latency L0s <1us, L1 <8us
            ExtTag- AttnBtn- AttnInd- PwrInd- RBE+ FLReset-
        DevCtl:    Report errors: Correctable- Non-Fatal+ Fatal+ Unsupported-
            RlxdOrd+ ExtTag- PhantFunc- AuxPwr- NoSnoop+
            MaxPayload 256 bytes, MaxReadReq 4096 bytes
        DevSta:    CorrErr- UncorrErr- FatalErr- UnsuppReq- AuxPwr- TransPend-
        LnkCap:    Port #0, Speed 5GT/s, Width x8, ASPM L0s, Latency L0 <512ns, L1 <64us
            ClockPM- Suprise- LLActRep- BwNot-
        LnkCtl:    ASPM Disabled; RCB 64 bytes Disabled- Retrain- CommClk-
            ExtSynch- ClockPM- AutWidDis- BWInt- AutBWInt-
        LnkSta:    Speed 5GT/s, Width x4, TrErr- Train- SlotClk+ DLActive- BWMgmt- ABWMgmt-
    Capabilities: [ac] MSI-X: Enable+ Mask- TabSize=16
        Vector table: BAR=0 offset=001c2000
        PBA: BAR=0 offset=001c4000
    Capabilities: [100] Advanced Error Reporting <?>
    Kernel driver in use: cciss
    Kernel modules: cciss

Thanks

Kaushal
------------------------------------------------------------------------------
This SF Dev2Dev email is sponsored by:

WikiLeaks The End of the Free Internet
http://p.sf.net/sfu/therealnews-com
_______________________________________________
Nagiosplug-help mailing list
Nagiosplug-help@...
https://lists.sourceforge.net/lists/listinfo/nagiosplug-help
::: Please include plugins version (-v) and OS when reporting any issue. 
::: Messages without supporting info will risk being sent to /dev/null
Cody Hill | 9 Dec 2010 17:04
Favicon

Re: Check RAID Script

Check here…

https://www.monitoringexchange.org/inventory/Check-Plugins/Hardware/Server-%2528Manufacturer%2529/HP-%2528Compaq%2529

 

This looks promising for windows servers.

https://www.monitoringexchange.org/inventory/Check-Plugins/Hardware/Server-%2528Manufacturer%2529/HP-%2528Compaq%2529/Check-Smartarray---Windows-NRPE-plugin

 

Thank you,

Cody Hill

Network Administrator

2711 East Elvira Road

Tucson, AZ 85756-7124

Office: 

Tech Supt: 

(520) 874 – 5073

(520) 874 – HELP

 

 

 

 

 

 

 

 

 

 

 

 

Out of Office:  March 14th-25th 2011

 

This transmission may contain information which is protected by the Health Insurance Portability and Accountability Act (HIPAA) and, as such, the use and communication of its content should only be conducted within its guidelines. As such, dispensing of this information should only be to individuals on a need-to-know basis. If the recipient of this message is not the intended recipient, or the employee or agent responsible to deliver to the intended recipient, you are hereby notified that any dissemination, distribution, or copying of this communication is strictly prohibited. If you have received this communication in error, please immediately forward the original back to the sender and delete your copy of the e-mail.

 

From: Kaushal Shriyan [mailto:kaushalshriyan-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org]
Sent: Thursday, December 09, 2010 2:13 AM
To: nagiosplug-help
Subject: [Nagiosplug-help] Check RAID Script

 

Hi

I have the below Raid Controller Card on HP DL 360 G6 Server. Can someone please suggest/guide and let me know if there is a Raid Check script for this specific model

03:00.0 RAID bus controller: Hewlett-Packard Company Smart Array G6 controllers (rev 01)
    Subsystem: Hewlett-Packard Company Device 3245
    Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr+ Stepping- SERR- FastB2B- DisINTx+
    Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
    Latency: 0, Cache Line Size: 64 bytes
    Interrupt: pin A routed to IRQ 28
    Region 0: Memory at fbc00000 (64-bit, non-prefetchable) [size=4M]
    Region 2: Memory at fbbf0000 (64-bit, non-prefetchable) [size=4K]
    Region 4: I/O ports at 4000 [size=256]
    [virtual] Expansion ROM at e4000000 [disabled] [size=512K]
    Capabilities: [40] Power Management version 3
        Flags: PMEClk- DSI- D1+ D2- AuxCurrent=375mA PME(D0+,D1-,D2-,D3hot-,D3cold-

)
        Status: D0 PME-Enable- DSel=0 DScale=0 PME-
    Capabilities: [50] Message Signalled Interrupts: Mask- 64bit+ Queue=0/0 Enable-
        Address: 0000000000000000  Data: 0000
    Capabilities: [70] Express (v2) Endpoint, MSI 00
        DevCap:    MaxPayload 256 bytes, PhantFunc 0, Latency L0s <1us, L1 <8us
            ExtTag- AttnBtn- AttnInd- PwrInd- RBE+ FLReset-
        DevCtl:    Report errors: Correctable- Non-Fatal+ Fatal+ Unsupported-
            RlxdOrd+ ExtTag- PhantFunc- AuxPwr- NoSnoop+
            MaxPayload 256 bytes, MaxReadReq 4096 bytes
        DevSta:    CorrErr- UncorrErr- FatalErr- UnsuppReq- AuxPwr- TransPend-
        LnkCap:    Port #0, Speed 5GT/s, Width x8, ASPM L0s, Latency L0 <512ns, L1 <64us
            ClockPM- Suprise- LLActRep- BwNot-
        LnkCtl:    ASPM Disabled; RCB 64 bytes Disabled- Retrain- CommClk-
            ExtSynch- ClockPM- AutWidDis- BWInt- AutBWInt-
        LnkSta:    Speed 5GT/s, Width x4, TrErr- Train- SlotClk+ DLActive- BWMgmt- ABWMgmt-
    Capabilities: [ac] MSI-X: Enable+ Mask- TabSize=16
        Vector table: BAR=0 offset=001c2000
        PBA: BAR=0 offset=001c4000
    Capabilities: [100] Advanced Error Reporting <?>
    Kernel driver in use: cciss
    Kernel modules: cciss

Thanks

Kaushal

------------------------------------------------------------------------------
_______________________________________________
Nagiosplug-help mailing list
Nagiosplug-help@...
https://lists.sourceforge.net/lists/listinfo/nagiosplug-help
::: Please include plugins version (-v) and OS when reporting any issue. 
::: Messages without supporting info will risk being sent to /dev/null
CHui | 15 Dec 2010 18:29
Favicon

check_snmp not processing -w, -c options


Since upgrade from plugins 1.4.13 to 1.4.15, check_snmp no longer check the
–w –c ranges. If the snmp agent was responding, check_snmp simply return
‘snmp OK’.  

Output from the older version 1.4.13:

/OLD/usr/local/libexec/nagios/check_snmp -V 
check_snmp v2021 (nagios-plugins 1.4.13) 

/OLD/usr/local/libexec/nagios/check_snmp -w :4294847296 -c 14476150: -C xxxx
-H 131.243.x.y -o 1.3.6.1.2.1.1.3.0 
SNMP CRITICAL - *1499089* | iso.3.6.1.2.1.1.3.0=1499089  

Output from v1.4.15:

/usr/local/libexec/nagios/check_snmp -V
check_snmp v (nagios-plugins 1.4.15)

/usr/local/libexec/nagios/check_snmp -w 1:10000  -C xxxx  -H 131.243.x.y -o
1.3.6.1.2.1.1.3.0
SNMP OK - Timeticks: (9379239) 1 day, 2:03:12.39 | 

/usr/local/libexec/nagios/check_snmp -w 10001:10000000  -C xxxx  -H
131.243.x.y -o 1.3.6.1.2.1.1.3.0 
SNMP OK - Timeticks: (9381125) 1 day, 2:03:31.25 | 

/usr/local/libexec/nagios/check_snmp -w 10000001:20000000  -C xxxx  -H
131.243.x.y -o 1.3.6.1.2.1.1.3.0 
SNMP OK - Timeticks: (9383505) 1 day, 2:03:55.05 |

------------------------------------------------------------------------------
Lotusphere 2011
Register now for Lotusphere 2011 and learn how
to connect the dots, take your collaborative environment
to the next level, and enter the era of Social Business.
http://p.sf.net/sfu/lotusphere-d2d
_______________________________________________
Nagiosplug-help mailing list
Nagiosplug-help@...
https://lists.sourceforge.net/lists/listinfo/nagiosplug-help
::: Please include plugins version (-v) and OS when reporting any issue. 
::: Messages without supporting info will risk being sent to /dev/null

Thomas Vogt | 15 Dec 2010 19:11
Picon
Favicon

Re: check_snmp not processing -w, -c options


Hello

Am 15.12.10 18:29, schrieb CHui:
> 
> Since upgrade from plugins 1.4.13 to 1.4.15, check_snmp no longer check the
> ?w ?c ranges. If the snmp agent was responding, check_snmp simply return
> ?snmp OK?.  
> 
> 
> Output from the older version 1.4.13:
> 
> /OLD/usr/local/libexec/nagios/check_snmp -V 
> check_snmp v2021 (nagios-plugins 1.4.13) 
> 
> /OLD/usr/local/libexec/nagios/check_snmp -w :4294847296 -c 14476150: -C xxxx
> -H 131.243.x.y -o 1.3.6.1.2.1.1.3.0 
> SNMP CRITICAL - *1499089* | iso.3.6.1.2.1.1.3.0=1499089  
> 
> 
> Output from v1.4.15:
> 
> /usr/local/libexec/nagios/check_snmp -V
> check_snmp v (nagios-plugins 1.4.15)
> 
> /usr/local/libexec/nagios/check_snmp -w 1:10000  -C xxxx  -H 131.243.x.y -o
> 1.3.6.1.2.1.1.3.0
> SNMP OK - Timeticks: (9379239) 1 day, 2:03:12.39 | 
> 
> /usr/local/libexec/nagios/check_snmp -w 10001:10000000  -C xxxx  -H
> 131.243.x.y -o 1.3.6.1.2.1.1.3.0 
> SNMP OK - Timeticks: (9381125) 1 day, 2:03:31.25 | 
> 
> /usr/local/libexec/nagios/check_snmp -w 10000001:20000000  -C xxxx  -H
> 131.243.x.y -o 1.3.6.1.2.1.1.3.0 
> SNMP OK - Timeticks: (9383505) 1 day, 2:03:55.05 |
> 
I have the same issue but Thomas Guyot-Sionnest wrote me a couple weeks ago:

The latest snapshot (nagios-plugins-master.tar.gz) here should fix your
issue:
http://nagiosplug.sourceforge.net/snapshot/

I had no time to verify it but maybe you can try it.

Regards,
Thomas

Don McEwen | 15 Dec 2010 22:02
Picon
Favicon

Help installing check_radius

HI - I'm trying to setup nagios in our environment - Solaris 9 server with 
clients on Linux, Solaris and AIX. I downloaded nagios-plugins-1.4.15.tar.gz
and did gunzip | tar -xvpf; then ./configure, make and make install. The plugins 

in /usr/local/nagios/libexec seem to be working ok, but I need to use 
check_radius. It is in the unzip'd directory and I see it in the plugins 
directory and in the Makefile in plugins. However no joy - not in 
/usr/local/nagios/libexec. I noticed in the Makefile it is listed with 
EXTRA_PROGRAMS. There must be something else I need to do. Can anyone point me 
in the right direction?

Thanks,
- Don

------------------------------------------------------------------------------
Lotusphere 2011
Register now for Lotusphere 2011 and learn how
to connect the dots, take your collaborative environment
to the next level, and enter the era of Social Business.
http://p.sf.net/sfu/lotusphere-d2d
_______________________________________________
Nagiosplug-help mailing list
Nagiosplug-help@...
https://lists.sourceforge.net/lists/listinfo/nagiosplug-help
::: Please include plugins version (-v) and OS when reporting any issue. 
::: Messages without supporting info will risk being sent to /dev/null


Gmane