Hi there,
im noob in pnp4nagios
I´ve installed and i can see the graph correc with "ping,cpu load,memoria,disk,etc"
But i use to use a command that check ports in my wan networks ( tipical check_port)
My problem is when is add "srv-pnp" or " host-pnp" to a host that im checking that port i get the error in pnp4nagios folder does not exist o folder empty:
Please check the documentation for information about the following error.
perfdata directory "/usr/local/pnp4nagios/var/perfdata/"xxxxxxxxxxxxxxx"does not exist. <a href="http://docs.pnp4nagios.org/faq/5">Read FAQ online</a>
file [line]:
application/models/data.php [148]:
back
I think there is a problem with the command check_port and the perfdata of pnp4nagios
Noone know about this? anyone is getting the same problem?
best regards
PNP4NAGIOS - COMMAND CHECK_PORT
Re: PNP4NAGIOS - COMMAND CHECK_PORT
Can you attach your PNP4NAGIOS config files so we can review them?
Can you run the check_port command in a command prompt in the Nagios server and post the output from that command?
Also, run this and post it here.
Can you run the check_port command in a command prompt in the Nagios server and post the output from that command?
Also, run this and post it here.
Code: Select all
ls -l /usr/local/pnp4nagios/var/perfdata/Be sure to check out our Knowledgebase for helpful articles and solutions!
Re: PNP4NAGIOS - COMMAND CHECK_PORT
Hi tgriep
thank you for your reply.
I ´ve solved the problem adding a -v (verbose) on my commnad ( check_port -h %arg...etc etc -v)
after thar pnp4nagios y showing me the correct graph
hope help more people
remind that no all command support -v
best regards!
thank you for your reply.
I ´ve solved the problem adding a -v (verbose) on my commnad ( check_port -h %arg...etc etc -v)
after thar pnp4nagios y showing me the correct graph
hope help more people
remind that no all command support -v
best regards!
Re: PNP4NAGIOS - COMMAND CHECK_PORT
Great! Thanks for sharing your solution as well.
Closing this thread out, but feel free to make a new one if you have any questions in the future.
Closing this thread out, but feel free to make a new one if you have any questions in the future.
Former Nagios Employee