Search found 10 matches

by Michalux
Wed Jun 29, 2011 4:56 am
Forum: Nagios XI
Topic: Share or Create default dashboard
Replies: 11
Views: 3177

Re: Share or Create default dashboard

Until the awaited feature is available, You can use a workaround -> copy all dashboards directly in the postgres database :D To do this connect to postgres nagiosxi database. Then in the table xi_users locate the user_id of the users You want to copy dashboards between. Next go to the table xi_userm...
by Michalux
Thu Jun 23, 2011 1:37 pm
Forum: Nagios XI
Topic: PNP templates problem
Replies: 13
Views: 3697

Re: PNP templates problem

Anyone can help with the pnp templates problem ??
by Michalux
Tue Jun 14, 2011 8:44 am
Forum: Nagios XI
Topic: PNP templates problem
Replies: 13
Views: 3697

Re: PNP templates problem

Hi, It took a little longer, but here is the live instance: There are 2 services under localhost: define service { host_name localhost service_description FS1 Used use template1 check_command check_disks! -p / -p /store!!!!!!! register 1 } define service { host_name localhost service_description FS2...
by Michalux
Wed Jun 08, 2011 1:17 pm
Forum: Nagios XI
Topic: PNP templates problem
Replies: 13
Views: 3697

Re: PNP templates problem

Ok, I'll be back at work on friday - I'll send you all this than :)
by Michalux
Tue Jun 07, 2011 9:55 am
Forum: Nagios XI
Topic: PNP templates problem
Replies: 13
Views: 3697

Re: PNP templates problem

It's actually not an empty graph but only a caption with ds number and and empty placeholder (with an icon that shows, when the web server cannot find a picture). So as I've mentioned before it looks like, that when you input some def[x] anywhere in the template file, than even if it shouldn't be us...
by Michalux
Tue Jun 07, 2011 8:21 am
Forum: Nagios XI
Topic: PNP templates problem
Replies: 13
Views: 3697

Re: PNP templates problem

Ok, so I have something like this: NXI service running on two separate hosts and monitoring the usage of all local filesystems. The first host has one local filesystem (i.e. /) and second one has two such filesystems (i.e. /, /opt). Since both hosts use the same service - and the same check command,...
by Michalux
Tue Jun 07, 2011 4:39 am
Forum: Nagios XI
Topic: How to increase service_check_timeout value
Replies: 3
Views: 2893

Re: How to increase service_check_timeout value

You can change it in nagios.cfg (service_check_timeout) and than in particular Command configuration as a parameter to the check_nrpe (-t) - of course if You use check_nrpe to run the check.

Michalux
by Michalux
Sat Jun 04, 2011 12:17 pm
Forum: Nagios XI
Topic: PNP templates problem
Replies: 13
Views: 3697

Re: PNP templates problem

I'm aware about the new API :) and this in not a problem with the check_command. My check_command corresponds to the name of the template, so I'm pretty sure NagiosXI parses the template file I've intended it to parse. I've also tried the solutions You've mentioned - it actually works as kinda worka...
by Michalux
Fri Jun 03, 2011 1:50 pm
Forum: Nagios XI
Topic: PNP templates problem
Replies: 13
Views: 3697

Re: PNP templates problem

I'm fairly sure there is no answer to my problem on PNP page :( Actually I'm confident which template is used when - but this is not the case. The problem is, I don't know why the default template gets special treatment - such as ability to iterate through the datasources, while other templates seem...
by Michalux
Fri Jun 03, 2011 8:01 am
Forum: Nagios XI
Topic: PNP templates problem
Replies: 13
Views: 3697

PNP templates problem

Hi, I've tried to make a PNP template that would iterate through available datasources. That kind of approach has been used in default template (/usr/local/nagios/share/pnp/templates.dist/default.php). Now it looks like the regular PNP templates behave somehow different that default one. What I get ...