04-05-2012
Access Nagios webpage on 2 interfaces.
Dear All,
I have Nagios running on a PC which has two ethernet cards, eth0 and eth1. Each interface is on a different network, like eth0 is on n/w 10.111.X.X and eth1 is on n/w 100.1.X.X (recently configured). The Nagios webpage is accessed remotely by typing [http] 10.111.X.X/nagios3/[index.html] i.e. via the eth0. (Please forget the brackets as I am not allowed to post URLs). Now, I would like to access the same webpage from the 100.1.X.X network i.e. via the eth1 interface.
Is this possible? Are there any configuration parameters that need to be changed/added? If so, where?
Thanks for your replies.
Regards.
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Hi I was wondering how do I make my own webpage??? :rolleyes::confused: (4 Replies)
Discussion started by: babysoft19
4 Replies
2. IP Networking
I have SCO OpenServer 5 connected to the Internet and I would like to change the webpage that appears when I try from another computer the address: http://192.1xx.xx.xx. If I try this, a page about SCO appears, but I don't know where can I find it.
Thanks:cool: (1 Reply)
Discussion started by: SuPeRbYtE
1 Replies
3. Linux
Please help me to start with this trek...
What are the steps for me to implement at FTP functionality on my web page... we have a linux box as our proxy server... (0 Replies)
Discussion started by: shiny
0 Replies
4. UNIX for Advanced & Expert Users
I have a webpage, http://my.dns.com/~zp523/index.html,
I want all people to have read and execute privileges. I want to extend it with execute privilege. Which command should be used in chmod?
is it only give read(r) & execute(x) parameter in 'chmod ??? index.html'
thk a lot!! (1 Reply)
Discussion started by: zp523444
1 Replies
5. UNIX for Dummies Questions & Answers
Dear All,
I do not know anything from UNIX and its systems. I have a course on bioinformatics and they taught us a little about the UNIX. They also provided a userID and password for the web server which I can access using SSH.
now, with A LOT OF EFFORT, I wrote a small index.html file, saved it... (1 Reply)
Discussion started by: dreamer0085
1 Replies
6. Shell Programming and Scripting
Hello,
I've bought an semi-dedicated (cloud computing) server, but yesterday I had to change my IP, so I tried this with PuTTY:
Went to
/etc/network/interfaces
And changed
iface eth0 inet static
To
iface eth0 inet dhcp
Hoping to get an dynamic IP
Then I restarted my... (5 Replies)
Discussion started by: lukinhasb
5 Replies
7. Solaris
Hi Al,
In course of understanding networking in Solaris, I have these doubts on Interfaces. Please clarify me. I have done fair research in this site and others but could not be clarified.
1. In the "ifconfig -a" command, I see many interfaces and their configurations. But I see many... (1 Reply)
Discussion started by: satish51392111
1 Replies
8. Shell Programming and Scripting
Hello Gurus
Am facing situation to chomp webpage and get the values from in it and that value need to monitor by nagios . could you advise me how i can achieve this task .
Thanks (1 Reply)
Discussion started by: Salim_Linux
1 Replies
9. Infrastructure Monitoring
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
10. Solaris
Hi,
I need to display the output of a script in web page. Can anyone suggest me how to do that? (5 Replies)
Discussion started by: Arasu
5 Replies
LEARN ABOUT DEBIAN
nagios::plugin::threshold
Nagios::Plugin::Threshold(3pm) User Contributed Perl Documentation Nagios::Plugin::Threshold(3pm)
NAME
Nagios::Plugin::Threshold - class for handling Nagios::Plugin thresholds.
SYNOPSIS
# NB: This is an internal Nagios::Plugin class.
# See Nagios::Plugin itself for public interfaces.
# Constructor
$t = Nagios::Plugin::Threshold->set_thresholds(
warning => $warning_range_string,
critical => $critical_range_string,
);
# Value checking - returns CRITICAL if in the critical range,
# WARNING if in the warning range, and OK otherwise
$status = $t->get_status($value);
# Accessors - return the associated N::P::Range object
$warning_range = $t->warning;
$critical_range = $t->critical;
DESCRIPTION
Internal Nagios::Plugin class for handling threshold data. See Nagios::Plugin for public interfaces.
A threshold object contains (typically) a pair of ranges, associated with a particular severity e.g.
warning => range1
critical => range2
AUTHOR
This code is maintained by the Nagios Plugin Development Team: see http://nagiosplug.sourceforge.net.
COPYRIGHT AND LICENSE
Copyright (C) 2006-2007 Nagios Plugin Development Team
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
perl v5.14.2 2011-12-22 Nagios::Plugin::Threshold(3pm)