HOBBIT-ENADIS.CGI(8) System Manager's Manual HOBBIT-ENADIS.CGI(8)NAME
hobbit-enadis.cgi - CGI program to enable/disable Xymon tests
SYNOPSIS
hobbit-enadis.cgi (invoked via CGI from webserver)
DESCRIPTION
hobbit-enadis.cgi is a CGI tool for disabling and enabling hosts and tests monitored by Xymon. You can disable monitoring of a single test,
all tests for a host, or multiple hosts - immediately or at a future point in time.
hobbit-enadis.cgi runs as a CGI program, invoked by your webserver. It is normally run via a wrapper shell-script in the secured CGI
directory for Xymon.
hobbit-enadis.cgi is the back-end script for the enable/disable form present on the "info" status-pages. It can also run in "stand-alone"
mode, in which case it displays a web form allowing users to select what to enable or disable.
OPTIONS --no-cookies
Normally, hobbit-enadis.cgi uses a cookie sent by the browser to initially filter the list of hosts presented. If this is not
desired, you can turn off this behaviour by calling bb-ack.cgi with the --no-cookies option. This would normally be placed in the
CGI_ENADIS_OPTS setting in hobbitcgi.cfg(5)--env=FILENAME
Load the environment from FILENAME before executing the CGI.
--area=NAME
Load environment variables for a specific area. NB: if used, this option must appear before any --env=FILENAME option.
FILES
$BBHOME/web/maint_{header,form,footer}
HTML template header
BUGS
When using alternate pagesets, hosts will only show up on the Enable/Disable page if this is accessed from the primary page in which they
are defined. So if you have hosts on multiple pages, they will only be visible for disabling from their main page which is not what you
would expect.
SEE ALSO xymon(7)Xymon Version 4.2.3: 4 Feb 2009 HOBBIT-ENADIS.CGI(8)
Check Out this Related Man Page
HOBBIT-NKVIEW.CGI(1) General Commands Manual HOBBIT-NKVIEW.CGI(1)NAME
hobbit-nkview.cgi - Xymon Critical Systems view CGI
SYNOPSIS
hobbit-nkview.cgi
DESCRIPTION
hobbit-nkview.cgi is invoked as a CGI script via the hobbit-nkview.sh CGI wrapper.
hobbit-nkview.cgi matches the current critical statuses against the hobbit-nkview.cfg(5) file, and generates the "Critical Systems" view.
RELATION TO BBNK PAGE
This view is a replacement for the statically generated "bbnk" page provided in versions of Xymon prior to version 4.2. Although the "bbnk"
pages are supported throughout Xymon 4.x, it is recommended that You switch to the newer Critical Systems view provided by this CGI.
OPTIONS --nkacklevel=NUMBER
Sets the acknowledgment level for acknowledgments sent via the hobbit-ackinfo.cgi(1) page. Note that this may be overridden by the
configuration of the hobbit-ackinfo.cgi utility.
--env=FILENAME
Loads the environment defined in FILENAME before executing the CGI script.
--area=NAME
Load environment variables for a specific area. NB: if used, this option must appear before any --env=FILENAME option.
--debug
Enables debugging output.
ENVIRONMENT VARIABLES
BBHOME Used to locate the template files for the generated web pages.
QUERY_STRING
Contains the parameters for the CGI script.
SEE ALSO hobbit-ackinfo.cgi(1), xymon(7)Xymon Version 4.2.3: 4 Feb 2009 HOBBIT-NKVIEW.CGI(1)
AAAHHH!! I've made a perl program that you can run on a web browser. This program needs to be run everyday, and I don't want to have to run it everyday. The problem is when I try running the program from my terminal, all it does is print stuff to the terminal page (the program involves a lot of... (4 Replies)
I wrote a script to automate user account verification against peoplesoft. Now I want to make it available to my peers via the web. It is running on Solaris.
I have the form written, but am not sure how to make it work. I think the form should call a perl cgi when submitted. The cgi should call... (7 Replies)
Hi All,
This is quite a high level question so I appologise as if it sounds a bit woolly!
I'm running a script via apache's cgi-bin that calls another Perl script (from a browser):
http://192.168.000.000/cgi-bin/run_script.pl?SCRIPT=test.pl&text=RANDOM+TEXT&INPUT1=444444444444
This... (4 Replies)
Hello All,
I was trying to come up with a form using perl cgi. I then created a frame to show the output of the form. Refer below
print $display_form->start_form(-title=>"Updateuser", -style => 'font-size: 9pt; color: #202020 ; font-family: Verdana', action=>"${DOCROOT}updateUser.pl",... (4 Replies)
I have a cgi script that calls a perl script (A.pl) to do something in backgroup, when run that perl script in command everything works fine, but when it calls by the CGI script, nothing works. I have tried another perl script (B.pl not cgi) calls A.pl, and it works fine.
The A.pl is chmod 777, ... (6 Replies)
Hi,
I am looking for a cgi-script which runs a shell script from a web page.
When I click "Run" from a web page it should run the shell commands in an
textarea and results should get back to web page.
Thanks
Venkat (5 Replies)
I'm using Ubuntu and I have a text file I want to FTP to a web server every 5 minutes. I want to overwrite the existing file every time so I don't have tons of the same file. (10 Replies)
Hello,
I have an executable cgi program that I can run manually from my Linux shell after setting environmental variables on the previous line, like this:
setenv QUERY_STRING "workdir=/u/here/there/&nb1=5&nb2=1000"
MyExecutable.cgiHow can I imitate this behavior in a bash script?
I tried... (11 Replies)
hello.
i hav accepted name of directory from user through a form.now i need to create a directory under cgi-bin of that name.I am not able to do so.n help is required (12 Replies)
Hi All,
I'm trying to write an menu driven program to automate some functions which involve loging to multiple hosts. The hosts can differ for every use, so I thought I would use an config file to get the hostnames. Now I need to set those values in the config file to environment variable to... (6 Replies)
Hi,
My below cgi script works fine from the command line but not working from the web browser.
#!/usr/bin/perl
use File::Copy;
use CGI;
print "Content-type: text/html\n\n";
print "<html><head><title>LOGS";
print "</title></head>";
print "<body bgcolor=#95B9C7 link=black>";
... (4 Replies)
Hello experts.
I trying to achieve 2 things here. I'm trying to convert all of the host names to lower case and add an "m" to each hostname. Can anyone provide some guidance on what I can do? Your input is greatly valued!
Here are the desired results:
1. read the host name from a file.
2.... (8 Replies)
Hi everyone,
I want to kill process through the web, so I create html page with single bottom that run kill command in shell script with CGI.
Here is html code:
<td><form METHOD="GET" action="http://IP:port/cgi_bin/script.cgi" > <input type="submit" value= "Submit" > <INPUT name="q"... (7 Replies)
Hello,
I want to run this script on my CentOS 6 via browser :
________________________________________________________________________________________________
#!/bin/sh
echo Username?
read MY_NAME
echo Provisional file name?
read MY_FILE
echo File NAME you want to save?
read MY_FILE2... (16 Replies)