2
0
mirror of https://github.com/xcat2/xcat-core.git synced 2025-06-10 23:30:11 +00:00
Commit Graph

109 Commits

Author SHA1 Message Date
cc6cb0f217 Clear key words for install status update log message (#5618)
- detect provisioning when updateing status to installing/netbooting
- consistent message format "xcat.updatestatus - ($node): changing status=($status)" (no need to log the time as syslog has the timestamp)
2018-11-27 15:19:21 +08:00
adab82de4b upgrade to travis xenial env 2018-11-20 18:46:13 +08:00
3f5ed86274 Remove trailing spaces in file xCAT-server/lib/xcat/monitoring/xcatmon.pm 2017-12-31 23:59:59 +00:00
a5d9ebfa09 Remove trailing spaces in file xCAT-server/lib/xcat/monitoring/snmpmon.pm 2017-12-31 23:59:59 +00:00
b2d293f599 Remove trailing spaces in file xCAT-server/lib/xcat/monitoring/samples/templatemon.pm 2017-12-31 23:59:59 +00:00
af76578e6f Remove trailing spaces in file xCAT-server/lib/xcat/monitoring/samples/mycode.pm 2017-12-31 23:59:59 +00:00
dfc2084c96 Remove trailing spaces in file xCAT-server/lib/xcat/monitoring/pcpmon.pm 2017-12-31 23:59:59 +00:00
77c6e0f5f0 Remove trailing spaces in file xCAT-server/lib/xcat/monitoring/nagiosmon.pm 2017-12-31 23:59:59 +00:00
e9b1316446 Remove trailing spaces in file xCAT-server/lib/xcat/monitoring/montbhandler.pm 2017-12-31 23:59:59 +00:00
c60c5cebca Remove trailing spaces in file xCAT-server/lib/xcat/monitoring/monitorctrl.pm 2017-12-31 23:59:59 +00:00
e7ea9e7b8b Remove trailing spaces in file xCAT-server/lib/xcat/monitoring/gangliamon.pm 2017-12-31 23:59:59 +00:00
ebf9ed804c Remove trailing spaces in file xCAT-server/lib/xcat/monitoring/bootttmon.pm 2017-12-31 23:59:59 +00:00
1220ac3bdc Ignore syslog error in monitorctrl when setNodeStatusAttributes (#4459) 2017-12-07 00:01:18 -06:00
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
db9a71750e Fix sytax errors reported by perltidy 2016-07-25 08:56:18 -04:00
0a3fbd8d51 perltidy all perl files 2016-07-20 11:40:27 -04:00
027101f1ce record the status change of CN 2016-06-30 03:02:51 -04:00
a4615fc8ba rmvm command man page and type fixes 2016-04-14 15:09:36 -04:00
73bd16638c fix issue 882 spelling mistake while stopping docker container 2016-04-06 21:56:05 -04:00
7423026878 looks for new snmptrapd.conf file location 2015-06-26 11:50:40 -04:00
ea56c3ebee Code change for the support of latest ganglia on ppc64 2014-08-18 10:05:09 -04:00
5fe158f353 replace service stuff with newly added subrotines in xCAT::Utils 2014-06-10 06:11:07 -07:00
6c6f954ff8 enable snmpv3 monitoring on Linux on master 2013-09-10 14:48:46 +08:00
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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