Sponsored Content
Top Forums UNIX for Beginners Questions & Answers How to convert my /bin/sh script with cgi and html to run it on browser!?? Post 303040439 by Corona688 on Tuesday 29th of October 2019 11:30:00 AM
Old 10-29-2019
You have followed none of my suggestions. I suggest you follow them and tell me what happens then.
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Run ksh script from cgi

Hi, I'm developing a system which requires me to run a ksh script from within a cgi script. What sort of syntax will I need to do this, I'm sure it's simple but can't find out how anywhere! Thanks. (2 Replies)
Discussion started by: hodges
2 Replies

2. Shell Programming and Scripting

html - df -k cgi script

Hey - I am new to cgi scripting... just writing a script to output df -k output to html page... but I cannot get the df lines on separate lines on the page, it all comes out on one line and is not very readable.. any suggestions? My script is below - please keep in mind I am only new to it so... (1 Reply)
Discussion started by: frustrated1
1 Replies

3. Shell Programming and Scripting

running a cgi script even when browser is closed

hii, i have a cgi script file which may take some hours to complete. The script logs the output and mails the user. so the browser need not be open for the output. But currently the script dies off the instant the browser is closed or other pages are viewed. Is there a way out .. ? i have... (0 Replies)
Discussion started by: damn_bkb
0 Replies

4. Shell Programming and Scripting

cgi script to echo a html file

Hi, I'm learning some simple cgi scripting. I can make a script like this, so my browser shows "Hello World" /www/cgi-bin/name.sh --- #!/bin/sh MyName=World echo "<html> Hello $MyName </html>" --- What I'd like is to have a separate html and script files in the cgi folder so ... (1 Reply)
Discussion started by: Performer
1 Replies

5. Shell Programming and Scripting

How to pass data from server (CGI script) to client (html page)

Hi I know how to pass data from client side (html file) to server using CGI script (POST method). I also know how to re-create the html page from server side after receiving the data (using printf). However I want to write static pages on client side (only the structure), and only to pass... (0 Replies)
Discussion started by: naamabm
0 Replies

6. UNIX and Linux Applications

execute shell script using CGI for html site

hi there im currently in the process of creating a website for use basically within our org. im using a os x machine and installed MAMP - which includes Apache, mysql... the site will be used by techs to primarily install pkgs files onto os x devices. i would like to have buttons or hyperlinks... (2 Replies)
Discussion started by: sheshe
2 Replies

7. Shell Programming and Scripting

Perl cgi pages out of cgi-bin folder in WINDOWS

Hi team, I have a typical problem with cgi pages in apache webserver in WINDOWS I am able to execute(display) the pages that are saved in cgi-bin folder. But I am not able to execute the pages stored in htdocs or other folder other than cgi-bin folder. Could anyone please let me know how... (1 Reply)
Discussion started by: scriptscript
1 Replies

8. UNIX for Beginners Questions & Answers

How to run script through CGI?

Hi I have written a script and I want it to be run from web with the help of CGI. can you please guide me . below script is working fine if run from backend but not sure how I should run through web. #!/bin/bash string1=look string2=0 string3=.sdn.dnb echo -n "enter... (3 Replies)
Discussion started by: scriptor
3 Replies

9. Shell Programming and Scripting

Run command through html+cgi in bash

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)
Discussion started by: indeed_1
7 Replies

10. UNIX for Beginners Questions & Answers

How can I use my /bin/sh script on web browser?

Hello, I have created my script which works properly through the terminal, but I want to convert it to perform all functions as it performs through terminal, but in this case perform through web browser. My /bin/sh script is:... (1 Reply)
Discussion started by: juta2020
1 Replies
MUNIN-NODE-CONFIGURE(1p)				User Contributed Perl Documentation				  MUNIN-NODE-CONFIGURE(1p)

NAME
munin-node-configure - View and modify which plugins are enabled. SYNOPSIS
munin-node-configure [options] DESCRIPTION
munin-node-configure reports which plugins are enabled on the current node, and suggest changes to this list. By default this program shows which plugins are activated on the system. If you specify "--suggest", it will present a table of plugins that will probably work (according to the plugins' autoconf command). If you specify "--snmp", followed by a list of hosts, it will present a table of SNMP plugins that they support. If you additionally specify "--shell", shell commands to install those same plugins will be printed. These can be reviewed or piped directly into a shell to install the plugins. GENERAL OPTIONS
--help Show this help page. --version Show version information. --debug Print debug information on the operations of "munin-node-configure". This can be very verbose. All debugging output is printed to STDOUT, and each line is prefixed with '#'. Only errors are printed to STDERR. --pidebug Plugin debug. Sets the environment variable MUNIN_DEBUG to 1 so that plugins may enable debugging. --config <file> Override configuration file [/etc/munin/munin-node.conf] --servicedir <dir> Override plugin directory [/etc/munin/plugins/] --sconfdir <dir> Override plugin configuration directory [/etc/munin/plugin-conf.d/] --libdir <dir> Override plugin library [/usr/share/munin/plugins/] --exitnoterror Do not consider plugins that exit non-zero exit-value as error. --suggest Suggest plugins that might be added or removed, instead of those that are currently enabled. OUTPUT OPTIONS By default, "munin-node-configure" will print out a table summarising the results. --shell Instead of a table, print shell commands to install the new plugin suggestions. This implies "--suggest", unless "--snmp" was also enabled. By default, it will not attempt to remove any plugins. --remove-also When "--shell" is enabled, also provide commands to remove plugins that are no longer applicable from the service directory. PLUGIN SELECTION OPTIONS --families <family,...> Override the list of families that will be used (auto, manual, contrib, snmpauto). Multiple families can be specified as a comma- separated list, by repeating the "--families" option, or as a combination of the two. When listing installed plugins, the default families are 'auto', 'manual' and 'contrib'. Only 'auto' plugins are checked for suggestions. SNMP probing is only performed on 'snmpauto' plugins. --newer <version> Only consider plugins added to the Munin core since <version>. This option is useful when upgrading, since it can prevent plugins that have been manually removed from being resinstalled. This only applies to plugins in the 'auto' family. SNMP Options --snmp <host|cidr,...> Probe the SNMP agents on the host or CIDR network (e.g. "192.168.1.0/24"), to see what plugins they support. This may take some time, especially if the many hosts are specified. This option can be specified multiple times, or as a comma-separated list, to include more than one host/CIDR. --snmpversion <ver> The SNMP version (1, 2c or 3) to use. ['2c'] --snmpport <port> The SNMP port to use [161] SNMP 1/2c authentication SNMP versions 1 and 2c use a "community string" for authentication. This is a shared password, sent in plaintext over the network. --snmpcommunity <string> The community string for version 1 and 2c agents. ['public'] (If this works your device is probably very insecure and needs a security checkup). SNMP 3 authentication SNMP v3 has three security levels. Lowest is "noAuthNoPriv", which provides neither authentication nor encryption. If a username and "authpassword" are given it goes up to "authNoPriv", and the connection is authenticated. If "privpassword" is also given the security level becomes "authPriv", and the connection is authenticated and encrypted. Note: Encryption can slow down slow or heavily loaded network devices. For most uses "authNoPriv" will be secure enough -- the password is sent over the network encrypted in any case. ContextEngineIDs are not (yet) supported. For further reading on SNMP v3 security models please consult RFC3414 and the documentation for Net::SNMP. --snmpusername <name> Username. There is no default. --snmpauthpassword <password> Authentication password. Optional when encryption is also enabled, in which case defaults to the privacy password ("--snmpprivpassword"). --snmpauthprotocol <protocol> Authentication protocol. One of 'md5' or 'sha' (HMAC-MD5-96, RFC1321 and SHA-1/HMAC-SHA-96, NIST FIPS PIB 180, RFC2264). ['md5'] --snmpprivpassword <password> Privacy password to enable encryption. There is no default. An empty ('') password is considered as no password and will not enable encryption. Privacy requires a privprotocol as well as an authprotocol and a authpassword, but all of these are defaulted (to 'des', 'md5', and the privpassword value, respectively) and may therefore be left unspecified. --snmpprivprotocol <protocol> If the privpassword is set this setting controls what kind of encryption is used to achive privacy in the session. Only the very weak 'des' encryption method is supported officially. ['des'] munin-node-configure also supports '3des' (CBC-3DES-EDE, aka Triple-DES, NIST FIPS 46-3) as specified in IETF draft-reeder-snmpv3-usm-3desede. Whether or not this works with any particular device, we do not know. FILES
/etc/munin/munin-node.conf /etc/munin/plugin-conf.d/* /etc/munin/plugins/* /usr/share/munin/plugins/plugins.history /usr/share/munin/plugins/* VERSION
This is munin-node-configure (munin-node) v2.0.6-4+deb7u2. $Id$ AUTHORS
Jimmy Olsen, Nicolai Langfeldt, Matthew Boyle BUGS
Please see http://munin-monitoring.org/report/1 <http://munin-monitoring.org/report/1>. COPYRIGHT
Copyright (C) 2003-2006 Jimmy Olsen, Nicolai Langfeldt. Copyright (C) 2009-2010 Matthew Boyle This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. This program is released under the GNU General Public License perl v5.14.2 2013-11-12 MUNIN-NODE-CONFIGURE(1p)
All times are GMT -4. The time now is 01:44 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy