paloalto firewall specific partion disk space

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
mejokj
Posts: 353
Joined: Mon Jul 22, 2013 10:31 pm

paloalto firewall specific partion disk space

Post by mejokj »

Hello,

We have a paloalto firewall. We need to monitor a specific partion /opt/panlogs disk space. we get below plugin to monitor / partion. But our requirement is to monitor a specific partion /opt/panlogs disk space.

https://nagios-check-paloalto.readthedo ... umentation

Is there any plugin to monitor the specific partion disk space on paloalto firewall paloalto pa220.


Below is the link to the partion details.
https://ibb.co/D8C9mKd
ssax
Dreams In Code
Posts: 7682
Joined: Wed Feb 11, 2015 12:54 pm

Re: paloalto firewall specific partion disk space

Post by ssax »

It doesn't look like that plugin supports that.

Do you have SNMP enabled on the device? If so, try with one of these:

SNMPv2:

Code: Select all

/usr/local/nagios/libexec/check_snmp_storage_wizard.pl -H X.X.X.X -C 'yoursnmpcommunity' --v2c -m "^/opt/panlogs$" -w 80 -c 95 -f
SNMPv3:

Code: Select all

/usr/local/nagios/libexec/check_snmp_storage_wizard.pl -H X.X.X.X --login=snmpv3user --passwd='authP@ss' --privpass='privP@ss' --protocols=sha,aes -m "^/opt/panlogs$" -w 80 -c 95 -f
mejokj
Posts: 353
Joined: Mon Jul 22, 2013 10:31 pm

Re: paloalto firewall specific partion disk space

Post by mejokj »

Hello,

We have tried the plugin but it shows below error. Tried for the / also same error. Is there any options to monitor it with oid or any other plugin.


+++++++
nagios@emea-nagios-a root]$ /usr/local/nagios/libexec/check_snmp_storage_wizard.pl -H host1 -C 'public' --v2c -m "^/opt/panlogs" -w 80 -c 95 -f
Unknown storage : ^/opt/panlogs : ERROR


nagios@emea-nagios-a root]$ /usr/local/nagios/libexec/check_snmp_storage_wizard.pl -H host1 -C 'public' --v2c -m /opt/panlogs -w 80 -c 95 -f
Unknown storage : ^/opt/panlogs : ERROR
+++++++
ssax
Dreams In Code
Posts: 7682
Joined: Wed Feb 11, 2015 12:54 pm

Re: paloalto firewall specific partion disk space

Post by ssax »

What is the output of this?

Code: Select all

/usr/local/nagios/libexec/check_snmp_storage_wizard.pl -H host1 -C 'public' --v2c -m "^/$" -w 80 -c 95 -f -v
mejokj
Posts: 353
Joined: Mon Jul 22, 2013 10:31 pm

Re: paloalto firewall specific partion disk space

Post by mejokj »

It also shows the same error.

Unknown storage : ^/$ : ERROR
ssax
Dreams In Code
Posts: 7682
Joined: Wed Feb 11, 2015 12:54 pm

Re: paloalto firewall specific partion disk space

Post by ssax »

The firewalls may not support it, what is the output of these commands?

Code: Select all

snmpwalk -v 2c -c 'COMMUNITY' X.X.X.X:161 HOST-RESOURCES-MIB::hrFSMountPoint -On
snmpwalk -v 2c -c 'COMMUNITY' X.X.X.X:161 -m PAN-COMMON-MIB -On
mejokj
Posts: 353
Joined: Mon Jul 22, 2013 10:31 pm

Re: paloalto firewall specific partion disk space

Post by mejokj »

Hello,

Please find the attached snmp walk output.
You do not have the required permissions to view the files attached to this post.
ssax
Dreams In Code
Posts: 7682
Joined: Wed Feb 11, 2015 12:54 pm

Re: paloalto firewall specific partion disk space

Post by ssax »

You mistyped this command, please re-send fresh output of this command (you had MOST instead of HOST):

Code: Select all

snmpwalk -v2c -c XXX Host1:161 HOST-RESOURCES-MIB::hrFSMountPoint -On
mejokj
Posts: 353
Joined: Mon Jul 22, 2013 10:31 pm

Re: paloalto firewall specific partion disk space

Post by mejokj »

Hello,

Below is the out put of the snmpwalk

[nagios@nagios]$ snmpwalk -v2c -c XXx HOST1 HOST-RESOURCES-MIB::hrFSMountPoint -On
.1.3.6.1.2.1.25.3.8.1.2 = No Such Object available on this agent at this OID
User avatar
cdienger
Support Tech
Posts: 5045
Joined: Tue Feb 07, 2017 11:26 am

Re: paloalto firewall specific partion disk space

Post by cdienger »

It looks like it may not have the information you're looking for. Try running this to see if it is able to return anything:

Code: Select all

/usr/local/nagios/libexec/check_snmp_storage_wizard.pl -C XXX -H xxx -m -w 1 -c 2 -v
You may need to check with your paloalto documentation to see if this information is available and which OID to pull it from.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
Locked