[omd-users] pnp4nagios and other problems

Papp Tamas tompos at martos.bme.hu
Thu Feb 24 11:12:47 CET 2011


hi!

First of all I'm new to check_mk, multisite, pnp4nagios, omd and for all 
of them, I'm only familiar only in  nagios.

1.
When I try to view performance diagrams, I get this for passive checks:


      Please check the documentation for information about the following
      error.

Undefined index: TIMET


      file [line]:

application/controllers/graph.php *[62]:*

back

It works for active checks (check_mk, ping), but not for passive checks 
(eg. disk io).

It's all I have done, I removed omd-startup.cfg from nagios config and 
enabled shinken.

Doing 'status' on site monitor:
apache:         running
mysql:          unused
rrdcached:      running
npcd:           running
nagios:         unused
shinken:        running
nsca:           running
xinetd:         unused
crontab:        running
-----------------------
Overall state:  running


main.mk:

all_hosts = [ 'pluto', 'localhost' ]

In the directory /omd/sites/monitor/var/pnp4nagios/perfdata/pluto I can 
see .xml and .rrd file, but rrd-s are only for active checks:

_HOST_.rrd  _HOST_.xml

But for passive (check_mk) services there is only and .xml file with 
some contents and this:

<TXT>create failed</TXT>


What do I miss?


2.
Also I have some more question.


When I trying check_mk, I see this:

$ check_mk -v -II localhost
Deleting 
/omd/sites/monitor/var/check_mk/autochecks/tcp_conn_stats-2011-02-22_15.13.52.mk.
Deleting 
/omd/sites/monitor/var/check_mk/autochecks/netif.params-2011-02-22_15.13.52.mk.
Deleting 
/omd/sites/monitor/var/check_mk/autochecks/cpu.threads-2011-02-22_15.13.52.mk.
Deleting 
/omd/sites/monitor/var/check_mk/autochecks/diskstat-2011-02-22_15.13.52.mk.
Deleting 
/omd/sites/monitor/var/check_mk/autochecks/postfix_mailq-2011-02-22_15.13.52.mk.
Deleting 
/omd/sites/monitor/var/check_mk/autochecks/mem.used-2011-02-22_15.13.52.mk.
Deleting 
/omd/sites/monitor/var/check_mk/autochecks/df-2011-02-22_15.13.52.mk.
Deleting 
/omd/sites/monitor/var/check_mk/autochecks/uptime-2011-02-22_15.13.52.mk.
Deleting 
/omd/sites/monitor/var/check_mk/autochecks/md-2011-02-22_15.13.52.mk.
Deleting 
/omd/sites/monitor/var/check_mk/autochecks/mounts-2011-02-22_15.13.52.mk.
Deleting 
/omd/sites/monitor/var/check_mk/autochecks/kernel-2011-02-22_15.13.52.mk.
Deleting 
/omd/sites/monitor/var/check_mk/autochecks/netctr.combined-2011-02-22_15.13.52.mk.
Deleting 
/omd/sites/monitor/var/check_mk/autochecks/netif.link-2011-02-22_15.13.52.mk.
Deleting 
/omd/sites/monitor/var/check_mk/autochecks/cpu.loads-2011-02-22_15.13.52.mk.
Deleting 
/omd/sites/monitor/var/check_mk/autochecks/kernel.util-2011-02-22_15.13.52.mk.
Deleting 
/omd/sites/monitor/var/check_mk/autochecks/mem.vmalloc-2011-02-22_15.13.52.mk.
Skipping localhost, not an snmp host
cpu.loads             1 new checks
cpu.threads           1 new checks
df                    4 new checks
diskstat              2 new checks
kernel                3 new checks
kernel.util           1 new checks
md                    5 new checks
mem.used              1 new checks
mem.vmalloc           1 new checks
mounts                7 new checks
netctr.combined       3 new checks
netif.link            3 new checks
netif.params          3 new checks
postfix_mailq         1 new checks
tcp_conn_stats        1 new checks
uptime                1 new checks


I can use snmp with snmpwalk:

  snmpwalk -v 2c -c public localhost

What else does it need to get it working with snmp?


3.
How can I  set up contacts, alert limits and other parameters with 
shinken for check_mk?
I'm a bit confused, what module does what..:)

By the way, OMD looks to be a great software!

Thank you,

tamas
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mathias-kettner.de/pipermail/omd-users/attachments/20110224/bee6e172/attachment.htm>


More information about the omd-users mailing list