Sponsored Content
Full Discussion: Hooking script into Nagios
Special Forums UNIX and Linux Applications Infrastructure Monitoring Hooking script into Nagios Post 302446869 by jacki on Friday 20th of August 2010 02:33:29 AM
Old 08-20-2010
Thanks for your reply!

I have a script which basically does a wget on a set of URLs and returns the health of the application in the format that I gave above.

I want to plug this into Nagios so that I can see the output within Nagios 3.x.

Do you know how to achieve that?

Also what I desire is that from the output I can create a single check for each of the apps as if they are different checks (but in this case being returned from a single script).

Thanks,

Jack
 

10 More Discussions You Might Find Interesting

1. Solaris

Hooking up to Console's on sun's

it there any docs out there anyhwre that have the specs for cabing to a sun console. I have an e420 here, i cant seem to get a console connection, i have triewd the silver serial connectors that come with the new dsun servers, but no luck with those. (1 Reply)
Discussion started by: BG_JrAdmin
1 Replies

2. Infrastructure Monitoring

Nagios on Linux

Hi All, I am new in Linux. I want to install Nagios on Linux. Kindly provide me guidelines for the same. Its urgent.......... (1 Reply)
Discussion started by: sunray
1 Replies

3. Infrastructure Monitoring

Nagios script output issue

Hi Folks, Nagios is acting a little weird for me, I have this external script which I hooked into Nagios, it merely does a curl/wget on a URL and returns the status based on string in the content/output. Initially for 2-3 hrs the script returns the right status and Nagios reports correctly i.e.... (4 Replies)
Discussion started by: jacki
4 Replies

4. UNIX and Linux Applications

Problems Hooking Sudoers into PAM/LDAP

Greetings!! I am attempting to solve a rather thorny issue and I was hoping that someone might have some insight into what is going on here.. At this point I have an openLDAP server that is working quite splendidly! :) I have a working directory with users able to authenticate it and TLS... (2 Replies)
Discussion started by: bluethundr
2 Replies

5. Red Hat

Nagios Problem

Hello, I installed Nagios on the Centreon Platform <----"Centralized monitoring platform" anyways now every time i click on any of the tabs inside centreon interface, it gives me a Blank page, i have no idea what to do. i thought of resetting nagios to an earlier time when it was running... (2 Replies)
Discussion started by: waelkd
2 Replies

6. Infrastructure Monitoring

How secure using Nagios?

Hello Experts, I have my windows servers located at different data-centers across US and I am monitoring all of them using Nagios server configured on a CentOS. All communications are done via public IP address and I doubt it can invite some security threats too. Can anyone let me know if it is... (3 Replies)
Discussion started by: naw_deepak
3 Replies

7. Infrastructure Monitoring

Nagios check dependent on second nagios server

We have a dual Nagios server setup. One is setup for internal server monitoring on our LAN, while the second Nagios server is hosted externally and is used for external checks only such as URL and ping checks form the WAN side. I was wondering if there is any way to setup cross dependencies... (1 Reply)
Discussion started by: eugenes18t
1 Replies

8. Shell Programming and Scripting

Expect script works on CLI, but not under Nagios

I'm having a problem scripting Expect to work as a Nagios check. The script runs fine from the cli, but not when run as a Nagios check. I turn on the debug output, and it looks like it's not seeing the whole buffer's worth of info, like it's paged interactively somehow. I'm new to Expect, but this... (1 Reply)
Discussion started by: dhargens
1 Replies

9. Shell Programming and Scripting

Nagios script to get total and free memory

Hi Experts, need some help. I`m trying to write a shell script to get free, used and total memory on our linux servers. It's working great, but i need follow some standards to make it a real nagios plugin. It's pretty simple, you just type two parameters to the script, check_ram -w 80 -c 90... (4 Replies)
Discussion started by: berveglieri
4 Replies

10. UNIX for Dummies Questions & Answers

Memcache in Nagios

Hello, I want to setup Nagios with service Memcache...We have Amazon Cloud..Please help me to setup this service on my Nagios Client. How to check Memcache is working or not on my server?? 1. Please provide us the command defination to set on Nagios Server for .cfg file. 2.Please provide... (1 Reply)
Discussion started by: chetan
1 Replies
CHECK_LM_SENSORS(7)					User Contributed Perl Documentation				       CHECK_LM_SENSORS(7)

NAME
"check_lm_sensors" - Nagios plugin to monitor hardware sensors and disk temperatures DESCRIPTION
check_lm_sensors is a Nagios plugin to monitor the values of on board sensors and hard disk temperatures on Linux systems VERSION
Version 3.1.1 SYNOPSIS
check_lm_sensors [--help] [--verbose] [--version] [OPTIONS] Options -?, --help help -l, --low specifies a check for a sensor value which is too low. -h, --high specifies a check for a sensor value which is too high. -r, --range specifies a check for a sensor value which should stay in a given range. --rename renames a sensor in the performance output (useful if you want to have common names for similar sensors across different machines) --sanitize sanitize sensor names (e.g., removing spaces) --nosensors disable checks on check lm_sensors --nodrives disable checks on drive temperatures -d, --drives enable checks on drive temperature --hddtemp_bin manually specifies the location of the hddtemp binary --sensors_bin manually specified the location of the sensors binary -v, --verbose verbose output --version prints $prog_name's version and exits REQUIRED ARGUMENTS
OPTIONS
EXAMPLE
DIAGNOSTICS
You can specify multiple --verbose options to increase the program verbosity. EXIT STATUS
0 if OK, 1 in case of a warning, 2 in case of a critical status and 3 in case of an unknown problem DEPENDENCIES
check_updates depends on o Carp o English o Getopt::Long o Nagios::Plugin o Nagios::Plugin::Threshold o version CONFIGURATION
INCOMPATIBILITIES
None reported. SEE ALSO
Nagios documentation BUGS AND LIMITATIONS
No bugs have been reported. Please report any bugs or feature requests to matteo.corti@id.ethz.ch, or through the web interface at https://svn.id.ethz.ch/trac/nagios_plugins/newticket AUTHOR
Matteo Corti <matteo.corti@id.ethz.ch> LICENSE AND COPYRIGHT
Copyright (c) 2007, ETH Zurich. This module is free software; you can redistribute it and/or modify it under the terms of GNU general public license (gpl) version 3. See the LICENSE file for details. DISCLAIMER OF WARRANTY
BECAUSE THIS SOFTWARE IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY FOR THE SOFTWARE, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES PROVIDE THE SOFTWARE "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE SOFTWARE IS WITH YOU. SHOULD THE SOFTWARE PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, REPAIR, OR CORRECTION. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR REDISTRIBUTE THE SOFTWARE AS PERMITTED BY THE ABOVE LICENCE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE SOFTWARE (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A FAILURE OF THE SOFTWARE TO OPERATE WITH ANY OTHER SOFTWARE), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. ACKNOWLEDGMENTS
perl v5.14.2 2012-07-02 CHECK_LM_SENSORS(7)
All times are GMT -4. The time now is 07:04 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy