Main
My Profile
Users
ATLAS/Documentation
Index
Search
Changes
Notifications
Statistics
Preferences
Webs
Main
ATLAS
EinsteinAtHome
NumRel
Sandbox
System
You are here:
Foswiki
>
ATLAS/Documentation Web
>
IcingaTricks
(05 May 2014,
HenningFehrmann
)
Edit
Attach
adding comments
adding host comments
reading host comments
getting a list of hosts with a particular problem reported by icinga
adding comments
adding host comments
echo "[`date +%s`] ADD_HOST_COMMENT;hostname;1;author;comment" > /var/lib/icinga/rw/icinga.cmd
it is used on atlas1 and monitonodes in the script
/usr/local/bin/get_hosts_comments.sh
reading host comments
works only on monitornodes
it does an elinks dump
it is used on monitonodes in the script
/usr/local/bin/get_hosts_comments.sh
getting a list of hosts with a particular problem reported by icinga
it uses the icinga-web database
can combined with dsh
dsh -m `/usr/local/bin/get_nodes.rb "Connection refused"` -c -M "ps aux|grep nrpe|grep -v grep"
--
HenningFehrmann
- 05 May 2014
E
dit
|
A
ttach
|
P
rint version
|
H
istory
: r1
|
B
acklinks
|
V
iew wiki text
|
Edit
w
iki text
|
M
ore topic actions
Topic revision: r1 - 05 May 2014,
HenningFehrmann
ATLAS/Documentation
Log In
Register
Toolbox
Create New Topic
Index
Search
Changes
Notifications
RSS Feed
Statistics
Preferences
Webs
ATLAS
AtlasNodes
Documentation
BOINC
Main
NumRel
Sandbox
System
Copyright © by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding Foswiki?
Send feedback