I have a single server, Win 2003 Server and would like to setup a system to be able to perform a bare bones restore if needed. (just plug in a cd or smth and get everything back).
Ideally the backup could be performed while the is powered so that i don't have to support downtime during this, and in order to restore i would reboot and use some sort of liveCD
Any ideas on this, software and all... ?
(backup will be done to a remote FTP server with plenty of bandwidth).
s.mihai's questions
I am trying to connect to a network router and execute show status
on it.
Currently i am using:
spawn ssh -o StrictHostKeyChecking=no [email protected]
expect " * ? password:*\r"
send -- "secretPassword\r"
sleep 5
send -- "show status\r"
sleep 10
send -- "exit\r"
It dosen't work, i get stuck at [email protected]'s password:
i've tried entering the password but it does not work, i get:
server1:~# secretPassword
-bash: server1: command not found
server1:~#
What am i doing so wrong here ... ?
Where can i find a demo of the web-interface for the smart card AP9606 from APC (i'm interested in geting a glimpse at the features and see if i can use it with my current newer version APC ups's) ?
I have a HP 2626 switch and want to monitor it by SNMP. how can i use the MIB file.
Any starting points on how to understand it ?
using snmpwalk
to get the data in a *nix machine and output it in a .txt file
How can i get a list of all the connected mac-addresses and coresponding ports by snmp from a HP Procurve 2626 ? And then how can i get current port utilization by SNMP?
I am trying to get the output of some 'show' commands in linux and print them in a file
It's a HP 2626 switch
1. How can i setup Passwordless entry via public key authentication to the switch
2. How can i make a bash command to login to the server and then write the output of the switch in a file
*only ssh access is aplicable here
I have a nice little headless Debian machine setup for small automated tasks.
But a few days ago i noted there is a big bandwidth RX on this one, more than the one predicted.
I started iftop but now i only now to what ip's the bandwidth is coming from.
Question:
How can i find what process is taking up the most bandwidth on this debian machine ?
Mike
I have a DVR server with linux embeded. It has some telnet functions but i don't have the password for it (the chinese manufacturer refuses to give me the password). I did get a upgrade folder from them and found a passwd file inside.
So i assume that when i upgrade the firmware the password in that file will be used.
Now i am trying to modify the file so taht i can insert a password i already know.
The problem is that i don't know how to create the password hash from what i figured the password hash is $1$1/lfbDKX$Hmd.FqzB8IZEohPesYi961
The file is named rom.ko and i found a command
telnetd /mnt/yaffs/web/boa -c /mnt/yaffs/web & /bin/cp -f /mnt/yaffs/rom.ko /etc/shadow
in a script file so i assume this is the right way.
Can you help me reconstruct a password that i know already? Tell me how or make one for me :) ?...
passwd file:
root:$1$1/lfbDKX$Hmd.FqzB8IZEohPesYi961:0:0:99999:7:-1:-1:33637592
bin::10897:0:99999:7:::
daemon::10897:0:99999:7:::
adm::10897:0:99999:7:::
lp::10897:0:99999:7:::
sync::10897:0:99999:7:::
shutdown::10897:0:99999:7:::
halt::10897:0:99999:7:::
mail::10897:0:99999:7:::
news::10897:0:99999:7:::
uucp::10897:0:99999:7:::
operator::10897:0:99999:7:::
games::10897:0:99999:7:::
gopher::10897:0:99999:7:::
ftp::10897:0:99999:7:::
nobody::10897:0:99999:7:::
next::11702:0:99999:7:::
I have a server app that crushes when the HDD free space it's a multiple of 4Gb (on a Windows Server 2003). In general i keep track myself o that weekly since i use the machine from time to time.
Can you point out an app or script (i don't wanna install powershell, is this doable???) that copies some larger files from one folder to another to get the free space out of the multiple of 4Gb range.
Best regards, Mike
We've got arround 25users connecting to our terminal server (remote desktop) - no active directory is used. How can i hide the taskbar from the bottom of the page, not to auto-hide it. i want the users not to be able to use it (except the administrators of course).
Mike
I have a project that will generate a huge number of images. Around 1,000,000 for start. They are not large images so I will store them all on one machine at start.
How do you recommended on storing these images efficiently? (NTFS file system currently)
I am considering a naming scheme... for start all the images will have an incremental name from 1 up I hope this will help me sort them later if needed, and throw them in different folders.
what would be a better naming scheme:
a/b/c/0 ... z/z/z/999
or
a/b/c/000 ... z/z/z/999
any idea on this ?
I have a couple of HP servers with iLO interfaces. do you have any idea of how can i get status data of the server via an XML or something like that ?
update: i want to be able to get the server temperature via a script running on a linux machine in order to monitor our windows HP iLO servcers.
I have a couple of HP servers in 2 offices. They have iLO interfaces and i can read the temperature from there.
How can i read this temperature automaticaly over the network ? does iLO have any sort of API ??
best regards.
What open source(or not) CRM do you use ? i have come across Tactilecrm and it's kinda' great.
How can i send an international SMS (or place a call) with a HTTPS request?
What reliable service providers do you know / use?
I want to use a SMS service instead of a hardware aproach.
Do you know any freeware software that I can install on our computers in order to silent log (to a folder, or forward to another email address) all received / sent email from that computer? The idea is to store all email into a folder and then parse the data to a archive.
I want to monitor POP3 and SMTP (since webmail is prohibited).
Best regards, Mike.
Update:
- I want to install it on the clients (Windows XP Professional)
Anyone using a Python script to monitor CPU usage on a Windows machine ? i've google for some time but have not been able to find any usable script. could you guys show me some example of what you're using ?
Here is the errors i got.
Traceback (most recent call last): File "test.py", line 1, in import wmi File "c:\Python26\lib\site-packages\wmi.py", line 141, in from win32com.client import GetObject, Dispatch ImportError: No module named win32com.client
We are currently using the DNS of our ISP but I would like to setup our own in house DNS server so that we could manage local names, and in short use this in house DNS server instead of .hosts file on all of our computers.
I would like the DNS server to resolve DNS only to certain IP's (so this way I could filter internet access in a way, by providing DNS resolution only to domains that are of use to our business and accordingly to IP's -something like openDns) I know I could setup a transparent squid to do filtering, but I've been interested in setting up a local DNS server and could not find the necessary resources online.
I am interested in a Unix, Debian, friendly app (Windows is acceptable also).
i am currently using:
$emailFrom = "[email protected]"
$emailTo = "[email protected]"
$subject = "subject"
$body = "message"
$smtpServer = "mail.host.com"
$smtp = new-object Net.Mail.SmtpClient($smtpServer)
$smtp.Send($emailFrom, $emailTo, $subject, $body)
and i know that with the folowing command i can find out the free space on all of my hdd:
Get-WmiObject WIN32_logicaldisk | sort -desc freespace | select -first 3 | format-table -autosize deviceid,devicetype,providername,freespace,size,volumename;
when i try to do this:
$body = Get-WmiObject WIN32_logicaldisk | sort -desc freespace | select -first 3 | format-table -autosize deviceid,devicetype,providername,freespace,size,volumename;
but all i get in my email is the folowing:
Microsoft.PowerShell.Commands.Internal.Format.FormatStartData Microsoft.PowerShell.Commands.Internal.Format.GroupStartData Microsoft.PowerShell.Commands.Internal.Format.FormatEntryData Microsoft.PowerShell.Commands.Internal.Format.FormatEntryData
Microsoft.PowerShell.Commands.Internal.Format.FormatEntryData Microsoft.PowerShell.Commands.Internal.Format.GroupEndData Microsoft.PowerShell.Commands.Internal.Format.FormatEndData
how can i get my free space via email using powershell???