Difference between revisions of "Mesh/Sensu Page"

755 bytes added ,  10:19, 19 September 2014
 
(5 intermediate revisions by the same user not shown)
Line 15: Line 15:
Installed on small frame Dell PC, service tag: 2FDSGC1, green tape with info on the front.
Installed on small frame Dell PC, service tag: 2FDSGC1, green tape with info on the front.
* Debian
* Debian
* monitor.local - (not accessible by this host name, perhaps dns is not correctly defined)
* 192.168.42.65
* 192.168.42.65
* monitor.local - (not accessible, perhaps dns is not correctly defined)
** This box has been inconsistent re: dhcp addressing...
** on 09.18.2014 - 192.168.50.15
* user sudoroom:sudomesh
* user sudoroom:sudomesh
* The sensu web page can be accessed internally at:  
* The sensu web page can be accessed internally at:  
Line 23: Line 25:
** pw: secret
** pw: secret
* github repo: not yet. soon.
* github repo: not yet. soon.
=== Restart Services ===
You can start, stop, restart the basic services like this:
/etc/init.d/sensu-api restart
/etc/init.d/sensu-server restart
/etc/init.d/sensu-client restart
/etc/init.d/sensu-dashboard restart
/etc/init.d/rabbitmq-server restart


== Things to do ==
== Things to do ==
Line 30: Line 42:
## install Redis</s>
## install Redis</s>
# config monitoring for internal PCs and/or other instances - see issues, below
# config monitoring for internal PCs and/or other instances - see issues, below
# look at defining Handler Sets
# configure a set of checks to perform
# configure a set of checks to perform
## set up monitoring for switches - maybe?
## set up monitoring for switches - maybe?
## install mini-snmpd (http://wiki.openwrt.org/doc/howto/snmp.server) on mesh nodes and configure a server side check to access nodes via snmp directly.  Should be no other node/client side requirement.
## install mini-snmpd (http://wiki.openwrt.org/doc/howto/snmp.server) on mesh nodes and configure a server side check to access nodes via snmp directly.  Should be no other node/client side requirement.
# install [https://beingasysadmin.wordpress.com/2014/05/20/uchiwa-awesome-dashboard-for-sensu/ Uchiwa dashboard]
# install sensu advanced admin page (https://github.com/sensu/sensu-admin)
# install sensu advanced admin page (https://github.com/sensu/sensu-admin)
# install/build handlers for email, sms notifications
# install/build handlers for email, sms notifications
Line 42: Line 56:
  /etc/sensu/conf.d/
  /etc/sensu/conf.d/


api.json
=== api.json ===
<pre>
<pre>
{
{
Line 55: Line 69:
</pre>
</pre>


dashboard.json
=== dashboard.json ===
<pre>
<pre>
{
{
Line 67: Line 81:
</pre>
</pre>


rabbitmq.json
=== rabbitmq.json ===
<pre>
<pre>
{
{
Line 85: Line 99:
</pre>
</pre>


client.json
===  client.json ===
<pre>
<pre>
{
{
Line 96: Line 110:
</pre>
</pre>


server.json
===  server.json ===
<pre>
<pre>
oops...
oops...
</pre>
</pre>


check_cron.json
===  check_cron.json ===
<pre>
<pre>
{
{
Line 114: Line 128:
}
}
</pre>
</pre>
== Tricks, Things to know ==
* EMBEDDED_RUBY=true in /etc/default/sensu - this makes ruby available for the omnibus install of sensu. Always do this on fresh installs of sensu omnibus.


== Issues ==
== Issues ==