2
0
mirror of https://github.com/xcat2/xcat-core.git synced 2025-05-24 12:42:05 +00:00

97 Commits

Author SHA1 Message Date
xuweibj
1220ac3bdc Ignore syslog error in monitorctrl when setNodeStatusAttributes (#4459) 2017-12-07 00:01:18 -06:00
Jarrod Johnson
dc6581a1f2 Have snmpmon set the community string
Some BMCs do not default to 'public' for alerts.
Change this to do public for now, since other parts
of the code are still hard baked.
2016-11-29 13:36:09 -05:00
Mark Gurevich
db9a71750e Fix sytax errors reported by perltidy 2016-07-25 08:56:18 -04:00
Mark Gurevich
0a3fbd8d51 perltidy all perl files 2016-07-20 11:40:27 -04:00
penguhyang
027101f1ce record the status change of CN 2016-06-30 03:02:51 -04:00
Mark Gurevich
a4615fc8ba rmvm command man page and type fixes 2016-04-14 15:09:36 -04:00
bybai
73bd16638c fix issue 882 spelling mistake while stopping docker container 2016-04-06 21:56:05 -04:00
linggao
7423026878 looks for new snmptrapd.conf file location 2015-06-26 11:50:40 -04:00
daniceexi
ea56c3ebee Code change for the support of latest ganglia on ppc64 2014-08-18 10:05:09 -04:00
immarvin
5fe158f353 replace service stuff with newly added subrotines in xCAT::Utils 2014-06-10 06:11:07 -07:00
wanghuaz
6c6f954ff8 enable snmpv3 monitoring on Linux on master 2013-09-10 14:48:46 +08:00
linggao
0afc9b9d9d enhance postscrit perfomance when getting monitoring variables. defect 3605
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@16704 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-06-19 20:21:09 +00:00
wanghuaz
2c2079b8bb enable snmp monitoring on AIX
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@16208 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-05-07 08:53:16 +00:00
jbjohnso
b9e587e703 Step one of traffic control, have SSL inform UDP process of current client count
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15876 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-04-08 17:36:51 +00:00
linggao
0592ad03d6 changed the monitoring code to use nmap for getting node status
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13778 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-09-12 15:05:57 +00:00
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