Cacti Plugin NPC Not working

General discussion about Plugins for Cacti

Moderators: Developers, Moderators

Post Reply
aamibashir1
Posts: 4
Joined: Mon Aug 09, 2021 6:30 pm

Cacti Plugin NPC Not working

Post by aamibashir1 »

Dear all i have installed Cacti and install nagios and installed NPC using this following guide :
https://sites.google.com/site/ryanmelis ... -centos-63
Everything installed successfully but NPC not bringing the host information.
Ran the following commands for your reference :
[root@localhost ~]# service nagios status
[b]nagios is not running
[/b]
[root@localhost ~]# service nagios configtest
Nagios Core 4.1.1
Copyright (c) 2009-present Nagios Core Development Team and Community Contributors
Copyright (c) 1999-2009 Ethan Galstad
Last Modified: 08-19-2015
License: GPL

Website: https://www.nagios.org
Reading configuration data...
Read main config file okay...
Read object config files okay...

Running pre-flight check on configuration data...

Checking objects...
Checked 15 services.
Checked 2 hosts.
Checked 2 host groups.
Checked 0 service groups.
Checked 1 contacts.
Checked 1 contact groups.
Checked 25 commands.
Checked 5 time periods.
Checked 0 host escalations.
Checked 0 service escalations.
Checking for circular paths...
Checked 2 hosts
Checked 0 service dependencies
Checked 0 host dependencies
Checked 5 timeperiods
Checking global event handlers...
Checking obsessive compulsive processor commands...
Checking misc settings...

Total Warnings: 0
Total Errors: 0

Things look okay - No serious problems were detected during the pre-flight check
Object precache file created:

[root@localhost ~]# service ndo2db status
Redirecting to /bin/systemctl status ndo2db.service
Unit ndo2db.service could not be found.

Plesae somonen help me to resolve this issue
Attachments
nagios not running and host not showing.jpg
nagios not running and host not showing.jpg (276.1 KiB) Viewed 3565 times
User avatar
macan
Cacti Guru User
Posts: 1137
Joined: Tue Mar 18, 2008 2:30 am
Location: Czech

Re: Cacti Plugin NPC Not working

Post by macan »

Did you really use such an old version (cacti 0.8.8)? It is very old.
I don't know npc, but on github is newer version for cacti 1.2.x

https://github.com/Cacti/plugin_npc
Let the Cacti grow!
User avatar
TheWitness
Developer
Posts: 17047
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Re: Cacti Plugin NPC Not working

Post by TheWitness »

Totally agree. Though Cacti 1.2.21 still has some bumps on PHP8.1+, it's pretty darn stable. User just reported that even the NPC plugin on GitHub is working. Shockingly in that I brought it up to speed without ever having installed Nagios. Ethan Galstad is a great guy BTW. Runs a tight ship up their in St. Paul.
True understanding begins only when we realize how little we truly understand...

Life is an adventure, let yours begin with Cacti!

Author of dozens of Cacti plugins and customization's. Advocate of LAMP, MariaDB, IBM Spectrum LSF and the world of batch. Creator of IBM Spectrum RTM, author of quite a bit of unpublished work and most of Cacti's bugs.
_________________
Official Cacti Documentation
GitHub Repository with Supported Plugins
Percona Device Packages (no support)
Interesting Device Packages


For those wondering, I'm still here, but lost in the shadows. Yearning for less bugs. Who want's a Cacti 1.3/2.0? Streams anyone?
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest