[b]graph probs[/b]

Post support questions that directly relate to Linux/Unix operating systems.

Moderators: Developers, Moderators

Post Reply
zartox
Posts: 1
Joined: Thu Jul 31, 2003 12:20 pm

[b]graph probs[/b]

Post by zartox »

Hya,
I ve got a Cacti's linuxbox (RH9) which monitor severals others linuxboxes (cpu, load, memory, disks, network) with snmp (ucd/netsnmp and the Host-MIB). It's working fine but not with only one station (a RH8 with netsnmp 5.0.x and 2 disks scsi) : I am polling with the Host-MIB and try to get the mounted disks volumes values : with the Hosts Mibs I get the index for :
=> /
=> /var
=> /dev/shm
=> /realmemory
So in the polling host section I selection all the discovered mounted points and save :
a little check in the data sources => Ok they are created, another little check in the shell with : php cmd.php => every oids are responding fine and seems corrects from the reals values. Good, but when I go to the graph managment section I get a graph and values for / , /dev/shm and /realmemory but for /var I get a graph with no value in it : NAN :-? . While the crond and cmd.php works fine and reach the values I cant anderstand there is no value in the damn graph !!! I ve tested differents graph templates conf with no success ...
It would be very glad from the all community if someone could give me a hand for this one.
A last clue : the /var is alone in the second disk

Thanks
raX
Lead Developer
Posts: 2243
Joined: Sat Oct 13, 2001 7:00 pm
Location: Carlisle, PA
Contact:

Post by raX »

From what I know net-snmp does not support the Host MIB out of the box. It will give you processor, memory and disk information from it's own MIB. Under "Polling Hosts", if you select "ucd/net - Get Monitored Partitions", you are using net-snmp's MIB. I always recommend this when it is supported. If you select "SNMP - Get Mounted Partitions", you are using the host MIB. I do not recommend this for everything since it calls a separate PHP script to compensate for the host MIB's wackiness.

-Ian
Post Reply

Who is online

Users browsing this forum: No registered users and 4 guests