BB-REPLOG.CGI(1) General Commands Manual BB-REPLOG.CGI(1)NAME
bb-replog.cgi - CGI program to report service availability log
SYNOPSIS
bb-replog.cgi
DESCRIPTION
bb-replog.cgi is invoked as a CGI script via the bb-replog.sh CGI wrapper. Based on the parameters it receives, it generates an availabil-
ity report for a specific host-service combination for the requested time-period. The availability report includes a calculation of the
availability percentage (split out on percent green, yellow, red time), and an eventlog for the period listing the status changes that have
occurred to allow for drill-down to the test reports that indicate a problem. Access to the individual historical status logs go via the
hobbitsvc.cgi(1) CGI script.
bb-replog.cgi is passed a QUERY_STRING environment variable with the following parameters:
HOSTSVC (the host and service to report on)
STYLE (report style: "crit", "non-crit", "all")
ST (starttime in seconds since 1-1-1970 00:00 UTC)
END (endtime in seconds since 1-1-1970 00:00 UTC)
The following non-standard parameters are handled by the bbgen version of bb-hist.cgi:
IP (IP address of host - for display purposes only)
REPORTTIME (the REPORTTIME: setting for this host)
WARNPCT (the WARNPCT: setting for this host)
The REPORTTIME and WARNPCT options are taken from the bb-hosts(5) definition for the host, or the defaults are used. These modify the
availability calculation to handle reporting against agreed Service Level Agreements re. the time of day when the service must be avail-
able, and the agreed availability level.
OPTIONS --env=FILENAME
Loads environment from FILENAME before executing the CGI.
SEE ALSO bb-hosts(5), hobbitserver.cfg(5), hobbitsvc.cgi(1)Xymon Version 4.2.3: 4 Feb 2009 BB-REPLOG.CGI(1)
How much do chmod settings affect cgi scripts?? I have a "webmaster" at my work that says I cannot change the permissions on the cgi scripts, and that they work with only certain permissions.
They are set for 644, I want to change them to 775 and put her in her own group, like she should be, not... (6 Replies)
Hi guys,
I am writing a simple script save_me.cgi that can save the data in form.html into a txt (data.txt)file.
But when user click "refresh" button one the browser on page save_me.cgi, the data will be save again in the data.txt.
could someone help me on this issue?
a studpid way... (3 Replies)
I am learning about cgi and having lots of trouble. If I am on a server cs-srv2.(schoolname).edu and I want to run cgi script what would I need to do? By the way, I see $ on the command line when my server opens , if that makes a difference. I created a cgi-bin directory and put it in there. The... (3 Replies)
Im having trouble getting the string I get from a cgi form to only be the value entered. I need to use that value as an argument but cant use it in the way it is returned. I get "bustype = restaurant" but I want just "restaurant" because i am going to be using that value as an argument in a csh... (3 Replies)
Hi all,
I am trying to execute cgi scripts on solaris, but everytime i get a internal server error...
The syntax of my .cgi script is correct as ive checked..
Steps i followed
1.started apache
2.The UNIX and Linux Forums - Learn UNIX and Linux from Experts (in opera)
3.places my cgi scripts... (7 Replies)
Hi,
I have attached a .cgi file. Guys could you please let me know what this script is exactly executing with perl. As per as i know it seems that this file is executing to send mails in my box. I am not good in perl. Please check and let me know that it doing in my box. (5 Replies)
Hi guys,
got a problem with a perl cgi script over here. I need it to run a system command to get the status of a process. Unfortunately the process is owned by a specific user and only this user can get its status. So i tried running the command from the perl cgi with "su", but then i get the... (12 Replies)
hi all,
i have installed simple cgi-script
under apache/cgi-bin directory
hello.cgi
#!/usr/bin/perl
print "Content-type: text/html\n\n";
print <<END_HTML;
<html>
<head></head>
<body>Hello, World!</body>
</html>
END_HTML
when i hit the url... (6 Replies)
Hello all, i`m new here and new in programming with cgi. But i need it for my running project. I`ve googled half a week with no success.
All i need is to run an .sh-file via cgi.
My file is stored in /home/bots/
but if i try
#!/bin/sh
echo 'Content-type: text/html'
echo
echo... (5 Replies)
Can anyone tell me how to export a variable from one perl CGI script to another perl cgi script when using a redirect.
Upon running the login.pl the user is prompted to enter user name and password. Upon entering the correct credentials (admin/admin) the user is
redirected to welcome page.
My... (3 Replies)
Hello,
I was trying a perl-cgi tutorial and saving the data from online form to a file named (guests.txt). I am using the localhost port 80 for practice.
My page file "guestbook.html" is working as I saw the online form. After filled out the blanks and submit, I was expecting to see the result... (3 Replies)
Hello experts,
I am facing an very typical problem and hope the issue can be solved.
I have a page download.cgi in /cgi-bin folder.
use CGI;
use CGI::Carp qw ( fatalsToBrowser );
use File::Copy
copy("C:\\Program Files\\Apache Software... (8 Replies)
Hi I was hoping some one could help me with a problem I have with a .cgi script I am running in the korn shell.
I have created a web form that user fill out to gather information that I use a .cgi and sed script to translate into a xml file which is further processed by another program.
All is... (6 Replies)