Solaris NRPE Monitoring

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
Merick1983
Posts: 2
Joined: Fri Dec 20, 2013 9:57 am

Solaris NRPE Monitoring

Post by Merick1983 »

Hello,

Apologies if these questions have already been asked, I did a search and didn't find the same issues anywhere else.

We have just configured monitoring on one of our Solaris boxes and we have noticed two things that are unusual and wondered whether or not we were doing something wrong.

1 - The user count includes all open windows / terminals. We had 1 user logged in with 12 terminals open and Nagios showed it as having "12 users currently logged in". Closing the terminal windows resulted in the this number dropping. Is there an option that can be changed to show true users?

2 - The disk usage monitor works fine, however, if we un-mount the volume the NRPE agent then sees the folder rather than the mount and reports disk usage of the folder, not the now un-mounted volume. Is there anything that can be done to detect the loss of a mount rather than NRPE showing the disk usage of the where the volume exists? (I'm afraid I'm a windows user so a lot of this means nothing to me, I had someone else doing the tests for me :) )

Thanks in advance,
Mark.
abrist
Red Shirt
Posts: 8334
Joined: Thu Nov 15, 2012 1:20 pm

Re: Solaris NRPE Monitoring

Post by abrist »

Merick1983 wrote:1 - The user count includes all open windows / terminals. We had 1 user logged in with 12 terminals open and Nagios showed it as having "12 users currently logged in". Closing the terminal windows resulted in the this number dropping. Is there an option that can be changed to show true users?
This is a true user count as each login opens a terminal session.
Merick1983 wrote:2 - The disk usage monitor works fine, however, if we un-mount the volume the NRPE agent then sees the folder rather than the mount and reports disk usage of the folder, not the now un-mounted volume. Is there anything that can be done to detect the loss of a mount rather than NRPE showing the disk usage of the where the volume exists? (I'm afraid I'm a windows user so a lot of this means nothing to me, I had someone else doing the tests for me :) )
How is the volume mounted? NFS, Samba, local mount, etc?
Former Nagios employee
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
Merick1983
Posts: 2
Joined: Fri Dec 20, 2013 9:57 am

Re: Solaris NRPE Monitoring

Post by Merick1983 »

Hi abrist,

Thanks for the response.

The user count isn't too much of an issue, we were hoping we could use it as a count of how many people were using the server but any servers we use it on, the users would only have one session open.

The mount is an NFS mount.

Regards,
Mark.
abrist
Red Shirt
Posts: 8334
Joined: Thu Nov 15, 2012 1:20 pm

Re: Solaris NRPE Monitoring

Post by abrist »

Merick1983 wrote:The mount is an NFS mount.
You may want to create a script to check the output of df for your mount. . .
Former Nagios employee
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
Locked