We have NRPE disk checks running on our hpux servers:
However when there is an issue with a mount point, Nagios doesn't tell me which mount point is running low:
Is there a way to have XI show me which mount point is running low, or just display the mount points that have issues?
HPUX disk check question
HPUX disk check question
You do not have the required permissions to view the files attached to this post.
Proudly running:
NagiosXI 5.4.12 2 node Prod Env 2500 hosts, 13,000 services
Nagiosxi 5.5.7(test env) 2500 hosts, 13,000 services
Nagios Logserver 2 node Prod Env 500 objects sending
Nagios Network Analyser
Nagios Fusion
NagiosXI 5.4.12 2 node Prod Env 2500 hosts, 13,000 services
Nagiosxi 5.5.7(test env) 2500 hosts, 13,000 services
Nagios Logserver 2 node Prod Env 500 objects sending
Nagios Network Analyser
Nagios Fusion
-
dwhitfield
- Former Nagios Staff
- Posts: 4583
- Joined: Wed Sep 21, 2016 10:29 am
- Location: NoLo, Minneapolis, MN
- Contact:
Re: HPUX disk check question
The default way to do this (aka, the way the Wizard does it) is to set up separate services for each mount point. You could use the copy function in the CCM to get most of the settings in there for the mount points and then go back and edit them appropriately.
You could also do this with a wrapper script.
I'd be happy to put in a feature request about check_disk at https://github.com/nagios-plugins/nagios-plugins/issues, but feel free to do that yourself if you like.
You could also do this with a wrapper script.
I'd be happy to put in a feature request about check_disk at https://github.com/nagios-plugins/nagios-plugins/issues, but feel free to do that yourself if you like.
Re: HPUX disk check question
is there any documentation on writing the wrapper script?
\
feature request added:
\
feature request added:
Code: Select all
NRPE HPUX Disk check #276
Last edited by benhank on Thu May 11, 2017 2:01 pm, edited 1 time in total.
Proudly running:
NagiosXI 5.4.12 2 node Prod Env 2500 hosts, 13,000 services
Nagiosxi 5.5.7(test env) 2500 hosts, 13,000 services
Nagios Logserver 2 node Prod Env 500 objects sending
Nagios Network Analyser
Nagios Fusion
NagiosXI 5.4.12 2 node Prod Env 2500 hosts, 13,000 services
Nagiosxi 5.5.7(test env) 2500 hosts, 13,000 services
Nagios Logserver 2 node Prod Env 500 objects sending
Nagios Network Analyser
Nagios Fusion
-
dwhitfield
- Former Nagios Staff
- Posts: 4583
- Joined: Wed Sep 21, 2016 10:29 am
- Location: NoLo, Minneapolis, MN
- Contact:
Re: HPUX disk check question
No, not really. People write scripts in basically every language imaginable, so we can't really maintain documentation for that. It's basic, but I did find http://www.yourownlinux.com/2014/06/how ... cript.html if you want to use bash.
We also have https://nagios-plugins.org/doc/guidelines.html but it's probably overkill for what you'd need to do.
Once the script itself is written, we do have documentation for setting the script up in XI: https://assets.nagios.com/downloads/nag ... ios-XI.pdf
If you don't like the copy method in the CCM, you could also use the API to set up the different services quickly: http://YOURSERVER/nagiosxi/help/api.php
We also have https://nagios-plugins.org/doc/guidelines.html but it's probably overkill for what you'd need to do.
Once the script itself is written, we do have documentation for setting the script up in XI: https://assets.nagios.com/downloads/nag ... ios-XI.pdf
If you don't like the copy method in the CCM, you could also use the API to set up the different services quickly: http://YOURSERVER/nagiosxi/help/api.php