How to monitor SUN Solaris memory?!

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
xpertech
Posts: 399
Joined: Thu Sep 01, 2011 9:47 pm

How to monitor SUN Solaris memory?!

Post by xpertech »

I download and install NagiosXI VM to monitor SUN(Sparc) Solaris Server's memory, I tried some plugins but can only monitor cpu & disk, the memory data was empty or error. is there a suggestion plugin?
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises

Re: How to monitor SUN Solaris memory?!

Post by scottwilkerson »

Did you install the Solaris agent?
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
xpertech
Posts: 399
Joined: Thu Sep 01, 2011 9:47 pm

Re: How to monitor SUN Solaris memory?!

Post by xpertech »

scottwilkerson wrote:Did you install the Solaris agent?
Not allowed to install agent, so I use snmp to monitor all servers (Windows & SUN Sparc).
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises

Re: How to monitor SUN Solaris memory?!

Post by scottwilkerson »

As long as your server has the HOST-RESOURCES-MIB you should be able to use something like this

http://exchange.nagios.org/directory/Pl ... MP/details

If you use it you may need to install the following package

Code: Select all

yum install bc -y
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
xpertech
Posts: 399
Joined: Thu Sep 01, 2011 9:47 pm

Re: How to monitor SUN Solaris memory?!

Post by xpertech »

scottwilkerson wrote:As long as your server has the HOST-RESOURCES-MIB you should be able to use something like this

http://exchange.nagios.org/directory/Pl ... MP/details

If you use it you may need to install the following package

Code: Select all

yum install bc -y
^^^^^^^^ what is this package? why should it need to be installed?
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises

Re: How to monitor SUN Solaris memory?!

Post by scottwilkerson »

bc is "An arbitrary precision calculator language"

the reason you would need to install it (if it isn't already installed) is because it is used by this plugin.

You can test to see if it is already installed by running

Code: Select all

which bc
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
xpertech
Posts: 399
Joined: Thu Sep 01, 2011 9:47 pm

Re: How to monitor SUN Solaris memory?!

Post by xpertech »

scottwilkerson wrote:As long as your server has the HOST-RESOURCES-MIB you should be able to use something like this

http://exchange.nagios.org/directory/Pl ... MP/details

If you use it you may need to install the following package

Code: Select all

yum install bc -y
what do you mean "HOST-RESOURCES-MIB"?
I installed this plugin, but it's data seems not correct?! and the performance graph data also not correct?!
xpertech
Posts: 399
Joined: Thu Sep 01, 2011 9:47 pm

Re: How to monitor SUN Solaris memory?!

Post by xpertech »

scottwilkerson wrote:bc is "An arbitrary precision calculator language"

the reason you would need to install it (if it isn't already installed) is because it is used by this plugin.

You can test to see if it is already installed by running

Code: Select all

which bc
the NagiosXI VM already installed bc. after I install this plugin, the monitored data was not correct, the server's memory is 1.5GB and was running nothing, but the plugin indicate used memory 1.27GB.
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises

Re: How to monitor SUN Solaris memory?!

Post by scottwilkerson »

xpertech wrote:the NagiosXI VM already installed bc. after I install this plugin, the monitored data was not correct, the server's memory is 1.5GB and was running nothing, but the plugin indicate used memory 1.27GB.
This actually sounds pretty normal, most OS's cache items in memory, and the free memory is also reduced by the cached memory..
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart