storage monitor
-
progressive.nagiosXI
- Posts: 277
- Joined: Mon Jul 31, 2017 5:54 am
Re: storage monitor
Hi,
Required details shared in PM,
ZIP file include :- fresh Profile.zip,IP screeshot,NagiosXI-module.conf,gearman-worker.conf
Thanks
Required details shared in PM,
ZIP file include :- fresh Profile.zip,IP screeshot,NagiosXI-module.conf,gearman-worker.conf
Thanks
-
progressive.nagiosXI
- Posts: 277
- Joined: Mon Jul 31, 2017 5:54 am
Re: storage monitor
Hi Team,
sent in private mail : ssax
had you received attachement
Thanks
sent in private mail : ssax
had you received attachement
Thanks
Re: storage monitor
Received, analyzing now. Will post an update shortly.
Re: storage monitor
Please edit your worker.conf and add that hostgroup to the worker.conf hostgroups line OR make the SXXXXN_STORAGE group a member of the SXXXXN group (in XI CCM and apply config) that's currently listed in the worker.conf. If you're just adding SXXXXN_STORAGE to SXXXXN hostgroup to resolve this, make sure your /etc/mod_gearman/module.conf has that set on the hostgroups line as well.
Then restart the worker service on the worker.
Then restart nagios/gearman on the XI server as well, please see this guide for the process:
That should do it.
Then restart the worker service on the worker.
Then restart nagios/gearman on the XI server as well, please see this guide for the process:
Code: Select all
https://support.nagios.com/kb/article.php?id=484-
progressive.nagiosXI
- Posts: 277
- Joined: Mon Jul 31, 2017 5:54 am
Re: storage monitor
Hi ssax,
Thanks for not locking this forum.
Due to Nagiosxi crash and gearman problem we put this devices on hold .
we are still able to get details from nagios user in Nagios gearman-worker-server for this device.
Now we put device in only hostgroup defined in both gearman-master-server(Cloud)and gearman-worker-server(onPrem) configuration.
But still not getting data and showing below error
Note:- we are currently monitor approx 600 devices via gearman in same hostgroup for that client.
Thanks
Thanks for not locking this forum.
Due to Nagiosxi crash and gearman problem we put this devices on hold .
we are still able to get details from nagios user in Nagios gearman-worker-server for this device.
Now we put device in only hostgroup defined in both gearman-master-server(Cloud)and gearman-worker-server(onPrem) configuration.
But still not getting data and showing below error
Code: Select all
xcli not foundThanks
Re: storage monitor
Please PM a fresh copy of your profile and include your /etc/mod_gearman/module.conf from the XI server and the /etc/mod_gearman/worker.conf from the workers that you modified so we can see how it's setup.
-
progressive.nagiosXI
- Posts: 277
- Joined: Mon Jul 31, 2017 5:54 am
Re: storage monitor
Hi,
details shared in PM
Re: storage monitor
Sent: Tue Jul 07, 2020 10:13 pm
From: progressive.nagiosXI
To: ssax
Thanks
details shared in PM
Re: storage monitor
Sent: Tue Jul 07, 2020 10:13 pm
From: progressive.nagiosXI
To: ssax
Thanks
Re: storage monitor
That looks proper.
Do you have the worker on the XI server disabled?
Please PM the output of this command from the XI server:
What are you seeing in /var/log/mod_gearman/mod_gearman_worker.log on the worker?
Do you have the worker on the XI server disabled?
Please PM the output of this command from the XI server:
Code: Select all
gearman_top-
progressive.nagiosXI
- Posts: 277
- Joined: Mon Jul 31, 2017 5:54 am
Re: storage monitor
Hi,
details shared in PM
Do you have the worker on the XI server disabled? yes disabled
/var/log/mod_gearman/mod_gearman_worker.log >> empty
Thanks
details shared in PM
Do you have the worker on the XI server disabled? yes disabled
/var/log/mod_gearman/mod_gearman_worker.log >> empty
Thanks
Re: storage monitor
Oh, I'm wondering if this is a PATH issue, in the code it shows this:
It's trying all the locations in the PATH to find where xcli is. Is xcli in your PATH on the gearman worker?
Try changing the code here:
To:
That should hopefully resolve it.
Code: Select all
# Add the special directories to the general path, and go searching
# for the xcli command line utility
dlist = os.environ['PATH'].split(':') + special_dirs
for d in dlist:
fullpath = os.path.join(d,'xcli')
if os.path.exists(fullpath):
xcli_path = fullpath
break
if xcli_path is None:
print('xcli not found')
sys.exit(3)
Code: Select all
which xcliCode: Select all
special_dirs = ['/usr/local/XIVGUI','/opt/XIVGUI','/opt/ibm/XIVGUI']Code: Select all
special_dirs = ['/usr/local/XIVGUI','/opt/XIVGUI','/opt/ibm/XIVGUI','/usr/local/nagios/libexec']