LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 06-13-2012, 08:13 PM   #1
call_krushna
Member
 
Registered: Aug 2007
Location: India
Distribution: Ubuntu
Posts: 173

Rep: Reputation: 1
need info on Nagios


Hi Team,
( 1)
Is there tools like zabbixproxy in nagios to monitor remote(geographically) servers .Please let me know,if any tools available .


(2)
Also , I have installed transcoder in one of my production pc and added to nagios.It is running on 8888

#nestat -ant |grep -w 8888

tcp 0 0 0.0.0.0:8888 0.0.0.0:* LISTEN 18902/ld-linux-x86-
tcp 0 0 127.0.0.1:8888 127.0.0.1:56397 ESTABLISHED 18902/ld-linux-x86-
tcp6 0 0 127.0.0.1:56396 127.0.0.1:8888 TIME_WAIT -
tcp6 0 0 127.0.0.1:56348 127.0.0.1:8888 TIME_WAIT -
tcp6 0 0 127.0.0.1:56392 127.0.0.1:8888 TIME_WAIT -
tcp6 0 0 127.0.0.1:56355 127.0.0.1:8888 TIME_WAIT -

but while running check_http command with below parameter

# /usr/local/nagios/libexec/check_http -H localhost -p 8888

HTTP CRITICAL: HTTP/1.1 501 Not Implemented - 145 bytes in 0.002 second response time |time=0.002109s;;;0.000000 size=145B;;;0

Dont know, about this error .There is no weburl for transcoder .

(3)
To come out of this ,wrote a small script as given below

#############################################################
#!/bin/bash
#To monitor transcoder with process
ps -aef |grep -v grep |grep transcode >/dev/null
VALUE=$?
if [ "$VALUE" = 0 ]; then
echo "Transcoder Running"
exit 0
else
echo "Transcoder is not running"
exit 2
fi

##############################################################


1)Need some info or url for nagios proxy like zabbix proxy

2)Is it reliable to monitor application with only port numbers
and why I am getting the error

3)Is the script is fine to check processes .Is there standard template shell script to follow .

Expecting someone to resolve since this is production ,can't do much R&D on PCs .
 
Old 06-13-2012, 11:22 PM   #2
chrism01
LQ Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Rocky 9.2
Posts: 18,355

Rep: Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751
Actually, I'm having a little problem understanding your questions, but the following may help

1. to check a remote website that I have to pass through a proxy to get out to the internet, I use
Code:
check_command   check_http! -H www.thesite.com.au -I 1.2.3.4
where 1.2.3.4 is the IP of my (outgoing) proxy
http://nagiosplugins.org/man/check_http

2. no idea what 'transcoder' is, but unless it understands std HTTP, that won't work.
Either find a nagios check that understands transcoder eg try the official nagios plugins mentioned in (1.) and also http://exchange.nagios.org/directory/Plugins
OR
use NRPE http://exchange.nagios.org/directory...ecutor/details & http://exchange.nagios.org/directory...tation/details to use eg your script to run locally on the remote system and have server nagios ping the nrpe client and retrieve the results.

Incidentally, transcoder appears to be running TCP/IP v4 and v6; you probably don't need v6.
 
Old 06-13-2012, 11:41 PM   #3
call_krushna
Member
 
Registered: Aug 2007
Location: India
Distribution: Ubuntu
Posts: 173

Original Poster
Rep: Reputation: 1
Quote:
Originally Posted by chrism01 View Post
Actually, I'm having a little problem understanding your questions, but the following may help

1. to check a remote website that I have to pass through a proxy to get out to the internet, I use
Code:
check_command   check_http! -H www.thesite.com.au -I 1.2.3.4
where 1.2.3.4 is the IP of my (outgoing) proxy
http://nagiosplugins.org/man/check_http

2. no idea what 'transcoder' is, but unless it understands std HTTP, that won't work.
Either find a nagios check that understands transcoder eg try the official nagios plugins mentioned in (1.) and also http://exchange.nagios.org/directory/Plugins
OR
use NRPE http://exchange.nagios.org/directory...ecutor/details & http://exchange.nagios.org/directory...tation/details to use eg your script to run locally on the remote system and have server nagios ping the nrpe client and retrieve the results.

Incidentally, transcoder appears to be running TCP/IP v4 and v6; you probably don't need v6.
Thanks for reply,

My 1st question is totally different .

we have two geographically separated locations(2 networks).Is it possible with single Nagios monitoring server to monitor 2 networks .
#################################################################

Nagios server ------> Monitoring Location 1(private subnet) India


Nagios(proxy or agent ) -------> Monitoring Location 2(private subnet) US


###################################################################
Here nagios proxy or agent will collect the information from location 2 and feed data to nagios sever .both nagios server and nagios proxy server will have public ip to communicate each other .It is possible in Nagios environment .
 
Old 06-15-2012, 01:39 AM   #4
ravikiran189
Member
 
Registered: Mar 2011
Posts: 45

Rep: Reputation: 4
need info on Nagios

Hi there,

Check for netstat connections if they are listed, if so its very easy to monitor them
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: April Nagios Training Dates Include Advanced Nagios Class LXer Syndicated Linux News 0 03-18-2011 09:30 AM
Parsing through a Nagios config file to extract info w/ Sed, Awk, Vi, etc. chudster Linux - General 3 10-14-2010 02:18 AM
using nagios check_snmp plugin to get snmp info from computer umarzuki Linux - Networking 2 09-08-2009 03:12 AM
Nagios-like program for viewing basic info about box avallach Linux - Software 4 06-21-2007 07:09 AM
LXer: Nagios 2.5 and Oreon 1.3 (Nagios web front end) installation with screenshots LXer Syndicated Linux News 0 08-11-2006 05:33 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 07:38 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration