SSH Tectia - Terminal 6.0.12.50 Copyright (c) 2000-2008 SSH Communications Security Corp - http://www.ssh.com/ Licensed to CD-ROM customer, N/A Last login: Sat Jan 10 11:17:36 2015 from 192.168.1.146 [root@localhost ~]# ifconfig eth0 Link encap:Ethernet HWaddr 00:50:56:9E:47:14 inet addr:162.124.234.230 Bcast:162.124.235.255 Mask:255.255.254.0 UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:280648 errors:0 dropped:0 overruns:0 frame:0 TX packets:3623 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:26128535 (24.9 MiB) TX bytes:981393 (958.3 KiB) lo Link encap:Local Loopback inet addr:127.0.0.1 Mask:255.0.0.0 UP LOOPBACK RUNNING MTU:16436 Metric:1 RX packets:30 errors:0 dropped:0 overruns:0 frame:0 TX packets:30 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:2244 (2.1 KiB) TX bytes:2244 (2.1 KiB) [root@localhost ~]# crontab -e #*/5 * * * * F=/usr/local/megha/cron.5min; test -f $F && bash $F #13 0 * * * F=/usr/local/megha/cron.1hr; test -f $F && bash $F #11 * * * * F=/usr/local/megha/cron.24hr; test -f $F && bash $F #*/5 * * * * F=/usr/local/megha/bin/sysstat.sh; test -f $F && (bash $F >> /usr/local/megha/logs/sys/`date +\%Y\%m\%d`.log; chown -R megha:megha /usr/local/megha/logs/sys) ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ "/tmp/crontab.XXXXjvTcjx" 4L, 366C written crontab: installing new crontab [root@localhost ~]# cd /usr/local/megha/conf/probe/ [root@localhost probe]# ls -l total 344 -rw-rw-r-- 1 megha megha 91 Jan 16 09:39 ams_default.properties -rw-rw-r-- 1 megha megha 1690 Jan 16 09:40 AMSProbeWizardDef.xml -rw-rw-r-- 1 megha megha 91 Jan 16 09:39 eternus_default.properties -rw-rw-r-- 1 megha megha 1864 Jan 16 09:39 EternusProbeWizardDef.xml -rw-rw-r-- 1 megha megha 226 Jan 16 09:39 fusionio_default.properties -rw-rw-r-- 1 megha megha 2110 Jan 16 09:40 FusionIoProbeWizardDef.xml -rw-r--r-- 1 megha megha 267 Jan 28 21:04 _global.properties -rw-rw-r-- 1 megha megha 114 Jan 16 09:39 hnas_default.properties -rw-rw-r-- 1 megha megha 1509 Jan 16 09:39 HNASProbeWizardDef.xml -rw-rw-r-- 1 megha megha 1733 Jan 16 09:39 ibmxiv_default.properties -rw-rw-r-- 1 megha megha 4179 Jan 16 09:39 IbmXivProbeWizardDef.xml -rw-rw-r-- 1 megha megha 569 Jan 16 09:39 linux_default.properties -rw-rw-r-- 1 megha megha 3892 Jan 16 09:39 LinuxProbeWizardDef.xml -rw-rw-r-- 1 megha megha 91 Jan 16 09:40 netapp_default.properties -rw-rw-r-- 1 megha megha 1395 Jan 16 09:40 NetAppProbeWizardDef.xml -rw-rw-r-- 1 megha megha 139 Jan 16 09:39 network_default.properties -rw-rw-r-- 1 megha megha 5445 Jan 16 09:40 NetworkProbeVariables.xml -rw-rw-r-- 1 megha megha 1853 Jan 16 09:40 NetworkReportWizardDef.xml -rw-rw-r-- 1 megha megha 31264 Jan 16 09:40 ProbeConfigDefs.xml -rw-rw-r-- 1 megha megha 18470 Jan 16 09:40 saphana_default.properties -rw-rw-r-- 1 megha megha 3967 Jan 16 09:39 SAPHANAProbeWizardDef.xml -rw-rw-r-- 1 megha megha 91 Jan 16 09:39 smi-s_default.properties -rw-rw-r-- 1 megha megha 1614 Jan 16 09:39 SMISProbeWizardDef.xml -rw-rw-r-- 1 megha megha 31006 Jan 16 09:39 SMIS.xml -rw-rw-r-- 1 megha megha 4413 Jan 16 09:40 SQLProbeWizardDef.xml -rw-rw-r-- 1 megha megha 12213 Jan 16 09:40 sqlserver_default.properties -rw-rw-r-- 1 megha megha 317 Jan 16 09:39 svp_default.properties -rw-rw-r-- 1 megha megha 10238 Jan 16 09:40 SVPProbeWizardDef.xml -rw-rw-r-- 1 megha megha 7689 Jan 16 09:39 Switch.xml -rw-rw-r-- 1 megha megha 91 Jan 16 09:39 tmea_default.properties -rw-rw-r-- 1 megha megha 1854 Jan 16 09:39 TMEAProbeWizardDef.xml -rw-rw-r-- 1 megha megha 785 Jan 16 09:40 ucp_default.properties -rw-rw-r-- 1 megha megha 17758 Jan 16 09:39 UcpProbeCB2000Variables.xml -rw-rw-r-- 1 megha megha 17969 Jan 16 09:40 UcpProbeCB500Variables.xml -rw-rw-r-- 1 megha megha 4980 Jan 16 09:39 UcpProbeWizardDef.xml -rw-rw-r-- 1 megha megha 308 Jan 16 09:39 unix_default.properties -rw-rw-r-- 1 megha megha 5115 Jan 16 09:40 UnixProbeWizardDef.xml -rw-rw-r-- 1 megha megha 408 Jan 16 09:39 vmax_default.properties -rw-rw-r-- 1 megha megha 4162 Jan 16 09:39 VMAXProbeWizardDef.xml -rw-rw-r-- 1 megha megha 91 Jan 16 09:40 vmware_default.properties -rw-rw-r-- 1 megha megha 1403 Jan 16 09:39 VMWareProbeWizardDef.xml -rw-rw-r-- 1 megha megha 5895 Jan 16 09:40 XenConfigdata.xml -rw-rw-r-- 1 megha megha 91 Jan 16 09:39 xenserver_default.properties -rw-rw-r-- 1 megha megha 2434 Jan 16 09:39 XenServerProbeWizardDef.xml -rw-rw-r-- 1 megha megha 458 Jan 16 09:39 xflow_default.properties -rw-rw-r-- 1 megha megha 5816 Jan 16 09:39 xFlowProbeWizardDef.xml [root@localhost probe]# /usr/local/megha/bin/megha-jetty.sh status Megha probe running [root@localhost probe]# /usr/local/megha/bin/megha-jetty.sh stop [root@localhost probe]# /usr/local/megha/bin/megha-jetty.sh status Megha probe is not running [root@localhost probe]# ps -ef | grep megha root 4854 4792 0 10:50 pts/0 00:00:00 grep megha [root@localhost probe]# ls -l _global.properties -rw-r--r-- 1 megha megha 267 Jan 28 21:04 _global.properties [root@localhost probe]# mv _global.properties /root/ [root@localhost probe]# ls -l _global.properties ls: _global.properties: No such file or directory [root@localhost probe]# ls -l /root/_global.properties -rw-r--r-- 1 megha megha 267 Jan 28 21:04 /root/_global.properties [root@localhost probe]# /usr/local/megha/bin/megha-jetty.sh status Megha probe is not running [root@localhost probe]# /usr/local/megha/bin/megha-jetty.sh start [root@localhost probe]# /usr/local/megha/bin/megha-jetty.sh status Megha probe running [root@localhost probe]# sftp riatdata@datamartftp.hds.com Connecting to datamartftp.hds.com... ssh: datamartftp.hds.com: Temporary failure in name resolution Couldn't read packet: Connection reset by peer [root@localhost probe]# ftp 207.126.234.230 [root@localhost probe]# ftp 207.126.248.84 [root@localhost probe]# ftp 207.126.248.84 ftp: connect: Connection timed out ftp> bye [root@localhost probe]# service iptables status Table: nat Chain PREROUTING (policy ACCEPT) num target prot opt source destination 1 REDIRECT tcp -- 0.0.0.0/0 0.0.0.0/0 tcp dpt:80 redir ports 8080 Chain POSTROUTING (policy ACCEPT) num target prot opt source destination Chain OUTPUT (policy ACCEPT) num target prot opt source destination [root@localhost probe]# service iptables stop Flushing firewall rules: [ OK ] Setting chains to policy ACCEPT: nat [ OK ] Unloading iptables modules: [ OK ] [root@localhost probe]# service iptables status Firewall is stopped. [root@localhost probe]# ftp 207.126.248.84 [root@localhost probe]# [root@localhost probe]# [root@localhost probe]# sftp riatdata@datamartftp.hds.com Connecting to datamartftp.hds.com... ssh: datamartftp.hds.com: Temporary failure in name resolution Couldn't read packet: Connection reset by peer [root@localhost probe]# sftp riatdata@207.126.248.84 Connecting to 207.126.248.84... [root@localhost probe]# [root@localhost probe]#