Commit Graph

82 Commits

Author SHA1 Message Date
zhaoertao
a732cb476d fix bug 3556007: modifications related to Utils.pm
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13581 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-08-23 04:21:28 +00:00
zhaoertao
a70a6401fa fix subroutine moving issue in xCAT-server/lib/xcat/monitoring/
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13505 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-08-14 11:57:30 +00:00
zhaoertao
3a4f26c3cc for item: clean up Utils.pm, the code in xCAT-server/lib/xcat/monitoring
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13466 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-08-09 04:05:37 +00:00
phamt
907b48c7e8 Fixed bug where gmond.conf is never updated if there is a string "xCAT gmond settings done" in the file.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13080 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-06-13 18:20:52 +00:00
phamt
0cec3a60d6 Fixed bug in Ganglia to always update gmetad.conf when moncfg gangliamon -r is run.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13014 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-06-06 14:52:35 +00:00
jbjohnso
ae2de192ef Have monitorctl induce prefetchcache when it's probable in Postage context
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12640 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-11 18:02:01 +00:00
xq2005
cc33f2065d sync from 2.7 for ganglia configure
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@11813 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-03-12 05:23:38 +00:00
linggao
7c97c5d6e3 fixed the dependency problem caused by nagiosmon.pm
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@11598 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-02-16 16:46:37 +00:00
linggao
2dd8e712c7 added support for Nagios monitorin
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@11555 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-02-10 20:19:54 +00:00
linggao
d0b9a01746 added support for snmp monitoring for Mellanox IB switch
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@10805 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-10-17 21:09:54 +00:00
phamt
8474fc6518 Cleaned up code.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@10750 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-10-12 04:28:13 +00:00
phamt
dee529dafd Change start/stop subrouting so that when monstart/monstop gangliamon -r is invoked, gmetad/gmond on the localhost does not restart. If you invoke monstart/monstop gangliamon <node> -r for one node, gmetad/gmond restarts on that one node, BUT gmetad/gmond is also restarted on the localhost. This causes all data to be lost for other nodes being monitored. With this change, monstart/monstop gangliamon -r will ONLY start/stop monitor on given nodes and NOT on localhost. monstart/monstop gangliamon without the "-r" will start/stop the monitoring on the localhost.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@10749 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-10-12 04:27:51 +00:00
phamt
9f2e8a975f Change start/stop subrouting so that when monstart/monstop gangliamon -r is invoked, gmetad/gmond on the localhost does not restart. If you invoke monstart/monstop gangliamon <node> -r for one node, gmetad/gmond restarts on that one node, BUT gmetad/gmond is also restarted on the localhost. This causes all data to be lost for other nodes being monitored. With this change, monstart/monstop gangliamon -r will ONLY start/stop monitor on given nodes and NOT on localhost. monstart/monstop gangliamon without the "-r" will start/stop the monitoring on the localhost.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@10748 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-10-12 04:22:25 +00:00
phamt
5eff163a9e Set output of /bin/grep "xCAT gmond settings done" and bin/grep "xCAT gmetad settings done" to a variable, else the results will not be read by following if statement. Removed extra configure_file.tmp. Removed commented lines from original gmetad.conf and gmond.conf when creating new conf, as this would create a very large conf when moncfg is invoked many times.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@10711 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-10-07 03:42:53 +00:00
yinle
11b2f8b802 Modify the process of get node "osi" type.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@10024 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-07-06 09:29:42 +00:00
yinle
69d99bc898 change the way of getting node type
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@9745 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-06-07 03:06:15 +00:00
xq2005
b83961300a confGmetad error
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@9332 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-04-18 03:32:09 +00:00
ellen56
c1af8f182b monshow enhancement for rmcmon eventlog
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@9157 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-03-27 12:25:32 +00:00
linggao
efe3eb3a5a some doc changes for xcatmon
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@8304 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-12-02 15:54:43 +00:00
linggao
12f059db66 fix monitoring code for db2
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@8058 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-11-05 12:56:56 +00:00
linggao
64a3d8e085 documented the new key 'lcmd' for nodestat command
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@7977 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-10-29 18:50:17 +00:00
ligc
c760a04d27 fix for bug 3091008: special case for DB2 SQL statement
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@7928 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-10-26 08:11:34 +00:00
xq2005
edaba6aae6 /install is hard coded in gangliamon.pm and rmcmon.pm
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@7645 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-09-26 02:57:37 +00:00
xq2005
f9f2d20034 rewrite function confGmetad
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@7635 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-09-25 07:43:20 +00:00
xq2005
9f98099d5c rewrite function confGmond
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@7632 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-09-25 07:03:20 +00:00
linggao
44271467a0 minor fix for a compiler warning
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@7241 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-08-25 18:47:47 +00:00
cjhardee
95f563b47c Just getting rid of the deprecated use of 'defined' for checking the existance of an array.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@6996 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-08-06 15:31:13 +00:00
linggao
c6af0ec055 fix monitoring for supporting service node pool with xcatmaster set.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@6633 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-07-01 18:03:19 +00:00
linggao
674c7e029b snmp monitoring enhancement, able to run different command for different oids
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@6293 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-06-01 19:12:44 +00:00
linggao
6ac3c398c9 snmp monitoring enhancement: added contains =~ in the monsettting table to filter the traps out for certain actions.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@6197 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-05-21 15:25:14 +00:00
linggao
30510f6dc3 doc updates for xcatmon
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@5463 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-03-12 21:46:11 +00:00
linggao
523f862d06 add time stamps for nodelist.status and nodelist.appstatus
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@5433 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-03-10 19:09:30 +00:00
linggao
47ba5a9a35 node status update due to intrduction of statelite
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@5247 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-02-20 15:34:54 +00:00
linggao
3ae32060be added support for logging into eventlog for snmp traps
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@5129 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-02-03 21:18:16 +00:00
linggao
ee1eec6f95 appstatus support, xcatmon updates appstatus, nodestat command supporting updating the db
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@5100 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-02-01 16:18:49 +00:00
linggao
efee48c599 bug fix
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4911 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-01-07 19:55:15 +00:00
ellen56
3f420eb478 porting start_RRD_server&stop_RRD_server to linux
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@3699 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-07-04 03:59:42 +00:00
ellen56
8658007548 make operation on /etc/services && /etc/inetd.conf safer
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@3697 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-07-03 13:13:02 +00:00
ellen56
9d7e10065e start RRDserver when monstart and stop when monstop
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@3696 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-07-03 11:13:07 +00:00
ellen56
f0da8d0244 fix bug 2812004
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@3674 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-06-30 14:48:24 +00:00
ellen56
b231f0c745 API for rrdtool
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@3593 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-06-17 06:57:37 +00:00
ellen56
6ccc776d32 update for monitor enhancement to set up end to end performance monitor by rmcmon-plugin
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@3592 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-06-17 06:45:38 +00:00
ellen56
6864c01dcf fix bug 2685896
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@3053 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-03-31 09:44:14 +00:00
jet777
1b069dd59a boot target trigger monitor
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@2992 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-03-25 19:19:52 +00:00
linggao
ae9b42a5f3 minor bug fix
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@2990 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-03-25 18:47:56 +00:00
linggao
0cfb917de2 performace tuning for monitorctrl.pm
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@2971 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-03-24 19:29:45 +00:00
linggao
e5c38a40c1 minor bug fix
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@2947 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-03-19 19:26:21 +00:00
linggao
1a4429e4ab Check for service node pools for monitoring
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@2927 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-03-17 21:07:21 +00:00
ellen56
2ffe297968 fix bug#2685843
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@2887 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-03-13 06:37:44 +00:00
ellen56
12c90e5c5f fix bug 2685843
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@2886 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-03-13 03:31:33 +00:00