10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
I want to transfer all details of sftp connection into a log file and spawn sftp $PCMSu@$FTP_LOC >> log_file is not working for me. Please suggest how to send the data to a log file that has all information if sftp connection is successful or not?
Script that I am using:
#!/usr/bin/expect... (7 Replies)
Discussion started by: Geeta Yadav
7 Replies
2. UNIX for Advanced & Expert Users
Happy holidays everyone :)
I'm trying to increase usabilty for my scripted project-, for that i wanted to apply an error message poping up upon every and any error (other than proper exit) indicating the enduser a uniform, and hopefully readable error messsage.
To achieve this, i wrote a... (4 Replies)
Discussion started by: sea
4 Replies
3. Solaris
Hi all Solaris Experts,
What are the traps and pitfalls in using Solaris zones?
Specifically, what tools, utilities, system calls don't work or work differently in a non-global zone?
I'm new to zones and I've already encountered one difference which is very significant to me:
orphan... (5 Replies)
Discussion started by: ad101
5 Replies
4. UNIX for Dummies Questions & Answers
hi power went out. next day unix sco wont boot up error code 303. any help appreciated as we are clueless. (11 Replies)
Discussion started by: fredthayer
11 Replies
5. UNIX for Dummies Questions & Answers
Hi,
We are using Zyrion Traverse to monitor all the servers. I like to set the traps on all of the Linux servers to send the traps to that servers.
So for on the /etc/snmp/snmp.conf file, this is what I have...
### SNMP Traps ###
trap2sink x.x.x.x # Traverse server
My... (4 Replies)
Discussion started by: samnyc
4 Replies
6. Shell Programming and Scripting
Hello everyone!
I have a text file with the next content:
2010-04-15 15:21:15 Minor 15605325 1531 Alarm name = IAD Equipment In Service location=iad01.tecnac.camino.illapel, Module=26
and I want send traps with the informationn of this file.
How I can do this?
Many... (3 Replies)
Discussion started by: bobbasystem
3 Replies
7. Infrastructure Monitoring
Hi all,
lately i managed to install SNMP agent on Solaris 9 & 10. The second objective is now to configure traps. However (since i'm totally new to the SUN world) i don't know a way of how to start. Can somebody help me with details? What is the first thing that you need to do to start trapping?... (3 Replies)
Discussion started by: Wizard_1979
3 Replies
8. Solaris
A problem happened with me, I was configuring IP for two network interfaces, and when I rebooted the system, everything is working but after like 3 or 5 minutes it will tell me that the whole IPMP group has failed !
I tried to troubleshoot, so I found that the gateway is not reachable..so I... (4 Replies)
Discussion started by: Sun Fire
4 Replies
9. UNIX for Dummies Questions & Answers
Well, I don't know where exactly to ask this doubt so I'm asking in the newbie section. I was reading about traps and interrupts when I thought of traps as something that cease the control of the OS from the user and interrupts that cease the control yet provide support for multitasking. Am I right... (3 Replies)
Discussion started by: Legend986
3 Replies
10. Solaris
Hello
I am trying to check that SNMP traps could be sent from one server to other .
I am running this command from receiving server to see it can receive it
/usr/sbin/snoop udp port 162
and on the sending end I am running this commad
cst051 UDP D=162 S=1480 LEN=120
but i am... (1 Reply)
Discussion started by: Ajwat
1 Replies
cfengine(8) System Manager's Manual cfengine(8)
NAME
cfrun - Execute remote cfagents
SYNOPSIS
/usr/sbin/cfrun [options]
DESCRIPTION
cfengine is a language based system specifically designed for testing and configuring unix-like systems attached to a TCP/IP network.
cfrun is a tool for executing one or more remote agents; it contacts the cfservd daemon running on a remote host, which (in turn) starts an
authorized agent. Cfrun cannot be used to send instructions to a remote agent, but it can be used to flag certain aspects to the agent's
existing policy for special attention..
The command line options for cfrun are slightly unusual. They are separated into three sections: options to the cfrun program, options to
the remote cfagent (with some security restrictions) and finally classes or flags to the remote agent.
EXAMPLES
cfrun specialhost1 specialhost2 -- --verbose -- solaris
In this example, we contact hosts specialhost1 specialhost2 by name, and ask them to execute cfagent with the --verbose flag, if the class
solaris is not defined.
cfrun specialhost1 --verbose -- -- solaris
In this example the verbose flag is sent to cfrun rather than to the remote agent. No options are sent to the remote agents. The class
specifier is sent to all the agents so that they may determine whether they fulfill the required class membership for execution.
The default behaviour is to execute cfagent serially on all hosts listed in the cfrun.hosts file.
FILES
cfrun read a configuration file cfrun.hosts which must contain a list of every potentially contactable host.
AUTHOR
Mark Burgess, Oslo University College
INFORMATION
http://www.cfengine.org
Maintenance Commands cfengine(8)