Sponsored Content
Special Forums UNIX and Linux Applications Infrastructure Monitoring HPUX net-SNMP interpreter "/bin/perl" not found Post 302332279 by krisarmstrong on Wednesday 8th of July 2009 03:06:48 PM
Old 07-08-2009
HPUX net-SNMP interpreter "/bin/perl" not found

I am trying to install net-snmp on an HPUX box. I am getting the fallowing error message when I try to run the snmpconf file. I installed the fallowing version of

net-snmp
net-snmp-5.0.10.2-HP-UX_B.11.11_9000_800.tar and my

HPUX box is version
HP-UX commnms B.11.11 U 9000/800 3090570624 unlimited-user license

interpreter "/bin/perl" not found
file link resolves to "/usr/bin/perl"
sh: snmpconf: not found.

My ultimate goal is to be able to monitor the CPU and Memory in SolarWinds.
 

9 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

#!/bin/sh script fails at StringA | tr "[x]" "[y]"

I need to take a string (stringA) check it for spaces and replace any spaces found with an equal (=) sign. This is not working. There are spaces between each component: $StringA | tr "" "" The error returned is: test: Specify a parameter with this command Can you help? (3 Replies)
Discussion started by: by_tg
3 Replies

2. Windows & DOS: Issues & Discussions

Need Help on "waitfor" command in net::Telnet Module in PERL

Hi, Can anybody help me in writing command "waitfor" for string "C:\WINNT\Profiles\mfcf0508>" while using net::Telnet module. I tried the below format : $telnet->waitfor('/"C\:\WINNT\Profiles\mfcf0508>".*$/i'); Getting error as : pattern match timed-out Plz help me (3 Replies)
Discussion started by: sudhakaryadav
3 Replies

3. Shell Programming and Scripting

Need help on use of "cmd" command in net::Telnet module in PERL

in "cmd" command i want to copy the ouput of the command excuted to a particular file in a directory. How to do this..?? Ex : $telnet->cmd(String => 'allip:acl=a1;',Prompt => '/</'); i want to copy o/p of the command "allip:acl=a1;" in a log file in a particular directory. Plz suggest.. (1 Reply)
Discussion started by: sudhakaryadav
1 Replies

4. Shell Programming and Scripting

Pressing "Enter/Space bar" using Net::TELNET? in Perl

I'm trying to learn how to get my script to execute the enter button when it telnets into a router and the router displays output but you need to press the space bar or enter button to continue displaying my output of the router. How is this done? (0 Replies)
Discussion started by: xmaverick
0 Replies

5. UNIX for Dummies Questions & Answers

Difference between "/bin/bash" & "/bin/sh"

what if the difference between #!/bin/sh and #!/bin/bash I wrote a script with the second heading now when i change my heading to the first one ...the script is not executing well....im not getting the required output....any solution to this problem...or do i have to start the... (3 Replies)
Discussion started by: xerox
3 Replies

6. Shell Programming and Scripting

HPUX "bdf" , "%" align to right side.

Hi All, Need you help. I have HPUX “bdf” output, I need % to be align to right side. if you see there are long file systems lv so i cant do column formatting. Any idea or best way to align the "%" to be right side. /dev/emcvg02/lv01 52428800 29931 49123947 0% /abc/disco/iasbin... (7 Replies)
Discussion started by: ashanabey
7 Replies

7. Shell Programming and Scripting

Perl: errors during "install Net::SSLeay"

Hi, Here is the errors: Any help will be greatly appreciated! (4 Replies)
Discussion started by: aixlover
4 Replies

8. Shell Programming and Scripting

If cmd in in "A/user/bin A/bin A/user/sbin" but not "B/user/bin B/bin B/user/sbin" directory print t

there are two directories A and B if cmd in in "A/user/bin A/bin A/user/sbin" but not "B/user/bin B/bin B/user/sbin" directory print them (1 Reply)
Discussion started by: yanglei_fage
1 Replies

9. Shell Programming and Scripting

Mindboggling difference between using "tee" and "/usr/bin/tee" in bash

I'm on Ubuntu 14.04 and I manually updated my coreutils so that "tee" is now on version 8.27 I was running a script using bash where there is some write to pipe error at some point causing the tee command to exit abruptly while the script continues to run. The newer version of tee seems to prevent... (2 Replies)
Discussion started by: stompadon
2 Replies
snmpconf(1M)						  System Administration Commands					      snmpconf(1M)

NAME
snmpconf - creates and modifies SNMP configuration files SYNOPSIS
snmpconf snmpconf -g basic_setup snmpconf [options] [file_to_create] DESCRIPTION
The snmpconf utility is a simple script that walks you through setting up a configuration file, step-by-step. It works by asking you a series of questions. It creates the configuration file based on your responses. In its default mode of operation, snmpconf prompts you with menus showing sections of the various configuration files it knows about. When you selects a section, a submenu is shown listing the descriptions of the tokens that can be created in that section. When a description is selected, you are prompted with questions that determine the specification of the selected token. When you quit snmpconf, any configuration files that have been edited are saved to the local directory. snmpconf supplies comments in the configuration files for each change. A particularly useful option is the -g switch, which walks you through a specific set of configuration questions. For an example, invoke: # snmpconf -g basic_setup This command walks you through an initial setup of the snmpd daemon. OPTIONS
The following options are supported: -f Force overwriting existing files in the current directory without prompting the user. -i When finished, install the files in the location where the global system commands expect to find them. -p When finished, install the files into the user's home directory's .snmp subdirectory. Applications will search for configuration files in this location. -I directory When finished, install the files into the directory directory. -a Do not issue queries. Read in the various known configuration files and write them back out again. This has the effect of "auto-com- menting" the configuration files for you. -r all | none Read in either all or none of the found configuration files. Normally, snmpconf prompts you for which files you wish to read in. -R file,... Read in a specific list of configuration files. -g groupname Groups of configuration entries can be created that can be used to walk a user through a series of questions to create an initial con- figuration file. There are no menus to navigate, just a list of questions. The command: # snmpconf -g basic_setup provides a good example. -G List all the known groups. -c configdir snmpconf uses a directory of configuration information to learn about the files and questions that it should be asking. This option tells the utility to use a different location for configuring itself. -q Run slightly more quietly than the default. Because this is an interactive program, this option is not recommended. It removes informa- tion from the output that might be helpful to you. -d Turn on copious debugging output. -D Add more (beyond -d) debugging output in the form of Perl variable dumps. EXAMPLES
Example 1: Adding Comments to snmpd.conf The following command reads in an snmpd.conf file and adds comments describing what each token does. # snmpconf -R /etc/sma/snmp/snmpd.conf -a -f snmpd.conf EXIT STATUS
0 Successful completion. 1 A usage syntax error. A usage message displays. ATTRIBUTES
See attributes(5) for descriptions of the following attributes: +-----------------------------+-----------------------------+ | ATTRIBUTE TYPE | ATTRIBUTE VALUE | +-----------------------------+-----------------------------+ |Availability |SUNWsmcmd | +-----------------------------+-----------------------------+ |Interface Stability |External | +-----------------------------+-----------------------------+ SEE ALSO
snmpd(1M), snmpd.conf(4), snmp_config(4), attributes(5) SunOS 5.10 20 Jan 2004 snmpconf(1M)
All times are GMT -4. The time now is 05:39 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy