The complete Brocade SW4900 command list
This is the complete list of Brocade SW4900 commands, taken from the output of “help” command
This is the complete list of Brocade SW4900 commands, taken from the output of “help” command
This is the real time worldwide earthquake map, centered in Indonesia.
The color shows age of the earthquake :
Red = Past hour
Orange = Past day
Yellow = Past week
I’m using the worldwide earthquake data (updated every 5 minutes) provided by earthquake.usgs.gov
This is my bicycling track from Cireundeu, Pondok Cabe, Sawangan, and pay a little visit on Situ (Lake) Sawangan. I just found the lake on the way back. It turns out there is a lake near my current position when I was trying see where I am using the google maps. I always try to go cycling with nearly blind direction, and go back using the GPS guided route.
Track Info:
| Start Date/Time | 03.10.2009 / 07:45:52 |
| Duration | 3hr 19min 47s |
| Distance | 26.4 km |
Are you using HP OVO (Openview Operation)/ITO/OMU (Operation Manager for Unix) ? So you must be understand how hard to write a templates document, especially if you have hundreds or thousands templates in your environment . This is a quick-and-dirty script I use, that similar to my previous released script, tpl2csv, but instead dumping the templates to csv file, this script will generate xls (Microsoft Excel) spreadsheet.
You need to have the node templates first before executing the tpl2xls.pl script, and also the templates has to be in a correct directory hierarchy. But don’t worry, I will also give you the script (gettemplates.pl) to download the templates in correct hierarchy.
The script needs John McNamara’s Spreadsheet-WriteExcel module, but it has been included inside the tpl2xls archive.
Please read terms of use before downloading the script(s)
Download
tpl2xls
This script will download templates into tpl2xls-readable hierarchy. It reads a node list file like the one included in the package
Are you using HP OVO (Openview Operation)/ITO/OMU (Operation Manager for Unix) ? So you must be understand how hard to write a templates document, especially if you have hundreds or thousands templates in your environment . I started a project to dump OVO templates into a csv file.
The script is in perl, so actually I can generate an Excel spreadsheet file directly but the script will need the spreadsheet perl module. To make it widely usable, i am going to make the script to only generates csv file. csv files can later be imported to nearly any spreadsheet editor.
Update: If you want to dump/export the OVO templates into a well-formatted MS-Excel file, read this post instead.
You can freely use, modify, and share this script, just keep the attribution intact.
Please read terms of use before downloading the script(s)
Version 1.1.0
Version 1.0.0
The initial release. The script will dump all templates files inside the specified directory into csv file.
The fastest way to do it :
# mkdosfs -C floppydisk.img 1440 # mount -o loop floppydisk.img /media/cdrom # cp /path/to/files/* /media/cdrom/ # umount /media/cdrom
note: assuming /media/cdrom path is exists (most likely so), and you have root access.
When the RemedySPI is not running, and you can’t start it anymore, it might be caused by an unmatched password of opc_adm inside remspi configuration.
Check the remspi log :
tail /var/opt/OV/log/remspi/remspi.log
If you found anywhere in the log says :
05/28/2009 11:05:25 [ERROR] (remspisrv-16080): Can’t connect to ITO as user ‘opc_adm’: ‘No login’. Not a typewriter (SPI215-51)
then most likely the opc_adm user had changed his password.
To fix it, modify the REMSPI_ITO_ADMIN_PASSWD value inside configuration file
/etc/opt/OV/share/conf/remspi/remspi.cfg
The encrypted password has to be generated manually, using
/opt/OV/bin/remspi/remspipasswd <password>
I really hate uppercase when it comes to filenames. It’s really simple to translate words to lowercase using perl’s “tr”.
my @FILES=`ls /path/to/bignames`; foreach my $line (@FILES){ $line=trim($line); if ($line ne "" && $line !~ /^./ && $line =~ /[A-Z]+/) { my $smalline = $line; $smalline =~ tr/[A-Z]/[a-z]/; $out=`mv -v $line $smalline`; }
and this is the complete rename-to-lowercase script.
Please read terms of use before downloading the script(s)
I always forget this ![]()
/var/opt/OV/share/databases/OpC/mgd_node/customer/
This is the path to the place where you can put your own scripts to be used in templates. Depends on the target system, you have to put the correct version of scripts under the correct operating system.
I did it in Centos 5.2 and RHEL 5.
see http://www.virtualbox.org/ticket/203